Bug 979179 - Postgis 2.0 ships static libraries
Summary: Postgis 2.0 ships static libraries
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: postgis
Version: 20
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Jozef Mlich
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-06-27 20:33 UTC by Volker Fröhlich
Modified: 2023-09-14 01:47 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-06-26 14:53:26 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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


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