Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 608790 - media-tv/kodi-17.0 : CMake Error at ffmpeg-stamp/download-ffmpeg.cmake:157 (message):
Summary: media-tv/kodi-17.0 : CMake Error at ffmpeg-stamp/download-ffmpeg.cmake:157 (m...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Craig Andrews
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-02-09 20:09 UTC by Toralf Förster
Modified: 2017-02-12 18:22 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,5.74 KB, text/plain)
2017-02-09 20:09 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,53.26 KB, text/plain)
2017-02-09 20:09 UTC, Toralf Förster
Details
environment (environment,208.44 KB, text/plain)
2017-02-09 20:09 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,11.04 KB, application/x-bzip)
2017-02-09 20:09 UTC, Toralf Förster
Details
media-tv:kodi-17.0:20170209-195624.log (media-tv:kodi-17.0:20170209-195624.log,21.60 KB, text/plain)
2017-02-09 20:09 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2017-02-09 20:09:03 UTC
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]
Comment 1 Toralf Förster gentoo-dev 2017-02-09 20:09:07 UTC
Created attachment 463042 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2017-02-09 20:09:10 UTC
Created attachment 463044 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2017-02-09 20:09:13 UTC
Created attachment 463046 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2017-02-09 20:09:16 UTC
Created attachment 463048 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2017-02-09 20:09:19 UTC
Created attachment 463050 [details]
media-tv:kodi-17.0:20170209-195624.log
Comment 6 Marc Perrudin 2017-02-09 22:47:52 UTC
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
Comment 7 Craig Andrews gentoo-dev 2017-02-10 21:57:09 UTC
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.
Comment 8 Marc Perrudin 2017-02-10 23:04:32 UTC
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 ?
Comment 9 Marc Perrudin 2017-02-10 23:10:06 UTC
I remember there is an option to tell cmake where to find the system ffmpeg, perhaps it is for this kind of installation.
Comment 10 Craig Andrews gentoo-dev 2017-02-12 02:21:52 UTC
https://github.com/gentoo/gentoo/pull/3926
Comment 11 Craig Andrews gentoo-dev 2017-02-12 02:25:26 UTC
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.
Comment 12 Toralf Förster gentoo-dev 2017-02-12 10:13:48 UTC
(In reply to candrews from comment #11)
so something like bug #573572 ?
Comment 13 Toralf Förster gentoo-dev 2017-02-12 10:28:56 UTC
(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"


;)