From owner-freebsd-ports@freebsd.org Wed Feb 24 01:10:11 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 1F988AB26DE for ; Wed, 24 Feb 2016 01:10:11 +0000 (UTC) (envelope-from dougb@dougbarton.us) Received: from dougbarton.us (dougbarton.us [IPv6:2607:f2f8:ab14::2]) (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 E922E1B5E; Wed, 24 Feb 2016 01:10:10 +0000 (UTC) (envelope-from dougb@dougbarton.us) Received: from [192.168.0.179] (172-7-206-56.lightspeed.irvnca.sbcglobal.net [172.7.206.56]) by dougbarton.us (Postfix) with ESMTPSA id AD3AC3A0BD; Wed, 24 Feb 2016 01:10:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=dougbarton.us; s=dkim; t=1456276209; bh=2STSD4uK8wZAbNZyajRa4p+WKU8v/+ZNcPmMtAsBXdY=; h=Subject:To:References:From:Date:In-Reply-To; b=F6rxUTet42k+aGpxN/2F69YMcuqdNaKi3DtdkmzOLp/RooN5dh7uOmyUB79CKr0ZJ hwf+cGHmPWTPObBIOBozKqqWAgN3eVoGuXbRkGe/nNZh746grkjkf7O4FcEdVGiTJ+ +vxT3bHayogNvfObkSUkYWRzSb93NWtLWzZrv0NM= Subject: Re: Makefile for devel/tcllibc causes error in cache-init To: Matthew Seaman , freebsd-ports@freebsd.org References: <56C3E580.9010800@dougbarton.us> <56C43027.5080201@FreeBSD.org> From: Doug Barton Openpgp: id=E3520E149D053533C33A67DB5CC686F11A1ABC84 Message-ID: <56CD02F0.1020008@dougbarton.us> Date: Tue, 23 Feb 2016 17:10:08 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.1 MIME-Version: 1.0 In-Reply-To: <56C43027.5080201@FreeBSD.org> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="JtrlI5SwoOtOQqP5d9sbnC9tSUDeir8LP" X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Feb 2016 01:10:11 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --JtrlI5SwoOtOQqP5d9sbnC9tSUDeir8LP From: Doug Barton To: Matthew Seaman , freebsd-ports@freebsd.org Message-ID: <56CD02F0.1020008@dougbarton.us> Subject: Re: Makefile for devel/tcllibc causes error in cache-init References: <56C3E580.9010800@dougbarton.us> <56C43027.5080201@FreeBSD.org> In-Reply-To: <56C43027.5080201@FreeBSD.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable On 02/17/2016 12:32 AM, Matthew Seaman wrote: > On 17/02/2016 03:14, Doug Barton wrote: >> Matthew, >> >> When running cache-init for some time now I get this error: >> >> cache-init:devel/tcllibc (tcllibc-1.18_1) Error. RUN_DEPENDS >> /var/ports/devel/tcllib -- dependency is not a port >> cache-init: /usr/ports/devel/tcllibc Error. Can't parse make output >> >> Interestingly I don't get that same error when I run 'make describe', = so >> I'm not quite sure what's happening. > > Hmmm... I really should change that output. When cache-init says: > > Processing make describe output for path "/usr/ports": > > it is actually lying through its teeth. It hasn't run 'make describe' > per-se for many, many years. Instead it uses 'make -V var1 -V var2 > ....' to extract the values of numerous variables which provides > equivalent information, and a bit more. > >> hope this helps, >> >> Doug >> > > I can't reproduce this with cache-init on my system. Do you have any > non-standard OPTIONS or make.conf settings that could affect this port?= > (I couldn't see any obvious OPTION knobs that might cause problems, but= > I didn't really look very hard.) Any local modifications to your ports= > tree? No. Here is my make.conf: =2Eif !empty(.CURDIR:M*/ports/*) || !empty(.CURDIR:M*/ports) WRKDIRPREFIX?=3D /var/tmp/WRKDIRPREFIX =2Eendif =2Eif defined(UPGRADE_TOOL) || !empty(.CURDIR:M*/ports/*) ||=20 !empty(.CURDIR:M/home/*) WITH_PKGNG=3Dyes FETCH_ARGS=3D -Fpra RANDOMIZE_MASTER_SITES=3D true FORCE_MAKE_JOBS=3D true EXPLICIT_PACKAGE_DEPENDS=3D true OPTIONS_SET=3D IDN IPV6 OPTIONS_UNSET=3D CUPS DOCS DBUS HAL NLS X11 WITH_OPTIONS=3D true =2Eendif # Ports > The only slightly odd looking thing was this RUN_DEPENDS line in > devel/tcllibc: > > RUN_DEPENDS=3D ${PREFIX}/lib/tcllib/pkgIndex.tcl:${MASTERDIR} # > PREFIX, not LOCALBASE > > Can you show me what this returns?: > > make -C /var/ports/devel/tcllibc -V RUN_DEPENDS -V MASTERDIR /usr/local/lib/tcllib/pkgIndex.tcl:/var/ports/devel/tcllib /var/ports/devel/tcllib If I do it with /usr/ports instead of /var/ports I get the same result, F= YI. > (I assume from your output above you have PORTSDIR=3D/var/ports ?) No, /usr/ports is a symlink. Thanks for taking a look, Doug --JtrlI5SwoOtOQqP5d9sbnC9tSUDeir8LP Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBCAAGBQJWzQLxAAoJEFzGhvEaGryEP2cH+waGXnIsM5cQb7KXslHep8lp YOqPOKj91FImmQMoAAQeoKesVKVdCoanM0te1uQ0RlYfjm9ifLhmr4TAzvTvNGKd MeBUvoBoELWoE8O4YZ0ZtrSzPpoz3VNbJhOoLWeeStzuxOD4epFLGblHqstxLA9I CkG7XrvMuUl1AthASROKLe20bjmMJkeZoAbdsnx7KySD6hDSI2y7r7/fHGUlhOAz xcYIkM/n1HShI6E5gHItQjNF1yCVSJlF991KF9djdLkt9qzEioZqQlr3Q1ymHvkf LYWMUZgfFb7/P7BPQR/gv5ee97a9zM31A1ulhei4Nwo1G7RwVuuWzbUSMqqM5xA= =tC0Y -----END PGP SIGNATURE----- --JtrlI5SwoOtOQqP5d9sbnC9tSUDeir8LP--