Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 452460 - =media-sound/aqualung-0.9_beta11-r1 is not compatible with dev-libs/libcdio-paranoia
Summary: =media-sound/aqualung-0.9_beta11-r1 is not compatible with dev-libs/libcdio-p...
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Daniel Pielmeier
URL: http://aqualung.factorial.hu/mantis/b...
Whiteboard:
Keywords:
Depends on:
Blocks: 452430
  Show dependency tree
 
Reported: 2013-01-16 09:44 UTC by Samuli Suominen (RETIRED)
Modified: 2014-01-06 12:01 UTC (History)
3 users (show)

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


Attachments
build.log (build.log,44.59 KB, text/plain)
2013-01-16 09:44 UTC, Samuli Suominen (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Samuli Suominen (RETIRED) gentoo-dev 2013-01-16 09:44:35 UTC
Created attachment 335794 [details]
build.log

dep should be:

cdda? ( || ( dev-libs/libcdio-paranoia <dev-libs/libcdio-0.90[-minimal] ) )

and you need this to get to the actual errors:

if has_version dev-libs/libcdio-paranoia; then
	sed -i \
		-e 's:cdio/cdda.h:cdio/paranoia/cdda.h:' \
		-e 's:cdio/paranoia.h:cdio/paranoia/paranoia.h:' \
		src/*.{c,h} src/decoder/dec_cdda.h || die
fi
Comment 1 Daniel Pielmeier gentoo-dev 2013-01-17 21:21:26 UTC
I have made the changes to the ebuild but a patch to make it build is still missing. Will report this upstream if i have time.
Comment 2 Daniel Pielmeier gentoo-dev 2013-01-19 08:39:38 UTC
(In reply to comment #0)
> Created attachment 335794 [details]
> build.log
> 
> dep should be:
> 
> cdda? ( || ( dev-libs/libcdio-paranoia <dev-libs/libcdio-0.90[-minimal] ) )
> 
> and you need this to get to the actual errors:
> 
> if has_version dev-libs/libcdio-paranoia; then
> 	sed -i \
> 		-e 's:cdio/cdda.h:cdio/paranoia/cdda.h:' \
> 		-e 's:cdio/paranoia.h:cdio/paranoia/paranoia.h:' \
> 		src/*.{c,h} src/decoder/dec_cdda.h || die
> fi

Shouldn't this be

if has_version dev-libs/libcdio-paranoia; then
	sed -i \
		-e 's:cdio/cdda.h:cdio/paranoia/cdda.h:' \
		-e 's:cdio/paranoia.h:cdio/paranoia/paranoia.h:' \
		src/*.{c,h} src/decoder/dec_cdda.{c,h} || die
fi

There is another include in src/decoder/dec_cdda.c.
Comment 3 Samuli Suominen (RETIRED) gentoo-dev 2013-01-19 20:44:16 UTC
(In reply to comment #2)
> (In reply to comment #0)
> > Created attachment 335794 [details]
> > build.log
> > 
> > dep should be:
> > 
> > cdda? ( || ( dev-libs/libcdio-paranoia <dev-libs/libcdio-0.90[-minimal] ) )
> > 
> > and you need this to get to the actual errors:
> > 
> > if has_version dev-libs/libcdio-paranoia; then
> > 	sed -i \
> > 		-e 's:cdio/cdda.h:cdio/paranoia/cdda.h:' \
> > 		-e 's:cdio/paranoia.h:cdio/paranoia/paranoia.h:' \
> > 		src/*.{c,h} src/decoder/dec_cdda.h || die
> > fi
> 
> Shouldn't this be
> 
> if has_version dev-libs/libcdio-paranoia; then
> 	sed -i \
> 		-e 's:cdio/cdda.h:cdio/paranoia/cdda.h:' \
> 		-e 's:cdio/paranoia.h:cdio/paranoia/paranoia.h:' \
> 		src/*.{c,h} src/decoder/dec_cdda.{c,h} || die
> fi
> 
> There is another include in src/decoder/dec_cdda.c.

If it's there, definately. I didn't really want any of this committed to Portage before the full fix is available.

Daniel, I think you can point upstream to example patches, like:

http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/media-plugins/gst-plugins-cdio/files/gst-plugins-cdio-0.10.19-cdio-cd-text-api.patch?view=markup

http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/media-plugins/audacious-plugins/files/audacious-plugins-3.3.3-libcdio.patch?view=markup

http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/media-video/mplayer2/files/mplayer2-2.0_p20121128-cdio-api-fixes.patch?view=markup

Thanks.
Comment 4 Samuli Suominen (RETIRED) gentoo-dev 2013-01-19 20:45:20 UTC
And I would temporarily disable entire libcdio support from aqualung in ~arch pending on the fix. But that's just my personal opinion.
Comment 5 Daniel Pielmeier gentoo-dev 2013-01-20 10:05:10 UTC
(In reply to comment #4)
> And I would temporarily disable entire libcdio support from aqualung in
> ~arch pending on the fix. But that's just my personal opinion.

I added the links to the patches on the upstream tracker.

Stable version of aqualung now restricts to <dev-libs/libcdio-0.90[-minimal] and the arch version has cdda (libcdio) support disabled).
Comment 6 Samuli Suominen (RETIRED) gentoo-dev 2013-04-21 07:42:59 UTC
This is the only incompatible package left in Portage. 
I'd like to lastrite it, or remove the cdda USE flag so we can proceed with the stabilization of the new libcdio-paranoia package and the eselect module.
Comment 7 Samuli Suominen (RETIRED) gentoo-dev 2013-04-21 07:44:19 UTC
(In reply to comment #6)
> This is the only incompatible package left in Portage. 
> I'd like to lastrite it, or remove the cdda USE flag so we can proceed with
> the stabilization of the new libcdio-paranoia package and the eselect module.

Oh, nevermind, I see -r2 has the USE flag removed! I'll just file -r2 stabilization bug once I'll open the stablereq. Sorry for the noise.
Comment 8 jannis 2013-04-21 07:48:45 UTC
A patch seems to be here:
http://sourceforge.net/mailarchive/forum.php?thread_name=1361777053-5781-1-git-send-email-jamie%40audible.transient.net&forum_name=aqualung-friends

Didn't test it, though since I don't get compile errors in the first place and didn't really understood your comments about "needing s.th. to trigger the error".

I vote for dropping the CDDA USE flag instead of dropping the whole package
Comment 9 Daniel Pielmeier gentoo-dev 2013-04-21 18:04:36 UTC
If someone backports the patch to the version in tree I will apply it else we stabilize with the use flag removed and add it back with the next version bump.
Comment 10 Andreas Sturmlechner gentoo-dev 2014-01-06 00:57:40 UTC
No release since 2010-01-31 and no patch backport effort for 2/3 of a year, I guess it wouldn't be unreasonable to simply drop the USE flag and continue stabilisation?
Comment 11 Samuli Suominen (RETIRED) gentoo-dev 2014-01-06 11:54:16 UTC
(In reply to Andreas Sturmlechner from comment #10)
> No release since 2010-01-31 and no patch backport effort for 2/3 of a year,
> I guess it wouldn't be unreasonable to simply drop the USE flag and continue
> stabilisation?

I'm opening libcdio-paranoia stabilization bug now, so yes, aqualung will have to be stabilized to drop the libcdio support.