Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 309943 - app-portage/g-cpan seems to get installation of Emacs::PDE wrong
Summary: app-portage/g-cpan seems to get installation of Emacs::PDE wrong
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal
Assignee: Robin Johnson
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-17 14:07 UTC by PetaMem R&D
Modified: 2010-03-24 18:54 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description PetaMem R&D 2010-03-17 14:07:25 UTC
> g-cpan -i Emacs::PDE

runs through ok (there is one QA notice "The ebuild uses Module::Build but doesn't depend on it. Add virtual/perl-Module-Build to DEPEND!")

After successfull source compilation, the installation log shows these paths:

>>> Source compiled.
>>> Test phase [not enabled]: perl-gcpan/Emacs-PDE-0.2.16

>>> Install Emacs-PDE-0.2.16 into /var/tmp/portage/perl-gcpan/Emacs-PDE-0.2.16/image/ category perl-gcpan
Building Emacs-PDE
Installing /var/tmp/portage/perl-gcpan/Emacs-PDE-0.2.16/image/usr/lib64/perl5/vendor_perl/5.10.1/Emacs/PDE.pm
Installing /var/tmp/portage/perl-gcpan/Emacs-PDE-0.2.16/image/usr/lib64/perl5/vendor_perl/5.10.1/Emacs/PDE/Util.pm
Installing /var/tmp/portage/perl-gcpan/Emacs-PDE-0.2.16/image/usr/share/man/man3/Emacs::PDE::Util.3
Installing /var/tmp/portage/perl-gcpan/Emacs-PDE-0.2.16/image/usr/share/man/man3/Emacs::PDE.3
Use of uninitialized value $tmpfile in -f at /usr/lib64/perl5/5.10.1/ExtUtils/Install.pm line 709.
Installing /var/tmp/portage/perl-gcpan/Emacs-PDE-0.2.16/homedir/.emacs.d/pde/tabbar-x.elc
Installing /var/tmp/portage/perl-gcpan/Emacs-PDE-0.2.16/homedir/.emacs.d/pde/pde-vars.el
Installing /var/tmp/portage/perl-gcpan/Emacs-PDE-0.2.16/homedir/.emacs.d/pde/perldb-ui.elc
Installing /var/tmp/portage/perl-gcpan/Emacs-PDE-0.2.16/homedir/.emacs.d/pde/perlapi.el
Installing /var/tmp/portage/perl-gcpan/Emacs-PDE-0.2.16/homedir/.emacs.d/pde/perldoc.el
Installing /var/tmp/portage/perl-gcpan/Emacs-PDE-0.2.16/homedir/.emacs.d/pde/windata.elc

etc. etc.

Needless to say, that the files are not there after installation. Probably g-cpan gets confused here as this package is more of a Emacs .el/.elc files add-on than Perl modules.
Comment 1 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2010-03-24 18:54:30 UTC
Not a g-cpan problem. 

The buildscripts of Emacs::PDE:
1. don't pick up the sitelisp location automatically.
2. seem to completely ignore DESTDIR for installing the elisp files.

I've added dev-perl/Emacs-PDE manually for you now.