Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 616080

Summary: media-sound/cd-discid-1.4: files installed outside of prefix in RAP
Product: Gentoo Linux Reporter: Gábor VIDA <vidagabor>
Component: Current packagesAssignee: Gentoo Sound Team <sound>
Status: UNCONFIRMED ---    
Severity: normal CC: vidagabor
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge --info

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