Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 495032 - 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.
Summary: dev-perl/Moose-2.60.400 - src_test(): t/cmop/methods.t ...1/? Can't locate ob...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Perl team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-12-22 17:52 UTC by Alex Efros
Modified: 2013-12-24 13:38 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
dev-perl/Moose/files/2.0604-cmop-package-stash.patch (2.0604-cmop-package-stash.patch,524 bytes, patch)
2013-12-23 11:31 UTC, Kent Fredric (IRC: kent\n) (RETIRED)
Details | Diff
dev-perl/Moose/Moose-2.60.400.ebuild (Moose-2.60.400.ebuild,3.12 KB, text/plain)
2013-12-23 11:38 UTC, Kent Fredric (IRC: kent\n) (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
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.
+