NetBSD Problem Report #30179
From www@netbsd.org Mon May 9 15:45:04 2005
Return-Path: <www@netbsd.org>
Received: by narn.netbsd.org (Postfix, from userid 31301)
id 6B60563B11A; Mon, 9 May 2005 15:45:04 +0000 (UTC)
Message-Id: <20050509154504.6B60563B11A@narn.netbsd.org>
Date: Mon, 9 May 2005 15:45:04 +0000 (UTC)
From: ks@ub.uni-mainz.de
Reply-To: ks@ub.uni-mainz.de
To: gnats-bugs@netbsd.org
Subject: machine.sh not executable in pkgsrc/bootstap leads to subtile problems
X-Send-Pr-Version: www-1.0
>Number: 30179
>Category: pkg
>Synopsis: machine.sh not executable in pkgsrc/bootstap leads to subtile problems
>Confidential: no
>Severity: serious
>Priority: high
>Responsible: pkg-manager
>State: closed
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Mon May 09 15:46:00 +0000 2005
>Closed-Date: Mon Jun 06 09:09:59 +0000 2005
>Last-Modified: Mon Jun 06 09:09:59 +0000 2005
>Originator: Kurt Schreiner
>Release:
>Organization:
Universitaet Mainz
>Environment:
>-193: uname -a
SunOS ifred 5.9 Generic_117171-07 sun4u sparc SUNW,Sun-Fire-V440
>Description:
While trying to get pkgsrc (cvs update'd some minutes ago) up an a new Sun Sparc Solaris 9 machine, I got some packages compiled, some not, failing in mysterious ways, but always something like:
checking build system type... -sun-solaris2.9
checking host system type... -sun-solaris2.9
could be found in the configure output.
I finally traced this down to bootstrap/bmake/machine.sh not beeing executable resulting in MACHINE_ARCH not beeing defined in bmake.
>How-To-Repeat:
Check out pkgsrc on a Solaris machine, cd to pkgsrc/bootstap,
type ./bootstrap <parameters> and watch the output carefully
for "...machine.sh...cannot execute" or some such.
>Fix:
chmod +x pkgsrc/bootstap/bmake/machine.sh
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed
State-Changed-By: rillig@netbsd.org
State-Changed-When: Mon, 06 Jun 2005 09:09:59 +0000
State-Changed-Why:
Apparently someone has fixed this. A simple "cvs update" will not be
enough to make it executable, but deleting the file and then updating
will work.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.