Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Feb 2016 17:10:08 -0800
From:      Doug Barton <dougb@dougbarton.us>
To:        Matthew Seaman <matthew@FreeBSD.org>, freebsd-ports@freebsd.org
Subject:   Re: Makefile for devel/tcllibc causes error in cache-init
Message-ID:  <56CD02F0.1020008@dougbarton.us>
In-Reply-To: <56C43027.5080201@FreeBSD.org>
References:  <56C3E580.9010800@dougbarton.us> <56C43027.5080201@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--JtrlI5SwoOtOQqP5d9sbnC9tSUDeir8LP
From: Doug Barton <dougb@dougbarton.us>
To: Matthew Seaman <matthew@FreeBSD.org>, 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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?56CD02F0.1020008>