[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#322291: marked as done (lintian: invalid-arch-string-in-source-relation triggers on amd64)



Your message dated Sun, 28 Aug 2005 13:47:08 -0700
with message-id <E1E9U3Y-0004bX-00@spohr.debian.org>
and subject line Bug#322291: fixed in lintian 1.23.12
has caused the attached Bug report 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 I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

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

--------------------------------------
Received: (at submit) by bugs.debian.org; 10 Aug 2005 06:41:34 +0000
>From rra@stanford.edu Tue Aug 09 23:41:34 2005
Return-path: <rra@stanford.edu>
Received: from smtp1.stanford.edu [171.67.16.123] 
	by spohr.debian.org with esmtp (Exim 3.36 1 (Debian))
	id 1E2kHO-00028R-00; Tue, 09 Aug 2005 23:41:34 -0700
Received: from windlord.stanford.edu (windlord.Stanford.EDU [171.64.19.147])
	by smtp1.Stanford.EDU (8.12.11/8.12.11) with ESMTP id j7A6fXm6006284
	for <submit@bugs.debian.org>; Tue, 9 Aug 2005 23:41:33 -0700
Received: by windlord.stanford.edu (Postfix, from userid 1000)
	id E44A8E7C5C; Tue,  9 Aug 2005 23:41:32 -0700 (PDT)
Content-Type: multipart/mixed; boundary="===============1109840001=="
MIME-Version: 1.0
From: Russ Allbery <rra@stanford.edu>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: lintian: invalid-arch-string-in-source-relation triggers on amd64
X-Mailer: reportbug 3.15
Date: Tue, 09 Aug 2005 23:41:32 -0700
Message-Id: <[🔎] 20050810064132.E44A8E7C5C@windlord.stanford.edu>
Delivered-To: submit@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
	autolearn=no version=2.60-bugs.debian.org_2005_01_02

This is a multi-part MIME message sent by reportbug.

--===============1109840001==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Package: lintian
Version: 1.23.10
Severity: normal
Tags: patch

(Bug severity because this is an incorrect error.)

A Build-Depends entry like:

    libopenafs-dev [alpha amd64 hppa i386 ia64 powerpc s390 sparc]

triggers invalid-arch-string-in-source-relation because of amd64.   The
reported information also refers the user to policy 5.6.7, which is the
section on the Package field.  I assume that 5.6.8 was intended.

The attached patch (against 1.23.11) downgrades a non-standard
architecture in a source dependency to info, following the precedent of
the Architecture field.

I didn't repeat the architecture list from non-standard-architecture
in the new non-standard-arch-in-source-relation tag; it seemed like yet
one more thing to keep in sync and didn't seem particularly necessary
there.

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.4.30
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) (ignored: LC_ALL set to C)

Versions of packages lintian depends on:
ii  binutils                   2.16.1-2      The GNU assembler, linker and bina
ii  diffstat                   1.39-1        produces graph of changes introduc
ii  file                       4.12-1        Determines file type using "magic"
ii  gettext                    0.14.5-2      GNU Internationalization utilities
ii  intltool-debian            0.30+20040213 Help i18n of RFC822 compliant conf
ii  man-db                     2.4.3-1       The on-line manual pager
ii  perl [libdigest-md5-perl]  5.8.7-3       Larry Wall's Practical Extraction 

lintian recommends no packages.

-- no debconf information

--===============1109840001==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="lintian-source-arch"

diff -rupN lintian-1.23.11.orig/checks/fields lintian-1.23.11/checks/fields
--- lintian-1.23.11.orig/checks/fields	2005-07-11 06:08:12.000000000 -0700
+++ lintian-1.23.11/checks/fields	2005-08-09 23:28:57.000000000 -0700
@@ -448,8 +448,11 @@ if ($type eq "source") {
 					my ($d_pkg, $d_version, $d_arch, $rest, $part_d_orig) = @$part_d;
 
 					for my $arch (@{$d_arch->[0]}) {
-						tag "invalid-arch-string-in-source-relation", "$arch [$field: $part_d_orig]"
-						    unless ($known_archs{$arch} || $arch eq "any" || $arch eq "all");
+						if ($non_standard_archs{$arch}) {
+							tag "non-standard-arch-in-source-relation", "$arch [$field: $part_d_orig]";
+						} elsif (!$known_archs{$arch} && $arch ne "any" && $arch ne "all") {
+							tag "invalid-arch-string-in-source-relation", "$arch [$field: $part_d_orig]"
+						}
 					}
 
 					tag "depends-on-build-essential-package-without-using-version", "$d_pkg [$field: $part_d_orig]"
diff -rupN lintian-1.23.11.orig/checks/fields.desc lintian-1.23.11/checks/fields.desc
--- lintian-1.23.11.orig/checks/fields.desc	2005-06-27 02:10:02.000000000 -0700
+++ lintian-1.23.11/checks/fields.desc	2005-08-09 23:23:49.000000000 -0700
@@ -379,11 +379,16 @@ Info: The package declares a depends on 
 
 Tag: invalid-arch-string-in-source-relation
 Type: error
-Ref: policy 5.6.7
+Ref: policy 5.6.8
 Info: The architecture string in the source relation does not follow policy.
  A common cause of this is a comma in the arch, i.e. [i386, m68k], it should
  be [i386 m68k].
 
+Tag: non-standard-arch-in-source-relation
+Type: info
+Info: The architecture string in the source relation is one of the
+ architectures still waiting to be included in the archive.
+
 Tag: depends-on-build-essential-package-without-using-version
 Type: error
 Info: The package declares a depends on a build essential package without

--===============1109840001==--

---------------------------------------
Received: (at 322291-close) by bugs.debian.org; 28 Aug 2005 20:49:02 +0000
>From katie@spohr.debian.org Sun Aug 28 13:49:02 2005
Return-path: <katie@spohr.debian.org>
Received: from katie by spohr.debian.org with local (Exim 3.36 1 (Debian))
	id 1E9U3Y-0004bX-00; Sun, 28 Aug 2005 13:47:08 -0700
From: Frank Lichtenheld <djpig@debian.org>
To: 322291-close@bugs.debian.org
X-Katie: $Revision: 1.56 $
Subject: Bug#322291: fixed in lintian 1.23.12
Message-Id: <E1E9U3Y-0004bX-00@spohr.debian.org>
Sender: Archive Administrator <katie@spohr.debian.org>
Date: Sun, 28 Aug 2005 13:47:08 -0700
Delivered-To: 322291-close@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
	autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-CrossAssassin-Score: 6

Source: lintian
Source-Version: 1.23.12

We believe that the bug you reported is fixed in the latest version of
lintian, which is due to be installed in the Debian FTP archive:

lintian_1.23.12.dsc
  to pool/main/l/lintian/lintian_1.23.12.dsc
lintian_1.23.12.tar.gz
  to pool/main/l/lintian/lintian_1.23.12.tar.gz
lintian_1.23.12_all.deb
  to pool/main/l/lintian/lintian_1.23.12_all.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 322291@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Frank Lichtenheld <djpig@debian.org> (supplier of updated lintian package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Sun, 28 Aug 2005 22:05:54 +0200
Source: lintian
Binary: lintian
Architecture: source all
Version: 1.23.12
Distribution: unstable
Urgency: low
Maintainer: Debian Lintian Maintainers <lintian-maint@debian.org>
Changed-By: Frank Lichtenheld <djpig@debian.org>
Description: 
 lintian    - Debian package checker
Closes: 320382 321206 321564 321650 322241 322291 323098 324121 324255 324673 325225
Changes: 
 lintian (1.23.12) unstable; urgency=low
 .
   * The "bad, bad SONAME check" release
 .
   * all files:
     + [FL] Update FSF address
 .
   * debian/control:
     + [FL] Depend on dpkg-dev since we use dpkg-source. How old exactly is
       this bug? (Closes: #324673)
 .
   * checks/binaries:
     + [FL] Only use sonames from files in common library directories for
       the soname checks. This avoids many false positives. Patch by
       Russ Allbery (Closes: #321564)
     + [FL] Convert the SONAME to lower case before comparing with
       package name. Suggested by Josh Triplett (Closes: #321206, #325225)
     + [FL] Try to remove strings added for transition purposes from
       library package names before comparing package name with SONAME.
       Pointed out by Rene Engelhard (Closes: #322241, #324121)
     + [FL] Also remove -udeb strings and substitute lib64 with lib in
       package name before comparing with SONAME
     + [FL] Replace any occurence of _ in the SONAME with - since the
       former isn't allowed in package names but occasionally used in
       sonames
     + [FL] Remove trailing .so from SONAMEs
     + [FL] Also ignore static binaries in sub directories of /boot,
       not only in /boot itself. Patch by Guillem Jover
       (Closes: #320382)
   * checks/changelog-file:
     + [FL] Detect old FSF address additionally to the even older
       one
   * checks/{cruft,files}{,.desc}:
     + [FL] Also check for .arch-ids/ {arch}/ .arch-inventory and .bzr/
       in packages and sources (Closes: #324255)
   * checks/debhelper{,.desc}:
     + [FL] Warn about using debhelper compat version lower than 3
       like debhelper itself
     + [FL] Drop package-lacks-versioned-build-depends-on-debhelper
       tag for compat versions < 5. With debhelper 4 even in oldstable
       issuing an error here is silly
     + [FL] Fix typo (s,debian/control,debian/compat,) in description of
       declares-possibly-conflicting-debhelper-compat-versions
   * checks/description{,.desc}:
     + [FL] Avoid double warning about description-is-dh_make-template
       in the same way we do it for the corresponding debmake tag
     + [FL] Policy section of Description field has changed
   * checks/fields{,.desc}:
     + [FL] Fix a lot of off-by-one errors in the policy references
       (caused by the addition of the Uploaders field). Unknowningly
       pointed out by Russ Allbery
     + [FL] Also use non_standards_archs when checking source package
       relations. Patch by Russ Allbery (Closes: #322291)
   * checks/manpages:
     + [FL] Don't issue warnings about 8bit characters in translated
       man pages. Patch by Denis Barbier (Closes: #321650)
   * checks/scripts:
     + [FL] Don't issue bashism warning on POSIX character classes ([[:foo:]]).
       Noted by Stephen Gran (Closes: #323098)
     + [FL] Remove some useless groupings in the bashism regexes
Files: 
 326c28428894475e63c9cb7955735ff6 772 devel optional lintian_1.23.12.dsc
 59449ee2d6212df94668ebc6e2ac7b49 265933 devel optional lintian_1.23.12.tar.gz
 3dfc575fd98907065e572bbfdec942d6 230748 devel optional lintian_1.23.12_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFDEh6gQbn06FtxPfARAnKDAJ9ZLKxuW5gKq6RUG/crX5YSU5xLcQCfbjtd
S/u24ehyDtthkSWB5PmbEKo=
=df33
-----END PGP SIGNATURE-----



Reply to: