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

Bug#144515: marked as done ([ARCH] dpkg --print-architecture on i386 sometimes prints i386-none)

Your message dated Sat, 24 Apr 2004 23:05:02 +0200
with message-id <87zn9184u9.fsf@yiwaz.raw.no>
and subject line Fixed in unstable.
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; 25 Apr 2002 15:16:11 +0000
>From kcr@ovalkwik.mit.edu Thu Apr 25 10:16:11 2002
Return-path: <kcr@ovalkwik.mit.edu>
Received: from genuine-imitation-ovalkwik.mit.edu [] 
	by master.debian.org with esmtp (Exim 3.12 1 (Debian))
	id 170kyh-0006jN-00; Thu, 25 Apr 2002 10:16:11 -0500
Received: from kcr by GENUINE-IMITATION-OVALKWIK.MIT.EDU with local (Exim 3.34 #1 (Debian))
	id 170kyf-0001y7-00
	for <submit@bugs.debian.org>; Thu, 25 Apr 2002 11:16:09 -0400
From: kcr@debian.org
To: submit@bugs.debian.org
Subject: dpkg --print-architecture on i386 sometimes prints i386-none
Date: 25 Apr 2002 11:16:08 -0400
Lines: 32
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: Karl Ramm <kcr@OVALKWIK.MIT.EDU>
Delivered-To: submit@bugs.debian.org

Package: dpkg
Version: 1.9.20

If gcc is not installed, dpkg --print-architecture seems to print i386-none
instead of i386.  This appears to be because that the relevant path
component in the libgcc filename that it fakes up if it can't run gcc
--print-libgcc-filename is not matched in archtable.

Reproduce by debootstrapping yourself a base system on an i386, and running 
chroot /path/to/base/system dpkg --print-architecture

kcr@ORTHANC# chroot /home/install dpkg --print-architecture
dpkg: warning, architecture `i386-none' not in remapping table

[Also, the comment at the top of the archtable file appears to be
incorrect; on a fproperly functioning (?) i386 both --print-architecure and
--print-installation-architecture print i386, and
--print-gnu-build-architecture is what prints i486]

This could be fixed by either modifying archtable to include i386-none, or
having the faked-up string be arch-linux instead of arch-none.

Note that this bug is related to [and in fact alluded to in] #8241.


Received: (at 144515-done) by bugs.debian.org; 24 Apr 2004 21:05:09 +0000
>From tfheen@raw.no Sat Apr 24 14:05:09 2004
Return-path: <tfheen@raw.no>
Received: from vawad.samfundet.no (vawad.raw.no) [] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1BHUKj-0006fE-00; Sat, 24 Apr 2004 14:05:09 -0700
Received: from 22.80-202-213.nextgentel.com ([] helo=yiwaz.raw.no)
	by vawad.raw.no with esmtp (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24)
	(Exim 4.32)
	id 1BHUKd-0008Pb-Nf
	for 144515-done@bugs.debian.org; Sat, 24 Apr 2004 23:05:07 +0200
Received: by yiwaz.raw.no (Postfix, from userid 1000)
	id DBEC75FA1F; Sat, 24 Apr 2004 23:05:02 +0200 (CEST)
To: 144515-done@bugs.debian.org
Subject: Fixed in unstable.
Mail-Copies-To: never
From: Tollef Fog Heen <tfheen@raw.no>
Organization: Private
Date: Sat, 24 Apr 2004 23:05:02 +0200
Message-ID: <87zn9184u9.fsf@yiwaz.raw.no>
User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Delivered-To: 144515-done@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-2.0 required=4.0 tests=BAYES_00 autolearn=no 
X-CrossAssassin-Score: 1

This bug is fixed in unstable; closing the bug.

Tollef Fog Heen                                                        ,''`.
UNIX is user friendly, it's just picky about who its friends are      : :' :
                                                                      `. `' 

Reply to: