pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: REPLACE_PERL on p5-ack working in 5.99.49 but not netbsd-5



On 29 April 2011 19:47, David Brownlee <abs%absd.org@localhost> wrote:
> On 27 April 2011 15:38, David Brownlee <abs%tix-me.com@localhost> wrote:
>> Today seems to be my day for pkgsrc insanity.
>>
>> I'm building pkgsrc on a netbsd-5 (xen) and 5.99.49 (laptop) box, identical
>> pkgsrc tree, identical mk.conf, both amd64 boxes.
>>
>> The 5.99.49 box builds textproc/p5-ack without problem, the netbsd-5 box
>> fails with
>>
>> ERROR: [check-interpreter.mk] The interpreter "/usr/bin/env" of
>> "/var/obj/pkg/textproc/p5-ack/work/.destdir/usr/pkg/lib/perl5/vendor_perl/bin/ack"
>> is not allowed.
>>
>> /var/obj/pkg/textproc/p5-ack/work/.destdir/usr/pkg/lib/perl5/vendor_perl/bin/ack
>> on the 5.99.49 box has the #! updated correctly of course.
>>
>> Anyone else seeing this?
>>
>
> Insanity: doing the same thing over and over again and expecting
> different results.
>
> on two netbsd-5 amd64 boxes, with no mk.conf present:
>
> % cd pkgsrc/textproc/p5-ack ; while true ; do make clean >& /dev/null
> && make >&/dev/null && head -1 work/ack-1.94/ack ; done
> #!/usr/bin/env perl
> #!/usr/bin/env perl
> #!/usr/bin/env perl
> #!/usr/bin/env perl
> #!/usr/pkg/bin/perl
> #!/usr/pkg/bin/perl
> #!/usr/pkg/bin/perl
> #!/usr/bin/env perl
> #!/usr/pkg/bin/perl
> #!/usr/bin/env perl
> #!/usr/pkg/bin/perl
> #!/usr/pkg/bin/perl
> #!/usr/bin/env perl
> #!/usr/bin/env perl
> #!/usr/bin/env perl
> #!/usr/pkg/bin/perl
> #!/usr/bin/env perl
> #!/usr/pkg/bin/perl
> #!/usr/bin/env perl
> #!/usr/pkg/bin/perl
> #!/usr/pkg/bin/perl
> #!/usr/pkg/bin/perl
> #!/usr/pkg/bin/perl
> #!/usr/pkg/bin/perl
> #!/usr/bin/env perl
> #!/usr/pkg/bin/perl
> #!/usr/pkg/bin/perl
> #!/usr/pkg/bin/perl
> #!/usr/bin/env perl
> #!/usr/pkg/bin/perl
> #!/usr/pkg/bin/perl
> #!/usr/pkg/bin/perl
> #!/usr/pkg/bin/perl
> #!/usr/bin/env perl
> #!/usr/pkg/bin/perl
>

Have worked around by adding a ${TOUCH} to the post-configure stage...


Home | Main Index | Thread Index | Old Index