Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 200629 - media-sound/mt-daapd-0.2.4.1 configure fails - ogg/ogg.h not found
Summary: media-sound/mt-daapd-0.2.4.1 configure fails - ogg/ogg.h not found
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal with 1 vote (vote)
Assignee: Gentoo Sound Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-11-28 12:39 UTC by Timo Meinen
Modified: 2009-05-11 17:55 UTC (History)
4 users (show)

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


Attachments
fixes the wrong ogg checking if --disable-oggvorbis was specified (mt-daapd-ogg.patch,643 bytes, patch)
2008-03-02 00:44 UTC, sECuRE
Details | Diff
Fixed, unified version of previous ogg patch (mt-daapd-new-ogg.patch,664 bytes, patch)
2009-03-11 13:30 UTC, nixscripter
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Timo Meinen 2007-11-28 12:39:22 UTC
mt-daapd0.2.4.1 can't be compiled due of missing libogg.

configure: error: ogg/ogg.h not found... Must have libogg installed for Ogg/Vorbis support

There should be a libogg dependency.

Thank you
Timo

Reproducible: Always
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-11-28 12:50:59 UTC
You have USE=vorbit set? If yes, how did you exactly manage to emerge libvorbis without libogg, it already depends on it?
Comment 2 Timo Meinen 2007-11-28 12:53:41 UTC
(In reply to comment #1)
> You have USE=vorbit set? If yes, how did you exactly manage to emerge libvorbis

No, USE=vorbis was not set. After enabling USE=vorbis it emerged libvorbis and compiled mt-daapd, too. But before, I emerged libogg by hand.

Timo
Comment 3 Stian Skjelstad 2007-12-02 13:31:31 UTC
Didn't emerge -uDN world   catch the USE flag change?
Comment 4 Timo Meinen 2007-12-05 10:33:34 UTC
(In reply to comment #3)
> Didn't emerge -uDN world   catch the USE flag change?
> 

No, it didn't. The mt-daapd update was out of 'emerge -uDN world', but it stopped emerging at the mt-daapd-ebuild.

Timo
Comment 5 Evil Compile Person 2008-01-13 14:12:55 UTC
libvorbis depend is not optional.
Kill that useflag please, it doesn't do anything :)

Comment 6 sECuRE 2008-03-02 00:43:26 UTC
There should not be a libogg-dependency and one should not kill the useflag. However, one should fix that broken autofoo-crap. I've attached a patch which fixes it, though it's probably in the wrong file (where the other madness is patched), you may create a separate one if you like.

Please integrate it to let emerge world run through without problems. I don't want ogg on the system, mt-daapd is for streaming mp3s on this box.
Comment 7 sECuRE 2008-03-02 00:44:23 UTC
Created attachment 145056 [details, diff]
fixes the wrong ogg checking if --disable-oggvorbis was specified
Comment 8 Robert Sparmann 2009-01-13 12:32:54 UTC
(In reply to comment #7)
> Created an attachment (id=145056) [edit]
> fixes the wrong ogg checking if --disable-oggvorbis was specified
> 

Just wanted to note that this bug persists in:

media-sound/mt-daapd-0.2.4.2  USE="-avahi -vorbis"
Regards
-nerdbert
Comment 9 nixscripter 2009-03-11 13:30:33 UTC
Created attachment 184689 [details, diff]
Fixed, unified version of previous ogg patch

Bug confirmed with mt-daapd-0.2.4.2 on amd64 hardened profile.

Attached is a patch in unified form for that version (I couldn't get portage to apply the last one)
Comment 10 Samuli Suominen (RETIRED) gentoo-dev 2009-05-11 17:55:40 UTC
Applied, finally, sorry it took so long. Thanks.