Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the ExtUtils-ParseXS CPAN distribution.

Report information
The Basics
Id: 69527
Status: rejected
Priority: 0/
Queue: ExtUtils-ParseXS

People
Owner: Nobody in particular
Requestors: TEAM [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 3.00_02
Fixed in: (no value)



Subject: report_error_count not found in 3.00_02
Hi there, This one's another missing function report, this time in the 3.00_02 release (similar to the report in RT69487), seems that some modules are looking for "report_error_count" and not finding it: CPAN.pm: Building X/XA/XAICRON/Win32-Unicode-0.26.tar.gz Warning: Prerequisite 'Win32API::File => 0.1101' for 'XAICRON/Win32-Unicode-0.26.tar.gz' failed when processing 'CHORNY/Win32API-File-0.1200.tar.gz' with 'writemakefile => NO '/usr/pkg/bin/perl Makefile.PL' returned status 65280'. Continuing, but chances to succeed are limited. cp lib/Win32/Unicode/Util.pm blib/lib/Win32/Unicode/Util.pm cp lib/Win32/Unicode/Console.pm blib/lib/Win32/Unicode/Console.pm cp lib/Win32/Unicode/File.pm blib/lib/Win32/Unicode/File.pm cp lib/Win32/Unicode/Constant.pm blib/lib/Win32/Unicode/Constant.pm cp lib/Win32/Unicode/Native.pm blib/lib/Win32/Unicode/Native.pm cp lib/Win32/Unicode.pm blib/lib/Win32/Unicode.pm cp lib/Win32/Unicode/XS.pm blib/lib/Win32/Unicode/XS.pm cp lib/Win32/Unicode/Dir.pm blib/lib/Win32/Unicode/Dir.pm cp lib/Win32/Unicode/Error.pm blib/lib/Win32/Unicode/Error.pm cp lib/Win32/Unicode/Process.pm blib/lib/Win32/Unicode/Process.pm /usr/pkg/bin/perl "-Iinc" /home/cpan/perl5/lib/perl5/ExtUtils/xsubpp -typemap /usr/pkg/lib/perl5/5.12.0/ExtUtils/typemap xs/Console.xs > xs/Console.xsc && mv xs/Console.xsc xs/Console.c "report_error_count" is not exported by the ExtUtils::ParseXS module Can't continue after import errors at /home/cpan/perl5/lib/perl5/ExtUtils/xsubpp line 4 BEGIN failed--compilation aborted at /home/cpan/perl5/lib/perl5/ExtUtils/xsubpp line 7. *** Error code 255 Stop in /home/cpan/.cpan/build/Win32-Unicode-0.26-fG2RPm. (/usr/bin/make exited with 256) all the best, Tom
Hi, thanks for reporting this and sorry for the sluggish reaction. I only had a chance to give it a quick look and haven't found the underlying problem yet. I don't know when I'll get to this (I'm moving), so any extra info or help would be most welcome. Best regards, Steffen
I found some time to look into this and it turns out that the problem is that the module in question (Win32-Unicode) ships a copy of ExtUtils::ParseXS with it. It also sets up @INC to put it before the installed versions. Now, the problem is that while xsubpp is used from the system, xsubpp sees the modified @INC and finds the outdated ExtUtils::ParseXS. That blows up. No surprise there. I'll file a ticket on Win32-Unicode. Thanks for reporting the issue (whatever code ended up being at fault). Best regards, Steffen