Bug 1937443 - Wrong output from pkgconf geos --libs etc.
Summary: Wrong output from pkgconf geos --libs etc.
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: geos
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Sandro Mani
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 1937822 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-03-10 16:45 UTC by Ben Beasley
Modified: 2021-03-12 12:48 UTC (History)
5 users (show)

Fixed In Version: geos-3.9.1-2.fc35 geos-3.9.1-2.eln110
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-03-10 18:13:34 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Ben Beasley 2021-03-10 16:45:09 UTC
Description of problem:

When geos was patched to add the appropriate LIB_SUFFIX (e.g. “64”) as needed, the file geos.pc.cmake should have been patched too.

Version-Release number of selected component (if applicable): 3.9.0-1


How reproducible:


Steps to Reproduce:
1. pkgconf --libs geos

Actual results: (x86_64)

-L/usr/lib -lgeos_c

Expected results: (x86_64)

-L/usr/lib64 -lgeos_c

Additional info:

See also https://bugzilla.redhat.com/show_bug.cgi?id=1937424.

I plan to add another commit to https://src.fedoraproject.org/rpms/geos/pull-request/3 to fix this, too.

Comment 1 Ben Beasley 2021-03-10 17:02:56 UTC
The expected output should actually just be:

-lgeos_c

since pkgconf drops the “usual” libdir.

Fix now available in https://src.fedoraproject.org/rpms/geos/pull-request/3.

Comment 2 Fedora Update System 2021-03-10 18:13:34 UTC
FEDORA-2021-453846ff57 has been pushed to the Fedora 35 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 3 Fedora Update System 2021-03-10 18:28:28 UTC
FEDORA-2021-a21afc05c7 has been pushed to the Fedora ELN stable repository.
If problem still persists, please make note of it in this bug report.

Comment 4 Sandro Mani 2021-03-12 12:48:50 UTC
*** Bug 1937822 has been marked as a duplicate of this bug. ***


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