Download in configure phase ?!? : This is an unstable amd64 chroot image (named gnome-systemd-libressl-unstable_20170208-211807) at a hardened host acting as a tinderbox. ----------------------------------------------------------------- -- Retry after 60 seconds (attempt #5) ... -- Using src='https://github.com/xbmc/FFmpeg/archive/3.1.6-Krypton.tar.gz' CMake Error at ffmpeg-stamp/download-ffmpeg.cmake:157 (message): Each download failed! error: downloading 'https://github.com/xbmc/FFmpeg/archive/3.1.6-Krypton.tar.gz' failed ----------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-6.3.0 * llvm-config --version: 3.9.1 Available Java Virtual Machines: [1] icedtea-bin-8 system-vm Available Python interpreters, in order of preference: [1] python3.4 [2] python2.7 (fallback) java-config: The following VMs are available for generation-2: *) IcedTea JDK 3.3.0 [icedtea-bin-8]
Created attachment 463042 [details] emerge-info.txt
Created attachment 463044 [details] emerge-history.txt
Created attachment 463046 [details] environment
Created attachment 463048 [details] etc.portage.tbz2
Created attachment 463050 [details] media-tv:kodi-17.0:20170209-195624.log
ffmpeg is missing : -- FFmpeg 3.1 not found, falling back to internal build The internal ffmepg is downloaded during compile phase. How do you build the package ? You should have a missing dependency witch prevent the package to build (direct call to ebuild ?). You have a network problem to : --- LOG BEGIN --- Could not resolve host: github.com
From media-tv:kodi-17.0:20170209-195624.log : -- FFmpeg 3.1 not found, falling back to internal build But I see from media-tv:kodi-17.0:20170209-195624.log that media-video/ffmpeg-3.2.3 was emerged.
You talk about emerge-history.txt ? In the build log, internal ffmpeg is correctly disabled and it's cmake witch fall back to the internal because for some reasons, it fails to found the system ffmpeg. It explains why there is a download after the configure phase. I'm not familiar with these advanced configurations but perhaps the cmake script doesn't handle chrooting or tinderbox ?
I remember there is an option to tell cmake where to find the system ffmpeg, perhaps it is for this kind of installation.
https://github.com/gentoo/gentoo/pull/3926
I'm quite confident that the problem is that the tinderbox is using media-video/ffmpeg[-postproc] and Kodi requires media-video/ffmpeg[postproc], so I've updated the ebuild to correctly express that dependency. I'd love confirmation that the tinderbox is using media-video/ffmpeg[-postproc] though.
(In reply to candrews from comment #11) so something like bug #573572 ?
(In reply to candrews from comment #11) > I'd love confirmation The attached etc.portage.tbz2 contains all including make.conf - but here for you : media-video/ffmpeg-3.2.4::gentoo was built with the following: USE="X alsa bzip2 encode gpl hardcoded-tables iconv mp3 network opengl pulseaudio sdl threads truetype v4l vorbis x264 xcb xvid zlib (-altivec) -amr -amrenc (-armv5te) (-armv6) (-armv6t2) (-armvfp) -bluray -bs2b -cdio -celt -chromaprint -cpudetection -debug -doc -ebur128 -fdk -flite -fontconfig -frei0r -fribidi -gcrypt -gme -gmp -gnutls -gsm -iec61883 -ieee1394 -jack -jpeg2k -kvazaar -ladspa -libass -libcaca -libilbc -librtmp -libsoxr -libv4l -lzma (-mipsdspr1) (-mipsdspr2) (-mipsfpu) (-mmal) -modplug (-neon) -nvenc -openal -openh264 -openssl -opus -oss -pic -postproc -rubberband -samba -schroedinger -snappy -speex -ssh -static-libs -test -theora -twolame -vaapi -vdpau -vpx -wavpack -webp -x265 -zimg -zvbi" ABI_X86="64 -32 -x32" CPU_FLAGS_X86="aes avx mmx mmxext sse sse2 sse3 sse4_1 sse4_2 ssse3 -3dnow -3dnowext -avx2 -fma3 -fma4 -xop" FFTOOLS="aviocat cws2fws ffescape ffeval ffhash fourcc2pixfmt graph2dot ismindex pktdumper qt-faststart sidxindex trasher" ;)