Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 339958 - sci-electronics/electronics-menu-1.0: edit to ebuild required
Summary: sci-electronics/electronics-menu-1.0: edit to ebuild required
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: x86 OS X
: High normal (vote)
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-06 17:21 UTC by Andrew Davis
Modified: 2010-10-08 19:23 UTC (History)
1 user (show)

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


Attachments
emerge --info (emerge-info.txt,3.54 KB, text/plain)
2010-10-06 17:24 UTC, Andrew Davis
Details
diff between new and old ebuilds (diff-u.txt,432 bytes, text/plain)
2010-10-06 17:26 UTC, Andrew Davis
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Davis 2010-10-06 17:21:54 UTC
when trying to emerge sci-electronics/electronics-menu, the emerge fails with an error that files will be installed outside the prefix.  Editing src_install in the ebuild and changing ${D} to ${ED} fixed the problem. 

Reproducible: Always

Steps to Reproduce:
1.  emerge sci-electronics/electronics-menu


Actual Results:  
fail with error listed above

Expected Results:  
emerged package
Comment 1 Andrew Davis 2010-10-06 17:24:30 UTC
Created attachment 249768 [details]
emerge --info
Comment 2 Andrew Davis 2010-10-06 17:26:01 UTC
Created attachment 249769 [details]
diff between new and old ebuilds
Comment 3 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2010-10-06 17:30:53 UTC
(In reply to comment #0)
> when trying to emerge sci-electronics/electronics-menu, the emerge fails with
> an error that files will be installed outside the prefix.  Editing src_install
> in the ebuild and changing ${D} to ${ED} fixed the problem. 

Makes sense, the ebuild was never tested or ported to Gentoo Prefix. Just sayin' :)

It also needs a keyword for your arch and bumped to EAPI=3.

@sci-electronics: Your ACK on above changes, please.
Comment 4 Andrew Davis 2010-10-06 18:19:23 UTC
> (In reply to comment #0)
> Makes sense, the ebuild was never tested or ported to Gentoo Prefix. Just
> sayin' :)

I don't understand how it makes sense.  I have the impression that DESTDIR="${D}" should get $EPREFIX prepended to it automatically, when it occurs in src_install.  

> It also needs a keyword for your arch and bumped to EAPI=3.
> 
> @sci-electronics: Your ACK on above changes, please.
> 

Sorry, I don't understand most of this -- do you need anything more from me?  I wasn't ready to ask for a keyword, since I don't run a full desktop to test whether the package is doing what it's supposed to do (add a menu somewhere, I think).  I was just satisfied that it emerged and allowed me to emerge sci-electronics/pcb
Comment 5 Rafael Martins (RETIRED) gentoo-dev 2010-10-06 18:20:39 UTC
(In reply to comment #3)
> @sci-electronics: Your ACK on above changes, please.
> 

ACK'ed
Comment 6 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2010-10-08 19:23:44 UTC
fixed in tree, thx