Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 369379 - media-sound/moc cannot connect to server with net-misc/curl-7.21.4[threads]
Summary: media-sound/moc cannot connect to server with net-misc/curl-7.21.4[threads]
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Sound Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-30 18:19 UTC by Petr Pisar
Modified: 2012-01-04 19:43 UTC (History)
0 users

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


Attachments
Upstream patch (moc-select.patch,1.35 KB, patch)
2011-05-30 18:47 UTC, Petr Pisar
Details | Diff
Ebuild applying the upstream patch (moc-2.5.0_alpha4_p20110428.ebuild.diff,396 bytes, patch)
2011-05-30 18:49 UTC, Petr Pisar
Details | Diff

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