Subject: Re: Problems building pkg.
To: Johnny Billquist <bqt@update.uu.se>
From: Alistair Crooks <agc@pkgsrc.org>
List: tech-pkg
Date: 05/01/2001 11:00:39
On Tue, May 01, 2001 at 11:55:39AM +0200, Johnny Billquist wrote:
> On Tue, 1 May 2001, Alistair Crooks wrote:
> 
> > Try again, this time appending PKG_DEBUG_LEVEL=2 to the "make fetch":
> > i.e.
> > 
> > make fetch PKG_DEBUG_LEVEL=2
> > 
> > and you will get LOTS of output - it should help to narrow down the
> > problem a bit.
> 
> Thanks for the speedy respone.
> Didn't give that much output, but here's what I got:
> 
> Junk:shells/tcsh# make fetch PKG_DEBUG_LEVEL=2
> set -x;cd /usr/pkgsrc/shells/tcsh && 1 LDFLAGS=" -Wl,-R/usr/pkg/lib
> -L/usr/pkg/lib" PATH=/sbin:/usr/sbin:/usr/pkg/bin:/usr/local/sbin:/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin:/usr/pkg/bin:/usr/X11R6/bin
> PREFIX=/usr/pkg LOCALBASE=/usr/pkg X11BASE=/usr/X11R6
> CFLAGS="-O2" BSD_INSTALL_PROGRAM="install -c -s -o root -g wheel -m
> 555"  BSD_INSTALL_SCRIPT="install -c -o root -g wheel -m
> 555"  BSD_INSTALL_DATA="install -c -o root -g wheel -m
> 444"  BSD_INSTALL_MAN="install -c -o root -g wheel -m
> 444"  BSD_INSTALL_PROGRAM_DIR="install -d -o root -g wheel -m
> 555"  BSD_INSTALL_SCRIPT_DIR="install -d -o root -g wheel -m
> 555"  BSD_INSTALL_DATA_DIR="install -d -o root -g wheel -m
> 555"  BSD_INSTALL_MAN_DIR="install -d -o root -g wheel -m 555" make
> OPSYS=NetBSD OS_VERSION=1.5U LOWER_OPSYS=netbsd pre-fetch
> + cd /usr/pkgsrc/shells/tcsh
> + 1 LDFLAGS= -Wl,-R/usr/pkg/lib -L/usr/pkg/lib
> PATH=/sbin:/usr/sbin:/usr/pkg/bin:/usr/local/sbin:/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin:/usr/pkg/bin:/usr/X11R6/bin
> PREFIX=/usr/pkg LOCALBASE=/usr/pkg X11BASE=/usr/X11R6 CFLAGS=-O2
> BSD_INSTALL_PROGRAM=install -c -s -o root -g wheel -m 555
> BSD_INSTALL_SCRIPT=install -c -o root -g wheel -m 555
> BSD_INSTALL_DATA=install -c -o root -g wheel -m 444
> BSD_INSTALL_MAN=install -c -o root -g wheel -m 444
> BSD_INSTALL_PROGRAM_DIR=install -d -o root -g wheel -m 555
> BSD_INSTALL_SCRIPT_DIR=install -d -o root -g wheel -m 555
> BSD_INSTALL_DATA_DIR=install -d -o root -g wheel -m 555
> BSD_INSTALL_MAN_DIR=install -d -o root -g wheel -m 555 make OPSYS=NetBSD
> OS_VERSION=1.5U LOWER_OPSYS=netbsd pre-fetch
> 1: not found
> *** Error code 127
> 
> Stop.
> *** Error code 1
> 
> Stop.
> Junk:shells/tcsh# 
> 
> 
> Sorry about the line terminations. Pine wanted that. I hope it's still
> interpretable. Let me know otherwise.
> 
> 	Johnny
> 
> Johnny Billquist                  || "I'm on a bus
>                                   ||  on a psychedelic trip
> email: bqt@update.uu.se           ||  Reading murder books
> pdp is alive!                     ||  tryin' to stay hip" - B. Idol
> 

I think you have SETENV defined to "1" in either your environment or
/etc/mk.conf

Regards,
Alistair