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
Created attachment 249768 [details] emerge --info
Created attachment 249769 [details] diff between new and old ebuilds
(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.
> (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
(In reply to comment #3) > @sci-electronics: Your ACK on above changes, please. > ACK'ed
fixed in tree, thx