Summary: | Perl modules do not emerge | ||
---|---|---|---|
Product: | Portage Development | Reporter: | Andrew Heberle <heberle> |
Component: | Unclassified | Assignee: | Daniel Ahlberg (RETIRED) <aliz> |
Status: | RESOLVED FIXED | ||
Severity: | major | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Hopefully the changes I've commited will take care of these problems. Please try it out and let me know if it works for you. Thanks for finding this. |
When trying to emerge any perl module the following error shows up. Calculating dependencies ...done! >>> emerge dev-perl/Mail-SpamAssassin-2.31-r3 to / >>> md5 ;-) Mail-SpamAssassin-2.31.tar.gz /usr/sbin/ebuild.sh: perl-post_pkg_setup: command not found !!! emerge aborting on /usr/portage/dev-perl/Mail-SpamAssassin/Mail-SpamAssassin-2.31-r3.ebuild . This seems to be caused by misnamed functions in /usr/portage/eclass/perl-post.eclass and /usr/portage/eclass/perl-module.eclass By renaming the various functions to what emerge seems to expect them to be (ie as shown above emerge is trying to use perl-post_pkg_setup but only perl_pkg_setup exists in perl-post.eclass), perl modules emerge correctly. This problem was introduced recently as I was able to emerge Mail-SpamAssassin successfully only 3 days ago but, as shown above, this now fails (along with other perl modules).