Bug#452215: lintian: r1238 - in trunk: checks debian testset testset/diffs/debian testset/diffs/debian/patches

2008-03-04 Thread Joerg Jaspert

 I don't know if we want to allow for that or not.  I find the logic
 dubious, but dpatch supports that mode of operation.
 I have to admit that I consider using a patch system in this way to be a
 bug. I think we might want to upload with this check and see if there
 are too many false positives.

FWIW I give a +1 for this warning. IMO one shouldn't ship the changes from
the patch in the .diff.gz too. Thats just wrong. Better would be to have
a common patch/unpatch target defined in policy.
And then the normal maintainer should follow the W (maybe upgrade to E
unless NMU detected) and the NMUer can ignore it, ie run foo patch and
then edit the stuff, so the NMU ends up in diff.gz

(And jftr - I lost interest in that thread way before HE did)

-- 
bye, Joerg
Mal verlierst Du und mal gewinnen die anderen: Immer im Wechsel!



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



Bug#469301: lintian: multiarch libraries support

2008-03-04 Thread Javier Serrano Polo
Package: lintian
Version: 1.23.45
Severity: wishlist

Multiarch libraries have their own directories, allowing them to be
shared among all architectures. Please add support for this.

Other directories you may want to add besides i486-linux-gnu are:
  * arm-linux-gnu
  * arm-linux-gnueabi
  * hppa-linux-gnu
  * m68k-linux-gnu
  * mips-linux-gnu
  * mipsel-linux-gnu
  * powerpc-linux-gnu
  * s390-linux-gnu
  * sparc-linux-gnu
  * x86_64-linux-gnu
--- checks/binaries.orig	2008-02-08 03:56:39.0 +0100
+++ checks/binaries	2008-03-04 15:36:39.0 +0100
@@ -172,7 +172,9 @@
 
 if ($arch eq 'all') {
 	# package is `Architecture: all' but contains libs!?
-	tag arch-independent-package-contains-binary-or-object, $file;
+	tag arch-independent-package-contains-binary-or-object, $file
+	# ignore multiarch directories
+	unless ($file =~ m,^\./(usr/)?lib/i486-linux-gnu/,);
 }
 
 # ELF?
--- checks/shared-libs.orig	2008-02-04 08:06:01.0 +0100
+++ checks/shared-libs	2008-03-04 15:43:35.0 +0100
@@ -31,9 +31,11 @@
 qw( lib
 	lib32
 	lib64
+	lib/i486-linux-gnu
 usr/lib
 	usr/lib32
 	usr/lib64
+	usr/lib/i486-linux-gnu
 usr/lib/libg++-dbg
 usr/X11R6/lib/Xaw3d
 usr/local/lib


Bug#469018: Credit where credit is due

2008-03-04 Thread Runa Agate Sandvik
I figured I should give KiBi the credit for the idea behind this bug
report, see the comment[1] on my blog post for more.

[1]:
http://www.indentedlines.net/2008/03/01/why-arent-we-using-doc-base/#comment-12

Cheers,
Runa



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



I am requesting your permission

2008-03-04 Thread The Orchestra
Greetings,

Can I have your permission to send, by email, info about the Greatest Hits tour 
of all 6 Elec. Light Orchestra and E.L.O. Pt II former members (now The 
Orchestra)? You can look at the basis of the 26 dates at www.orchestrafan.com 
or www.theorchestra.net.  This is a good way to decide if you would like info.  
Tonight is the grand opening!

It’s a great show for all.  I hope you’ll give us permission.

Thanks for taking a moment to read this. If you wish to gain more info, please 
visit http://www.eloformermembers.net/[EMAIL PROTECTED] to opt-in. If you would 
like not to be contacted by us again, please opt-out by visiting 
http://www.eloformermembers.net/[EMAIL PROTECTED] 

Cheers,

MARGARET MARY D.
Developing E-Fan List

PS. The tour starts in Reading at The Hexagon tonight!  We hope to see you 
there!




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



Bug#469018: Credit where credit is due

2008-03-04 Thread Cyril Brulebois
On 04/03/2008, Runa Agate Sandvik wrote:
 I figured I should give KiBi the credit for the idea behind this bug
 report, see the comment[1] on my blog post for more.
 
 [1]:
 http://www.indentedlines.net/2008/03/01/why-arent-we-using-doc-base/#comment-12

Not needed, really. But thanks. ;)

Cheers,

-- 
Cyril Brulebois


pgpzb6Kp9vryM.pgp
Description: PGP signature


Bug#452215: lintian: r1238 - in trunk: checks debian testset testset/diffs/debian testset/diffs/debian/patches

2008-03-04 Thread Bernhard R. Link
* Joerg Jaspert [EMAIL PROTECTED] [080304 08:31]:
 
  I don't know if we want to allow for that or not.  I find the logic
  dubious, but dpatch supports that mode of operation.
  I have to admit that I consider using a patch system in this way to be a
  bug. I think we might want to upload with this check and see if there
  are too many false positives.
 
 FWIW I give a +1 for this warning. IMO one shouldn't ship the changes from
 the patch in the .diff.gz too. Thats just wrong. Better would be to have
 a common patch/unpatch target defined in policy.

A future better solution might be good, but currently I just hate any
package making me jump through hops to just see the actual source, so
my packages don't do such uglyness like requiring people to call patch
targets.

But I agree a general warning is nice, though it should be easily
circumventable. (Though I guess it always is via renaming the patches
dir to something else).

Hochachtungsvoll,
Bernhard R. Link



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



Bug#452215: lintian: r1238 - in trunk: checks debian testset testset/diffs/debian testset/diffs/debian/patches

2008-03-04 Thread Russ Allbery
Bernhard R. Link [EMAIL PROTECTED] writes:

 But I agree a general warning is nice, though it should be easily
 circumventable. (Though I guess it always is via renaming the patches
 dir to something else).

Source lintian overrides also work.

-- 
Russ Allbery ([EMAIL PROTECTED])   http://www.eyrie.org/~eagle/



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



Bug#469301: lintian: multiarch libraries support

2008-03-04 Thread Russ Allbery
Javier Serrano Polo [EMAIL PROTECTED] writes:

 Multiarch libraries have their own directories, allowing them to be
 shared among all architectures. Please add support for this.

 --- checks/shared-libs.orig   2008-02-04 08:06:01.0 +0100
 +++ checks/shared-libs2008-03-04 15:43:35.0 +0100
 @@ -31,9 +31,11 @@
  qw( lib
   lib32
   lib64
 + lib/i486-linux-gnu
  usr/lib
   usr/lib32
   usr/lib64
 + usr/lib/i486-linux-gnu
  usr/lib/libg++-dbg
  usr/X11R6/lib/Xaw3d
  usr/local/lib

Are you sure that you want this?  This will require that packages that
install shared libraries into those directories have shlibs files, call
ldconfig, and so forth.  Aren't those directories frequently used in
arch-independent packages that are installed for cross-building and hence
shouldn't provide shlibs and ldconfig calls for the host operating system?

-- 
Russ Allbery ([EMAIL PROTECTED])   http://www.eyrie.org/~eagle/



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



lintian: r1247 - in trunk: checks debian

2008-03-04 Thread rra
Author: rra
Date: 2008-03-04 22:13:58 +0100 (Tue, 04 Mar 2008)
New Revision: 1247

Modified:
   trunk/checks/scripts
   trunk/debian/changelog
Log:
* checks/scripts:
  + [RA] Attempt to quash some Perl warnings.


Modified: trunk/checks/scripts
===
--- trunk/checks/scripts2008-03-04 02:30:52 UTC (rev 1246)
+++ trunk/checks/scripts2008-03-04 21:13:58 UTC (rev 1247)
@@ -302,12 +302,12 @@
 my $versioned = 0;
 if (not defined $data) {
$data = $versioned_interpreters{$base};
-   undef $data if ($data  not defined ($data-[1]));
+   undef $data if ($data and not defined ($data-[1]));
if (not defined ($data) and $base =~ /^(.*[^\d.-])-?[\d.]+$/) {
$data = $versioned_interpreters{$1};
-   undef $data unless $base =~ /$data-[2]/;
+   undef $data unless ($data and $base =~ /$data-[2]/);
}
-   $versioned = 1;
+   $versioned = 1 if $data;
 }
 if ($data) {
my $expected = $data-[0] . '/' . $base;
@@ -578,25 +578,27 @@
# since this test is ugly, I have to do it by itself
# detect source (.) trying to pass args to the command it runs
if (not $found and m/^\s*(\.\s+[^\s;\`]+\s+([^\s;]+))/) {
-   if ($2 =~ /^(\|\||\d?|)/) {
+   my $extra;
+   ($match, $extra) = ($1, $2);
+   if ($extra =~ /^(\|\||\d?|)/) {
# everything is ok
;
} else {
$found = 1;
-   $match = $1;
}
}
 
# Ignore anything inside single quotes; it could be an
# argument to grep or the like.
my $line = $_;
-   $line =~ s/(^|[^\\](?:)*)\'(?:\\.|[^\\\'])+\'/$1''/g;
-
-   for my $re (@bashism_string_regexs) {
-   if ($line =~ m/($re)/) {
-   $found = 1;
-($match) = m/($re)/;
-   last;
+   unless ($found) {
+   $line =~ s/(^|[^\\](?:)*)\'(?:\\.|[^\\\'])+\'/$1''/g;
+   for my $re (@bashism_string_regexs) {
+   if ($line =~ m/($re)/) {
+   $found = 1;
+   ($match) = m/($re)/;
+   last;
+   }
}
}
 

Modified: trunk/debian/changelog
===
--- trunk/debian/changelog  2008-03-04 02:30:52 UTC (rev 1246)
+++ trunk/debian/changelog  2008-03-04 21:13:58 UTC (rev 1247)
@@ -1,3 +1,10 @@
+lintian (1.23.47) UNRELEASED; urgency=low
+
+  * checks/scripts:
++ [RA] Attempt to quash some Perl warnings.
+
+ -- Russ Allbery [EMAIL PROTECTED]  Tue, 04 Mar 2008 13:07:18 -0800
+
 lintian (1.23.46) unstable; urgency=low
 
   The five Lintian committers! release.


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



lintian: r1248 - in trunk: checks data data/shared-libs debian

2008-03-04 Thread rra
Author: rra
Date: 2008-03-04 22:20:41 +0100 (Tue, 04 Mar 2008)
New Revision: 1248

Added:
   trunk/data/shared-libs/
   trunk/data/shared-libs/ldconfig-dirs
Modified:
   trunk/checks/shared-libs
   trunk/debian/changelog
Log:
* checks/shared-libs:
  + [RA] Move the default ld.so search path into data.  Drop obsolete
/usr/lib/libg++-dbg, /usr/X11R6/lib/Xaw3d, and libc5 compatibility
directories in the process.
* data/shared-libs/ldconfig-dirs:
  + [RA] New file listing directories searched by ld.so.

Modified: trunk/checks/shared-libs
===
--- trunk/checks/shared-libs2008-03-04 21:13:58 UTC (rev 1247)
+++ trunk/checks/shared-libs2008-03-04 21:20:41 UTC (rev 1248)
@@ -20,30 +20,16 @@
 
 package Lintian::shared_libs;
 use strict;
+
+use File::Basename;
+
+use Lintian::Data;
 use Dep;
 use Tags;
-use File::Basename;
 use Util;
 
 sub run {
 
-my %ldso_dir = map { $_ = 1 }
-qw( lib
-   lib32
-   lib64
-usr/lib
-   usr/lib32
-   usr/lib64
-usr/lib/libg++-dbg
-usr/X11R6/lib/Xaw3d
-usr/local/lib
-usr/X11R6/lib
-usr/lib/libc5-compat
-lib/libc5-compat
-   emul/ia32-linux/lib
-   emul/ia32-linux/usr/lib
-  );
-
 # Libraries that should only be used in the presence of certain capabilities
 # may be located in subdirectories of the standard ldconfig search path with
 # one of the following names.
@@ -63,6 +49,7 @@
sparc
   );
 
+my $ldconfig_dirs = Lintian::Data-new('shared-libs/ldconfig-dirs');
 my $file;
 my $must_call_ldconfig;
 my $postrm = control/postrm;
@@ -198,7 +185,7 @@
$last = $1;
} while ($last  $hwcap_dir{$last});
$dirname .= /$last if $last;
-   if (exists $ldso_dir{$dirname}) {
+   if ($ldconfig_dirs-known($dirname)) {
# yes! so postinst must call ldconfig
$must_call_ldconfig = $real_file;
}
@@ -219,9 +206,9 @@
tag shlib-with-executable-stack, $cur_file;
}
}
-} elsif (exists $objsomething{$cur_file} 
-exists $ldso_dir{dirname($cur_file)} 
-exists $sharedobject{$cur_file}) {
+} elsif (exists $objsomething{$cur_file}
+ $ldconfig_dirs-known(dirname($cur_file))
+ exists $sharedobject{$cur_file}) {
tag sharedobject-in-library-directory-missing-soname, $cur_file;
 }
 }
@@ -238,7 +225,7 @@
 my ($dir, $shlib_name) = $shlib_file =~ m,(.*)/([^/]+)$,;
 
 # not a public shared library, skip it
-next unless defined $ldso_dir{$dir};
+next unless $ldconfig_dirs-known($dir);
 
 # symlink found?
 my $link_file = $dir/$SONAME{$shlib_file};
@@ -313,7 +300,7 @@
if ($type ne 'udeb') {
for my $shlib (@shlibs) {
# skip it if it's not a public shared library
-   next unless defined $ldso_dir{dirname($shlib)};
+   next unless $ldconfig_dirs-known(dirname($shlib));
tag no-shlibs-control-file, $shlib;
}
}
@@ -357,7 +344,7 @@
$shlibs_control_used{udeb: .$shlib_name} = 1;
unless (exists $shlibs_control{$shlib_name}) {
# skip it if it's not a public shared library
-   next unless defined $ldso_dir{dirname($shlib)};
+   next unless $ldconfig_dirs-known(dirname($shlib));
# no!!
tag shlib-missing-in-control-file, $shlib_name, 'for', $shlib;
}

Added: trunk/data/shared-libs/ldconfig-dirs
===
--- trunk/data/shared-libs/ldconfig-dirs(rev 0)
+++ trunk/data/shared-libs/ldconfig-dirs2008-03-04 21:20:41 UTC (rev 
1248)
@@ -0,0 +1,31 @@
+# The list of directories searched by default by the dynamic linker.
+# Packages installing shared libraries into these directories must call
+# ldconfig, must have shlibs files, and must ensure those libraries have
+# proper SONAMEs.
+#
+# Directories listed here must not have leading slashes.
+
+# Standard library directories.
+lib
+usr/lib
+usr/local/lib
+
+# For 32-bit/64-bit multiarch support.
+lib32
+lib64
+usr/lib32
+usr/lib64
+
+# Used by the Debian amd64 port for 32-bit libraries.
+emul/ia32-linux/lib
+emul/ia32-linux/usr/lib
+
+# This is now obsolete, but is still in the standard ld.so.conf.
+usr/X11R6/lib
+
+# We intentionally do not include the multiarch directories like
+# /lib/i486-linux-gnu since libraries installed there may be only for
+# cross-compilation and not intended for the host operating system.  To
+# determine whether they're for the host, we'd need to apply more complex
+# logic to map the architecture of the Debian package to the appropriate
+# multiarch directory name.

Modified: trunk/debian/changelog
===
--- trunk/debian/changelog  2008-03-04 

Bug#469301: lintian: multiarch libraries support

2008-03-04 Thread Russ Allbery
Javier Serrano Polo [EMAIL PROTECTED] writes:

 Multiarch libraries have their own directories, allowing them to be
 shared among all architectures. Please add support for this.

 Other directories you may want to add besides i486-linux-gnu are:
   * arm-linux-gnu
   * arm-linux-gnueabi
   * hppa-linux-gnu
   * m68k-linux-gnu
   * mips-linux-gnu
   * mipsel-linux-gnu
   * powerpc-linux-gnu
   * s390-linux-gnu
   * sparc-linux-gnu
   * x86_64-linux-gnu

 --- checks/binaries.orig  2008-02-08 03:56:39.0 +0100
 +++ checks/binaries   2008-03-04 15:36:39.0 +0100
 @@ -172,7 +172,9 @@
  
  if ($arch eq 'all') {
   # package is `Architecture: all' but contains libs!?
 - tag arch-independent-package-contains-binary-or-object, $file;
 + tag arch-independent-package-contains-binary-or-object, $file
 + # ignore multiarch directories
 + unless ($file =~ m,^\./(usr/)?lib/i486-linux-gnu/,);
  }
  
  # ELF?

I thought I understood what this was for (namely cross-compile support),
but now I realize that I don't.  Cross-compiles usually don't use those
paths.

Could you give me more information on what problem you're solving here and
what sort of package would contain files in those directories but be arch:
all?

-- 
Russ Allbery ([EMAIL PROTECTED])   http://www.eyrie.org/~eagle/



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



Bug#469301: lintian: multiarch libraries support

2008-03-04 Thread Javier Serrano Polo
El dt 04 de 03 del 2008 a les 13:34 -0800, en/na Russ Allbery va
escriure:
 Could you give me more information on what problem you're solving here and
 what sort of package would contain files in those directories but be arch:
 all?

Packages are available following
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=464796#35

For instance,
http://62.43.64.122/debian/pool/ia32/ia32-libtiffxx0c2_3.8.2-7_all.deb

Libraries were initially placed in /emul/ia32-linux/usr/lib, sometimes
in /usr/lib32. This has evolved to include qemu supported archs (still
working on it).
shlibs and ldconfig calls are mandatory in biarch case, the trivial
same-arch case and they'd support any future combination. I guess they
aren't needed for qemu, but that may change in the future. ldconfig
should have the chance to decide how to handle those libraries.




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



Bug#469301: lintian: multiarch libraries support

2008-03-04 Thread Russ Allbery
Javier Serrano Polo [EMAIL PROTECTED] writes:

 Packages are available following
 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=464796#35

 For instance,
 http://62.43.64.122/debian/pool/ia32/ia32-libtiffxx0c2_3.8.2-7_all.deb

 Libraries were initially placed in /emul/ia32-linux/usr/lib, sometimes
 in /usr/lib32. This has evolved to include qemu supported archs (still
 working on it).
 shlibs and ldconfig calls are mandatory in biarch case, the trivial
 same-arch case and they'd support any future combination. I guess they
 aren't needed for qemu, but that may change in the future. ldconfig
 should have the chance to decide how to handle those libraries.

Oh.  Hm.  So replacing the /emul stuff.

Yeah, okay, I guess this makes sense.  I'm not sure that this is the
direction Debian is going to go, but I also don't see the harm in making
these changes to lintian.

-- 
Russ Allbery ([EMAIL PROTECTED])   http://www.eyrie.org/~eagle/



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



Bug#469409: claims copyright-without-copyright-notice for valid copyright file

2008-03-04 Thread Joey Hess
Package: lintian
Version: 1.23.45
Severity: normal

W: sleepd: copyright-without-copyright-notice

  sleepd is copyright 2000-2008 by Joey Hess [EMAIL PROTECTED] under the
  terms of the GNU GPL, version 2 or higher. On Debian systems, the full text
  of the GPL is in /usr/share/common-licenses/GPL

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

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

Versions of packages lintian depends on:
ii  binutils2.18.1~cvs20080103-1 The GNU assembler, linker and bina
ii  diffstat1.45-2   produces graph of changes introduc
ii  dpkg-dev1.14.16.6package building tools for Debian
ii  file4.23-2   Determines file type using magic
ii  gettext 0.17-2   GNU Internationalization utilities
ii  intltool-debian 0.35.0+20060710.1Help i18n of RFC822 compliant conf
ii  libparse-debianchan 1.1.1-2  parse Debian changelogs and output
ii  liburi-perl 1.35.dfsg.1-1Manipulates and accesses URI strin
ii  man-db  2.5.1-2  on-line manual pager
ii  perl [libdigest-md5 5.8.8-12 Larry Wall's Practical Extraction 

lintian recommends no packages.

-- no debconf information

-- 
see shy jo


signature.asc
Description: Digital signature


Bug#469409: marked as done (claims copyright-without-copyright-notice for valid copyright file)

2008-03-04 Thread Debian Bug Tracking System

Your message dated Tue, 04 Mar 2008 18:12:56 -0800
with message-id [EMAIL PROTECTED]
and subject line Re: Bug#469409: claims copyright-without-copyright-notice for 
valid copyright file
has caused the Debian Bug report #469409,
regarding claims copyright-without-copyright-notice for valid copyright file
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [EMAIL PROTECTED]
immediately.)


-- 
469409: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=469409
Debian Bug Tracking System
Contact [EMAIL PROTECTED] with problems
---BeginMessage---
Package: lintian
Version: 1.23.45
Severity: normal

W: sleepd: copyright-without-copyright-notice

  sleepd is copyright 2000-2008 by Joey Hess [EMAIL PROTECTED] under the
  terms of the GNU GPL, version 2 or higher. On Debian systems, the full text
  of the GPL is in /usr/share/common-licenses/GPL

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

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

Versions of packages lintian depends on:
ii  binutils2.18.1~cvs20080103-1 The GNU assembler, linker and bina
ii  diffstat1.45-2   produces graph of changes introduc
ii  dpkg-dev1.14.16.6package building tools for Debian
ii  file4.23-2   Determines file type using magic
ii  gettext 0.17-2   GNU Internationalization utilities
ii  intltool-debian 0.35.0+20060710.1Help i18n of RFC822 compliant conf
ii  libparse-debianchan 1.1.1-2  parse Debian changelogs and output
ii  liburi-perl 1.35.dfsg.1-1Manipulates and accesses URI strin
ii  man-db  2.5.1-2  on-line manual pager
ii  perl [libdigest-md5 5.8.8-12 Larry Wall's Practical Extraction 

lintian recommends no packages.

-- no debconf information

-- 
see shy jo


signature.asc
Description: Digital signature
---End Message---
---BeginMessage---
Version: 1.23.46

Joey Hess [EMAIL PROTECTED] writes:

 Package: lintian
 Version: 1.23.45
 Severity: normal

 W: sleepd: copyright-without-copyright-notice

   sleepd is copyright 2000-2008 by Joey Hess [EMAIL PROTECTED] under the
   terms of the GNU GPL, version 2 or higher. On Debian systems, the full text
   of the GPL is in /usr/share/common-licenses/GPL

Yeah, there was a missing /i at the end of the regex, about which I'm
quite embarassed.  Fixed in 1.23.46, uploaded yesterday.  Sorry about
that.

-- 
Russ Allbery ([EMAIL PROTECTED])   http://www.eyrie.org/~eagle/

---End Message---


lintian: r1249 - in trunk: checks data data/binaries data/shared-libs debian testset testset/libbaz/debian

2008-03-04 Thread rra
Author: rra
Date: 2008-03-05 03:25:32 +0100 (Wed, 05 Mar 2008)
New Revision: 1249

Added:
   trunk/data/binaries/
   trunk/data/binaries/multiarch
Modified:
   trunk/checks/binaries
   trunk/data/shared-libs/ldconfig-dirs
   trunk/debian/changelog
   trunk/testset/libbaz/debian/control
   trunk/testset/libbaz/debian/rules
   trunk/testset/tags.libbaz
Log:
* checks/binaries:
  + [RA] Permit architecture: all packages to have binaries in the
multiarch directories.  (Closes: #469301)
  + [RA] Allow and expect ldconfig, SONAMEs, and shlibs treatment of
libraries in multiarch directories.
* data/binaries/multiarch:
  + [RA] New file listing multiarch binary directories.

Modified: trunk/checks/binaries
===
--- trunk/checks/binaries   2008-03-04 21:20:41 UTC (rev 1248)
+++ trunk/checks/binaries   2008-03-05 02:25:32 UTC (rev 1249)
@@ -170,9 +170,15 @@
 # binary or object file?
 next unless ($info =~ m/^[^,]*\bELF\b/) or ($info =~ m/\bcurrent ar 
archive\b/);
 
+# Warn about Architecture: all packages that contain shared libraries, but
+# only if those libraries aren't installed in a multiarch directory.  The
+# package may be a support package for cross-compiles.
 if ($arch eq 'all') {
-   # package is `Architecture: all' but contains libs!?
-   tag arch-independent-package-contains-binary-or-object, $file;
+   my ($arch) = ($file =~ m,^\./(?:usr/)?lib/([^/]+)/,);
+   my $multiarch = Lintian::Data-new('binaries/multiarch');
+   unless ($arch and $multiarch-known($arch)) {
+   tag arch-independent-package-contains-binary-or-object, $file;
+   }
 }
 
 # ELF?

Added: trunk/data/binaries/multiarch
===
--- trunk/data/binaries/multiarch   (rev 0)
+++ trunk/data/binaries/multiarch   2008-03-05 02:25:32 UTC (rev 1249)
@@ -0,0 +1,18 @@
+# Known multiarch directories.  Binaries under one of these directories
+# under /lib or /usr/lib are permitted in Architecture: all packages since
+# the package may be for multiarch support in a related architecture.
+#
+# See Bug#469301 and Bug#464796 for more details.
+
+# Regular Debian ports.
+arm-linux-gnu
+arm-linux-gnueabi
+i486-linux-gnu
+hppa-linux-gnu
+m68k-linux-gnu
+mips-linux-gnu
+mipsel-linux-gnu
+powerpc-linux-gnu
+s390-linux-gnu
+sparc-linux-gnu
+x86_64-linux-gnu

Modified: trunk/data/shared-libs/ldconfig-dirs
===
--- trunk/data/shared-libs/ldconfig-dirs2008-03-04 21:20:41 UTC (rev 
1248)
+++ trunk/data/shared-libs/ldconfig-dirs2008-03-05 02:25:32 UTC (rev 
1249)
@@ -23,9 +23,31 @@
 # This is now obsolete, but is still in the standard ld.so.conf.
 usr/X11R6/lib
 
-# We intentionally do not include the multiarch directories like
-# /lib/i486-linux-gnu since libraries installed there may be only for
-# cross-compilation and not intended for the host operating system.  To
-# determine whether they're for the host, we'd need to apply more complex
-# logic to map the architecture of the Debian package to the appropriate
-# multiarch directory name.
+# Multiarch directories.  Currently, these aren't used officially by the
+# project but ld.so looks in the ones native to the local platform.
+# Hopefully including the ones not native to the local platform won't
+# hurt.
+#
+# See Bug#469301 and Bug#464796 for more details.
+lib/arm-linux-gnu
+lib/arm-linux-gnueabi
+lib/i486-linux-gnu
+lib/hppa-linux-gnu
+lib/m68k-linux-gnu
+lib/mips-linux-gnu
+lib/mipsel-linux-gnu
+lib/powerpc-linux-gnu
+lib/s390-linux-gnu
+lib/sparc-linux-gnu
+lib/x86_64-linux-gnu
+usr/lib/arm-linux-gnu
+usr/lib/arm-linux-gnueabi
+usr/lib/i486-linux-gnu
+usr/lib/hppa-linux-gnu
+usr/lib/m68k-linux-gnu
+usr/lib/mips-linux-gnu
+usr/lib/mipsel-linux-gnu
+usr/lib/powerpc-linux-gnu
+usr/lib/s390-linux-gnu
+usr/lib/sparc-linux-gnu
+usr/lib/x86_64-linux-gnu

Modified: trunk/debian/changelog
===
--- trunk/debian/changelog  2008-03-04 21:20:41 UTC (rev 1248)
+++ trunk/debian/changelog  2008-03-05 02:25:32 UTC (rev 1249)
@@ -1,12 +1,19 @@
 lintian (1.23.47) UNRELEASED; urgency=low
 
+  * checks/binaries:
++ [RA] Permit architecture: all packages to have binaries in the
+  multiarch directories.  (Closes: #469301)
   * checks/scripts:
 + [RA] Attempt to quash some Perl warnings.
   * checks/shared-libs:
 + [RA] Move the default ld.so search path into data.  Drop obsolete
   /usr/lib/libg++-dbg, /usr/X11R6/lib/Xaw3d, and libc5 compatibility
   directories in the process.
++ [RA] Allow and expect ldconfig, SONAMEs, and shlibs treatment of
+  libraries in multiarch directories.
 
+  * data/binaries/multiarch:
++ [RA] New file listing multiarch binary directories.
   * data/shared-libs/ldconfig-dirs:
 

Processed: Lintian bugs fixed in revision r1249

2008-03-04 Thread Debian Bug Tracking System
Processing commands for [EMAIL PROTECTED]:

 package lintian
Ignoring bugs not assigned to: lintian

 # Fixed in r1249 by rra
 tag 469301 + pending
Bug#469301: lintian: multiarch libraries support
There were no tags set.
Tags added: pending

 thanks
Stopping processing here.

Please contact me if you need assistance.

Debian bug tracking system administrator
(administrator, Debian Bugs database)


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