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

Bug 180262

Summary: media-sound/mpd-0.13.0 fails to compile
Product: Gentoo Linux Reporter: vandien
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED NEEDINFO    
Severity: normal    
Priority: High    
Version: 2007.0   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: modified ebuild to fix the problem
diff -u patch

Description vandien 2007-05-29 19:23:59 UTC
media-sound/mpd-0.13.0 fails to compile on a clean install if the mpd user is not created first.

Can be fixed in ebuild by moving the "enewuser mpd..." line to pkg_setup instead of calling it from pkg_postinst.

Other ebuilds seem to call this in pkg_setup (apache, pulseaudio).
Comment 1 vandien 2007-05-29 19:26:11 UTC
Created attachment 120635 [details]
modified ebuild to fix the problem
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2007-05-29 19:31:50 UTC
Comment on attachment 120635 [details]
modified ebuild to fix the problem

Please, attach a unified diff against current ebuild; not the whole thing. Thanks.
Comment 3 vandien 2007-05-29 20:08:30 UTC
Created attachment 120643 [details, diff]
diff -u patch

how's this.. (first time using diff to make a patch)