Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 526452 - media-sound/mpd-0.19.1 USE=-glib - src/sticker/SongSticker.cxx:27:18: fatal error: glib.h: No such file or directory
Summary: media-sound/mpd-0.19.1 USE=-glib - src/sticker/SongSticker.cxx:27:18: fatal e...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Christoph Mende (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-10-22 09:12 UTC by Franz Trischberger
Modified: 2014-10-22 16:31 UTC (History)
3 users (show)

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


Attachments
build.log (build.log,126.68 KB, text/plain)
2014-10-22 09:12 UTC, Franz Trischberger
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Franz Trischberger 2014-10-22 09:12:55 UTC
Created attachment 387192 [details]
build.log

dev-libs/glib-2.40.2(2)(07:49:22 07.10.2014)(mime -debug -fam -selinux -static-libs -systemtap -test -utils -xattr ABI_MIPS="-n32 -n64 -o32" ABI_PPC="-32 -64" ABI_S390="-32 -64" ABI_X86="64 -32 -x32" KERNEL="linux" PYTHON_TARGETS="python2_7")
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2014-10-22 10:05:10 UTC
That's odd:

RDEPEND="
    dev-libs/glib:2
    ...
    glib? ( dev-libs/glib:2 )

If it isn't optional, then 

    $(use_enable glib)

should be removed.
Comment 2 Christoph Mende (RETIRED) gentoo-dev 2014-10-22 16:31:56 UTC
(In reply to Jeroen Roovers from comment #1)
> That's odd:
> 
> RDEPEND="
>     dev-libs/glib:2
>     ...
>     glib? ( dev-libs/glib:2 )
> 
> If it isn't optional, then 
> 
>     $(use_enable glib)
> 
> should be removed.

Thanks for catching that. It is indeed optional, the unconditional dependency was a leftover from previous mpd versions which I've removed now.

As for the original bug: there are several USE flags that depend on glib (sqlite which the reporter enabled among those). I've added those to REQUIRED_USE now.