Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 495032

Summary: dev-perl/Moose-2.60.400 - src_test(): t/cmop/methods.t ...1/? Can't locate object method "remove_package_symbol" via package "Package::Stash" at t/cmop/methods.t line 416.
Product: Gentoo Linux Reporter: Alex Efros <powerman-asdf>
Component: [OLD] DevelopmentAssignee: Gentoo Perl team <perl>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: dev-perl/Moose/files/2.0604-cmop-package-stash.patch
dev-perl/Moose/Moose-2.60.400.ebuild

Description Alex Efros 2013-12-22 17:52:55 UTC
Failed test is:

t/cmop/methods.t .............................................. 1/? Can't locate object method "remove_package_symbol" via package "Package::Stash" at t/cmop/methods.t line 416.

Problem is this method was deprecated in Package::Stash for some time and since dev-perl/Package-Stash-0.350.0 it was removed.

To fix just replace "remove_package_symbol" with "remove_symbol", see https://github.com/doy/package-stash/blob/0.34/lib/Package/Stash.pm#L64
Comment 1 Kent Fredric (IRC: kent\n) (RETIRED) gentoo-dev 2013-12-23 11:31:24 UTC
Created attachment 365980 [details, diff]
dev-perl/Moose/files/2.0604-cmop-package-stash.patch
Comment 2 Kent Fredric (IRC: kent\n) (RETIRED) gentoo-dev 2013-12-23 11:38:18 UTC
Created attachment 365982 [details]
dev-perl/Moose/Moose-2.60.400.ebuild

Modified ebuild with PATCHES added.

Tested, wfm.

No -r1 bump considered necessary,  because 

1. Moose test suite lengthy
2. Patch only affects testing
3. Thus, triggering a reinstall is unwanted.
Comment 3 Mikle Kolyada (RETIRED) archtester Gentoo Infrastructure gentoo-dev Security 2013-12-24 13:38:39 UTC
+  24 Dec 2013; Mikle Kolyada <zlogene@gentoo.org>
+  +files/Moose-2.60.400-cmop-package-stash.patch, -Moose-2.40.200.ebuild,
+  Moose-2.60.400.ebuild:
+  Fix tests failure wrt bug #495032; Drop old.
+