Bug 1937424

Summary: Wrong output from geos-config --libs etc.
Product: [Fedora] Fedora Reporter: Ben Beasley <code>
Component: geosAssignee: Sandro Mani <manisandro>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: devrim, jmlich83, manisandro, tom
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
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:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-03-10 18:13:32 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:

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

Wrong output from geos-config due to a typo in geos_libsuffix.patch.

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


How reproducible:


Steps to Reproduce:
1. geos-config --prefix --version --libs --clibs --cclibs --static-clibs --static-cclibs --cflags --ldflags --includes --jtsport

Actual results:

/usr
3.9.0
-L/usr/lib@LIB_SUFFIX -lgeos-3
-L/usr/lib@LIB_SUFFIX -lgeos_c
-L/usr/lib@LIB_SUFFIX -lgeos
-L/usr/lib@LIB_SUFFIX -lgeos_c -lgeos -lm
-L/usr/lib@LIB_SUFFIX -lgeos -lm
-I/usr/include
-L/usr/lib@LIB_SUFFIX
/usr/include
1.17.0

Expected results:

/usr
3.9.0
-L/usr/lib64 -lgeos-3
-L/usr/lib64 -lgeos_c
-L/usr/lib64 -lgeos
-L/usr/lib64 -lgeos_c -lgeos -lm
-L/usr/lib64 -lgeos -lm
-I/usr/include
-L/usr/lib64
/usr/include
1.17.0

Additional info:

PR to follow.

Comment 1 Ben Beasley 2021-03-10 16:34:17 UTC
This impacts python-shapely, by the way.

PR to fix: https://src.fedoraproject.org/rpms/geos/pull-request/3

Comment 2 Fedora Update System 2021-03-10 18:13:32 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:26 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.