Project

General

Profile

Build on Ubuntu 22.04 64 bit x86_64 latest commit 4.3-2058 fails-complains about ip check

Added by Jonas Lang 10 days ago

Problem as above.Commits up to 4.3-2050 are building fine. Log attached for to check for possible source of problem

AUTOBUILD_CONFIGURE_EXTRA=--enable-libffmpeg_static\ --enable-trace\ --enable-debug ./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-2058~g5543ce518
dpkg-buildpackage: info: source distribution unstable
dpkg-buildpackage: info: source changed by Andreas Öman <>
dpkg-buildpackage: info: host architecture amd64
dpkg-source --before-build .
fakeroot debian/rules clean
dh clean --with-systemd
dh: warning: Compatibility levels before 10 are deprecated (level 7 in use)
dh_clean O--with-systemd
rm -f debian/debhelper-build-stamp
cp -an --reflink=auto debian/.debhelper/bucket/files/74864f1132e27449adb18f2ace0a1d738efc412217ea538e9b4d3c61dda63e83 debian/.debhelper/bucket/files/74864f1132e27449adb18f2ace0a1d738efc412217ea538e9b4d3c61dda63e83.tmp
mv debian/.debhelper/bucket/files/74864f1132e27449adb18f2ace0a1d738efc412217ea538e9b4d3c61dda63e83.tmp build.linux/ffmpeg/opus-1.3.1/config.guess
cp -an --reflink=auto debian/.debhelper/bucket/files/de54d1383dfb713c4f8276b217d1daa63ffb9356089da04ce9a456e8e381a81a debian/.debhelper/bucket/files/de54d1383dfb713c4f8276b217d1daa63ffb9356089da04ce9a456e8e381a81a.tmp
mv debian/.debhelper/bucket/files/de54d1383dfb713c4f8276b217d1daa63ffb9356089da04ce9a456e8e381a81a.tmp build.linux/ffmpeg/x264-d2907f67227cbf38ac957efed84c532b12ce19cc/config.guess
cp -an --reflink=auto debian/.debhelper/bucket/files/c02eb9cc55c86cfd1e9a794e548d25db5c9539e7b2154beb649bc6e2cbffc74c debian/.debhelper/bucket/files/c02eb9cc55c86cfd1e9a794e548d25db5c9539e7b2154beb649bc6e2cbffc74c.tmp
mv debian/.debhelper/bucket/files/c02eb9cc55c86cfd1e9a794e548d25db5c9539e7b2154beb649bc6e2cbffc74c.tmp build.linux/ffmpeg/nasm-2.15.05/autoconf/helpers/config.guess
cp -an --reflink=auto debian/.debhelper/bucket/files/c02eb9cc55c86cfd1e9a794e548d25db5c9539e7b2154beb649bc6e2cbffc74c debian/.debhelper/bucket/files/c02eb9cc55c86cfd1e9a794e548d25db5c9539e7b2154beb649bc6e2cbffc74c.tmp
mv debian/.debhelper/bucket/files/c02eb9cc55c86cfd1e9a794e548d25db5c9539e7b2154beb649bc6e2cbffc74c.tmp build.linux/ffmpeg/libogg-1.3.4/config.guess
cp -an --reflink=auto debian/.debhelper/bucket/files/19c12bb2ca19e68724c2854ed0512469518df19b0710cc2011a5ca540810979c debian/.debhelper/bucket/files/19c12bb2ca19e68724c2854ed0512469518df19b0710cc2011a5ca540810979c.tmp
mv debian/.debhelper/bucket/files/19c12bb2ca19e68724c2854ed0512469518df19b0710cc2011a5ca540810979c.tmp build.linux/ffmpeg/libvorbis-1.3.7/config.guess
cp -an --reflink=auto debian/.debhelper/bucket/files/afe500c4c55fc7a031e61dcf5151f8f85a64968286092532837e953dce807b95 debian/.debhelper/bucket/files/afe500c4c55fc7a031e61dcf5151f8f85a64968286092532837e953dce807b95.tmp
mv debian/.debhelper/bucket/files/afe500c4c55fc7a031e61dcf5151f8f85a64968286092532837e953dce807b95.tmp build.linux/ffmpeg/libtheora-1.2.0alpha1/config.guess
cp -an --reflink=auto debian/.debhelper/bucket/files/b75c35e7cb1df3019052f36d62b3248a44176090689519855a086564ef7a12c3 debian/.debhelper/bucket/files/b75c35e7cb1df3019052f36d62b3248a44176090689519855a086564ef7a12c3.tmp
mv debian/.debhelper/bucket/files/b75c35e7cb1df3019052f36d62b3248a44176090689519855a086564ef7a12c3.tmp build.linux/ffmpeg/opus-1.3.1/config.sub
cp -an --reflink=auto debian/.debhelper/bucket/files/194754285bb2119e0947e4ff1f6a39de0a546d0929966db0ea766bac1f5c0da7 debian/.debhelper/bucket/files/194754285bb2119e0947e4ff1f6a39de0a546d0929966db0ea766bac1f5c0da7.tmp
mv debian/.debhelper/bucket/files/194754285bb2119e0947e4ff1f6a39de0a546d0929966db0ea766bac1f5c0da7.tmp build.linux/ffmpeg/x264-d2907f67227cbf38ac957efed84c532b12ce19cc/config.sub
cp -an --reflink=auto debian/.debhelper/bucket/files/8dd30cd3972eec02262c317244a9e38ccdf5a0d7fc9eb598edd7e861824cdf8e debian/.debhelper/bucket/files/8dd30cd3972eec02262c317244a9e38ccdf5a0d7fc9eb598edd7e861824cdf8e.tmp
mv debian/.debhelper/bucket/files/8dd30cd3972eec02262c317244a9e38ccdf5a0d7fc9eb598edd7e861824cdf8e.tmp build.linux/ffmpeg/nasm-2.15.05/autoconf/helpers/config.sub
cp -an --reflink=auto debian/.debhelper/bucket/files/8dd30cd3972eec02262c317244a9e38ccdf5a0d7fc9eb598edd7e861824cdf8e debian/.debhelper/bucket/files/8dd30cd3972eec02262c317244a9e38ccdf5a0d7fc9eb598edd7e861824cdf8e.tmp
mv debian/.debhelper/bucket/files/8dd30cd3972eec02262c317244a9e38ccdf5a0d7fc9eb598edd7e861824cdf8e.tmp build.linux/ffmpeg/libogg-1.3.4/config.sub
cp -an --reflink=auto debian/.debhelper/bucket/files/f7197ddfb309e86d5fbd7d3b440a5ababfbd4aac1e1f53b492e28e54db58b222 debian/.debhelper/bucket/files/f7197ddfb309e86d5fbd7d3b440a5ababfbd4aac1e1f53b492e28e54db58b222.tmp
mv debian/.debhelper/bucket/files/f7197ddfb309e86d5fbd7d3b440a5ababfbd4aac1e1f53b492e28e54db58b222.tmp build.linux/ffmpeg/libvorbis-1.3.7/config.sub
cp -an --reflink=auto debian/.debhelper/bucket/files/dafb958bda871fbc8856e9081cb14cdbd76b622367121fcaf0dea79a84332141 debian/.debhelper/bucket/files/dafb958bda871fbc8856e9081cb14cdbd76b622367121fcaf0dea79a84332141.tmp
mv debian/.debhelper/bucket/files/dafb958bda871fbc8856e9081cb14cdbd76b622367121fcaf0dea79a84332141.tmp build.linux/ffmpeg/libtheora-1.2.0alpha1/config.sub
rm -f debian/.debhelper/bucket/index
rm -rf debian/.debhelper/
rm -f debian/tvheadend-dbg.debhelper.log debian/tvheadend.debhelper.log
dh_clean: warning: Compatibility levels before 10 are deprecated (level 7 in use)
rm -f -
debian/tvheadend.substvars debian/tvheadend-dbg.substvars debian/files
rm fr - debian/tvheadend/ debian/tmp/ debian/tvheadend-dbg/
find . \( \( \
\( path .\*/.git -o -path .\*/.svn -o -path .\*/.bzr -o -path .\*/.hg -o -path .\*/CVS -o -path .\*/.pc -o -path .\*/_darcs \) -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: warning: Compatibility levels before 10 are deprecated (level 7 in use)
dh_update_autotools_config -O--with-systemd
install -d debian/.debhelper/bucket/files
cp -an --reflink=auto build.linux/ffmpeg/opus-1.3.1/config.guess debian/.debhelper/bucket/files/74864f1132e27449adb18f2ace0a1d738efc412217ea538e9b4d3c61dda63e83.tmp
mv debian/.debhelper/bucket/files/74864f1132e27449adb18f2ace0a1d738efc412217ea538e9b4d3c61dda63e83.tmp debian/.debhelper/bucket/files/74864f1132e27449adb18f2ace0a1d738efc412217ea538e9b4d3c61dda63e83
cp -f /usr/share/misc/config.guess ./build.linux/ffmpeg/opus-1.3.1/config.guess
cp -an --reflink=auto build.linux/ffmpeg/x264-d2907f67227cbf38ac957efed84c532b12ce19cc/config.guess debian/.debhelper/bucket/files/de54d1383dfb713c4f8276b217d1daa63ffb9356089da04ce9a456e8e381a81a.tmp
mv debian/.debhelper/bucket/files/de54d1383dfb713c4f8276b217d1daa63ffb9356089da04ce9a456e8e381a81a.tmp debian/.debhelper/bucket/files/de54d1383dfb713c4f8276b217d1daa63ffb9356089da04ce9a456e8e381a81a
cp -f /usr/share/misc/config.guess ./build.linux/ffmpeg/x264-d2907f67227cbf38ac957efed84c532b12ce19cc/config.guess
cp -an --reflink=auto build.linux/ffmpeg/nasm-2.15.05/autoconf/helpers/config.guess debian/.debhelper/bucket/files/c02eb9cc55c86cfd1e9a794e548d25db5c9539e7b2154beb649bc6e2cbffc74c.tmp
mv debian/.debhelper/bucket/files/c02eb9cc55c86cfd1e9a794e548d25db5c9539e7b2154beb649bc6e2cbffc74c.tmp debian/.debhelper/bucket/files/c02eb9cc55c86cfd1e9a794e548d25db5c9539e7b2154beb649bc6e2cbffc74c
cp -f /usr/share/misc/config.guess ./build.linux/ffmpeg/nasm-2.15.05/autoconf/helpers/config.guess
cp -an --reflink=auto build.linux/ffmpeg/libogg-1.3.4/config.guess debian/.debhelper/bucket/files/c02eb9cc55c86cfd1e9a794e548d25db5c9539e7b2154beb649bc6e2cbffc74c.tmp
mv debian/.debhelper/bucket/files/c02eb9cc55c86cfd1e9a794e548d25db5c9539e7b2154beb649bc6e2cbffc74c.tmp debian/.debhelper/bucket/files/c02eb9cc55c86cfd1e9a794e548d25db5c9539e7b2154beb649bc6e2cbffc74c
cp -f /usr/share/misc/config.guess ./build.linux/ffmpeg/libogg-1.3.4/config.guess
cp -an --reflink=auto build.linux/ffmpeg/libvorbis-1.3.7/config.guess debian/.debhelper/bucket/files/19c12bb2ca19e68724c2854ed0512469518df19b0710cc2011a5ca540810979c.tmp
mv debian/.debhelper/bucket/files/19c12bb2ca19e68724c2854ed0512469518df19b0710cc2011a5ca540810979c.tmp debian/.debhelper/bucket/files/19c12bb2ca19e68724c2854ed0512469518df19b0710cc2011a5ca540810979c
cp -f /usr/share/misc/config.guess ./build.linux/ffmpeg/libvorbis-1.3.7/config.guess
cp -an --reflink=auto build.linux/ffmpeg/libtheora-1.2.0alpha1/config.guess debian/.debhelper/bucket/files/afe500c4c55fc7a031e61dcf5151f8f85a64968286092532837e953dce807b95.tmp
mv debian/.debhelper/bucket/files/afe500c4c55fc7a031e61dcf5151f8f85a64968286092532837e953dce807b95.tmp debian/.debhelper/bucket/files/afe500c4c55fc7a031e61dcf5151f8f85a64968286092532837e953dce807b95
cp -f /usr/share/misc/config.guess ./build.linux/ffmpeg/libtheora-1.2.0alpha1/config.guess
cp -an --reflink=auto build.linux/ffmpeg/opus-1.3.1/config.sub debian/.debhelper/bucket/files/b75c35e7cb1df3019052f36d62b3248a44176090689519855a086564ef7a12c3.tmp
mv debian/.debhelper/bucket/files/b75c35e7cb1df3019052f36d62b3248a44176090689519855a086564ef7a12c3.tmp debian/.debhelper/bucket/files/b75c35e7cb1df3019052f36d62b3248a44176090689519855a086564ef7a12c3
cp -f /usr/share/misc/config.sub ./build.linux/ffmpeg/opus-1.3.1/config.sub
cp -an --reflink=auto build.linux/ffmpeg/x264-d2907f67227cbf38ac957efed84c532b12ce19cc/config.sub debian/.debhelper/bucket/files/194754285bb2119e0947e4ff1f6a39de0a546d0929966db0ea766bac1f5c0da7.tmp
mv debian/.debhelper/bucket/files/194754285bb2119e0947e4ff1f6a39de0a546d0929966db0ea766bac1f5c0da7.tmp debian/.debhelper/bucket/files/194754285bb2119e0947e4ff1f6a39de0a546d0929966db0ea766bac1f5c0da7
cp -f /usr/share/misc/config.sub ./build.linux/ffmpeg/x264-d2907f67227cbf38ac957efed84c532b12ce19cc/config.sub
cp -an --reflink=auto build.linux/ffmpeg/nasm-2.15.05/autoconf/helpers/config.sub debian/.debhelper/bucket/files/8dd30cd3972eec02262c317244a9e38ccdf5a0d7fc9eb598edd7e861824cdf8e.tmp
mv debian/.debhelper/bucket/files/8dd30cd3972eec02262c317244a9e38ccdf5a0d7fc9eb598edd7e861824cdf8e.tmp debian/.debhelper/bucket/files/8dd30cd3972eec02262c317244a9e38ccdf5a0d7fc9eb598edd7e861824cdf8e
cp -f /usr/share/misc/config.sub ./build.linux/ffmpeg/nasm-2.15.05/autoconf/helpers/config.sub
cp -an --reflink=auto build.linux/ffmpeg/libogg-1.3.4/config.sub debian/.debhelper/bucket/files/8dd30cd3972eec02262c317244a9e38ccdf5a0d7fc9eb598edd7e861824cdf8e.tmp
mv debian/.debhelper/bucket/files/8dd30cd3972eec02262c317244a9e38ccdf5a0d7fc9eb598edd7e861824cdf8e.tmp debian/.debhelper/bucket/files/8dd30cd3972eec02262c317244a9e38ccdf5a0d7fc9eb598edd7e861824cdf8e
cp -f /usr/share/misc/config.sub ./build.linux/ffmpeg/libogg-1.3.4/config.sub
cp -an --reflink=auto build.linux/ffmpeg/libvorbis-1.3.7/config.sub debian/.debhelper/bucket/files/f7197ddfb309e86d5fbd7d3b440a5ababfbd4aac1e1f53b492e28e54db58b222.tmp
mv debian/.debhelper/bucket/files/f7197ddfb309e86d5fbd7d3b440a5ababfbd4aac1e1f53b492e28e54db58b222.tmp debian/.debhelper/bucket/files/f7197ddfb309e86d5fbd7d3b440a5ababfbd4aac1e1f53b492e28e54db58b222
cp -f /usr/share/misc/config.sub ./build.linux/ffmpeg/libvorbis-1.3.7/config.sub
cp -an --reflink=auto build.linux/ffmpeg/libtheora-1.2.0alpha1/config.sub debian/.debhelper/bucket/files/dafb958bda871fbc8856e9081cb14cdbd76b622367121fcaf0dea79a84332141.tmp
mv debian/.debhelper/bucket/files/dafb958bda871fbc8856e9081cb14cdbd76b622367121fcaf0dea79a84332141.tmp debian/.debhelper/bucket/files/dafb958bda871fbc8856e9081cb14cdbd76b622367121fcaf0dea79a84332141
cp -f /usr/share/misc/config.sub ./build.linux/ffmpeg/libtheora-1.2.0alpha1/config.sub
debian/rules override_dh_auto_configure
make1: Entering directory '/home/peter/build/tvheadend/master'
dh_auto_configure -
--enable-libffmpeg_static --enable-trace --enable-debug
dh_auto_configure: warning: Compatibility levels before 10 are deprecated (level 7 in use)
./configure --build=x86_64-linux-gnu --prefix=/usr --includedir=\${prefix}/include --mandir=\${prefix}/share/man --infodir=\${prefix}/share/info --sysconfdir=/etc --localstatedir=/var --disable-option-checking --disable-silent-rules --libexecdir=\${prefix}/lib/tvheadend --disable-maintainer-mode --disable-dependency-tracking --enable-libffmpeg_static --enable-trace --enable-debug
Checking support/features
checking for cc execinfo.h ... ok
checking for cc -mmmx ... ok
checking for cc -msse2 ... ok
checking for cc -Wunused-result ... ok
checking for cc -fstack-protector ... ok
checking for cc -fstack-protector-strong ... ok
checking for cc -fstack-check ... ok
checking for cc -fPIE ... ok
checking for cc strlcat ... fail
checking for cc strlcpy ... fail
checking for cc fdatasync ... 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 ... fail
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 3.0.2)
checking for cc linux/dvb/version.h ... ok
checking for pkg zlib ... ok (detected 1.2.11)
checking for pkg libpcre2-8 ... ok (detected 10.39)
checking for pkg liburiparser ... ok (detected 0.9.6)
checking for pkg avahi-client ... ok (detected 0.8)
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
checking for cc dvbcsa/dvbcsa.h ... ok
checking for cc -ldvbcsa ... ok
fetching dvb-scan files ... ok
checking for cc epoll_create1 ... ok
checking for pkg dbus-1 ... ok (detected 1.12.20)

Compiler:
Using C compiler: cc
Using LD flags: -ldvbcsa
Build for arch: x86_64

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
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 no
pcre2 yes
uriparser yes
ccache no
tvhcsa yes
bundle no
pngquant no
kqueue no
dbus_1 yes
android no
gtimer_check no
slow_memoryinfo no
libsystemd_daemon no
pcloud_cache yes
ddci yes
cclang_threadsan no
gperftools no
execinfo yes
mmx yes
sse2 yes
W_unused_result yes
f_stack_protector yes
f_stack_protector_strong yes
f_stack_check yes
f_PIE yes
fdatasync yes
getloadavg yes
atomic32 yes
atomic64 yes
atomic_time_t yes
atomic_ptr yes
bitops64 yes
lockowner yes
qsort_r 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
dvbcsa yes
epoll_create1 yes
mpegts yes
mpegts_dvb yes

Packages:
openssl 3.0.2
zlib 1.2.11
libpcre2-8 10.39
liburiparser 0.9.6
avahi-client 0.8
dbus-1 1.12.20

Installation paths:
Prefix: /usr
Binaries: ${prefix}/bin
Libraries: ${prefix}/lib
Data files: ${prefix}/share
Man pages: /usr/share/man

Final Binary:
/home/peter/build/tvheadend/master/build.linux/tvheadend

Tvheadend Data Directory:
/usr/share/tvheadend

make1: Leaving directory '/home/peter/build/tvheadend/master'
debian/rules override_dh_auto_build
make1: Entering directory '/home/peter/build/tvheadend/master'
make
make2: Entering directory '/home/peter/build/tvheadend/master'
make -f Makefile.webui LANGUAGES="ach ady ar bg cs da de en_US en_GB es et fa fi fr he hr hu it ko lv lt nl no pl pt ro ru sl sk sq sv tr uk zh zh-Hans" all
make3: Entering directory '/home/peter/build/tvheadend/master'
make -f Makefile.webui WEBUI=std compile-std
make4: Entering directory '/home/peter/build/tvheadend/master'
WEBUI std finished
make4: Leaving directory '/home/peter/build/tvheadend/master'
make -f Makefile.webui WEBUI=debug compile-debug
make4: Entering directory '/home/peter/build/tvheadend/master'
WEBUI debug finished
make4: Leaving directory '/home/peter/build/tvheadend/master'
make3: Leaving directory '/home/peter/build/tvheadend/master'
CC src/uuid.o
CC src/main.o
CC src/tvhlog.o
CC src/tprofile.o
CC src/idnode.o
CC src/prop.o
CC src/proplib.o
CC src/utils.o
CC src/wrappers.o
CC src/tvh_thread.o
CC src/tvhvfs.o
CC src/access.o
CC src/tcp.o
In file included from src/tcp.c:32:
In function ‘ip_check_is_any_v6’,
inlined from ‘ip_check_is_any’ at src/tcp.h:109:46,
inlined from ‘ip_check_is_local_address’ at src/tcp.c:89:17:
src/tcp.h:105:12: error: ‘__builtin_memcmp_eq’ specified bound 16 exceeds source size 8 [-Werror=stringop-overread]
105 | { return memcmp(IP_AS_V6(address, addr).s6_addr, in6addr_any.s6_addr, sizeof(in6addr_any.s6_addr)) == 0; } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/tcp.h: In function ‘ip_check_is_local_address’:
src/tcp.h:107:19: note: source object declared here
107 | static inline int ip_check_is_any(const struct sockaddr_storage *address) | ^~~~~~~~~~~~~
In file included from src/tcp.c:32:
In function ‘ip_check_equal_v6’,
inlined from ‘ip_check_equal’ at src/tcp.h:77:42,
inlined from ‘ip_check_is_local_address’ at src/tcp.c:96:26:
src/tcp.h:71:14: error: ‘__builtin_memcmp_eq’ specified bound 16 exceeds source size 8 [-Werror=stringop-overread]
71 | { return memcmp(IP_AS_V6(a, addr).s6_addr, IP_AS_V6(b, addr).s6_addr, sizeof(IP_AS_V6(a, addr).s6_addr)) == 0; } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/tcp.h: In function ‘ip_check_is_local_address’:
src/tcp.h:73:19: note: source object declared here
73 | static inline int ip_check_equal | ^~~~~~~~~~~~
cc1: all warnings being treated as errors
make2: * [Makefile:718: /home/peter/build/tvheadend/master/build.linux/src/tcp.o] Error 1
make2: Leaving directory '/home/peter/build/tvheadend/master'
make1:
[debian/rules:15: override_dh_auto_build] Error 2
make1: Leaving directory '/home/peter/build/tvheadend/master'
make: *
* [debian/rules:6: build] Error 2
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2
[email protected]:~/build/tvheadend/master$


Replies (3)

RE: Build on Ubuntu 22.04 64 bit x86_64 latest commit 4.3-2058 fails-complains about ip check - Added by Jonas Lang 10 days ago

I thought it was just me. It appears that change in how IPV6 is handled is now preventing a successful build in Ubuntu 22.04 LTS x86_64 certainly from where I’m sitting. I’m wondering how many other flavours of Linux are affected by this change. I wonder if these commits are being thoroughly tested. From what I’m reading on the GitHub that passing —nowerror during build will allow the build to complete but will suppress other warnings-as-errors. Sounds like a temporary workaround. Not ideal I imagine.

RE: Build on Ubuntu 22.04 64 bit x86_64 latest commit 4.3-2058 fails-complains about ip check - Added by Jonas Lang 9 days ago

Just to close this issue thanks to Ian on the TVH Github the following allowed the build process to complete.

AUTOBUILD_CONFIGURE_EXTRA=--enable-libffmpeg_static\ --enable-trace\ --enable-debug\ --cflags="-Wno-stringop-overread" ./Autobuild.sh

Apparently there's a commit imminent that will resolve this issue.

    (1-3/3)