Bug 2038572 - pkgconfig file contains invalid path for libdir and includedir
Summary: pkgconfig file contains invalid path for libdir and includedir
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: re2
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Denis Arnaud
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 2038544 2038551
TreeView+ depends on / blocked
 
Reported: 2022-01-08 14:53 UTC by Mamoru TASAKA
Modified: 2022-01-11 00:07 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-01-10 21:51:35 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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!


Note You need to log in before you can comment on or make changes to this bug.