lintian: r712 - in trunk: checks debian
Author: rra
Date: 2006-08-19 01:03:35 +0200 (Sat, 19 Aug 2006)
New Revision: 712
Modified:
trunk/checks/binaries.desc
trunk/debian/changelog
Log:
* checks/binaries.desc:
+ [RA] Greatly expand the binary-or-shlib-defines-rpath long
description based on recent discussion in debian-policy. Add a
reference to the wiki page. (Closes: #378054, #378055)
Modified: trunk/checks/binaries.desc
===================================================================
--- trunk/checks/binaries.desc 2006-08-18 22:46:52 UTC (rev 711)
+++ trunk/checks/binaries.desc 2006-08-18 23:03:35 UTC (rev 712)
@@ -53,12 +53,24 @@
Tag: binary-or-shlib-defines-rpath
Type: warning
-Info: The binary or shared library defines the `RPATH'. Usually this
- is a bad thing. Most likely you will find a Makefile with a line like:
- gcc test.o -o test -Wl,--rpath
+Ref: http://wiki.debian.org/RpathIssue
+Info: The binary or shared library sets RPATH. This overrides the normal
+ library search path, possibly interfering with local policy and causing
+ problems for multilib, among other issues.
+ .
+ The only time a binary or shared library in a Debian package should set
+ RPATH is if it is linked to private shared libraries in the same package.
+ In that case, place those private shared libraries in
+ <tt>/usr/lib/<i>package</i></tt>. Libraries used by binaries in other
+ packages should be placed in <tt>/lib</tt> or <tt>/usr/lib</tt> as
+ appropriate, with a proper SONAME, in which case RPATH is unncessary.
+ .
+ To fix this problem, look for link lines like:
+ gcc test.o -o test -Wl,--rpath,/usr/local/lib
or
gcc test.o -o test -R/usr/local/lib
- Please contact &debdev; if you have questions about this.
+ and remove the <tt>-Wl,--rpath</tt> or <t>-R</t> argument. You can also
+ use the chrpath utility to remove the RPATH.
Tag: binary-has-unneeded-section
Type: info
Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog 2006-08-18 22:46:52 UTC (rev 711)
+++ trunk/debian/changelog 2006-08-18 23:03:35 UTC (rev 712)
@@ -1,5 +1,9 @@
lintian (1.23.23) UNRELEASED; urgency=low
+ * checks/binaries.desc:
+ + [RA] Greatly expand the binary-or-shlib-defines-rpath long
+ description based on recent discussion in debian-policy. Add a
+ reference to the wiki page. (Closes: #378054, #378055)
* checks/changelog-file{.desc,}:
+ [RA] Diagnose changelog files that are symlinks, using the new way
the changelog-file collection script processes them.
Reply to: