Tvheadend - Bug #3685 Build fail since commit 1359eff: : try to tidy up the mess that is Makefile. 2016-04-02 12:15 - D Trepmag

Status: Invalid Start date: 2016-04-02 Priority: Normal Due date: Assignee: % Done: 0% Category: Estimated time: 0.00 hour Target version: Found in version: 4.1-1727~ge08e278 Affected Versions: Description Since commit 1359eff "libav: try to tidy up the mess that is Makefile.ffmpeg" make is failing with some issue for ffmpeg:

$ make make -f Makefile.ffmpeg make[1]: Entering directory '/opt/tvheadend' DOWNLOAD https://dl.bintray.com/tvheadend/misc/staticlib//armv7l/ffmpeg-a4d3d04855999458a01 e13540f59e4dc4056966f.tgz --2016-04-02 11:47:17-- https://dl.bintray.com/tvheadend/misc/staticlib//armv7l/ffmpeg-a4d3d04855 999458a01e13540f59e4dc4056966f.tgz Resolving dl.bintray.com (dl.bintray.com)... 5.153.35.248, 159.122.18.156 Connecting to dl.bintray.com (dl.bintray.com)|5.153.35.248|:443... connected. HTTP request sent, awaiting response... 404 Not Found 2016-04-02 11:47:20 ERROR 404: Not Found. cd /opt/tvheadend/build.linux/ffmpeg/ffmpeg-3.0 && FFMPEG_PREFIX=/opt/tvheadend/build.linux/ffmpeg /build/ffmpeg PKG_CONFIG=/opt/tvheadend/support/pkg-config.ffmpeg ./configure --prefix=/ffmpeg --e nable-static --disable-shared \ --disable-all \ --enable-gpl \ --extra-cflags="-I/opt/tvheadend/build.linux/ffmpeg/build/ffmpeg/include" \ --extra-libs="-L/opt/tvheadend/build.linux/ffmpeg/build/ffmpeg/lib -ldl" \ --pkg-config="/opt/tvheadend/support/pkg-config.ffmpeg" \ --enable-avutil --enable-avcodec --enable-avformat --enable-swscale --enable-avresample -- enable-swresample --enable-avfilter \ --enable-libx264 --enable-libx265 --enable- --enable-libtheora --enable-libvorbis -- enable-libfdk-aac --enable-nonfree \ --enable-protocol=file \ --enable-decoder=mpeg2video --enable-decoder=mp2 --enable-decoder=aac --enable-decoder=vor bis --enable-decoder=ac3 --enable-decoder=eac3 --enable-decoder=aac_latm --enable-decoder=h264 --e nable-decoder=hevc --enable-decoder=libvorbis \ --enable-encoder=mpeg2video --enable-encoder=mp2 --enable-encoder=aac --enable-encoder=vor bis --enable-encoder=libx264 --enable-encoder=libx265 --enable-encoder=libvpx_vp8 --enable-encoder =libvpx_vp9 --enable-encoder=libtheora --enable-encoder=libvorbis --enable-encoder=libfdk_aac \ --enable-muxer=mpegts --enable-muxer=mpeg2dvd --enable-muxer= --enable-muxer= --enable-muxer=mp4 --enable-muxer= \ --enable-bsf=h264_mp4toannexb --enable-bsf=hevc_mp4toannexb \ --enable-filter=yadif --enable-filter=scale --enable-filter=null --enable-filter=aresample --enable-filter=anull ERROR: x265 not found using pkg-config

If you think configure made a mistake, make sure you are using the latest version from Git. If the latest version fails, report the problem to the [email protected] mailing list or IRC #ffmpeg on irc.freenode.net. Include the log file "config.log" produced by configure as this will help solve the problem. Makefile.ffmpeg:553: recipe for target '/opt/tvheadend/build.linux/ffmpeg/ffmpeg-3.0/.tvh_build' f ailed make[1]: *** [/opt/tvheadend/build.linux/ffmpeg/ffmpeg-3.0/.tvh_build] Error 1 make[1]: Leaving directory '/opt/tvheadend' Makefile:716: recipe for target '/opt/tvheadend/build.linux/ffmpeg/build/ffmpeg/lib/.a' failed

2021-10-01 1/3 make: *** [/opt/tvheadend/build.linux/ffmpeg/build/ffmpeg/lib/libavcodec.a] Error 2

The environment is the following: Debian Jessie chroot using armel architecture on top of a ARM device (synology ds213j ARMv7l cpu).

With the previous commit e08e278 I can build successfully, despite that the ffmpeg staticlib download fail with the same 404 error as show above.

History #1 - 2016-04-02 12:32 - Jaroslav Kysela Upload the whole stdout (do 'rm -r ./build.linux' and then make).

#2 - 2016-04-08 10:31 - g siviero I have a similar problem with a Raspberry pi 2, Raspbian Jessie, trying to build v4.1.1843-95fd947.

Since I would not use x265 anyway is there a flag to add for Autobuild to disable x265? Would that solve this issue?

WGET http://ffmpeg.org/releases/ffmpeg-3.0.tar.bz2 2016-04-08 10:16:51 URL:http://ffmpeg.org/releases/ffmpeg-3.0.tar.bz2 [8879514/8879514] -> "/opt/tvheadend/bui ld.linux/ffmpeg/ffmpeg-3.0.tar.bz2" [1] SHA1SUM test 'daa827a8d1b7d5be418087165a55bdad5197f9d5' == 'daa827a8d1b7d5be418087165a55bdad5197f9d5': OK UNTAR ffmpeg-3.0.tar.bz2 cd /opt/tvheadend/build.linux/ffmpeg/ffmpeg-3.0 && FFMPEG_PREFIX=/opt/tvheadend/build.linux/ffmpeg/build/ffmpe g PKG_CONFIG=/opt/tvheadend/support/pkg-config.ffmpeg ./configure --prefix=/ffmpeg --enable-static --disable-s hared \ --disable-all \ --enable-gpl \ --extra-cflags="-I/opt/tvheadend/build.linux/ffmpeg/build/ffmpeg/include" \ --extra-libs="-L/opt/tvheadend/build.linux/ffmpeg/build/ffmpeg/lib -ldl" \ --pkg-config="/opt/tvheadend/support/pkg-config.ffmpeg" \ --enable-avutil --enable-avcodec --enable-avformat --enable-swscale --enable-avresample --enable-swresampl e --enable-avfilter \ --enable-libx264 --enable-libx265 --enable-libvpx --enable-libtheora --enable-libvorbis --enable-libfdk-aa c --enable-nonfree \ --enable-protocol=file \ --enable-decoder=mpeg2video --enable-decoder=mp2 --enable-decoder=aac --enable-decoder= --enable-dec oder=ac3 --enable-decoder=eac3 --enable-decoder=aac_latm --enable-decoder=h264 --enable-decoder=hevc --enable- decoder=libvorbis \ --enable-encoder=mpeg2video --enable-encoder=mp2 --enable-encoder=aac --enable-encoder=vorbis --enable-enc oder=libx264 --enable-encoder=libx265 --enable-encoder=libvpx_vp8 --enable-encoder=libvpx_vp9 --enable-encoder =libtheora --enable-encoder=libvorbis --enable-encoder=libfdk_aac \ --enable-muxer=mpegts --enable-muxer=mpeg2dvd --enable-muxer=matroska --enable-muxer=webm --enable-muxer=m p4 --enable-muxer=ogg \ --enable-bsf=h264_mp4toannexb --enable-bsf=hevc_mp4toannexb \ --enable-filter=yadif --enable-filter=scale --enable-filter=null --enable-filter=aresample --enable-filter =anull ERROR: x265 not found using pkg-config

If you think configure made a mistake, make sure you are using the latest version from Git. If the latest version fails, report the problem to the [email protected] mailing list or IRC #ffmpeg on irc.freenode.net. Include the log file "config.log" produced by configure as this will help solve the problem. Makefile.ffmpeg:540: set di istruzioni per l'obiettivo "/opt/tvheadend/build.linux/ffmpeg/ffmpeg-3.0/.tvh_buil d" non riuscito make[3]: *** [/opt/tvheadend/build.linux/ffmpeg/ffmpeg-3.0/.tvh_build] Errore 1 make[3]: uscita dalla directory "/opt/tvheadend" Makefile:781: set di istruzioni per l'obiettivo "/opt/tvheadend/build.linux/ffmpeg/build/ffmpeg/lib/libavcodec .a" non riuscito make[2]: *** [/opt/tvheadend/build.linux/ffmpeg/build/ffmpeg/lib/libavcodec.a] Errore 2 make[2]: uscita dalla directory "/opt/tvheadend" debian/rules:11: set di istruzioni per l'obiettivo "override_dh_auto_build" non riuscito make[1]: *** [override_dh_auto_build] Errore 2 make[1]: uscita dalla directory "/opt/tvheadend" debian/rules:5: set di istruzioni per l'obiettivo "build" non riuscito make: *** [build] Errore 2 dpkg-buildpackage: error: debian/rules build gave error exit status 2

#3 - 2016-04-08 11:45 - g siviero Ok, I used

2021-10-01 2/3 AUTOBUILD_CONFIGURE_EXTRA=--disable-libx265 ./Autobuild.sh and now it compiles (without x265 support).

I also noticed the 404 error:

DOWNLOAD https://dl.bintray.com/tvheadend/misc/staticlib//arm/ffmpeg-48152345263591d8cfc16e1f42e5ea4285 f48b39.tgz --2016-04-08 10:34:54-- https://dl.bintray.com/tvheadend/misc/staticlib//arm/ffmpeg-48152345263591d8cfc16e1f4 2e5ea4285f48b39.tgz Risoluzione di dl.bintray.com (dl.bintray.com)... 159.122.18.156, 5.153.35.248 Connessione a dl.bintray.com (dl.bintray.com)|159.122.18.156|:443... connesso. Richiesta HTTP inviata, in attesa di risposta... 404 Not Found 2016-04-08 10:34:55 ERRORE 404: Not Found.

If I put the address

[[https://dl.bintray.com/tvheadend/misc/staticlib//arm/ffmpeg-48152345263591d8cfc16e1f42e5ea4285f48b39.tgz]] in a browser I get a blank page with only: "The requested path was not found.".

#4 - 2016-04-20 16:23 - Josef Schlehofer I noticed that error, too.

DOWNLOAD https://dl.bintray.com/tvheadend/misc/staticlib/xenial/aarch64/ffmpeg-c878608bc194132ba36fa7f9 4999fe6a20256762.tgz --2016-04-20 10:19:51-- https://dl.bintray.com/tvheadend/misc/staticlib/xenial/aarch64/ffmpeg-c878608bc194132 ba36fa7f94999fe6a20256762.tgz Resolving dl.bintray.com (dl.bintray.com)... 159.122.18.156, 5.153.35.248 Connecting to dl.bintray.com (dl.bintray.com)|159.122.18.156|:443... connected. HTTP request sent, awaiting response... 404 Not Found 2016-04-20 10:19:51 ERROR 404: Not Found.

#5 - 2016-04-20 16:27 - Mark Clarkstone Josef Schlehofer wrote:

I noticed that error, too. [...]

Ignore it, it's just so the build system doesn't have to keep making the ffmpeg libs, or use --disable-bintray-cache if you really don't want to see the error..

#6 - 2016-05-03 16:32 - Jaroslav Kysela - Status changed from New to Invalid

2021-10-01 3/3

Powered by TCPDF (www.tcpdf.org)