Make index || portsdb -uU fails after cvsup

Garance A Drosihn drosih at rpi.edu
Sun May 9 16:09:15 PDT 2004


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 at gilead.netel.rpi.edu
Senior Systems Programmer           or  gad at freebsd.org
Rensselaer Polytechnic Institute    or  drosih at rpi.edu


More information about the freebsd-ports mailing list