#1012907 criu: ftbfs with GCC-12

Package:
src:criu
Source:
criu
Submitter:
Matthias Klose
Date:
2022-06-16 19:27:08 UTC
Severity:
normal
Tags:
#1012907#5
Date:
2022-06-16 12:08:03 UTC
From:
To:
[This bug is targeted to the upcoming bookworm 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-12/g++-12, but succeeds to build with gcc-11/g++-11. The
severity of this report will be raised before the bookworm release.

The full build log can be found at:
http://qa-logs.debian.net/2022/06/09/gcc12/criu_3.16.1-2_unstable_gcc12.log
The last lines of the build log are at the end of this report.

To build with GCC 11, either set CC=gcc-11 CXX=g++-11 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-11/porting_to.html

GCC 11 defaults to the GNU++17 standard.  If your package installs
header files in /usr/include, please don't work around C++17 issues
by choosing a lower C++ standard for the package build, but fix these
issues to build with the C++17 standard.

[...]
make[1]: *** [Makefile.compel:56: compel/plugins/std.lib.a] Error 2
make[1]: *** Waiting for unfinished jobs....
  DEP      images/pstree.pb-c.d
  DEP      images/fs.pb-c.d
  PBCC     images/signalfd.pb-c.c
  PBCC     images/fh.pb-c.c
  DEP      images/eventpoll.pb-c.d
  DEP      images/eventfd.pb-c.d
  DEP      images/remap-file-path.pb-c.d
  DEP      images/fifo.pb-c.d
  PBCC     images/ghost-file.pb-c.c
  PBCC     images/regfile.pb-c.c
  DEP      images/ns.pb-c.d
  PBCC     images/core-aarch64.pb-c.c
  PBCC     images/core-arm.pb-c.c
  PBCC     images/core-mips.pb-c.c
  PBCC     images/core-ppc64.pb-c.c
  PBCC     images/core-s390.pb-c.c
  PBCC     images/core-x86.pb-c.c
  DEP      images/cpuinfo.pb-c.d
  DEP      images/stats.pb-c.d
  PBCC     images/bpfmap-file.pb-c.c
  DEP      images/opts.pb-c.d
  PBCC     images/memfd.pb-c.c
  PBCC     images/sit.pb-c.c
  DEP      images/pagemap.pb-c.d
  DEP      images/tty.pb-c.d
  PBCC     images/netdev.pb-c.c
  DEP      images/tun.pb-c.d
  DEP      images/vma.pb-c.d
  DEP      images/ipc-sem.pb-c.d
  DEP      images/ipc-shm.pb-c.d
  DEP      images/ipc-msg.pb-c.d
  DEP      images/packet-sock.pb-c.d
  DEP      images/sk-netlink.pb-c.d
  DEP      images/sk-inet.pb-c.d
  DEP      images/sk-unix.pb-c.d
  DEP      images/mm.pb-c.d
  DEP      images/timerfd.pb-c.d
  DEP      images/sa.pb-c.d
  DEP      images/mnt.pb-c.d
  DEP      images/tcp-stream.pb-c.d
  DEP      images/pipe.pb-c.d
  DEP      images/signalfd.pb-c.d
  PBCC     images/fsnotify.pb-c.c
  DEP      images/fh.pb-c.d
  DEP      images/ghost-file.pb-c.d
  DEP      images/regfile.pb-c.d
  PBCC     images/fdinfo.pb-c.c
  PBCC     images/core.pb-c.c
  DEP      images/core-aarch64.pb-c.d
  DEP      images/core-arm.pb-c.d
  DEP      images/core-mips.pb-c.d
  DEP      images/core-ppc64.pb-c.d
  DEP      images/core-s390.pb-c.d
  DEP      images/core-x86.pb-c.d
  DEP      images/bpfmap-file.pb-c.d
  DEP      images/memfd.pb-c.d
  DEP      images/sit.pb-c.d
  DEP      images/fsnotify.pb-c.d
  PBCC     images/inventory.pb-c.c
  DEP      images/core.pb-c.d
  DEP      images/netdev.pb-c.d
  DEP      images/fdinfo.pb-c.d
  DEP      images/inventory.pb-c.d
make[2]: Nothing to be done for 'all'.
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

#1012907#14
Date:
2022-06-16 19:25:29 UTC
From:
To:
close 1012907 3.17-1
thanks

Fixed upstream in 3.17 (landed in experimental, not yet unstable)