Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#14532 - [qgis] insecure RPATHs

Attached to Project: Community Packages
Opened by Gerardo Exequiel Pozzi (djgera) - Friday, 01 May 2009, 04:13 GMT
Last edited by Ionut Biru (wonder) - Wednesday, 10 June 2009, 00:02 GMT
Task Type Bug Report
Category
Status Closed
Assigned To dtw (dibblethewrecker)
Dan Griffiths (Ghost1227)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

The i686 version:
FILE /usr/share/qgis/python/qgis/core.so
RPATH /build/src/qgis_1.0.0/src/core/.:/usr/lib
FILE /usr/share/qgis/python/qgis/gui.so
RPATH /build/src/qgis_1.0.0/src/core/.:/usr/lib:/build/src/qgis_1.0.0/src/gui/.


The x86_64 version

FILE /usr/share/qgis/python/qgis/core.so
RPATH /home/giovanni/Desktop/community/science/qgis/src/qgis_1.0.0/src/core/.:/usr/lib
FILE /usr/share/qgis/python/qgis/gui.so
RPATH /home/giovanni/Desktop/community/science/qgis/src/qgis_1.0.0/src/core/.:/usr/lib:/home/giovanni/Desktop/community/science/qgis/src/qgis_1.0.0/src/gui/.


Additional info:
qgis-1.0.0-1

References:
 FS#13890  - Packaging creation and rpath issues
This task depends upon

Closed by  Ionut Biru (wonder)
Wednesday, 10 June 2009, 00:02 GMT
Reason for closing:  Fixed
Additional comments about closing:  1.1.0-3
Comment by Gerardo Exequiel Pozzi (djgera) - Sunday, 31 May 2009, 08:12 GMT
At the moment, I can't help with a fix to this, because i can't compile with a simple makepkg -sr this package. fails with diferents errors on both i686 and x86_64.

This depends on others community packages that need to rebuild for link with new libs.
Comment by Gerardo Exequiel Pozzi (djgera) - Tuesday, 02 June 2009, 04:52 GMT
OK here is the FIX. Many hours working on it!. It weird yes, but works fine, hehe :)

Also made some changes in the PKGBUILD

* Kill insecure RPATH from python shared objects
* Remove RPATH (/usr/lib) from others libs
* Removed some unused dependencies (or already satifaced)
* Add missing xerces-c depends
* Build on separate directory
* Remove all references to $startdir

Tested on clean chroot, both 32 and 64 bits versions and compile fine.

There are some unused files in the cvs repo: gcc4.3.patch qgis.sh qgis.install
Some dudes: 'force' option seems to be innesessary, and '!makeflags'? Maybe these remains from old versions of qgis. And the sleep 10 ?
   PKGBUILD (1.3 KiB)
Comment by Gerardo Exequiel Pozzi (djgera) - Tuesday, 09 June 2009, 00:35 GMT
Status at this time:
qgis-1.1.0-1 (i686) still contains the insecure RPATH
qgis-1.1.0-2 (x86_64) RPATH is fixed, but binaries are linked against one old library libqgis_gui.so.1.0

Loading...