Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 603926 - media-sound/alsa-utils-1.1.3: Files installed outside of prefix on prefix installation
Summary: media-sound/alsa-utils-1.1.3: Files installed outside of prefix on prefix ins...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-12-28 14:04 UTC by Matthias Gerstner
Modified: 2017-01-03 11:59 UTC (History)
0 users

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


Attachments
patch to fix the prefix trouble (alsa-utils.diff,463 bytes, patch)
2016-12-28 14:04 UTC, Matthias Gerstner
Details | Diff
emerge --info output for completeness (einfo.txt,4.83 KB, text/plain)
2016-12-28 14:05 UTC, Matthias Gerstner
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Matthias Gerstner 2016-12-28 14:04:23 UTC
Created attachment 457618 [details, diff]
patch to fix the prefix trouble

I'm running a Gentoo prefix install (https://wiki.gentoo.org/wiki/Project:Prefix) and current alsa-utils doesn't merge for me, because some files would be installed outside of the prefix directory.

I'm attaching a patch that fixes the situation by fixing the udev rules installation path and adding an explicit asound-state-dir path that includes the prefix, if necessary.
Comment 1 Matthias Gerstner 2016-12-28 14:05:51 UTC
Created attachment 457620 [details]
emerge --info output for completeness
Comment 2 Fabian Groffen gentoo-dev 2016-12-28 18:38:34 UTC
to clarify, your removal of the systemdsystemunitdir is compensated by the addition of asound-state-dir?
Comment 3 Matthias Gerstner 2017-01-02 09:55:37 UTC
Maybe you misread my patch. The line regarding systemdsystemunitdir is not changed at all. It only adds the EPREFIX to --with-udev-rules-dir and adds the line --with-asound-state-dir.
Comment 4 Fabian Groffen gentoo-dev 2017-01-03 11:54:07 UTC
Ah, yes, sorry, I misread that patch indeed.
Comment 5 Fabian Groffen gentoo-dev 2017-01-03 11:59:59 UTC
pushed, thanks