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

Bug 5649

Summary: Perl modules do not emerge
Product: Portage Development Reporter: Andrew Heberle <heberle>
Component: UnclassifiedAssignee: Daniel Ahlberg (RETIRED) <aliz>
Status: RESOLVED FIXED    
Severity: major    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Andrew Heberle 2002-07-27 10:14:57 UTC
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).
Comment 1 Daniel Ahlberg (RETIRED) gentoo-dev 2002-07-27 13:40:23 UTC
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.