Debian Bug report logs - #9894
dpkg-source assume that host build arch == generated arch

Package: dpkg; Maintainer for dpkg is Dpkg Developers <debian-dpkg@lists.debian.org>; Source for dpkg is src:dpkg (PTS, buildd, popcon).

Reported by: Heiko Schlittermann <heiko@lotte.sax.de>

Date: Sat, 17 May 1997 18:03:06 UTC

Severity: normal

Done: Anthony Towns <ajt@master.debian.org>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Klee Dienes and Ian Jackson <dpkg-maint@chiark.greenend.org.uk>:
Bug#9894; Package dpkg. (full text, mbox, link).


Acknowledgement sent to Heiko Schlittermann <heiko@lotte.sax.de>:
New bug report received and forwarded. Copy sent to Klee Dienes and Ian Jackson <dpkg-maint@chiark.greenend.org.uk>. (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Heiko Schlittermann <heiko@lotte.sax.de>
To: submit@bugs.debian.org
Subject: dpkg: dpkg-genchanges has wrong assumptions
Date: Sat, 17 May 1997 19:10:51 +0200 (CEST)
Package: dpkg
Version: 1.4.0.8

Hi Klee,

my debian/files (fileslistfile) contains about the following lines:

xforms0.81_0.81-8_i386.deb contrib optional
xforms0.81_0.81-8_m68k.deb contrib optional
xforms0.81_0.81-8_alpha.deb contrib optional
xforms-dev_0.81-8_i386.deb contrib optional
xforms-dev_0.81-8_m68k.deb contrib optional
xforms-dev_0.81-8_alpha.deb contrib optional

No duplicates, but dpkg-genchanges only tests for existence of
the package names and marks 'em as duplicates.  No harm is done,
but it doesn't look very nice, if you'd get a bunch of warnings every dpkg-genchanges run ...

I'll include a fix:
diff -u /usr/bin/dpkg-genchanges /tmp/dpkg-genchanges
--- /usr/bin/dpkg-genchanges	Mon Feb  3 19:54:54 1997
+++ /tmp/dpkg-genchanges	Sat May 17 19:10:38 1997
@@ -97,8 +97,9 @@
 open(FL,"< $fileslistfile") || &syserr("cannot read files list file");
 while(<FL>) {
     if (m/^(([-+.0-9a-z]+)_([^_]+)_(\w+)\.deb) (\S+) (\S+)$/) {
-        defined($p2f{$2}) &&
+        defined($p2f{"$2 $4"}) &&
             &warn("duplicate files list entry for package $2 (line $.)");
+        $p2f{"$2 $4"}= $1;
         $p2f{$2}= $1;
         $p2ver{$2}= $3;
         defined($f2sec{$1}) &&
@@ -179,8 +180,9 @@
 }
 
 for $p (keys %p2f) {
-    defined($p2i{"C $p"}) ||
-        &warn("package $p listed in files list but not in control info");
+    my ($pp, $aa) = (split / /, $p);
+    defined($p2i{"C $pp"}) ||
+        &warn("package $pp listed in files list but not in control info");
 }
 
 for $p (keys %p2f) {


-- System Information
Debian Release: 1.3
Kernel Version: Linux eremit 2.0.29 #3 Tue Apr 8 22:33:11 CEST 1997 i586 unknown

Versions of the packages dpkg depends on:
libc5	Version: 5.4.23-3
ncurses3.0	Version: 1.9.9e-1


Changed bug title. Request was from James Troup <james@nocrew.org> to control@bugs.debian.org. (full text, mbox, link).


Severity set to `fixed'. Request was from jdassen@wi.leidenuniv.nl to control@bugs.debian.org. (full text, mbox, link).


Severity set to `fixed'. Request was from Joel Klecker <jk@espy.org> to control@bugs.debian.org. (full text, mbox, link).


Severity set to `normal'. Request was from Ian Jackson <ian@davenant.greenend.org.uk> to control@bugs.debian.org. (full text, mbox, link).


Changed bug title. Request was from Ian Jackson <ian@davenant.greenend.org.uk> to control@bugs.debian.org. (full text, mbox, link).


Bug reassigned from package `dpkg' to `dpkg-iwj'. Request was from Wichert Akkerman <wichert@cs.leidenuniv.nl> to control@bugs.debian.org. (full text, mbox, link).


Bug reassigned from package `dpkg-iwj' to `dpkg'. Request was from Anthony Towns <ajt@master.debian.org> to control@bugs.debian.org. (full text, mbox, link).


Bug closed, ack sent to submitter - they'd better know why ! Request was from Anthony Towns <ajt@master.debian.org> to control@bugs.debian.org. (full text, mbox, link).


Bug reassigned from package `dpkg' to `dpkg'. Request was from Anthony Towns <ajt@master.debian.org> to control@bugs.debian.org. (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Wed Apr 24 17:22:17 2024; Machine Name: bembo

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.