Bug#480229: libsdl1.2-dev: sdl-config --libs uses RPATH

2008-05-11 Thread Sylvain Beucler
On Sat, May 10, 2008 at 12:10:42PM +0200, Aurelien Jarno wrote:
 Sylvain Beucler a écrit :
  Package: libsdl1.2-dev
  Version: 1.2.13-2
  Severity: normal
  
  Hi,
  
  I'm building a package (non-official) that relies on SDL. The build
  system uses the standard SDL m4 macros, and in particular it uses the
  output of:
  $ sdl-config --libs
  -L/usr/lib -Wl,-rpath,/usr/lib -lSDL -lpthread
  
 
 Wow, that's strange. Are you sure you are running sdl-config from the
 debian package? The rpath part is not present on my system.

Hmm, right. After 'aptitude reinstall libsdl1.2-dev' this changed to:

$ sdl-config --libs
-L/usr/lib -lSDL

I guess this is a left-over from an old SDL bugfix session :/

Sorry for the trouble :)

-- 
Sylvain



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#480229: libsdl1.2-dev: sdl-config --libs uses RPATH

2008-05-10 Thread Aurelien Jarno
Sylvain Beucler a écrit :
 Package: libsdl1.2-dev
 Version: 1.2.13-2
 Severity: normal
 
 Hi,
 
 I'm building a package (non-official) that relies on SDL. The build
 system uses the standard SDL m4 macros, and in particular it uses the
 output of:
 $ sdl-config --libs
 -L/usr/lib -Wl,-rpath,/usr/lib -lSDL -lpthread
 

Wow, that's strange. Are you sure you are running sdl-config from the
debian package? The rpath part is not present on my system.

-- 
  .''`.  Aurelien Jarno | GPG: 1024D/F1BCDB73
 : :' :  Debian developer   | Electrical Engineer
 `. `'   [EMAIL PROTECTED] | [EMAIL PROTECTED]
   `-people.debian.org/~aurel32 | www.aurel32.net



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#480229: libsdl1.2-dev: sdl-config --libs uses RPATH

2008-05-08 Thread Sylvain Beucler
Package: libsdl1.2-dev
Version: 1.2.13-2
Severity: normal

Hi,

I'm building a package (non-official) that relies on SDL. The build
system uses the standard SDL m4 macros, and in particular it uses the
output of:
$ sdl-config --libs
-L/usr/lib -Wl,-rpath,/usr/lib -lSDL -lpthread

As you can see this uses RPATH, which triggers the
binary-or-shlib-defines-rpath lintian error:
N:   The binary or shared library sets RPATH. This overrides the normal
N:   library search path, possibly interfering with local policy and
N:   causing problems for multilib, among other issues.
N:   
N:   The only time a binary or shared library in a Debian package should
N:   set RPATH is if it is linked to private shared libraries in the
same
N:   package. In that case, place those private shared libraries in
N:   /usr/lib/package. Libraries used by binaries in other packages
N:   should be placed in /lib or /usr/lib as appropriate, with a proper
N:   SONAME, in which case RPATH is unncessary.
N:   
N:   To fix this problem, look for link lines like:
N:   gcc test.o -o test -Wl,--rpath,/usr/local/lib
N:   or
N:   gcc test.o -o test -R/usr/local/lib
N:   and remove the -Wl,--rpath or -R argument. You can also use the
N:   chrpath utility to remove the RPATH.
N:   
N:   Refer to http://wiki.debian.org/RpathIssue for details.

Is there something we can do in libsdl1.2-dev, or should I just post-fix
it with chrpath?

Thanks.

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (500, 'testing'), (300, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.24-1-686 (SMP w/1 CPU core)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages libsdl1.2-dev depends on:
ii  libglu1-mesa-dev [libglu-dev] 7.0.3-1The OpenGL utility library -- deve
ii  libglu1-xorg-dev  1:7.3+10   transitional package for Debian et
ii  libsdl1.2debian   1.2.13-2   Simple DirectMedia Layer
ii  libx11-dev2:1.0.3-7  X11 client-side library (developme

Versions of packages libsdl1.2-dev recommends:
ii  libaa1-dev1.4p5-36   ascii art library, development kit
ii  libartsc0-dev 1.5.9-2development files for the aRts sou
pn  libasound2-devnone (no description available)
ii  libaudio-dev  1.9.1-2Network Audio System - development
ii  libcaca-dev   0.99.beta13b-4 development files for libcaca
ii  libcucul-dev  0.99.beta13b-4 development files for libcucul
pn  libdirectfb-dev   none (no description available)
ii  libesd0-dev   0.2.36-3   Enlightened Sound Daemon - Develop
ii  libsvga1-dev  1:1.4.3-25 console SVGA display development l
ii  libxext-dev   2:1.0.4-1  X11 miscellaneous extensions libra
ii  libxt-dev 1:1.0.5-3  X11 toolkit intrinsics library (de

-- no debconf information



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]