Date: Mon, 3 Sep 2001 20:49:21 +0400 (MSD) From: .@babolo.ru To: kris@obsecurity.org (Kris Kennaway) Cc: kris@obsecurity.org, ports@FreeBSD.ORG Subject: Re: WRKDIR breakage in bsd.port.mk Message-ID: <200109031649.UAA03099@aaz.links.ru> In-Reply-To: <20010902153712.B20618@xor.obsecurity.org> from "Kris Kennaway" at "Sep 2, 1 03:37:12 pm"
next in thread | previous in thread | raw e-mail | index | archive | help
Kris Kennaway writes: > On Sun, Sep 02, 2001 at 10:55:47PM +0400, "."@babolo.ru wrote: > > Kris Kennaway writes: > > > What's going on here? > > > > > > # setenv WRKDIR /tmp/work > > > # cd /usr/ports/security/sudo > > > # make > > > [...] > > > ===> Building for sudo-1.6.3.7_1 > > > make: don't know how to make real-build. Stop > > > *** Error code 2 > > > > > > Stop in /usr/obj/xor/usr/ports/security/sudo/work/sudo-1.6.3p7. > > > *** Error code 1 > > > > > > This happens for any port with a non-empty configure target and a > > > build target. The real-build target in <bsd.port.mk> seems to be > > > executed twice, once with ${.CURDIR} in /usr/ports/security/sudo and > > > the second time with ${.CURDIR} in ${WRKDIR}, at which point it fails. > > > > > > Would anyone care to look into this more? > > this strings in /etc/make.conf work for me: > > > > PACKAGES=${TMPDIR} > > WRKDIRPREFIX=${TMPDIR} > > MAKEOBJDIRPREFIX=${TMPDIR} > > > > when TMPDIR defined (and TMPDIR always defined for me) > > That's what I have, except for PACKAGES. Can you humour me and test > the build of the sudo port? 0garkin~(1)>cd /usr/ports/security/sudo 0garkin/usr/ports/security/sudo(2)>make ===> Extracting for sudo-1.6.3.7_1 >> Checksum OK for sudo-1.6.3p7.tar.gz. ===> Patching for sudo-1.6.3.7_1 ===> Applying FreeBSD patches for sudo-1.6.3.7_1 perl -i -pe 's,^,#,g' /tmp/babolo/usr/ports/security/sudo/work/sudo-1.6.3p7/sample.sudoers ===> Configuring for sudo-1.6.3.7_1 creating cache ./config.cache Configuring Sudo version 1.6.3 checking whether to try S/Key authentication... yes checking whether to use a two line prompt for OTP authentication... yes ............. cc -o sudo check.o getspwuid.o goodpath.o fileops.o find_path.o interfaces.o logging.o parse.o sudo.o sudo_setenv.o tgetpass.o sudo_auth.o pam.o sudo.tab.o lex.yy.o alloc.o defaults.o -lmd -lcrypt -lpam -lutil -lskey -lmd -lcompat cc -c -I. -I. -Os -pipe -m486 -D_PATH_SUDOERS=\"/usr/local/etc/sudoers\" -D_PATH_SUDOERS_TMP=\"/usr/local/etc/sudoers.tmp\" -DSUDOERS_UID=0 -DSUDOERS_GID=0 -DSUDOERS_MODE=0440 visudo.c cc -o visudo visudo.o fileops.o sudo.tab.o lex.yy.o alloc.o defaults.o -lcompat 0garkin/usr/ports/security/sudo(3)>uname -a FreeBSD garkin.duty.ru 4.3-STABLE FreeBSD 4.3-STABLE #1: Tue Apr 24 04:54:12 MSD 2001 babolo@garkin.duty.ru:/tmp/babolo/usr/src/sys/garkin i386 with now CVSuped /usr/ports and anoter version: 0shikster~(1)>cd /usr/ports/security/sudo/ 0shikster/usr/ports/security/sudo(2)>make ===> Extracting for sudo-1.6.3.7_1 >> Checksum OK for sudo-1.6.3p7.tar.gz. ===> Patching for sudo-1.6.3.7_1 ===> Applying FreeBSD patches for sudo-1.6.3.7_1 perl -i -pe 's,^,#,g' /tmp/babolo/usr/ports/security/sudo/work/sudo-1.6.3p7/sample.sudoers ===> Configuring for sudo-1.6.3.7_1 creating cache ./config.cache Configuring Sudo version 1.6.3 checking whether to try S/Key authentication... yes checking whether to use a two line prompt for OTP authentication... yes checking whether to use PAM authentication... yes checking whether to try BSD login capabilities database... yes checking whether to lecture users the first time they run sudo... yes checking whether sudo should log via syslog or to a file by default... syslog ............. cc -o sudo check.o getspwuid.o goodpath.o fileops.o find_path.o interfaces.o logging.o parse.o sudo.o sudo_setenv.o tgetpass.o sudo_auth.o pam.o sudo.tab.o lex.yy.o alloc.o defaults.o -lmd -lcrypt -lpam -lutil -lskey -lmd -lcompat cc -c -I. -I. -Os -pipe -m486 -D_PATH_SUDOERS=\"/usr/local/etc/sudoers\" -D_PATH_SUDOERS_TMP=\"/usr/local/etc/sudoers.tmp\" -DSUDOERS_UID=0 -DSUDOERS_GID=0 -DSUDOERS_MODE=0440 visudo.c cc -o visudo visudo.o fileops.o sudo.tab.o lex.yy.o alloc.o defaults.o -lcompat 0shikster/usr/ports/security/sudo(3)>uname -a FreeBSD shikster.pike.ru 4.4-RC FreeBSD 4.4-RC #2: Sun Aug 26 23:21:20 MSD 2001 babolo@shikster.pike.ru:/tmp/babolo/usr/src/sys/shikster i386 0shikster/usr/ports/security/sudo(4)>cat /etc/make.conf #MASTER_SITE_OVERRIDE?= ftp://ftp2.ru.freebsd.org/pub/FreeBSD/ports/distfiles/${DIST_SUBDIR}/ MASTER_SITE_OVERRIDE?= http://free.babolo.ru/ports/distfiles/${DIST_SUBDIR}/ CFLAGS= -Os -pipe -m486 PACKAGES=${TMPDIR} WRKDIRPREFIX=${TMPDIR} MAKEOBJDIRPREFIX=${TMPDIR} USA_RESIDENT = NO HAVE_MOTIF = YES XFREE86_VERSION = 4 BOOT_COMCONSOLE_SPEED= 115200 FORCE_BUILD = YES WITH_X11 = YES MAKE_IDEA = YES # IDEA (128 bit symmetric encryption) #SENDMAIL_CFLAGS = -I/usr/local/include/sasl -DSASL COMPAT1X = YES COMPAT20 = YES COMPAT21 = YES COMPAT22 = YES COMPAT3X = YES COMPAT4X = YES CVS_UPDATE = YES CVSROOT = /home/CVSroot 0shikster/usr/ports/security/sudo(5)>setenv PATH=/home/babolo/bin:/bin:/usr/contrib/bin:/usr/local/bin:/usr/X11R6/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/sbin:/usr/games:/usr/local/pgsql/bin:/usr/local/andrew/bin:/usr/local/interviews/bin/FREEBSD MAIL=/var/mail/babolo LANG=ru_RU.KOI8-R MM_CHARSET=KOI8-R BLOCKSIZE=K EDITOR=/usr/bin/vi FTP_PASSIVE_MODE=YES CPU=FREEBSD PAGER=less LESS=-x8 SM_SAVE_DIR=/home/babolo/.desk ENV=/home/babolo/.bashrc GTK_RC_FILES=/usr/X11R6/etc/gtkrc LC_ALL=ru_RU.KOI8-R XRACER_HOME=/usr/local/lib/xracer TMPDIR=/tmp/babolo CVSROOT=/home/CVShome USER=babolo LOGNAME=babolo HOME=/home/babolo SHELL=/bin/tcsh SSH_CLIENT=******************** SSH_TTY=/dev/ttyp0 TERM=xterm DISPLAY=shikster.pike.ru:16.0 XAUTHORITY=/tmp/ssh-qiiz09xZ/cookies HOSTTYPE=FreeBSD VENDOR=intel OSTYPE=FreeBSD MACHTYPE=i386 SHLVL=1 PWD=/usr/ports/security/sudo GROUP=wheel HOST=shikster.pike.ru REMOTEHOST=skiv.duty.ru MANPATH=/usr/share/man:/usr/local/man:/usr/X11R6/man:/usr/share/perl/man:/usr/local/lib/perl5/5.00503/man INFOPATH=/usr/share/info:/usr/local/info:/compat/linux/usr/info HTTP_AUTH=basic:* FONTSERVER=xfs:7100 PS1=^[[32m^[[1mshikster$^[[0m -- @BABOLO http://links.ru/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200109031649.UAA03099>