Bug #3685
closed
Build fail since commit 1359eff: libav: try to tidy up the mess that is Makefile.ffmpeg
Added by D Trepmag about 9 years ago.
Updated almost 9 years ago.
Found in version:
4.1-1727~ge08e278
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-a4d3d04855999458a01e13540f59e4dc4056966f.tgz
--2016-04-02 11:47:17-- https://dl.bintray.com/tvheadend/misc/staticlib//armv7l/ffmpeg-a4d3d04855999458a01e13540f59e4dc4056966f.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 --enable-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-libvpx --enable-libtheora --enable-libvorbis --enable-libfdk-aac --enable-nonfree \
--enable-protocol=file \
--enable-decoder=mpeg2video --enable-decoder=mp2 --enable-decoder=aac --enable-decoder=vorbis --enable-decoder=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-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=matroska --enable-muxer=webm --enable-muxer=mp4 --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
ffmpeg-user@ffmpeg.org 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' failed
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/libavcodec.a' failed
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.
Upload the whole stdout (do 'rm -r ./build.linux' and then make).
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/build.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/ffmpeg PKG_CONFIG=/opt/tvheadend/support/pkg-config.ffmpeg ./configure --prefix=/ffmpeg --enable-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-libvpx --enable-libtheora --enable-libvorbis --enable-libfdk-aac --enable-nonfree \
--enable-protocol=file \
--enable-decoder=mpeg2video --enable-decoder=mp2 --enable-decoder=aac --enable-decoder=vorbis --enable-decoder=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-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=matroska --enable-muxer=webm --enable-muxer=mp4 --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
ffmpeg-user@ffmpeg.org 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_build" 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
Ok, I used
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-48152345263591d8cfc16e1f42e5ea4285f48b39.tgz
--2016-04-08 10:34:54-- https://dl.bintray.com/tvheadend/misc/staticlib//arm/ffmpeg-48152345263591d8cfc16e1f42e5ea4285f48b39.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.".
I noticed that error, too.
DOWNLOAD https://dl.bintray.com/tvheadend/misc/staticlib/xenial/aarch64/ffmpeg-c878608bc194132ba36fa7f94999fe6a20256762.tgz
--2016-04-20 10:19:51-- https://dl.bintray.com/tvheadend/misc/staticlib/xenial/aarch64/ffmpeg-c878608bc194132ba36fa7f94999fe6a20256762.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.
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..
- Status changed from New to Invalid
Also available in: Atom
PDF