pkgsrc-Bugs archive

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

pkg/48922: p5-Readonly no longer loads p5-Readonly-XS



>Number:         48922
>Category:       pkg
>Synopsis:       p5-Readonly no longer loads p5-Readonly-XS
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Jun 18 13:20:00 +0000 2014
>Originator:     Rob Quinn
>Release:        pkgsrc current
>Organization:
>Environment:
Solaris 10

>Description:
I don't know if this is a pkgsrc bug or a bug in the upstream code.


p5-Readonly-1.04 no longer loads p5-Readonly-XS.  p5-Readonly-1.03nb7 did work. 
 The Readonly::XS document explains how to check:

 Programs that you write do not need to know whether Readonly::XS is
 installed or not. They should just "use Readonly" and let Readonly worry
 about whether or not it can use XS. If the Readonly::XS is present,
 Readonly will be faster. If not, it won't. Either way, it will still work,
 and your code will not have to change.

 Your program can check whether Readonly.pm is using XS or not by examining
 the $Readonly::XSokay variable. It will be true if the XS module was found
 and is being used. Please do not change this variable.

>How-To-Repeat:
#cat /tmp/show 
#!/usr/pkg/bin/perl

use strict;
use warnings;
use Readonly;

print "$Readonly::XSokay\n";
exit 0;


#pkg_info -a | grep p5-Readonly
p5-Readonly-XS-1.05nb4 Perl 5 companion module to the Readonly module
p5-Readonly-1.03nb7 Perl 5 module for creating read-only scalars, arrays and 
hashes
#/tmp/show 
1

#pkg_add -u p5-Readonly-1.04.tgz
#/tmp/show 
Use of uninitialized value $Readonly::XSokay in concatenation (.) or string at 
/tmp/show line 7.

>Fix:



Home | Main Index | Thread Index | Old Index