Display MoreMaybe...
try adding after line 168 (under)...
git checkout ${TVHEADEND_COMMIT} && \
git revert -n 7b95ba4cf9113ae8808b3e4a9425010b607dbaca && \
echo "**** patch tvheadend ****" && \
Thanks now it works perfect =)
Display MoreMaybe...
try adding after line 168 (under)...
git checkout ${TVHEADEND_COMMIT} && \
git revert -n 7b95ba4cf9113ae8808b3e4a9425010b607dbaca && \
echo "**** patch tvheadend ****" && \
Thanks now it works perfect =)
Display MoreHey
can anybody help i get this message wenn i build the docker image with patched files =/
I used chris guide in this post Guide
CodeDisplay MoreCC src/htsmsg_binary.o src/htsmsg_binary.c: In function 'htsmsg_binary_des0': src/htsmsg_binary.c:80:39: error: writing 1 byte into a region of size 0 [-Werror=stringop-overflow=] 80 | ((char *)f->_hmf_name)[namelen] = 0; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from src/htsmsg_binary.h:22, from src/htsmsg_binary.c:26: src/htsmsg.h:84:14: note: at offset 0 to object '_hmf_name' with size 0 declared here 84 | const char _hmf_name[0]; | ^~~~~~~~~ src/htsmsg_binary.c:98:7: error: writing 16 bytes into a region of size 0 [-Werror=stringop-overflow=] 98 | memcpy((char *)f->hmf_uuid, buf, UUID_BIN_SIZE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/htsmsg_binary.h:22, from src/htsmsg_binary.c:26: src/htsmsg.h:84:14: note: at offset 0 to object '_hmf_name' with size 0 declared here 84 | const char _hmf_name[0]; | ^~~~~~~~~ cc1: all warnings being treated as errors make: *** [Makefile:715: /tmp/tvheadend/build.linux/src/htsmsg_binary.o] Error 1 make: *** Waiting for unfinished jobs.... The command '/bin/sh -c echo "**** build tvheadend ****" && if [ -z ${TVHEADEND_COMMIT+x} ]; then TVHEADEND_COMMIT=$(curl -sX GET https://api.github.com/repos/tvheadend/tvheadend/commits/master | jq -r '. | .sha'); fi && mkdir -p /tmp/tvheadend && git clone https://github.com/tvheadend/tvheadend.git /tmp/tvheadend && cd /tmp/tvheadend && git checkout ${TVHEADEND_COMMIT} && echo "**** patch tvheadend ****" && git apply /tmp/patches/tvheadend/tvheadend43.patch && echo "**** configure tvheadend ****" && ./configure `#Encoding` --disable-ffmpeg_static --disable-libfdkaac_static --disable-libtheora_static --disable-libopus_static --disable-libvorbis_static --disable-libvpx_static --disable-libx264_static --disable-libx265_static --disable-libfdkaac --enable-libopus --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265 `#Options` --disable-avahi --disable-dbus_1 --disable-bintray_cache --disable-execinfo --disable-hdhomerun_static --enable-hdhomerun_client --enable-libav --enable-pngquant --enable-trace --enable-vaapi --infodir=/usr/share/info --localstatedir=/var --mandir=/usr/share/man --prefix=/usr --python=python3 --sysconfdir=/config && echo "**** compile tvheadend ****" && make -j 2 && make DESTDIR=/tmp/tvheadend-build install' returned a non-zero code: 2
Remove this commit
Thanks for trying to help me, but it isn't working.... when i try your command i get this:
tvh@TVServer:~/docker-tvheadend$ git revert 7b95ba4cf9113ae8808b3e4a9425010b607dbaca
fatal: bad object 7b95ba4cf9113ae8808b3e4a9425010b607dbaca
Do you have any other idea ?
Hey
can anybody help i get this message wenn i build the docker image with patched files =/
I used chris guide in this post Guide
CC src/htsmsg_binary.o
src/htsmsg_binary.c: In function 'htsmsg_binary_des0':
src/htsmsg_binary.c:80:39: error: writing 1 byte into a region of size 0 [-Werror=stringop-overflow=]
80 | ((char *)f->_hmf_name)[namelen] = 0;
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~
In file included from src/htsmsg_binary.h:22,
from src/htsmsg_binary.c:26:
src/htsmsg.h:84:14: note: at offset 0 to object '_hmf_name' with size 0 declared here
84 | const char _hmf_name[0];
| ^~~~~~~~~
src/htsmsg_binary.c:98:7: error: writing 16 bytes into a region of size 0 [-Werror=stringop-overflow=]
98 | memcpy((char *)f->hmf_uuid, buf, UUID_BIN_SIZE);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from src/htsmsg_binary.h:22,
from src/htsmsg_binary.c:26:
src/htsmsg.h:84:14: note: at offset 0 to object '_hmf_name' with size 0 declared here
84 | const char _hmf_name[0];
| ^~~~~~~~~
cc1: all warnings being treated as errors
make: *** [Makefile:715: /tmp/tvheadend/build.linux/src/htsmsg_binary.o] Error 1
make: *** Waiting for unfinished jobs....
The command '/bin/sh -c echo "**** build tvheadend ****" && if [ -z ${TVHEADEND_COMMIT+x} ]; then TVHEADEND_COMMIT=$(curl -sX GET https://api.github.com/repos/tvheadend/tvheadend/commits/master | jq -r '. | .sha'); fi && mkdir -p /tmp/tvheadend && git clone https://github.com/tvheadend/tvheadend.git /tmp/tvheadend && cd /tmp/tvheadend && git checkout ${TVHEADEND_COMMIT} && echo "**** patch tvheadend ****" && git apply /tmp/patches/tvheadend/tvheadend43.patch && echo "**** configure tvheadend ****" && ./configure `#Encoding` --disable-ffmpeg_static --disable-libfdkaac_static --disable-libtheora_static --disable-libopus_static --disable-libvorbis_static --disable-libvpx_static --disable-libx264_static --disable-libx265_static --disable-libfdkaac --enable-libopus --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265 `#Options` --disable-avahi --disable-dbus_1 --disable-bintray_cache --disable-execinfo --disable-hdhomerun_static --enable-hdhomerun_client --enable-libav --enable-pngquant --enable-trace --enable-vaapi --infodir=/usr/share/info --localstatedir=/var --mandir=/usr/share/man --prefix=/usr --python=python3 --sysconfdir=/config && echo "**** compile tvheadend ****" && make -j 2 && make DESTDIR=/tmp/tvheadend-build install' returned a non-zero code: 2
Display More