Bug 2038572

Summary: pkgconfig file contains invalid path for libdir and includedir
Product: [Fedora] Fedora Reporter: Mamoru TASAKA <mtasaka>
Component: re2Assignee: Denis Arnaud <denis.arnaud_fedora>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: awilliam, denis.arnaud_fedora, sander, tdawson
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-01-10 21:51:35 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2038544, 2038551    

Description Mamoru TASAKA 2022-01-08 14:53:50 UTC
Description of problem:
/usr/lib64/pkgconfig/re2.pc says:

=========================================
includedir=@includedir@
libdir=@libdir@

Name: re2
Description: RE2 is a fast, safe, thread-friendly regular expression engine.
Version: 0.0.0
Cflags: -std=c++11 -pthread -I${includedir}
Libs: -pthread -L${libdir} -lre2
=========================================

includedir, libdir is invalid.


Version-Release number of selected component (if applicable):
re2-devel-20211101-1.fc36.x86_64

How reproducible:
100%

Comment 1 Adam Williamson 2022-01-10 17:51:58 UTC
This is because of the change to installing with CMake. Nothing in the CMake install scripts actually substitutes or installs that file. The maintainer made the spec file install it, but didn't do the substitution. I'm testing a build to fix this now.

Comment 2 Adam Williamson 2022-01-10 21:51:35 UTC
Fixed.

Comment 3 Denis Arnaud 2022-01-11 00:07:13 UTC
(In reply to Adam Williamson from comment #2)
> Fixed.

Many thanks, Adam!