From owner-freebsd-ports@freebsd.org Tue Mar 8 15:41:10 2016 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 14B53AC3803 for ; Tue, 8 Mar 2016 15:41:10 +0000 (UTC) (envelope-from ohartman@zedat.fu-berlin.de) Received: from outpost1.zedat.fu-berlin.de (outpost1.zedat.fu-berlin.de [130.133.4.66]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id D1B03E90 for ; Tue, 8 Mar 2016 15:41:09 +0000 (UTC) (envelope-from ohartman@zedat.fu-berlin.de) Received: from inpost2.zedat.fu-berlin.de ([130.133.4.69]) by outpost.zedat.fu-berlin.de (Exim 4.85) for freebsd-ports@freebsd.org with esmtps (TLSv1.2:DHE-RSA-AES256-GCM-SHA384:256) (envelope-from ) id <1adJkx-003qjv-Ly>; Tue, 08 Mar 2016 16:41:07 +0100 Received: from p578a69f9.dip0.t-ipconnect.de ([87.138.105.249] helo=freyja.zeit4.iv.bundesimmobilien.de) by inpost2.zedat.fu-berlin.de (Exim 4.85) for freebsd-ports@freebsd.org with esmtpsa (TLSv1.2:AES128-GCM-SHA256:128) (envelope-from ) id <1adJkx-000ohW-DA>; Tue, 08 Mar 2016 16:41:07 +0100 Date: Tue, 8 Mar 2016 16:41:06 +0100 From: "O. Hartmann" To: freebsd-ports Subject: poudriere: can not set MAKEOBJDIRPREFIX Message-ID: <20160308164106.6c1a0807@freyja.zeit4.iv.bundesimmobilien.de> Organization: FU Berlin X-Mailer: Claws Mail 3.13.2 (GTK+ 2.24.29; amd64-portbld-freebsd11.0) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Originating-IP: 87.138.105.249 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Mar 2016 15:41:10 -0000 I have already built 10-STABLE and try now to use this built as base for a jail in poudriere, using MAKEOBJDIRPREFIX; the already built system is ready and fine residing under MAKEOBJDIRPREFIX=/empty/10-STABLE/obj Using export MAKEOBJDIRPREFIX=$MAKEOBJDIRPREFIX in poudriere.conf and env MAKEOBJDIRPREFIX=/empty/10-STABLE/obj poudriere jail -c -j 10-stable-amd64 \ -a amd64 -v stable/10 -m src=/empty/10-STABLE/src results in an immediate error: [...] export PATH=/empty/10-STABLE/src/tmp/legacy/usr/sbin:/empty/10-STABLE/src/tmp/legacy/usr/bin:/empty/10-STABLE/src/tmp/legacy/usr/games:/empty/10-STABLE/src/tmp/legacy/bin:/sbin:/bin:/usr/sbin:/usr/bin ; progs=$(for prog in [ awk cap_mkdb cat chflags chmod chown date echo egrep find grep id install install-info ln lockf make mkdir mtree nmtree mv pwd_mkdb rm sed sh strip sysctl test true uname wc zic tzsetup makewhatis; do if progpath=`which $prog`; then echo $progpath; else echo "Required tool $prog not found in PATH." >&2; exit 1; fi; done); libs=$(ldd -f "%o %p\n" -f "%o %p\n" $progs 2>/dev/null | sort -u | while read line; do set -- $line; if [ "$2 $3" != "not found" ]; then echo $2; else echo "Required library $1 not found." >&2; exit 1; fi; done); cp $libs $progs /tmp/install.RF32dD2c Required tool install-info not found in PATH. *** Error code 1 [...] This is really funny: ommitting the MAKEOBJDIRPREFIX=/empty/10-STABLE/obj part results in a prepended "/usr/obj" as expected to the path portion given by src=. With setting the environment it seems that the prepended string is ZERO! How to tell this piece of software to use MAKEOBJDIRPREFIX? regards, Oliver