python-gconf: built with rpath

Bug #327671 reported by Sascha Silbe
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gnome-python (Ubuntu)
Fix Released
Low
Ubuntu Desktop Bugs

Bug Description

Binary package hint: python-gconf

/usr/lib/python-support/python-gconf/python2.5/gtk-2.0/gconf.so contains an RPATH setting, causing third party software like sugar-jhbuild to fail under certain circumstances [1].
Debians current opinion on rpath [2] seems to be that it should NOT be set, except under very rare circumstances.
Please note that the library search order mentioned in [2] seems to be incorrect: LD_LIBRARY_PATH does NOT override rpath, so (apart from modifying the installed library with chrpath) there's no workaround.
I haven't tested whether Debians packages contain the rpath setting as well, so it might be an upstream packaging bug.

Steps to reproduce:
1. install chrpath
2. chrpath -l /usr/lib/python-support/python-gconf/python2.5/gtk-2.0/gconf.so

Results:
/usr/lib/python-support/python-gconf/python2.5/gtk-2.0/gconf.so: RPATH=/usr/lib

Expected:
no rpath setting

[1] http://dev.sugarlabs.org/ticket/111
[2] http://wiki.debian.org/RpathIssue

Related branches

Revision history for this message
Joel Stanley (shenki) wrote :

As pointed out by Andrés Ambrois on IRC, it appears this issue could be solved by syncing gnome-python with Debian experimental:

 gnome-python (2.22.3-1) experimental; urgency=low
 .
   [ Luca Bruno ]
   * New upstream release
   * rules:
     - Remove patch system
   * Add docs file
   * debian/control:
     - Bump Standards-Version to 3.8.0 (no changes needed)
     - Add python-gnome2-doc package
     - Add gtk-doc-tools to Build-Deps
     - python-gnome2 Suggests python-gnome2-doc
     - python-gnome2-dev Recommends python-gnome2-doc
   * python-gnome2.examples moved to python-gnome2-doc.examples
   * Change Homepage to http://www.pygtk.org/; the previous Homepage was a
     redirect to the new url.
 .
   [ Emilio Pozuelo Monfort ]
   * Remove dpatch build-dependency.
 .
   [ Josselin Mouette ]
   * Require python 2.5 to match the change in pygobject.
   * Add quilt patch system; build-depend on quilt.
   * 70_relibtoolize.patch: new patch. Relibtoolize the source to avoid
     the rpath issue on amd64.
   * Add copyright statements.

Revision history for this message
Sascha Silbe (sascha-ubuntu-launchpad) wrote :

Reported at Debian as #519462.

[1] http://bugs.debian.org/

Revision history for this message
Sebastien Bacher (seb128) wrote :

thank you for your bug report

Changed in gnome-python:
assignee: nobody → desktop-bugs
importance: Undecided → Low
status: New → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package gnome-python - 2.25.90-0ubuntu2

---------------
gnome-python (2.25.90-0ubuntu2) jaunty; urgency=low

  * debian/patches/70_autoreconf.dpatch:
    - autoreconf update to fix rpath issue (lp: #327671)
  * debian/patches/99-run-aclocal+autoconf+automake.dpatch:
    - the change is deprecated by the autoreconf one

 -- Sebastien Bacher <email address hidden> Fri, 13 Mar 2009 10:57:54 +0100

Changed in gnome-python:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.