Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 310291 - dev-perl/File-ShareDir-1.02 fails to install: cp: cannot stat `share/sample.txt'
Summary: dev-perl/File-ShareDir-1.02 fails to install: cp: cannot stat `share/sample.txt'
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-19 21:29 UTC by michael higgins
Modified: 2010-03-20 06:15 UTC (History)
0 users

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 michael higgins 2010-03-19 21:29:28 UTC
Ebuild removes files that Makefile tries to install. IDK why.

Reproducible: Always




Ships with bundled verstion of Module::Install::Share that we don't have in overlay or tree, http://search.cpan.org/~adamk/Module-Install-0.95/lib/Module/Install.pod -- we are stuck a few versions behind. IDK what the problem is, but could be related. Suppose I should probably file a bug for that too...

At any rate, after I read what the Module::Install::Share *DOES*, the problem was obviously fixed here by removing from Makefile.pl the call to install the files later removed by the ebuild. Seems reasonable and probably the find and remove call is useless now.

20c20,23
< 
---
> src_prepare(){
> cd "${S}"
> sed -i -e 's/install_share//' Makefile.PL
> }
22a26
>

And... if I *were* a developer I'd probably be optimistic and || die there, but I'm not.