Subject: pkg/34221: build of lang/gcc34 fails with tcsh
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: Roland Sieker <roland@tharsis.home.loc>
List: pkgsrc-bugs
Date: 08/17/2006 12:25:00
>Number: 34221
>Category: pkg
>Synopsis: build of lang/gcc34 fails with tcsh
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Aug 17 12:25:00 +0000 2006
>Originator: Roland Sieker
>Release: NetBSD 3.0.1
>Organization:
>Environment:
System: NetBSD tharsis.home.loc 3.0.1 NetBSD 3.0.1 (GENERIC) #0: Thu Jul 13 20:27:04 UTC 2006 riz@b2.netbsd.org:/home/builds/ab/netbsd-3-0-1-RELEASE/amd64/200607131826Z-obj/home/builds/ab/netbsd-3-0-1-RELEASE/src/sys/arch/amd64/compile/GENERIC amd64
Architecture: x86_64
Machine: amd64
>Description:
When building the lang/gcc34 from pkgsrc as a user that has the tcsh (or possibly the
csh as well) the build stops with this error message:
gmake[3]: Entering directory `/usr/pkgsrc/lang/gcc34/work/obj/gcc/fixinc'
/usr/pkg/bin/tcsh /usr/pkgsrc/lang/gcc34/work/gcc-3.4.6/gcc/fixinc/genfixes machname.h
SHELL=/bin/sh: Command not found.
export: Command not found.
if: Expression Syntax.
>How-To-Repeat:
build the package as a user that has tcsh (or csh) in /etc/passwd
>Fix:
workaround: build as a user with a bash or sh, e.g. toor