Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 598150 - media-tv/kodi-17.0_beta4: Fails to build with FEATURES="network-sandbox"
Summary: media-tv/kodi-17.0_beta4: Fails to build with FEATURES="network-sandbox"
Status: RESOLVED DUPLICATE of bug 577648
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: SpanKY
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-10-26 18:13 UTC by Anthony Ryan
Modified: 2016-12-19 20:50 UTC (History)
4 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Anthony Ryan 2016-10-26 18:13:45 UTC
It looks like the kodi 17 beta ebuild is trying to fetch https://github.com/xbmc/libdvdcss/archive/master.tar.gz during the installation process.

All tarballs should be fetched in the appropriate ebuild stage, and this ebuild shouldn't be allowed to fetch a tarball that's liable to change (targeting master) like this is.
Comment 1 Craig Andrews gentoo-dev 2016-10-26 19:20:56 UTC
Here's where Kodi does the downloading:
https://github.com/xbmc/xbmc/blob/17.0b4-Krypton/tools/depends/target/libdvdcss/Makefile

Besides libdvdcss, it also downloads libdvdnav and libdvdread.

I checked the packaging that Fedora does (in rpmfusion), and it removes these libraries entirely (which I really don't want to do because it's such a functional loss).
Comment 2 Craig Andrews gentoo-dev 2016-10-26 20:10:15 UTC
https://github.com/gentoo/gentoo/pull/2668
Comment 3 Craig Andrews gentoo-dev 2016-11-06 19:08:34 UTC
This has been fixed but I lack the permissions to mark it as such here.
Comment 4 Steffen Hau 2016-11-07 14:19:19 UTC
This commit breaks the live ebuild:

htpc ~ # ebuild /usr/portage/media-tv/kodi/kodi-9999.ebuild unpack
 * checking ebuild checksums ;-) ...                                                                                                                                                                                                                                     [ ok ]
 * checking auxfile checksums ;-) ...                                                                                                                                                                                                                                    [ ok ]
 * checking miscfile checksums ;-) ...                                                                                                                                                                                                                                   [ ok ]
 * Determining the location of the kernel source code
 * Found kernel source directory:
 *     /usr/src/linux
 * Found sources for kernel version:
 *     4.8.6-HAUIHAU
 * Checking for suitable kernel configuration options...                                                                                                                                                                                                                 [ ok ]
>>> Unpacking source...
 * Fetching git://github.com/xbmc/xbmc.git ...
git fetch git://github.com/xbmc/xbmc.git +HEAD:refs/git-r3/HEAD
remote: Counting objects: 118, done.
remote: Compressing objects: 100% (8/8), done.
remote: Total 118 (delta 82), reused 79 (delta 79), pack-reused 31
[snip]
 27 files changed, 335 insertions(+), 288 deletions(-)
cp: cannot stat '/home/gentoo/tmp/portage/media-tv/kodi-9999/distdir/libdvdcss-2f12236bc1c92f73c21e973363f79eb300de603f.tar.gz': No such file or directory
 * ERROR: media-tv/kodi-9999::gentoo failed (unpack phase):
 *   (no error message)
 * 
 * Call stack:
 *     ebuild.sh, line 115:  Called src_unpack
 *   environment, line 5409:  Called die
 * The specific snippet of code:
 *       cp "${DISTDIR}/libdvdcss-${LIBDVDCSS_COMMIT}.tar.gz" "${S}/tools/depends/target/libdvdcss/libdvdcss-master.tar.gz" || die;
 * 
 * If you need support, post the output of `emerge --info '=media-tv/kodi-9999::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=media-tv/kodi-9999::gentoo'`.
 * The complete build log is located at '/home/gentoo/tmp/portage/media-tv/kodi-9999/temp/build.log'.
 * The ebuild environment file is located at '/home/gentoo/tmp/portage/media-tv/kodi-9999/temp/environment'.
 * Working directory: '/home/gentoo/tmp/portage/media-tv/kodi-9999/work'
 * S: '/home/gentoo/tmp/portage/media-tv/kodi-9999/work/kodi-9999'

You have expanded the SRC_URI only for * not 9999.
Comment 5 Craig Andrews gentoo-dev 2016-12-11 02:43:10 UTC
(In reply to Steffen Hau from comment #4)
> This commit breaks the live ebuild:
> You have expanded the SRC_URI only for * not 9999.

I'm handling this in https://github.com/gentoo/gentoo/pull/3027
Comment 6 SpanKY gentoo-dev 2016-12-19 20:50:09 UTC

*** This bug has been marked as a duplicate of bug 577648 ***