Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 616080 - media-sound/cd-discid-1.4: files installed outside of prefix in RAP
Summary: media-sound/cd-discid-1.4: files installed outside of prefix in RAP
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Sound Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-04-20 07:33 UTC by Gábor VIDA
Modified: 2017-04-23 11:56 UTC (History)
1 user (show)

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


Attachments
emerge --info (emerge-info.txt,5.63 KB, text/plain)
2017-04-20 07:33 UTC, Gábor VIDA
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Gábor VIDA 2017-04-20 07:33:24 UTC
Created attachment 470446 [details]
emerge --info

I have an EPREFIXed Gentoo installation (RAP). cd-discid fails to install:

 * QA Notice: the following files are outside of the prefix:
 * /usr
 * /usr/bin
 * /usr/bin/cd-discid
 * /usr/share
 * /usr/share/man
 * /usr/share/man/man1
 * /usr/share/man/man1/cd-discid.1

Changing the emake line in the ebuild from this:

  emake DESTDIR="${D}" PREFIX=/usr STRIP=/bin/true install

To this:

  emake DESTDIR="${ED}" PREFIX=/usr STRIP=${EPREFIX}/bin/true install

makes the ebuild work well. The installed files looks fine (my prefix is
/home/evidgbo/usr/roots/gentoo):

  $ qlist cd-discid
  /home/evidgbo/usr/roots/gentoo/usr/share/doc/cd-discid-1.4/changelog.bz2
  /home/evidgbo/usr/roots/gentoo/usr/share/doc/cd-discid-1.4/README.bz2
  /home/evidgbo/usr/roots/gentoo/usr/share/man/man1/cd-discid.1.bz2
  /home/evidgbo/usr/roots/gentoo/usr/bin/cd-discid