NetBSD Problem Report #45363

From www@NetBSD.org  Tue Sep 13 14:31:57 2011
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by www.NetBSD.org (Postfix) with ESMTP id 3267463C789
	for <gnats-bugs@gnats.NetBSD.org>; Tue, 13 Sep 2011 14:31:57 +0000 (UTC)
Message-Id: <20110913143156.78B9C63C40C@www.NetBSD.org>
Date: Tue, 13 Sep 2011 14:31:56 +0000 (UTC)
From: KOT@MATPOCKuH.Ru
Reply-To: KOT@MATPOCKuH.Ru
To: gnats-bugs@NetBSD.org
Subject: bootstrap must use x86_64 as machine_arch on Solaris 10 amd64
X-Send-Pr-Version: www-1.0

>Number:         45363
>Category:       pkg
>Synopsis:       bootstrap must use x86_64 as machine_arch on Solaris 10 amd64
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    solaris-pkg-people
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Sep 13 14:35:00 +0000 2011
>Closed-Date:    Wed Nov 21 10:03:06 +0000 2018
>Last-Modified:  Wed Nov 21 10:03:06 +0000 2018
>Originator:     Dmitry Afanasiev
>Release:        
>Organization:
>Environment:
SunOS sunray 5.10 Generic_144489-01 i86pc i386 i86pc
>Description:
On Solaris 10 amd64 uname -p returns i386.
When bootstrap-ing with ABI=64 MACHINE_ARCH must be equal x86_64.
But in bootstrap/bootstrap I see:
        machine_arch=`uname -p | sed -e 's/i86pc/i386/'`

It must be changed to:
[ "_$abi" = "_64" ] &&
  machine_arch=`uname -p | sed -e 's/i386/x86_64/'` ||
  machine_arch=`uname -p`

>How-To-Repeat:

>Fix:

>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: pkg-manager->solaris-pkg-people
Responsible-Changed-By: wiz@NetBSD.org
Responsible-Changed-When: Thu, 22 Sep 2011 11:45:06 +0000
Responsible-Changed-Why:
Solaris bootstrapping issue -- please verify.


State-Changed-From-To: open->closed
State-Changed-By: maya@NetBSD.org
State-Changed-When: Wed, 21 Nov 2018 10:03:06 +0000
State-Changed-Why:
bootstrap has seen many changes since this bug was reported. While it still looks like this patch can be applied, jperkin thinks the bug report is stale. Let me know if you still have issues with pkgsrc bootstrap today.


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.43 2018/01/16 07:36:43 maya Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2017 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.