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

Bug 369379

Summary: media-sound/moc cannot connect to server with net-misc/curl-7.21.4[threads]
Product: Gentoo Linux Reporter: Petr Pisar <petr.pisar>
Component: Current packagesAssignee: Gentoo Sound Team <sound>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Upstream patch
Ebuild applying the upstream patch

Description Petr Pisar 2011-05-30 18:19:19 UTC
There is a bug in media-sound/moc-2.5.0_alpha4_p20110428 if net-misc/curl-7.21.4 is compiled with thread support (the thread flag has been made default recently).

cURL author provided a fix for moc (http://curl.haxx.se/mail/lib-2011-05/0155.html) that has been submitted and merged to moc upstream (http://moc.daper.net/node/242).

It would be good idea to apply the patch to current moc ebuilds to resolve this bug until upstream release new version (actually upstream does not release new versions so often).
Comment 1 Petr Pisar 2011-05-30 18:47:00 UTC
Created attachment 275207 [details, diff]
Upstream patch
Comment 2 Petr Pisar 2011-05-30 18:49:42 UTC
Created attachment 275209 [details, diff]
Ebuild applying the upstream patch
Comment 3 Tim Harder gentoo-dev 2011-06-02 05:28:07 UTC
It might be worth just making a new snapshot release since this should be done with a revision bump anyway.
Comment 4 Samuli Suominen (RETIRED) gentoo-dev 2011-12-11 04:33:51 UTC
(In reply to comment #3)
> It might be worth just making a new snapshot release since this should be done
> with a revision bump anyway.

moc-2.5.0_alpha4_p20111211 in portage
Comment 5 Petr Pisar 2012-01-04 19:43:44 UTC
This snapshot fixes the cURL problem, however brings another. It cannot play applicaton/ogg streams because since commit r2356, the list of decoders for this MIME type has been made empty. Attempt to play such stream results in `Format not supported' error message.

According upstream (http://moc.daper.net/node/433#comment-4491), this is intentional (currently). User must `PreferredDecoders = application/ogg(vorbis)' or `PreferredDecoders = application/ogg(*)' in mocp configuration file to get Ogg/Vorbis streams working again.

I think it would be nice to einfo this issue in the ebuild.