Date: Sun, 2 Sep 2001 15:29:57 -0700 From: Kris Kennaway <kris@obsecurity.org> To: Peter Pentchev <roam@ringlet.net> Cc: Kris Kennaway <kris@obsecurity.org>, ports@FreeBSD.org Subject: Re: WRKDIR breakage in bsd.port.mk Message-ID: <20010902152956.A20618@xor.obsecurity.org> In-Reply-To: <20010902171747.B7221@ringworld.oblivion.bg>; from roam@ringlet.net on Sun, Sep 02, 2001 at 05:17:47PM %2B0300 References: <20010901221728.A8932@xor.obsecurity.org> <20010902171747.B7221@ringworld.oblivion.bg>
next in thread | previous in thread | raw e-mail | index | archive | help
--yrj/dFKFPuw6o+aM Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Sep 02, 2001 at 05:17:47PM +0300, Peter Pentchev wrote: > On Sat, Sep 01, 2001 at 10:17:28PM -0700, Kris Kennaway wrote: > > What's going on here? > >=20 > > # setenv WRKDIR /tmp/work > > # cd /usr/ports/security/sudo > > # make > > [...] > > =3D=3D=3D> Building for sudo-1.6.3.7_1 > > make: don't know how to make real-build. Stop > > *** Error code 2 > >=20 > > Stop in /usr/obj/xor/usr/ports/security/sudo/work/sudo-1.6.3p7. > > *** Error code 1 > >=20 > > 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. > >=20 > > Would anyone care to look into this more? >=20 > Are you sure you really need to set WRKDIR, and not merely WRKDIRPREFIX? Does the same thing with WRKDIRPREFIX (in fact that was how I first ran into it). It's only ports which have a configure target which runs in ${WRKSRC} which does it. Perhaps it's as simple as forgetting to cd back to where we started from at the end of it. Kris --yrj/dFKFPuw6o+aM Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (FreeBSD) Comment: For info see http://www.gnupg.org iD8DBQE7krK1Wry0BWjoQKURAhBdAJ4wDdppIHnUmickqi3Wkjvx3nVUoACdHdzy zZmm5NOvoHVArY5yZFH95sQ= =sk7t -----END PGP SIGNATURE----- --yrj/dFKFPuw6o+aM-- 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?20010902152956.A20618>