pkgsrc-Users archive

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

Re: NetBSD 6.0_BETA2 -> perl 5.14.2 problem?



On Jun 26, 2012, at 00:16 , Thomas Klausner wrote:
> On Mon, Jun 25, 2012 at 11:58:04PM +0200, Fredrik Pettai wrote:
>> On Jun 25, 2012, at 11:54 PM, Thomas Klausner wrote:
>>> On Mon, Jun 25, 2012 at 11:51:56PM +0200, Fredrik Pettai wrote:
>>>> After upgrading to NetBSD 6.0_BETA2 on a test machine and rebuilt most of 
>>>> the packages, pkglint (running on top of perl-5.14.2nb5) gave me a problem 
>>>> that looks like this:
>>>> 
>>>> -bash-4.2$ pkglint
>>>> Undefined subroutine &main:: called at 
>>>> /usr/pkg/lib/perl5/5.14.0/i386-netbsd-thread-multi/DynaLoader.pm line 213.
>>>> END failed--call queue aborted at 
>>>> /usr/pkg/lib/perl5/vendor_perl/5.14.0/i386-netbsd-thread-multi/Digest/SHA1.pm
>>>>  line 213.
>>>> Compilation failed in require at /usr/pkg/bin/pkglint line 1121.
>>>> BEGIN failed--compilation aborted at /usr/pkg/bin/pkglint line 1121.
>>>> 
>>>> Anybody else seen the same problem?
>>> 
>>> No. Works for me on -current/amd64, I have no 6.0_BETA, so just as a 
>>> datapoint.
>> 
>> Mine is also running the i386 arch...
> 
> Anyway, what do the lines around 213 in the one file and around 1121 in the 
> other look like?

pkglint includes Digest::SHA1 at line 1121, and SHA1 depends on DynaLoader. 

However, line 213 in SHA1.pm is in the middle of the documentation, which 
doesn't make sense to me:
[...]
=item $sha1->b64digest

Same as $sha1->digest, but will return the digest as a base64 encoded
string.  The length of the returned string will be 27 and it will only       
<<<--- LINE 213
contain characters from this set: 'A'..'Z', 'a'..'z', '0'..'9', '+'
and '/'.
[...]

Line 213 in DynaLoader.pm is the last line of "sub bootstrap". It looks like 
this:
[...]
        push(@dl_shared_objects, $file); # record files loaded
    
    &$xs(@args);       <<<--- LINE 213
}
    
[...]

/P

Attachment: smime.p7s
Description: S/MIME cryptographic signature



Home | Main Index | Thread Index | Old Index