Control: tags -1 + confirmed upstream Hi,
On Wed, Jun 14, 2023 at 09:22:39AM +0000, Matthias Klose wrote: > Package: src:criu > Version: 3.17.1-2 > Severity: normal > Tags: sid trixie > User: debian-...@lists.debian.org > Usertags: ftbfs-gcc-13 > > [This bug is targeted to the upcoming trixie release] > > Please keep this issue open in the bug tracker for the package it > was filed for. If a fix in another package is required, please > file a bug for the other package (or clone), and add a block in this > package. Please keep the issue open until the package can be built in > a follow-up test rebuild. > > The package fails to build in a test rebuild on at least amd64 with > gcc-13/g++-13, but succeeds to build with gcc-12/g++-12. The > severity of this report will be raised before the trixie release. > > The full build log can be found at: > http://qa-logs.debian.net/2023/05/22/logs/criu_3.17.1-2_unstable_gccexp.log > The last lines of the build log are at the end of this report. > > To build with GCC 13, either set CC=gcc-13 CXX=g++-13 explicitly, > or install the gcc, g++, gfortran, ... packages from experimental. > > apt-get -t=experimental install g++ > > Common build failures are new warnings resulting in build failures with > -Werror turned on, or new/dropped symbols in Debian symbols files. > For other C/C++ related build failures see the porting guide at > http://gcc.gnu.org/gcc-13/porting_to.html > > [...] > CC criu/irmap.o > CC criu/kcmp-ids.o > CC criu/kerndat.o > CC criu/libnetlink.o > CC criu/log.o > CC criu/lsm.o > CC criu/mem.o > CC criu/memfd.o > CC criu/mount-v2.o > CC criu/mount.o > CC criu/namespaces.o > CC criu/net.o > CC criu/netfilter.o > CC criu/page-pipe.o > CC criu/page-xfer.o > CC criu/pagemap-cache.o > CC criu/pagemap.o > CC criu/parasite-syscall.o > CC criu/path.o > CC criu/pidfd-store.o > CC criu/pie-util-vdso-elf32.o > CC criu/pie-util-vdso.o > CC criu/pie-util.o > CC criu/pipes.o > In file included from criu/include/cr_options.h:7, > from criu/mount.c:13: > In function ‘__list_add’, > inlined from ‘list_add’ at include/common/list.h:41:2, > inlined from ‘mnt_tree_for_each’ at criu/mount.c:1966:2: > include/common/list.h:35:19: error: storing the address of local variable > ‘postpone’ in ‘((struct list_head *)((char *)start + 8))[24].prev’ > [-Werror=dangling-pointer=] > 35 | new->prev = prev; > | ~~~~~~~~~~^~~~~~ > criu/mount.c: In function ‘mnt_tree_for_each’: > criu/mount.c:1961:19: note: ‘postpone’ declared here > 1961 | LIST_HEAD(postpone); > | ^~~~~~~~ > include/common/list.h:23:42: note: in definition of macro ‘LIST_HEAD’ > 23 | #define LIST_HEAD(name) struct list_head name = LIST_HEAD_INIT(name) > | ^~~~ > criu/mount.c:1958:42: note: ‘start’ declared here > 1958 | int mnt_tree_for_each(struct mount_info *start, int (*fn)(struct > mount_info *)) > | ~~~~~~~~~~~~~~~~~~~^~~~~ > CC criu/plugin.o > CC criu/proc_parse.o > CC criu/protobuf-desc.o > CC criu/protobuf.o > CC criu/pstree.o > CC criu/rbtree.o > CC criu/rst-malloc.o > CC criu/seccomp.o > CC criu/seize.o > CC criu/servicefd.o > CC criu/shmem.o > CC criu/sigframe.o > CC criu/signalfd.o > CC criu/sk-inet.o > CC criu/sk-netlink.o > CC criu/sk-packet.o > CC criu/sk-queue.o > CC criu/sk-tcp.o > CC criu/sk-unix.o > cc1: all warnings being treated as errors > make[3]: *** [/<<PKGBUILDDIR>>/scripts/nmk/scripts/build.mk:119: > criu/mount.o] Error 1 > make[3]: *** Waiting for unfinished jobs.... > make[2]: *** [criu/Makefile:76: criu/built-in.o] Error 2 > make[1]: *** [Makefile:250: criu] Error 2 > make[1]: Leaving directory '/<<PKGBUILDDIR>>' > dh_auto_build: error: make -j8 "INSTALL=install --strip-program=true" > returned exit code 2 > make: *** [debian/rules:9: binary] Error 25 > dpkg-buildpackage: error: debian/rules binary subprocess returned exit status > 2 Thanks confirmed, will have a look at it together with the import of the new upstream version. Regards, Salvatore