Mk/Scripts/qa.sh and DEVELOPER=yes

olli hauer ohauer at gmx.de
Mon Apr 14 07:20:44 UTC 2014


On 2014-04-14 08:49, Baptiste Daroussin wrote:
> On Mon, Apr 14, 2014 at 07:34:04AM +0200, Matthias Andree wrote:
>> Am 13.04.2014 14:28, schrieb clutton:
>>> It seems that with DEVELOPER=yes in /etc/make.conf I'm not able to
>>> perform ordinary update routines. Removing the DEVELOPER variable fix
>>> the problem. And probably the worst part of it that there's no error
>>> message.
>>>
>>> ====> Running Q/A tests (stage-qa)
>>> Error: /tmp/usr/ports/devel/p5-subversion/work/stage/usr/local/lib/perl5/site_perl/5.18/mach/auto/SVN/_Core/.packlist is referring to /tmp/usr/ports/devel/p5-subversion/work/stage
>>
>> Oh, there is an error, as quoted above.
>>
>> .packlist refers to a file that will no longer be present after "make
>> clean".
>>
>> Cause is that the p5-subversion port, or some part of the Perl or ports
>> framework, causes the .packlist to be generated with bogus contents.
>> Either we can fix the actual cause, or we can hack the .packlist to
>> strip the ${STAGEDIR} prefix, which would be the inferior approach, however.
> 
> The .packlist is cleaned for any other perl ports (done in perl5.mk)
> p5-subversion should just do the same.
> 
> Bapt

Looking on my system there are some more ports where .packlist contains /wrkdir/...

$> find /usr/local/lib/perl5/site_perl/5.16/ -name .packlist | xargs grep '/wrkdir' | cut -d: -f -1 | sort -u
/usr/local/lib/perl5/site_perl/5.16/mach/auto/Bundle/NetSNMP/.packlist
/usr/local/lib/perl5/site_perl/5.16/mach/auto/Git/.packlist
/usr/local/lib/perl5/site_perl/5.16/mach/auto/SVN/_Core/.packlist

This packages where build with poudriere last Saturday.
Anyway for production build I *don't* have DEVELOPER=yes set since many of the issues (strip ...) are not related for my production environment.

olli


More information about the freebsd-ports mailing list