Bug 979179

Summary: Postgis 2.0 ships static libraries
Product: [Fedora] Fedora Reporter: Volker Fröhlich <volker27>
Component: postgisAssignee: Jozef Mlich <jmlich>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 20CC: devrim, hhorak, jmlich, orion
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-06-26 14:53:26 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 Volker Fröhlich 2013-06-27 20:33:22 UTC
I just noticed the 2.0 packages contain:

/usr/lib/liblwgeom.a
/usr/lib/liblwgeom.la

Comment 1 Orion Poplawski 2013-06-27 21:46:03 UTC
http://fedoraproject.org/wiki/Packaging:Guidelines#Packaging_Static_Libraries

You need a -devel sub-package, and a -static if you want to keep the static library.

Also:

postgis.x86_64: W: undefined-non-weak-symbol /usr/lib64/liblwgeom-2.0.3.so lwgeom_init_allocators
postgis.x86_64: W: shared-lib-calls-exit /usr/lib64/liblwgeom-2.0.3.so exit.5
postgis.x86_64: E: binary-or-shlib-defines-rpath /usr/bin/pgsql2shp ['/usr/lib64']
postgis.x86_64: E: binary-or-shlib-defines-rpath /usr/bin/raster2pgsql ['/usr/lib64']
postgis.x86_64: W: spurious-executable-perm /usr/include/liblwgeom.h
postgis.x86_64: E: incorrect-fsf-address /usr/share/doc/postgis-2.0.3/COPYING

Comment 2 Orion Poplawski 2013-06-28 14:51:54 UTC
Also, I think shipping liblwgeom in a separate liblwgeom or postgis-lib sub-package would allow us to avoid a circular dependency on gdal.

Comment 3 Volker Fröhlich 2013-09-13 23:01:15 UTC
Please delete the two static files so we can close this ticket. The point Orion mentions here is a lot more critical though.

Comment 4 Fedora End Of Life 2013-09-16 16:45:02 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 20 development cycle.
Changing version to '20'.

More information and reason for this action is here:
https://fedoraproject.org/wiki/BugZappers/HouseKeeping/Fedora20

Comment 5 Volker Fröhlich 2014-03-23 22:51:26 UTC
Please address this issue. At least the static library part is really easy.

Comment 6 Jozef Mlich 2014-06-26 14:53:26 UTC
Thanks for reporting. I have removed static libraries from package. The shared libraries seems to be sufficient. 

Change of the liblwgeom into separate package seems to be reasonable. In contrary, it seems to be integral part of postgis.

Comment 7 Red Hat Bugzilla 2023-09-14 01:47:17 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days