Bug 461285
| Summary: | Any use of Class::MethodMaker spews pages of warnings to console | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Daniel Berrangé <berrange> |
| Component: | perl-Class-MethodMaker | Assignee: | Dennis Gregorovic <dgregor> |
| Status: | CLOSED NEXTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 9 | CC: | perl-devel, rc040203 |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2008-09-25 00:22:55 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: | |||
This is tracked upstream in: http://rt.cpan.org/Public/Bug/Display.html?id=35840 which indicates it is fixed in version 2.12 of Class::MethodMaker. I'd request that Fedora just upgrade to 2.12, since the diff from 2.11 to 2.12 contains only the fix for this bug http://search.cpan.org/diff?from=Class-MethodMaker-2.11&to=Class-MethodMaker-2.12 OK, now the maintainer of this package still seem to be AWOL, I'll look into this and try to push a updates to rawhide rsp. testing. OK, you were faster, I will stop working on this and leave this issue to you. Yep, just spoke to the maintainer directly after I noticed he's a RH guy and he said to go ahead & fix it... As he has ignored this package for years, I recommend him to abandon maintainership. perl-Class-MethodMaker-2.12-1.fc9 has been submitted as an update for Fedora 9. http://admin.fedoraproject.org/updates/perl-Class-MethodMaker-2.12-1.fc9 I've gone and released my ownership of this package in the pkgdb. I don't use this library anymore, so it doesn't make sense for me to be the maintainer. I grabbed ownership of F8/9/rawhide, but not EPEL. Ralf if you or anyone you know wants to co-maintain just request it in pkgdb & i'll approve (In reply to comment #8) Thanks, I just applied for co-maintainership. perl-Class-MethodMaker-2.12-1.fc9 has been pushed to the Fedora 9 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update perl-Class-MethodMaker'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F9/FEDORA-2008-7956 perl-Class-MethodMaker-2.12-1.fc9 has been pushed to the Fedora 9 stable repository. If problems still persist, please make note of it in this bug report. |
Description of problem: Since the upgrade to perl 5.10, any application which uses Class::MethodMaker spews pages of warnings to stderr. This makes such apps essentially unusable if they're console based See this demo: # cat > cmm.pl <<EOF package Foo; use Class::MethodMaker new_with_init => "new", get_set => [qw(bar)]; sub init { my $self = shift; $self->bar("hello"); } package main; my $foo = Foo->new; print $foo->bar, "\n"; $foo->bar("world"); print $foo->bar, "\n"; EOF Version-Release number of selected component (if applicable): perl-5.10.0-31.fc9.i386 perl-Class-MethodMaker-2.11-1.fc9.i386 How reproducible: Always Steps to Reproduce: 1. perl cmm.pl 2. 3. Actual results: Name " Foo::bar" used only once: possible typo at /usr/lib/perl5/vendor_perl/5.10.0/i386-linux-thread-multi/Class/MethodMaker/Engine.pm line 781. Name " Foo::get_bar" used only once: possible typo at /usr/lib/perl5/vendor_perl/5.10.0/i386-linux-thread-multi/Class/MethodMaker/Engine.pm line 781. Name " Foo::new" used only once: possible typo at /usr/lib/perl5/vendor_perl/5.10.0/i386-linux-thread-multi/Class/MethodMaker/Engine.pm line 781. Name " Foo::bar_reset" used only once: possible typo at /usr/lib/perl5/vendor_perl/5.10.0/i386-linux-thread-multi/Class/MethodMaker/Engine.pm line 781. Name " Foo::bar_isset" used only once: possible typo at /usr/lib/perl5/vendor_perl/5.10.0/i386-linux-thread-multi/Class/MethodMaker/Engine.pm line 781. Name " Foo::set_bar" used only once: possible typo at /usr/lib/perl5/vendor_perl/5.10.0/i386-linux-thread-multi/Class/MethodMaker/Engine.pm line 781. Name " Foo::clear_bar" used only once: possible typo at /usr/lib/perl5/vendor_perl/5.10.0/i386-linux-thread-multi/Class/MethodMaker/Engine.pm line 781. hello world Expected results: hello world Additional info: