Debian Bug report logs -
#76941
dpkg: [hurd] configure gets the architecture wrong
Reported by: Marcus.Brinkmann@ruhr-uni-bochum.de
Date: Mon, 13 Nov 2000 17:48:01 UTC
Severity: normal
Tags: patch
Found in versions 1.7.1.1, 1.10.9
Done: Tollef Fog Heen <tfheen@raw.no>
Bug is archived. No further changes may be made.
Toggle useless messages
Report forwarded to debian-bugs-dist@lists.debian.org, Wichert Akkerman <wakkerma@debian.org>:
Bug#76941; Package dpkg.
(full text, mbox, link).
Acknowledgement sent to Marcus.Brinkmann@ruhr-uni-bochum.de:
New Bug report received and forwarded. Copy sent to Wichert Akkerman <wakkerma@debian.org>.
(full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
Package: dpkg
Version: 1.7.1.1
Hi Wichert,
dpkg's configure gets the architecture wrong on the Hurd.
The correct GNU architecture it sees is i386-gnu0.2, and that makes it that
dpkg can't find it in the arhctable lookup. The awk command that looks for
the entry in the archtable should be modified so that it matches i386-gnu to
all i386-gnu* variants (in other words: it should be sufficient that the
archtable file entry is a prefix of the GNU architecture).
A quick hack would be to add another line for i386-gnu0.2, a bit messy but
it should work. The i386-gnu entry should not go, though, as it is needed
for cross compilation.
Apart from that, dpkg 1.7.1.1 compiles fine on the Hurd. I had to change the
ENOENT value to 2^30+2 of course. Would be nice to have this old bug fixed,
too.
Thanks,
Marcus
-- System Information
Debian Release: 2.2
Kernel Version: Linux ulysses 2.4.0-test9 #1 Mon Okt 30 20:36:05 CET 2000 i686 unknown
Versions of the packages dpkg depends on:
ii libc6 2.1.94-3 GNU C Library: Shared libraries and Timezone data
ii libncurses5 5.0-6 Shared libraries for terminal handling
ii libstdc++2.10 2.95.2-5 The GNU stdc++ library
Tags added:
Request was from Cyrille Chepelov <chepelov@calixo.net>
to control@bugs.debian.org.
(full text, mbox, link).
Information forwarded to debian-bugs-dist@lists.debian.org, hramrach_L@centrum.cz, Dpkg Development <debian-dpkg@lists.debian.org>, dpkg@packages.qa.debian.org:
Bug#76941; Package dpkg.
(full text, mbox, link).
Acknowledgement sent to Michal 'hramrach' Suchanek <hramrach_l@centrum.cz>:
Extra info received and forwarded to list. Copy sent to hramrach_L@centrum.cz, Dpkg Development <debian-dpkg@lists.debian.org>, dpkg@packages.qa.debian.org.
(full text, mbox, link).
Message #12 received at 76941@bugs.debian.org (full text, mbox, reply):
Package: dpkg
Version: 1.10.9
Severity: important
It appears that current uname can detect processor model which is
not reflected in achtable. This leads to inability to install any
packages with newly compiled dpkg due to arch mismatch.
hurd:/usr/src# dpkg -i dselect_1.10.9_hurd-i386.deb
dpkg: error processing dselect_1.10.9_hurd-i386.deb (--install):
package architecture (hurd-i386) does not match system (i686-gnu0.3)
Errors were encountered while processing:
dselect_1.10.9_hurd-i386.deb
I hope the patch below fixes the problem
--- /usr/src/dpkg-1.10.9/archtable.orig 2002-10-22 17:58:16.000000000 +0200
+++ /usr/src/dpkg-1.10.9/archtable 2002-10-22 18:19:24.000000000 +0200
@@ -31,9 +31,12 @@
mips-linux-gnu mips mips
mipsel-linux-gnu mipsel mipsel
mipseb-linux-gnu mips mips
-i386-gnu hurd-i386 undefined
-i386-gnu0.2 hurd-i386 undefined
-i386-gnu0.3 hurd-i386 undefined
+i386-gnu hurd-i386 hurd-i386
+i386-gnu0.2 hurd-i386 hurd-i386
+i386-gnu0.3 hurd-i386 hurd-i386
+i486-gnu0.3 hurd-i386 hurd-i386
+i586-gnu0.3 hurd-i386 hurd-i386
+i686-gnu0.3 hurd-i386 hurd-i386
ia64-linux-gnu ia64 ia64
ia64-unknown-linux ia64 ia64
sh3-linux-gnu sh3 sh3
-- System Information
Debian Release: testing/unstable
Kernel Version: GNU hurd 0.3 GNUmach-1.90/Hurd-0.3 i686-AT386 unknown unknown GNU
Versions of the packages dpkg depends on:
ii dselect 1.10.9 a user tool to manage Debian packages
ii hurd 20021011-1 The GNU Hurd
ii libc0.3 2.2.5-13 GNU C Library: Shared libraries and Timezone
Tags added: patch
Request was from Josip Rodin <joy@srce.hr>
to control@bugs.debian.org.
(full text, mbox, link).
Information forwarded to debian-bugs-dist@lists.debian.org, Dpkg Development <debian-dpkg@lists.debian.org>:
Bug#76941; Package dpkg.
(full text, mbox, link).
Acknowledgement sent to Scott James Remnant <scott@netsplit.com>:
Extra info received and forwarded to list. Copy sent to Dpkg Development <debian-dpkg@lists.debian.org>.
(full text, mbox, link).
Message #19 received at 76941@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
This has already been fixed on 1.10 and the bug not closed.
Scott
--
Have you ever, ever felt like this?
Had strange things happen? Are you going round the twist?
[signature.asc (application/pgp-signature, inline)]
Reply sent to Tollef Fog Heen <tfheen@raw.no>:
You have taken responsibility.
(full text, mbox, link).
Notification sent to Marcus.Brinkmann@ruhr-uni-bochum.de:
Bug acknowledged by developer.
(full text, mbox, link).
Message #24 received at 76941-done@bugs.debian.org (full text, mbox, reply):
* Scott James Remnant
| This has already been fixed on 1.10 and the bug not closed.
/me bumps this to -done so it'll actually be closed as well.
--
Tollef Fog Heen ,''`.
UNIX is user friendly, it's just picky about who its friends are : :' :
`. `'
`-
Send a report that this bug log contains spam.
Debian bug tracking system administrator <owner@bugs.debian.org>.
Last modified:
Wed Dec 6 05:50:11 2023;
Machine Name:
buxtehude
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.