Bug 1106210
Summary: | perl-Switch: FTBFS: Not compatible with Filter-1.50 | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Dennis Gilmore <dennis> | ||||||||
Component: | perl-Switch | Assignee: | Tom "spot" Callaway <tcallawa> | ||||||||
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||||
Severity: | unspecified | Docs Contact: | |||||||||
Priority: | unspecified | ||||||||||
Version: | 19 | CC: | i, lav, mojbordel, olivier.lahaye1, perl-devel, ppisar, sreekumar.r84, tcallawa | ||||||||
Target Milestone: | --- | Keywords: | Reopened | ||||||||
Target Release: | --- | ||||||||||
Hardware: | Unspecified | ||||||||||
OS: | Unspecified | ||||||||||
Whiteboard: | |||||||||||
Fixed In Version: | perl-Switch-2.17-1.fc20 | Doc Type: | Bug Fix | ||||||||
Doc Text: | Story Points: | --- | |||||||||
Clone Of: | Environment: | ||||||||||
Last Closed: | 2014-09-09 22:12:39 UTC | Type: | --- | ||||||||
Regression: | --- | Mount Type: | --- | ||||||||
Documentation: | --- | CRM: | |||||||||
Verified Versions: | Category: | --- | |||||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||||
Embargoed: | |||||||||||
Bug Depends On: | |||||||||||
Bug Blocks: | 1105908 | ||||||||||
Attachments: |
|
Description
Dennis Gilmore
2014-06-09 03:58:27 UTC
Created attachment 904192 [details]
build.log
Created attachment 904193 [details]
root.log
Created attachment 904194 [details]
state.log
Fixed in perl-Switch-2.17-1.fc21. A change in perl-Filter-1.50 caused the FTBFS. I upgraded the perl-Filter to 1.50 in all Fedoras because the reblessing was a bug. I think the Switch-2.17-Filter-1.50.patch should be applied in F20 and 19 too <https://bugzilla.redhat.com/show_bug.cgi?id=1105167#c6>. BTW, I cannot see the patch in the upstream bug tracker <https://rt.cpan.org/Public/Dist/Display.html?Name=Switch>. Is something wrong with the patch? I have the problem on fc20 perl -d Loading DB routines from perl5db.pl version 1.39_10 Editor support available. Enter h or 'h h' for help, or 'man perldebug' for more help. Debugged program terminated. Use q to quit or R to restart, use o inhibit_exit to avoid stopping after program termination, h q, h R or h o to get additional info. DB<1> use Switch; Source filters apply only to byte streams at /usr/lib64/perl5/vendor_perl/Filter/Util/Call.pm line 56. at /usr/lib64/perl5/vendor_perl/Filter/Util/Call.pm line 56. Filter::Util::Call::filter_add('HASH(0x184c380)') called at /usr/share/perl5/vendor_perl/Switch.pm line 29 Switch::import('Switch') called at (eval 6)[/usr/share/perl5/perl5db.pl:732] line 2 main::BEGIN() called at (eval 6)[/usr/share/perl5/perl5db.pl:732] line 2 eval {...} called at (eval 6)[/usr/share/perl5/perl5db.pl:732] line 2 eval 'no strict; ($@, $!, $^E, $,, $/, $\\, $^W) = @DB::saved;package main; $^D = $^D | $DB::db_stop; use Switch;; ' called at /usr/share/perl5/perl5db.pl line 732 DB::eval called at /usr/share/perl5/perl5db.pl line 3090 DB::DB called at /usr/share/perl5/perl5db.pl line 10412 DB::fake::at_exit() called at /usr/share/perl5/perl5db.pl line 9983 DB::END() called at (eval 6)[/usr/share/perl5/perl5db.pl:732] line 2 eval {...} called at (eval 6)[/usr/share/perl5/perl5db.pl:732] line 2 BEGIN failed--compilation aborted at (eval 6)[/usr/share/perl5/perl5db.pl:732] line 2. at (eval 6)[/usr/share/perl5/perl5db.pl:732] line 2. eval 'no strict; ($@, $!, $^E, $,, $/, $\\, $^W) = @DB::saved;package main; $^D = $^D | $DB::db_stop; use Switch;; ' called at /usr/share/perl5/perl5db.pl line 732 DB::eval called at /usr/share/perl5/perl5db.pl line 3090 DB::DB called at /usr/share/perl5/perl5db.pl line 10412 DB::fake::at_exit() called at /usr/share/perl5/perl5db.pl line 9983 DB::END() called at (eval 6)[/usr/share/perl5/perl5db.pl:732] line 2 eval {...} called at (eval 6)[/usr/share/perl5/perl5db.pl:732] line 2 DB<2> forgot the version when the problem can be seen: - perl-Filter-1.50-1.fc20.x86_64 - perl-Switch-2.16-8.fc20.noarch - perl-5.18.2-289.fc20.x86_64 Nah, I think the patch is fine, I just forgot to submit it upstream. I've just done that: https://rt.cpan.org/Public/Bug/Display.html?id=96736 I'll go ahead and build for f19/f20. (In reply to Olivier LAHAYE from comment #6) > I have the problem on fc20 > perl -d > > Loading DB routines from perl5db.pl version 1.39_10 > Editor support available. > > Enter h or 'h h' for help, or 'man perldebug' for more help. > > Debugged program terminated. Use q to quit or R to restart, > use o inhibit_exit to avoid stopping after program termination, > h q, h R or h o to get additional info. > DB<1> use Switch; > Source filters apply only to byte streams at > /usr/lib64/perl5/vendor_perl/Filter/Util/Call.pm line 56. > at /usr/lib64/perl5/vendor_perl/Filter/Util/Call.pm line 56. > Filter::Util::Call::filter_add('HASH(0x184c380)') called at > /usr/share/perl5/vendor_perl/Switch.pm line 29 > Switch::import('Switch') called at (eval > 6)[/usr/share/perl5/perl5db.pl:732] line 2 > main::BEGIN() called at (eval 6)[/usr/share/perl5/perl5db.pl:732] > line 2 [...] I think this is a different bug in perl debugger or perl filters independent of Switch version. This kind of warning has been introduced in Perl 5.16. Please report a new bug report. However I worry this a principal limitation of perl debugger. Asking perl developers (using perlbug tool or <https://rt.perl.org/Public/>) would be the best approach in this case. perl-Switch-2.17-1.fc19 has been submitted as an update for Fedora 19. https://admin.fedoraproject.org/updates/perl-Switch-2.17-1.fc19 perl-Switch-2.17-1.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/perl-Switch-2.17-1.fc20 *** Bug 1113638 has been marked as a duplicate of this bug. *** Package perl-Switch-2.17-1.fc19: * should fix your issue, * was pushed to the Fedora 19 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing perl-Switch-2.17-1.fc19' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2014-7761/perl-Switch-2.17-1.fc19 then log in and leave karma (feedback). I was hit by this bug in F20 x86_64: $ rpm -q perl-Switch perl-Filter perl-Switch-2.16-8.fc20.noarch perl-Filter-1.50-1.fc20.x86_64 $ perl -e 'use Switch;' Can't call method "filter" on unblessed reference at -e line 2. $ I applied the perl-Switch-2.17-1.fc20 update from updates-testing and am happy to report that it solved my issue. Can someone put this in overrides / push it to stable? I'm hitting this issue while building libdom's %check. perl-Switch-2.17-1.fc19 has been pushed to the Fedora 19 stable repository. If problems still persist, please make note of it in this bug report. perl-Switch-2.17-1.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report. |