Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 559348 - media-sound/dcadec: Support library needed by media-tv/kodi-9999
Summary: media-sound/dcadec: Support library needed by media-tv/kodi-9999
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Default Assignee for New Packages
URL: https://github.com/xbmc/xbmc/pull/7102
Whiteboard:
Keywords:
Depends on:
Blocks: 559350
  Show dependency tree
 
Reported: 2015-09-01 19:15 UTC by hal
Modified: 2018-02-18 22:48 UTC (History)
6 users (show)

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


Attachments
dcadec-0_pre20150901.ebuild (dcadec-0_pre20150901.ebuild,606 bytes, text/plain)
2015-09-01 19:15 UTC, hal
Details
dcadec-0_pre20150901.ebuild (dcadec-0_pre20150901.ebuild,605 bytes, text/plain)
2015-09-01 21:29 UTC, hal
Details
media-sound/libdca-0_pre20150901.ebuild (dcadec-0_pre20150901.ebuild,625 bytes, text/plain)
2015-09-04 18:22 UTC, hal
Details

Note You need to log in before you can comment on or make changes to this bug.
Description hal 2015-09-01 19:15:54 UTC
Created attachment 410786 [details]
dcadec-0_pre20150901.ebuild

Currently kodi-9999 fails to build due to a missing dependecy.

```
checking for LIBDCADEC... no
configure: error: libdcadec not found
```
Comment 1 hal 2015-09-01 21:29:55 UTC
Created attachment 410802 [details]
dcadec-0_pre20150901.ebuild
Comment 2 Bob Wya 2015-09-03 20:26:01 UTC
That dcadec does fix the Kodi live build issue. However then I see I package naming conflict on my system...

Detected file collision(s):
 * 
 *      /usr/bin/dcadec
 *      /usr/lib/debug/usr/bin/dcadec.debug
 * 
 * Searching all installed packages for file collisions...
 * 
 * Press Ctrl-C to Stop
 * 
 * media-libs/libdca-0.0.5-r3:0::gentoo
 *      /usr/bin/dcadec
 *      /usr/lib/debug/usr/bin/dcadec.debug
 * 
 * Package 'media-sound/dcadec-9999' NOT merged due to file collisions.
 * If necessary, refer to your elog messages for the whole content of the
 * above message.
Comment 3 hal 2015-09-03 20:36:19 UTC
(In reply to Bob Wya from comment #2)

Did you install dcadec before manually?

This is what I got from the package:

```
equery f dcadec
 * Searching for dcadec ...
 * Contents of media-sound/dcadec-0_pre20150901:
/usr
/usr/bin
/usr/bin/dcadec
/usr/include
/usr/include/libdcadec
/usr/include/libdcadec/dca_context.h
/usr/include/libdcadec/dca_frame.h
/usr/include/libdcadec/dca_stream.h
/usr/include/libdcadec/dca_waveout.h
/usr/lib
/usr/lib/libdcadec.a
/usr/lib/pkgconfig
/usr/lib/pkgconfig/dcadec.pc
```
Comment 4 Bob Wya 2015-09-03 23:52:19 UTC
Yeh but there is a file conflict for the decoder binary (typo in my comment - didn't mean to say package name) between this package and stock Gentoo package: media-libs/libdca. As in:

equery f media-libs/libdca
 * Searching for libdca in media-libs ...
 * Contents of media-libs/libdca-0.0.5-r3:
/usr
/usr/bin
/usr/bin/dcadec
/usr/bin/dtsdec
/usr/bin/extract_dca
/usr/bin/extract_dts
/usr/include
/usr/include/dca.h
/usr/include/dts.h
/usr/lib
/usr/lib/debug
/usr/lib/debug/usr
/usr/lib/debug/usr/bin
/usr/lib/debug/usr/bin/dcadec.debug
/usr/lib/debug/usr/bin/extract_dca.debug
/usr/lib/debug/usr/lib32
/usr/lib/debug/usr/lib32/libdca.so.0.0.0.debug
/usr/lib/debug/usr/lib64
/usr/lib/debug/usr/lib64/libdca.so.0.0.0.debug
/usr/lib32
/usr/lib32/libdca.so -> libdca.so.0.0.0
/usr/lib32/libdca.so.0 -> libdca.so.0.0.0
/usr/lib32/libdca.so.0.0.0
/usr/lib32/pkgconfig
/usr/lib32/pkgconfig/libdca.pc
/usr/lib32/pkgconfig/libdts.pc
/usr/lib64
/usr/lib64/libdca.so -> libdca.so.0.0.0
/usr/lib64/libdca.so.0 -> libdca.so.0.0.0
/usr/lib64/libdca.so.0.0.0
/usr/lib64/pkgconfig
/usr/lib64/pkgconfig/libdca.pc
/usr/lib64/pkgconfig/libdts.pc
/usr/share
/usr/share/doc
/usr/share/doc/libdca-0.0.5-r3
/usr/share/doc/libdca-0.0.5-r3/AUTHORS.bz2
/usr/share/doc/libdca-0.0.5-r3/ChangeLog.bz2
/usr/share/doc/libdca-0.0.5-r3/NEWS.bz2
/usr/share/doc/libdca-0.0.5-r3/README.bz2
/usr/share/doc/libdca-0.0.5-r3/TODO.bz2
/usr/share/doc/libdca-0.0.5-r3/libdca.txt.bz2
/usr/share/man
/usr/share/man/man1
/usr/share/man/man1/dcadec.1.bz2
/usr/share/man/man1/dtsdec.1.bz2 -> /usr/share/man/man1/dcadec.1.bz2
/usr/share/man/man1/extract_dca.1.bz2
/usr/share/man/man1/extract_dts.1.bz2 -> /usr/share/man/man1/extract_dca.1.bz2
Comment 5 hal 2015-09-04 18:22:37 UTC
Created attachment 411002 [details]
media-sound/libdca-0_pre20150901.ebuild

Fixes file collision with media-libs/libdca.
Comment 6 Michael Cook 2015-09-05 23:32:09 UTC
(In reply to hal from comment #5)
> Created attachment 411002 [details]
> media-sound/libdca-0_pre20150901.ebuild
> 
> Fixes file collision with media-libs/libdca.

That's a pretty meh solution. Probably would be better to have one of the (or both) packages have building the tools be optional.
Comment 7 hal 2015-09-05 23:45:00 UTC
(In reply to Michael Cook from comment #6)
> (In reply to hal from comment #5)
> > Created attachment 411002 [details]
> > media-sound/libdca-0_pre20150901.ebuild
> > 
> > Fixes file collision with media-libs/libdca.
> 
> That's a pretty meh solution. Probably would be better to have one of the
> (or both) packages have building the tools be optional.

I know but #gentoo-dev-help confirmed this would be the way to go.
Additionally and as far as I can tell dcadec is a hard dependency for future kodi-16.0 and current live version - but I might be wrong here.

The best solution would probably to convince upstream@dcadec to rename their binary accordingly. :)
Comment 8 Account removed 2015-09-07 16:50:08 UTC
thanks for the initial ebuild.
you might want to rename the attachement to "dcadec-0_pre20150901.ebuild"
though, else the build will fail with an invalid S="${WORKDIR}/${PN}-${EGIT_COMMIT}"