Everytime I want to make a new build, I'm having the same problems. After numerous attempts I succeed every time (without noticing a difference), but I would like to know what I'm doing wrong.
This is what I do:
1. cd /home/wim
2. su (change to user root)
3. git clone
https://github.com/tvheadend/tvheadend.git build/tvheadend/master
4. cd build/tvheadend/master
5. AUTOBUILD_CONFIGURE_EXTRA="--disable-dvbscan --disable-libvpx --disable-libvpx_static --disable-bintray_cache --enable-hdhomerun_client --disable-libvpx --disable-libx265 --disable-libx265_static --disable-libffmpeg_static"
6. ./Autobuild.sh
7. install missing dependencies
8. ./Autobuild.sh
This fails, ending with:
make -f Makefile.ffmpeg
make[3]: Map '/home/wim/build/tvheadend/master' wordt binnengegaan
cd /home/wim/build/tvheadend/master/build.linux/ffmpeg/libvpx-1.6.1 && \
ASFLAGS="-DENABLE_PIC=1 -DPIC=1" FFMPEG_PREFIX=/home/wim/build/tvheadend/master/build.linux/ffmpeg/build/ffmpeg PKG_CONFIG=/home/wim/build/tvheadend/master/support/pkg-config.ffmpeg ./configure --prefix=/ffmpeg --enable-static --disable-shared \
--extra-cflags="-fPIE" \
--disable-examples \
--disable-docs \
--disable-unit-tests \
disabling shared
disabling examples
disabling docs
disabling unit_tests
enabling vp8_encoder
enabling vp8_decoder
enabling vp9_encoder
enabling vp9_decoder
Configuring for target 'armv7-linux-gcc'
enabling armv7
enabling neon
enabling neon_asm
enabling webm_io
enabling libyuv
Creating makefiles for armv7-linux-gcc libs
Creating makefiles for armv7-linux-gcc tools
DIST_DIR=/home/wim/build/tvheadend/master/build.linux/ffmpeg/build/ffmpeg \
make -C /home/wim/build/tvheadend/master/build.linux/ffmpeg/libvpx-1.6.1 install
make[4]: Map '/home/wim/build/tvheadend/master/build.linux/ffmpeg/libvpx-1.6.1' wordt binnengegaan
[DEP] vpx_config.c.d
[CC] vpx_config.c.o
[AS] vpx_dsp/arm/intrapred_neon_asm.asm.S.o
as: onbekende optie '-ENABLE_PIC=1'
Makefile:190: recept voor doel 'vpx_dsp/arm/intrapred_neon_asm.asm.S.o' is mislukt
make[5]:
* [vpx_dsp/arm/intrapred_neon_asm.asm.S.o] Fout 1
Makefile:17: recept voor doel '.DEFAULT' is mislukt
make[4]:
* [.DEFAULT] Fout 2
make[4]: Map '/home/wim/build/tvheadend/master/build.linux/ffmpeg/libvpx-1.6.1' wordt verlaten
Makefile.ffmpeg:310: recept voor doel '/home/wim/build/tvheadend/master/build.linux/ffmpeg/libvpx-1.6.1/.tvh_build' is mislukt
make[3]:
* [/home/wim/build/tvheadend/master/build.linux/ffmpeg/libvpx-1.6.1/.tvh_build] Fout 2
make[3]: Map '/home/wim/build/tvheadend/master' wordt verlaten
Makefile:832: recept voor doel '/home/wim/build/tvheadend/master/build.linux/ffmpeg/build/ffmpeg/lib/libavcodec.a' is mislukt
make[2]:
* [/home/wim/build/tvheadend/master/build.linux/ffmpeg/build/ffmpeg/lib/libavcodec.a] Fout 2
make[2]: Map '/home/wim/build/tvheadend/master' wordt verlaten
debian/rules:11: recept voor doel 'override_dh_auto_build' is mislukt
make[1]:
* [override_dh_auto_build] Fout 2
make[1]: Map '/home/wim/build/tvheadend/master' wordt verlaten
debian/rules:5: recept voor doel 'build' is mislukt
make:
* [build] Fout 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
I think the the problem is this (below is part of the output):
Options:
pie yes
ccdebug no
cwc yes
cccam yes
capmt yes
constcw yes
linuxdvb yes
satip_server yes
satip_client yes
hdhomerun_client yes
hdhomerun_static yes
iptv yes
tsfile yes
dvbscan +yes+
timeshift yes
trace yes
imagecache yes
avahi yes
zlib yes
libav yes
ffmpeg_static +yes+
libx264 yes
libx264_static yes
libx265 yes
libx265_static yes
libvpx yes
libvpx_static yes
The script doesn't seem to do what I ask (disabling ffmpeg, dvbscan, libvpx, etc)!
What am I doing wrong here?
Please help.
Wim