Package: gprbuild Version: 1.2.0-1 Severity: wishlist Tags: patch Hello.
Gprbuild does use rpath by default. I suggest that the version distributed by Debian should be able with default options to generate executables avoiding lintian warning about http://wiki.debian.org/RpathIssue. I'm not sure, but I believe this should not arm non-debian developers since debian places the libraries in a well-defined place. And it remains possible for specific needs to override the default value in a project file. With the following file in debian/patch/remove_rpath (and debian/patches/series), the package compiles and installs on amd64. Using it to compile my own package removes the lintian warning. I let you see if you take the patch or not. ############ Avoid rpath on Debian, at least in default configuration. See http://wiki.debian.org/RpathIssue. Index: b/share/gprconfig/linker.xml =================================================================== --- a/share/gprconfig/linker.xml 2010-02-13 20:20:25.000000000 +0100 +++ b/share/gprconfig/linker.xml 2010-02-13 20:20:33.000000000 +0100 @@ -192,7 +192,7 @@ for Shared_Library_Suffix use ".so"; for Library_Auto_Init_Supported use "true"; - for Run_Path_Option use ("-Wl,-rpath,"); + for Run_Path_Option use (); </config> </configuration> ############ -- System Information: Debian Release: squeeze/sid APT prefers testing APT policy: (900, 'testing'), (50, 'unstable') Architecture: amd64 (x86_64) Kernel: Linux 2.6.32-trunk-amd64 (SMP w/2 CPU cores) Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages gprbuild depends on: ii libc6 2.10.2-2 GNU C Library: Shared libraries ii libgcc1 1:4.4.2-9 GCC support library ii libgnat-4.4 4.4.3-1 Runtime library for GNU Ada applic ii libxmlada3.2 3.2-4 XML/Ada, a full XML suite for Ada gprbuild recommends no packages. Versions of packages gprbuild suggests: ii gnat-4.4 4.4.3-1 The GNU Ada compiler ii gprbuild-doc 1.2.0-1 a multi-language extensible build -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org