Project

General

Profile

Cannot compile 4.2 or 4.0 on Raspbian 10 Buster

Added by Dexter Filmore over 5 years ago

4.2.7 from git tar.gz:

/home/pi/software/tvheadend-4.2.7/build.linux/ffmpeg/x265_2.8/source/common/cpu.h:33:33: note: in expansion of macro 'X265_NS'
#define PFX PFX2
^~~~~
/home/pi/software/tvheadend-4.2.7/build.linux/ffmpeg/x265_2.8/source/common/arm/asm-primitives.cpp:749:40: note: in expansion of macro 'PFX'
p.pu[LUMA_64x64].pixelavg_pp = PFX;
^~~
make6: * [common/CMakeFiles/common.dir/build.make:63: common/CMakeFiles/common.dir/arm/asm-primitives.cpp.o] Error 1
make6: Leaving directory '/home/pi/software/tvheadend-4.2.7/build.linux/ffmpeg/x265_2.8/build/linux'
make5:
[CMakeFiles/Makefile2:285: common/CMakeFiles/common.dir/all] Error 2
make5: Leaving directory '/home/pi/software/tvheadend-4.2.7/build.linux/ffmpeg/x265_2.8/build/linux'
make4:
[Makefile:130: all] Error 2
make4: Leaving directory '/home/pi/software/tvheadend-4.2.7/build.linux/ffmpeg/x265_2.8/build/linux'
make3:
[Makefile.ffmpeg:269: /home/pi/software/tvheadend-4.2.7/build.linux/ffmpeg/x265_2.8/.tvh_build] Error 2
make3: Leaving directory '/home/pi/software/tvheadend-4.2.7'
make2:
[Makefile:782: /home/pi/software/tvheadend-4.2.7/build.linux/ffmpeg/build/ffmpeg/lib/libavcodec.a] Error 2
make2: Leaving directory '/home/pi/software/tvheadend-4.2.7'
make1:
[debian/rules:14: override_dh_auto_build] Error 2
make1: Leaving directory '/home/pi/software/tvheadend-4.2.7'
make: *
* [debian/rules:5: build] Error 2
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2

=========================================================================================================

4.0.8

make1: Leaving directory '/home/pi/software/tvheadend-4.0.8'
debian/rules override_dh_auto_build
make1: Entering directory '/home/pi/software/tvheadend-4.0.8'
make
make2: Entering directory '/home/pi/software/tvheadend-4.0.8'
make -f Makefile.webui all
make3: Entering directory '/home/pi/software/tvheadend-4.0.8'
make -f Makefile.webui WEBUI=std compile-std
make4: Entering directory '/home/pi/software/tvheadend-4.0.8'
WEBUI std finished
make4: Leaving directory '/home/pi/software/tvheadend-4.0.8'
make -f Makefile.webui WEBUI=debug compile-debug
make4: Entering directory '/home/pi/software/tvheadend-4.0.8'
WEBUI debug finished
make4: Leaving directory '/home/pi/software/tvheadend-4.0.8'
make3: Leaving directory '/home/pi/software/tvheadend-4.0.8'
CC src/uuid.o
CC src/main.o
CC src/tvhlog.o
src/tvhlog.c: In function 'tvhlog_thread':
src/tvhlog.c:246:9: error: 'strncpy' specified bound 512 equals destination size [-Werror=stringop-truncation]
strncpy(buf, tvhlog_path, sizeof(buf));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
make2: * [Makefile:442: /home/pi/software/tvheadend-4.0.8/build.linux/src/tvhlog.o] Error 1
make2: Leaving directory '/home/pi/software/tvheadend-4.0.8'
make1:
[debian/rules:11: override_dh_auto_build] Error 2
make1: Leaving directory '/home/pi/software/tvheadend-4.0.8'
make: *
* [debian/rules:5: build] Error 2
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2

Help appreciated.


    (1-1/1)