Bug #4884
Build auf Cubietruck mit armbin schlägt fehl
0%
Description
Hallo,
ich wollte auf meinem Cubietruck welcher mit dem Mainline Image von hier läuft https://www.armbian.com/cubietruck/ TVH kompilieren, da ich kein Image für Debian Stretch arm finde.
Meine kernel ist Linux cubietruck 4.14.0-sunxi #19 SMP Fri Nov 24 20:10:50 CET 2017 armv7l GNU/Linux
ich habe per git die source ausgecheckt und dann ./configure ausgeführt, bekomme dort diese Ausgabe
@./configure
Checking support/features
checking for cc execinfo.h ... ok
checking for cc -mmmx ... fail
checking for cc -msse2 ... fail
checking for cc -Wunused-result ... ok
checking for cc getloadavg ... ok
checking for cc atomic32 ... ok
checking for cc atomic64 ... ok
checking for cc atomic_time_t ... ok
checking for cc atomic_ptr ... ok
checking for cc bitops64 ... ok
checking for cc lockowner ... ok
checking for cc qsort_r ... ok
checking for cc stime ... ok
checking for cc gmtoff ... ok
checking for cc recvmmsg ... ok
checking for cc sendmmsg ... ok
checking for cc libiconv ... fail
^ using build-in glibc iconv routines
checking for cc ifnames ... ok
checking for cc cclang_threadsan ... fail
checking for py module gzip ... ok
checking for pkg-config ... ok
checking for xgettext ... ok
checking for msgmerge ... ok
checking for gzip ... ok
checking for bzip2 ... ok
checking for pkg openssl ... ok (detected 1.1.0f)
checking for cc linux/dvb/version.h ... ok
checking for pkg zlib ... ok (detected 1.2.8)
checking for pkg libpcre2-8 ... fail (detected <none>)
checking for pkg libpcre ... ok (detected 8.39)
checking for pkg liburiparser ... ok (detected 0.8.4)
checking for pkg avahi-client ... ok (detected 0.6.32)
checking for cmake ... ok
checking for cc -lstdc++ ... ok
checking for pkg libva >=0.38.0 ... fail (detected <none>)
checking for cc sys/inotify.h ... ok
checking for cc inotify_init1 ... ok
fetching dvb-scan files ... ok
checking for cc epoll_create1 ... ok
checking for pkg dbus-1 ... ok (detected 1.10.24)
Compiler:
Using C compiler: cc
Build for arch: arm
Binaries:
Using PYTHON: python
Using GZIP: gzip
Using BZIP2: bzip2
Options:
pie yes
ccdebug no
cardclient yes
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
libtheora yes
libtheora_static yes
libvorbis yes
libvorbis_static yes
libfdkaac no
libfdkaac_static no
libopus yes
libopus_static yes
nvenc no
vaapi no
mmal no
omx no
inotify yes
epoll yes
pcre yes
pcre2 no
uriparser yes
ccache no
tvhcsa yes
bundle no
pngquant no
dvbcsa no
kqueue no
dbus_1 yes
android no
tsdebug no
gtimer_check no
slow_memoryinfo no
libsystemd_daemon no
bintray_cache yes
ddci yes
cclang_threadsan no
execinfo yes
W_unused_result yes
getloadavg yes
atomic32 yes
atomic64 yes
atomic_time_t yes
atomic_ptr yes
bitops64 yes
lockowner yes
qsort_r yes
stime yes
gmtoff yes
recvmmsg yes
sendmmsg yes
ifnames yes
py_gzip yes
bin_pkg_config yes
bin_xgettext yes
bin_msgmerge yes
bin_gzip yes
bin_bzip2 yes
ssl yes
linuxdvbapi yes
linuxdvb_ca yes
upnp yes
bin_cmake yes
stdcpp yes
libogg_static yes
inotify_h yes
inotify_init1 yes
epoll_create1 yes
mpegts yes
mpegts_dvb yes
Packages:
openssl 1.1.0f
zlib 1.2.8
libpcre 8.39
liburiparser 0.8.4
avahi-client 0.6.32
dbus-1 1.10.24
Installation paths:
Prefix: /usr/local
Binaries: ${prefix}/bin
Libraries: ${prefix}/lib
Data files: ${prefix}/share
Man pages: ${datadir}/man
Final Binary:
/opt/tvheadend/build.linux/tvheadend
Tvheadend Data Directory:
/usr/local/share/tvheadend
@
beim anschließenden make kommt dann:
@ make
make f Makefile.ffmpeg libcacheget https://dl.bintray.com/tvheadend/misc/staticlib/Debian% 209.3/arm/ffmpeg-a3751c109818962369dd511f5ca2f79b43f68540.tgz
make1: Entering directory '/opt/tvheadend'
DOWNLOAD https://dl.bintray.com/tvheadend/misc/staticlib/Debian%209.3/arm /ffmpeg-a3751c109818962369dd511f5ca2f79b43f68540.tgz
--2018-01-23 21:22:30-
Resolving dl.bintray.com (dl.bintray.com)... 159.122.18.156
Connecting to dl.bintray.com (dl.bintray.com)|159.122.18.156|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2018-01-23 21:22:30 ERROR 404: Not Found.
FAILED TO DOWNLOAD https://dl.bintray.com/tvheadend/misc/staticlib/Debian%209.3/arm/ffmpeg-a3751c109818962369dd511f5ca2f79b43f68540.tgz (BUT THIS IS NOT A FATAL ERROR! DO NOT REPORT THAT!)
make1: Leaving directory '/opt/tvheadend'
make -f Makefile.ffmpeg
make1: Entering directory '/opt/tvheadend'
cd /opt/tvheadend/build.linux/ffmpeg/libvpx-1.6.1 && \
ASFLAGS="-DENABLE_PIC=1 -DPIC=1" FFMPEG_PREFIX=/opt/tvheadend/build.linux/ffmpeg/build/ffmpeg PKG_CONFIG=/opt/tvheadend/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=/opt/tvheadend/build.linux/ffmpeg/build/ffmpeg \
make -C /opt/tvheadend/build.linux/ffmpeg/libvpx-1.6.1 install
make[2]: Entering directory '/opt/tvheadend/build.linux/ffmpeg/libvpx-1.6.1'
[DEP] vpx_config.c.d
[CC] vpx_config.c.o
[AS] vpx_dsp/arm/intrapred_neon_asm.asm.S.o
as: unrecognized option '-ENABLE_PIC=1'
Makefile:190: recipe for target 'vpx_dsp/arm/intrapred_neon_asm.asm.S.o' failed
make[3]: * [vpx_dsp/arm/intrapred_neon_asm.asm.S.o] Error 1
Makefile:17: recipe for target '.DEFAULT' failed
make[2]: [.DEFAULT] Error 2
make[2]: Leaving directory '/opt/tvheadend/build.linux/ffmpeg/libvpx-1.6.1'
Makefile.ffmpeg:310: recipe for target '/opt/tvheadend/build.linux/ffmpeg/libvpx-1.6.1/.tvh_build' failed
make[1]: [/opt/tvheadend/build.linux/ffmpeg/libvpx-1.6.1/.tvh_build] Error 2
make[1]: Leaving directory '/opt/tvheadend'
Makefile:849: 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
@
Was läuft bei mir falsch?
History
Updated by Hanspeter Müller almost 7 years ago
This is the bugtracker, not the forum, also not german.
That said, it looks like it's failing because of a NEON related error, i would guess that your cpu does not have NEON or it's disabled in the kernel, eighter way, disable all the transcoding build options, it's not going to be of much use anyway, even with NEON the Cortext A8 is way to slow to be usefull...
regards
/hp
Updated by Thomas xyz almost 7 years ago
Sorry, I did not know English is mandatory, unfortunately I can not edit my post, otherwise I would recreate it in English, or should I re-post it in English as a comment?
@Hanspeter Müller
hello, what do you mean by too slow to be useful? to build TVH? according to this page, the processor has neon http://linux-sunxi.org/A20 what do I have to disable everything to turn off all transcoding options?
Updated by Pablo Zerón almost 7 years ago
If you edit the makefile.ffmpeg and remove the "-denable_pic=1" and the "-dpic=1" in the libvpx section the code compiles without issues. At least in my ARM odroix HC1 board.
But the transcode don't work properly in hd channels, with sd channels work well (only one at same time).
If you don't want transcode use this to disable it:
AUTOBUILD_CONFIGURE_EXTRA=--disable-bintray_cache\ --disable-hdhomerun_static\ --disable-ffmpeg_static\ --enable-bundle\ --enable-ccache ./Autobuild.sh
Updated by Thomas xyz almost 7 years ago
Hello, both -denable_pic = 1 and -dpic = 1 are set in Makefile.ffmpeg, but the build aborts exactly as above.
Also the AUTOBUILD_CONFIGURE_EXTRA = - disable-bintray_cache \ --disable-hdhomerun_static \ --disable-ffmpeg_static \ --enable-bundle \ --enable-ccache ./Autobuild.sh
unfortunately does not work and delivers this issue
@AUTOBUILD_CONFIGURE_EXTRA=--disable-bintray_cache\ --disable-hdhomerun_static\ --disable-ffmpeg_static\ --enable-bundle\ --enable-ccache ./Autobuild.sh
On branch master
Your branch is up-to-date with 'origin/master'.
Untracked files:
(use "git add <file>..." to include in what will be committed)
debian/.debhelper/
nothing added to commit but untracked files present (use "git add" to track)
dpkg-buildpackage: info: source package tvheadend
dpkg-buildpackage: info: source version 4.3-997~g181065ceb
dpkg-buildpackage: info: source distribution unstable
dpkg-buildpackage: info: source changed by Andreas Öman <[email protected]>
dpkg-buildpackage: info: host architecture armhf
dpkg-source --before-build tvheadend
debian/rules clean
dh clean --with-systemd
dh: Compatibility levels before 9 are deprecated (level 5 in use)
dh_testdir O--with-systemd --disable-bintray_cache --disable-hdhomerun_static --disable-ffmpeg_static --enable-bundle --enable-ccache
dh_clean -O--with-systemd
rm -f debian/debhelper-build-stamp
rm -f debian/tvheadend.substvars
rm -f debian/tvheadend.*.debhelper
rm -rf debian/tvheadend/
rm -f debian/tvheadend-dbg.substvars
rm -f debian/tvheadend-dbg.*.debhelper
rm -rf debian/tvheadend-dbg/
cp -an --reflink=auto debian/.debhelper/bucket/files/7e9899c07f0914a2eef77797a090156a0c68caab33a048f69945df0cef1d07db debian/.debhelper/bucket/files/7e9899c07f0914a2eef77797a090156a0c68caab33a048f69945df0cef1d07db.tmp
mv -Tf debian/.debhelper/bucket/files/7e9899c07f0914a2eef77797a090156a0c68caab33a048f69945df0cef1d07db.tmp build.linux/ffmpeg/x264-snapshot-20170515-2245/config.guess
cp -an --reflink=auto debian/.debhelper/bucket/files/9be3de218833c076786b919dc34aab691611f4cd73316e7705f2673e2c41921b debian/.debhelper/bucket/files/9be3de218833c076786b919dc34aab691611f4cd73316e7705f2673e2c41921b.tmp
mv -Tf debian/.debhelper/bucket/files/9be3de218833c076786b919dc34aab691611f4cd73316e7705f2673e2c41921b.tmp build.linux/ffmpeg/yasm-1.3.0/config/config.guess
cp -an --reflink=auto debian/.debhelper/bucket/files/d789338930110770372af2861de6dc67bb83451d5240eb42b53064713935e681 debian/.debhelper/bucket/files/d789338930110770372af2861de6dc67bb83451d5240eb42b53064713935e681.tmp
mv -Tf debian/.debhelper/bucket/files/d789338930110770372af2861de6dc67bb83451d5240eb42b53064713935e681.tmp build.linux/ffmpeg/x264-snapshot-20170515-2245/config.sub
cp -an --reflink=auto debian/.debhelper/bucket/files/3cd488ca40af79af9b139188c440d64d3cf52eee56f4908907b61e12850646cf debian/.debhelper/bucket/files/3cd488ca40af79af9b139188c440d64d3cf52eee56f4908907b61e12850646cf.tmp
mv -Tf debian/.debhelper/bucket/files/3cd488ca40af79af9b139188c440d64d3cf52eee56f4908907b61e12850646cf.tmp build.linux/ffmpeg/yasm-1.3.0/config/config.sub
rm -rf debian/.debhelper/
rm -f debian/*.debhelper.log
dh_clean: Compatibility levels before 9 are deprecated (level 5 in use)
rm -f debian/files
find . \( \( \
\( -path .\*/.git -o -path .\*/.svn -o -path .\*/.bzr -o -path .\*/.hg -o -path .\*/CVS \) -prune -o -type f -a \
\( -name '#*#' -o -name '.*~' -o -name '*~' -o -name DEADJOE \
-o -name '*.orig' -o -name '*.rej' -o -name '*.bak' \
-o -name '.*.orig' -o -name .*.rej -o -name '.SUMS' \
-o -name TAGS -o \( -path '*/.deps/*' -a -name '*.P' \) \
\) -exec rm -f {} + \) -o \
\( -type d -a -name autom4te.cache -prune -exec rm -rf {} + \) \)
debian/rules build
dh build --with-systemd
dh: Compatibility levels before 9 are deprecated (level 5 in use)
dh_testdir -O--with-systemd
dh_update_autotools_config -O--with-systemd
install -d debian/.debhelper/bucket/files
cp -an --reflink=auto build.linux/ffmpeg/x264-snapshot-20170515-2245/config.guess debian/.debhelper/bucket/files/7e9899c07f0914a2eef77797a090156a0c68caab33a048f69945df0cef1d07db.tmp
mv -f debian/.debhelper/bucket/files/7e9899c07f0914a2eef77797a090156a0c68caab33a048f69945df0cef1d07db.tmp debian/.debhelper/bucket/files/7e9899c07f0914a2eef77797a090156a0c68caab33a048f69945df0cef1d07db
cp -f /usr/share/misc/config.guess ./build.linux/ffmpeg/x264-snapshot-20170515-2245/config.guess
cp -an --reflink=auto build.linux/ffmpeg/yasm-1.3.0/config/config.guess debian/.debhelper/bucket/files/9be3de218833c076786b919dc34aab691611f4cd73316e7705f2673e2c41921b.tmp
mv -f debian/.debhelper/bucket/files/9be3de218833c076786b919dc34aab691611f4cd73316e7705f2673e2c41921b.tmp debian/.debhelper/bucket/files/9be3de218833c076786b919dc34aab691611f4cd73316e7705f2673e2c41921b
cp -f /usr/share/misc/config.guess ./build.linux/ffmpeg/yasm-1.3.0/config/config.guess
cp -an --reflink=auto build.linux/ffmpeg/x264-snapshot-20170515-2245/config.sub debian/.debhelper/bucket/files/d789338930110770372af2861de6dc67bb83451d5240eb42b53064713935e681.tmp
mv -f debian/.debhelper/bucket/files/d789338930110770372af2861de6dc67bb83451d5240eb42b53064713935e681.tmp debian/.debhelper/bucket/files/d789338930110770372af2861de6dc67bb83451d5240eb42b53064713935e681
cp -f /usr/share/misc/config.sub ./build.linux/ffmpeg/x264-snapshot-20170515-2245/config.sub
cp -an --reflink=auto build.linux/ffmpeg/yasm-1.3.0/config/config.sub debian/.debhelper/bucket/files/3cd488ca40af79af9b139188c440d64d3cf52eee56f4908907b61e12850646cf.tmp
mv -f debian/.debhelper/bucket/files/3cd488ca40af79af9b139188c440d64d3cf52eee56f4908907b61e12850646cf.tmp debian/.debhelper/bucket/files/3cd488ca40af79af9b139188c440d64d3cf52eee56f4908907b61e12850646cf
cp -f /usr/share/misc/config.sub ./build.linux/ffmpeg/yasm-1.3.0/config/config.sub
debian/rules override_dh_auto_configure
make1: Entering directory '/opt/tvheadend'
dh_auto_configure -
dh_auto_configure: Compatibility levels before 9 are deprecated (level 5 in use)
./configure --build=arm-linux-gnueabihf --prefix=/usr --includedir=\${prefix}/include --mandir=\${prefix}/share/man --infodir=\${prefix}/share/info --sysconfdir=/etc --localstatedir=/var --disable-silent-rules --libexecdir=\${prefix}/lib/tvheadend --disable-maintainer-mode --disable-dependency-tracking --disable-bintray_cache --disable-hdhomerun_static --disable-ffmpeg_static --enable-bundle --enable-ccache
Checking support/features
ERROR: ccache not found, try --disable-ccache
dh_auto_configure: ./configure --build=arm-linux-gnueabihf --prefix=/usr --includedir=${prefix}/include --mandir=${prefix}/share/man --infodir=${prefix}/share/info --sysconfdir=/etc --localstatedir=/var --disable-silent-rules --libexecdir=${prefix}/lib/tvheadend --disable-maintainer-mode --disable-dependency-tracking --disable-bintray_cache --disable-hdhomerun_static --disable-ffmpeg_static --enable-bundle --enable-ccache returned exit code 1
debian/rules:8: recipe for target 'override_dh_auto_configure' failed
make1: * [override_dh_auto_configure] Error 2
make1: Leaving directory '/opt/tvheadend'
debian/rules:5: recipe for target 'build' failed
make: * [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
@
Updated by Mark Clarkstone almost 7 years ago
- Status changed from New to Invalid
Not a bug - please use the forums.