Skip Menu |
 

This queue is for tickets about the PAR-Repository-Client CPAN distribution.

Report information
The Basics
Id: 21115
Status: resolved
Priority: 0/
Queue: PAR-Repository-Client

People
Owner: smueller [...] cpan.org
Requestors: Marek.Rouchal [...] gmx.net
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 0.03
Fixed in: (no value)



Subject: Problem with Errno
Download (untitled) / with headers
text/plain 577b
I have perl-5.8.8 on RHE Linux 3.0. The test of P:R:C fails: # Tried to use 'PAR::Repository::Client'. # Error: Errno architecture (i686-linux-2.4.21-37.elhugemem) does not match executable architecture (my_arch-2.4.21-37.elhugemem) at /opt/perl_5.8.8/lib/Errno.pm line 11. The Errno module (don't know exactly from where this is used) does a check of its own archname-osver against the one returned by Config, and dies on mismatch. A simple workaround would be to "preload" Errno by inserting use Errno; near the start of t/03prefered_distribution.t -Marek
Download (untitled) / with headers
text/plain 938b
Hi Marek, On Di. 22. Aug. 2006, 03:18:22, MAREKR wrote: Show quoted text
> I have perl-5.8.8 on RHE Linux 3.0. The test of P:R:C fails: > > # Tried to use 'PAR::Repository::Client'. > # Error: Errno architecture (i686-linux-2.4.21-37.elhugemem) does > not match executable architecture (my_arch-2.4.21-37.elhugemem) > at /opt/perl_5.8.8/lib/Errno.pm line 11. > > The Errno module (don't know exactly from where this is used) does a > check of its own archname-osver against the one returned by Config, > and dies on mismatch. > A simple workaround would be to "preload" Errno by inserting > use Errno; > near the start of t/03prefered_distribution.t
Thanks for the report. I inserted "BEGIN { eval "require Errno"; };" at the start of the test file. Does that help? You can fetch a copy of the modified tarball from http://steffen-mueller.net/tmp/ Please let me know whether the modification helps. If so, I'll do a release. Steffen
Download (untitled) / with headers
text/plain 236b
On Tue Aug 22 04:19:37 2006, SMUELLER wrote: Show quoted text
> Thanks for the report. I inserted "BEGIN { eval "require Errno"; };"
at Show quoted text
> the start of the test file. Does that help?
Yes, this fixes the problem - the test runs fine now. Thanks, Marek


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.