Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 9 May 2004 19:09:12 -0400
From:      Garance A Drosihn <drosih@rpi.edu>
To:        Kris Kennaway <kris@obsecurity.org>
Cc:        ports@freebsd.org
Subject:   Re: Make index || portsdb -uU fails after cvsup
Message-ID:  <p06020411bcc4683ea298@[128.113.24.47]>
In-Reply-To: <20040509024226.GA79746@xor.obsecurity.org>
References:  <BCC2AE80.128AC%tomonage2@gmx.de> <20040508134709.GA35555@xor.obsecurity.org> <p0602040fbcc33d188518@[128.113.24.47]> <20040509024226.GA79746@xor.obsecurity.org>

next in thread | previous in thread | raw e-mail | index | archive | help
At 7:42 PM -0700 5/8/04, Kris Kennaway wrote:
>On Sat, May 08, 2004, Garance A Drosihn wrote:
>  > Hmm.  Well, I am baffled here.
>>
>>  This week I tried to do a `make index' for the first time in
>>  awhile, and it failed for me on both a 4.x and 5.x system.  I
>>  do not understand why no one else seems to be seeing this.  The
>>  error I see is:
>
>Do you have WRKDIRPREFIX set?  This is known to fail.

I do not.  During the processing of target ${.CURDIR}/${INDEXFILE}
(aka /usr/ports/INDEX-5 ), the environment variables which seem to
be set are:

ARCH=i386
BLOCKSIZE=K
CVS_RSH=ssh
EDITOR=vi
FTP_PASSIVE_MODE=YES
GROUP=wheel
HISTCONTROL=ignoredups
HISTFILE=/root/.bash_history-pd
HNAMEstr=freefour.acs.rpi.edu
HOME=/root
HOST=freefour.acs.rpi.edu
HOSTTYPE=FreeBSD
IFS='
LOGNAME=root
MACHTYPE=i386
MAIL=/var/mail/root
MANPATH=/usr/share/man:/usr/local/man:/usr/man
OLDPWD=/usr/obj/usr/ports
OPSYS=FreeBSD
OPTIND=1
OSREL=5.2
OSTYPE=FreeBSD
OSVERSION=502109
PAGER=more
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/bin:/root/bin:/usr/X11R6/bin:/root/Unix/scripts
PKGINSTALLVER=20030417
PORTOBJFORMAT=elf
PPID=35692
PS1='# '
PS2='> '
PWD=/usr/ports
REMOTEHOST=128.113.24.47
SHELL=/usr/local/bin/bash
SHLVL=2
SSH_CLIENT='128.113.24.47 49286 27272'
SSH_CONNECTION='128.113.24.47 49286 128.113.24.91 27272'
SSH_TTY=/dev/ttyp5
TERM=vt100
UID=0
USER=root
VENDOR=intel
WHOAMIstr=root
_=/usr/bin/make
__MKLVL__=2
crt=24
history_control=ignoredups
rcPLATFORM=FreeBSD

My /etc/make.conf sets:

CFLAGS= -O -pipe
NOCLEANDEPENDS=true
USA_RESIDENT=           YES
XFREE86_VERSION=4
KERNCONF=Dual-Athlon2k
DISTDIR=/usr/cvs/ports-fbsd/distfiles
PERL_VER=5.6.1
PERL_VERSION=5.6.1
PERL_ARCH=mach
NOPERL=yo
NO_PERL=yo
NO_PERL_WRAPPER=yo
RUBY_VER=1.8
RUBY_DEFAULT_VER=1.8

If I add '@echo DISTDIR=${DISTDIR} WRKDIRPREFIX=${WRKDIRPREFIX}'
to the INDEX-5 target, I am told:

DISTDIR=/usr/cvs/ports-fbsd/distfiles WRKDIRPREFIX=

I don't see how any of those variables would trigger the problem
that I'm seeing.

-- 
Garance Alistair Drosehn            =   gad@gilead.netel.rpi.edu
Senior Systems Programmer           or  gad@freebsd.org
Rensselaer Polytechnic Institute    or  drosih@rpi.edu



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?p06020411bcc4683ea298>