Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 180262 - media-sound/mpd-0.13.0 fails to compile
Summary: media-sound/mpd-0.13.0 fails to compile
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-05-29 19:23 UTC by vandien
Modified: 2007-05-29 20:08 UTC (History)
0 users

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


Attachments
modified ebuild to fix the problem (mpd-0.13.0.ebuild,3.67 KB, text/plain)
2007-05-29 19:26 UTC, vandien
Details
diff -u patch (mpd.patch,731 bytes, patch)
2007-05-29 20:08 UTC, vandien
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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)