Subject: pkg/30179: machine.sh not executable in pkgsrc/bootstap leads to subtile problems
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <ks@ub.uni-mainz.de>
List: pkgsrc-bugs
Date: 05/09/2005 15:46:00
>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: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Mon May 09 15:46:00 +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