Control: tags -1 + confirmed upstream
Control: forwarded -1 https://github.com/checkpoint-restore/criu/issues/1949

Hi Lucas,

On Tue, Dec 20, 2022 at 05:14:55PM +0100, Lucas Nussbaum wrote:
> Source: criu
> Version: 3.17.1-1
> Severity: serious
> Justification: FTBFS
> Tags: bookworm sid ftbfs
> User: lu...@debian.org
> Usertags: ftbfs-20221220 ftbfs-bookworm
> 
> Hi,
> 
> During a rebuild of all packages in sid, your package failed to build
> on amd64.
> 
> 
> Relevant part (hopefully):
> > make[1]: Entering directory '/<<PKGBUILDDIR>>'
> > Note: Building criu without amdgpu_plugin.
> > Note: libdrm and libdrm_amdgpu are required to build amdgpu_plugin.
> > make[1]: git: No such file or directory
> >   GEN      .gitid
> >   GEN      include/common/asm
> >   GEN      compel/include/asm
> > touch .config
> >   GEN      compel/include/version.h
> >   GEN      criu/include/version.h
> >   GEN      include/common/config.h
> >   GEN      compel/plugins/include/uapi/std/syscall-codes-64.h
> >   GEN      compel/plugins/include/uapi/std/syscall-64.h
> >   DEP      compel/arch/x86/plugins/std/memcpy.d
> >   DEP      compel/arch/x86/plugins/std/parasite-head.d
> >   GEN      compel/plugins/include/uapi/std/syscall-codes.h
> >   GEN      compel/plugins/include/uapi/std/asm/syscall-types.h
> >   DEP      soccr/soccr.d
> >   GEN      compel/plugins/include/uapi/std/syscall.h
> >   GEN      compel/arch/x86/plugins/std/syscalls-64.S
> >   DEP      compel/arch/x86/plugins/std/syscalls-64.d
> >   GEN      compel/arch/x86/plugins/std/sys-exec-tbl-64.c
> >   DEP      compel/plugins/std/infect.d
> >   DEP      compel/plugins/std/string.d
> >   DEP      compel/plugins/std/log.d
> >   DEP      compel/plugins/std/fds.d
> >   DEP      compel/plugins/std/std.d
> >   DEP      compel/plugins/shmem/shmem.d
> >   CC       soccr/soccr.o
> >   DEP      compel/plugins/fds/fds.d
> >   CC       compel/plugins/std/std.o
> >   CC       compel/plugins/std/fds.o
> >   CC       compel/plugins/std/log.o
> >   CC       compel/plugins/std/string.o
> >   CC       compel/plugins/std/infect.o
> >   CC       compel/arch/x86/plugins/std/parasite-head.o
> >   CC       compel/arch/x86/plugins/std/memcpy.o
> >   CC       compel/arch/x86/plugins/std/syscalls-64.o
> >   PBCC     images/rseq.pb-c.c
> >   PBCC     images/apparmor.pb-c.c
> >   PBCC     images/bpfmap-data.pb-c.c
> >   PBCC     images/fown.pb-c.c
> >   PBCC     images/google/protobuf/descriptor.pb-c.c
> >   PBCC     images/img-streamer.pb-c.c
> >   PBCC     images/timens.pb-c.c
> >   PBCC     images/macvlan.pb-c.c
> >   PBCC     images/autofs.pb-c.c
> >   PBCC     images/sysctl.pb-c.c
> >   PBCC     images/time.pb-c.c
> >   PBCC     images/binfmt-misc.pb-c.c
> >   PBCC     images/seccomp.pb-c.c
> >   PBCC     images/pidns.pb-c.c
> >   PBCC     images/userns.pb-c.c
> >   PBCC     images/cgroup.pb-c.c
> >   PBCC     images/ext-file.pb-c.c
> >   PBCC     images/siginfo.pb-c.c
> >   PBCC     images/rpc.pb-c.c
> >   PBCC     images/rlimit.pb-c.c
> >   PBCC     images/file-lock.pb-c.c
> >   PBCC     images/creds.pb-c.c
> >   PBCC     images/utsns.pb-c.c
> >   PBCC     images/ipc-desc.pb-c.c
> >   PBCC     images/ipc-var.pb-c.c
> >   PBCC     images/sk-opts.pb-c.c
> >   PBCC     images/timer.pb-c.c
> >   PBCC     images/pipe-data.pb-c.c
> >   PBCC     images/sk-packet.pb-c.c
> >   PBCC     images/pstree.pb-c.c
> >   PBCC     images/fs.pb-c.c
> >   PBCC     images/eventpoll.pb-c.c
> >   PBCC     images/eventfd.pb-c.c
> >   PBCC     images/remap-file-path.pb-c.c
> >   PBCC     images/fifo.pb-c.c
> >   PBCC     images/ns.pb-c.c
> >   PBCC     images/cpuinfo.pb-c.c
> >   PBCC     images/stats.pb-c.c
> >   DEP      images/rseq.pb-c.d
> >   DEP      images/apparmor.pb-c.d
> >   PBCC     images/opts.pb-c.c
> >   DEP      images/bpfmap-data.pb-c.d
> >   DEP      images/fown.pb-c.d
> >   DEP      images/google/protobuf/descriptor.pb-c.d
> >   DEP      images/img-streamer.pb-c.d
> >   DEP      images/timens.pb-c.d
> >   PBCC     images/memfd.pb-c.c
> >   PBCC     images/sit.pb-c.c
> >   DEP      images/macvlan.pb-c.d
> >   DEP      images/autofs.pb-c.d
> >   DEP      images/sysctl.pb-c.d
> >   DEP      images/time.pb-c.d
> >   DEP      images/binfmt-misc.pb-c.d
> >   DEP      images/seccomp.pb-c.d
> >   DEP      images/pidns.pb-c.d
> >   DEP      images/userns.pb-c.d
> >   DEP      images/cgroup.pb-c.d
> >   DEP      images/ext-file.pb-c.d
> >   DEP      images/rpc.pb-c.d
> >   DEP      images/siginfo.pb-c.d
> >   PBCC     images/pagemap.pb-c.c
> >   AR       compel/plugins/std.lib.a
> >   DEP      images/rlimit.pb-c.d
> >   DEP      images/file-lock.pb-c.d
> >   PBCC     images/tty.pb-c.c
> >   PBCC     images/tun.pb-c.c
> >   PBCC     images/vma.pb-c.c
> >   DEP      images/creds.pb-c.d
> >   DEP      images/utsns.pb-c.d
> >   PBCC     images/ipc-sem.pb-c.c
> >   DEP      images/ipc-desc.pb-c.d
> >   PBCC     images/ipc-msg.pb-c.c
> >   PBCC     images/ipc-shm.pb-c.c
> >   DEP      images/ipc-var.pb-c.d
> >   PBCC     images/packet-sock.pb-c.c
> >   DEP      images/sk-opts.pb-c.d
> >   CC       compel/plugins/fds/fds.o
> >   PBCC     images/sk-netlink.pb-c.c
> >   PBCC     images/sk-inet.pb-c.c
> >   PBCC     images/sk-unix.pb-c.c
> >   PBCC     images/mm.pb-c.c
> >   PBCC     images/timerfd.pb-c.c
> >   DEP      images/timer.pb-c.d
> >   PBCC     images/sa.pb-c.c
> >   DEP      images/pipe-data.pb-c.d
> >   PBCC     images/mnt.pb-c.c
> >   DEP      images/sk-packet.pb-c.d
> >   PBCC     images/tcp-stream.pb-c.c
> >   PBCC     images/pipe.pb-c.c
> >   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
> >   AR       compel/plugins/fds.lib.a
> >   PBCC     images/core-x86.pb-c.c
> >   DEP      images/cpuinfo.pb-c.d
> >   DEP      images/stats.pb-c.d
> >   HOSTDEP  compel/src/lib/log-host.d
> >   HOSTDEP  compel/src/lib/handle-elf-host.d
> >   HOSTDEP  compel/arch/x86/src/lib/handle-elf-host.d
> >   HOSTDEP  compel/src/main-host.d
> >   PBCC     images/bpfmap-file.pb-c.c
> >   DEP      compel/arch/x86/src/lib/thread_area.d
> >   DEP      images/opts.pb-c.d
> >   DEP      compel/src/lib/ptrace.d
> >   DEP      compel/src/lib/infect.d
> >   DEP      images/memfd.pb-c.d
> >   DEP      compel/src/lib/infect-util.d
> >   DEP      compel/src/lib/infect-rpc.d
> >   DEP      compel/arch/x86/src/lib/infect.d
> >   DEP      compel/arch/x86/src/lib/cpu.d
> >   DEP      images/sit.pb-c.d
> >   DEP      compel/src/lib/log.d
> >   DEP      compel/src/main.d
> >   DEP      images/pagemap.pb-c.d
> >   DEP      compel/src/lib/handle-elf.d
> >   DEP      compel/arch/x86/src/lib/handle-elf.d
> >   AR       soccr/libsoccr.a
> > make[2]: 'soccr/libsoccr.a' is up to date.
> >   PBCC     images/netdev.pb-c.c
> >   DEP      images/tun.pb-c.d
> >   DEP      images/tty.pb-c.d
> >   DEP      images/vma.pb-c.d
> >   CC       compel/src/lib/log.o
> >   CC       compel/arch/x86/src/lib/cpu.o
> >   CC       compel/arch/x86/src/lib/infect.o
> >   CC       compel/src/lib/infect-rpc.o
> >   CC       compel/src/lib/infect-util.o
> >   DEP      images/ipc-sem.pb-c.d
> >   CC       compel/src/lib/infect.o
> >   DEP      images/ipc-msg.pb-c.d
> >   DEP      images/ipc-shm.pb-c.d
> >   CC       compel/src/lib/ptrace.o
> >   DEP      images/packet-sock.pb-c.d
> >   DEP      images/sk-netlink.pb-c.d
> >   CC       compel/arch/x86/src/lib/thread_area.o
> >   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/netdev.pb-c.d
> >   PBCC     images/inventory.pb-c.c
> >   DEP      images/fsnotify.pb-c.d
> >   DEP      images/core.pb-c.d
> >   DEP      images/inventory.pb-c.d
> >   DEP      images/fdinfo.pb-c.d
> > make[2]: Nothing to be done for 'all'.
> >   AR       compel/libcompel.a
> >   HOSTCC   compel/src/main-host.o
> >   HOSTCC   compel/arch/x86/src/lib/handle-elf-host.o
> >   HOSTCC   compel/src/lib/handle-elf-host.o
> >   HOSTCC   compel/src/lib/log-host.o
> >   CC       images/stats.o
> >   CC       images/core.o
> >   CC       images/core-x86.o
> >   CC       images/core-mips.o
> >   CC       images/core-arm.o
> >   CC       images/core-aarch64.o
> >   CC       images/core-ppc64.o
> >   CC       images/core-s390.o
> >   CC       images/cpuinfo.o
> >   CC       images/inventory.o
> >   CC       images/fdinfo.o
> >   CC       images/fown.o
> >   CC       images/ns.o
> >   CC       images/regfile.o
> >   CC       images/ghost-file.o
> >   CC       images/fifo.o
> >   CC       images/remap-file-path.o
> >   CC       images/eventfd.o
> >   CC       images/eventpoll.o
> >   CC       images/fh.o
> >   CC       images/fsnotify.o
> >   CC       images/signalfd.o
> >   HOSTLINK compel/compel-host-bin
> >   CC       images/fs.o
> >   CC       images/pstree.o
> >   CC       images/pipe.o
> >   CC       images/tcp-stream.o
> >   CC       images/sk-packet.o
> >   CC       images/mnt.o
> >   CC       images/pipe-data.o
> >   CC       images/sa.o
> >   CC       images/timer.o
> >   CC       images/timerfd.o
> >   CC       images/mm.o
> >   CC       images/sk-opts.o
> >   CC       images/sk-unix.o
> >   CC       images/sk-inet.o
> >   CC       images/tun.o
> >   CC       images/sk-netlink.o
> >   CC       images/packet-sock.o
> >   CC       images/ipc-var.o
> >   CC       images/ipc-desc.o
> >   CC       images/ipc-shm.o
> >   CC       images/ipc-msg.o
> >   CC       images/ipc-sem.o
> >   CC       images/utsns.o
> >   CC       images/creds.o
> >   CC       images/vma.o
> >   CC       images/netdev.o
> >   CC       images/tty.o
> >   CC       images/file-lock.o
> >   CC       images/rlimit.o
> >   CC       images/pagemap.o
> >   CC       images/siginfo.o
> >   CC       images/rpc.o
> >   CC       images/ext-file.o
> >   CC       images/cgroup.o
> >   CC       images/userns.o
> >   CC       images/pidns.o
> >   CC       images/google/protobuf/descriptor.o
> >   CC       images/opts.o
> >   CC       images/seccomp.o
> >   CC       images/binfmt-misc.o
> >   CC       images/time.o
> >   CC       images/sysctl.o
> >   CC       images/autofs.o
> >   CC       images/macvlan.o
> >   CC       images/sit.o
> >   CC       images/memfd.o
> >   CC       images/timens.o
> >   CC       images/img-streamer.o
> >   CC       images/bpfmap-file.o
> >   CC       images/bpfmap-data.o
> >   CC       images/apparmor.o
> >   CC       images/rseq.o
> >   LINK     images/built-in.o
> >   DEP      criu/arch/x86/sigframe.d
> >   DEP      criu/arch/x86/sigaction_compat.d
> >   DEP      criu/arch/x86/kerndat.d
> >   DEP      criu/arch/x86/crtools.d
> >   DEP      criu/arch/x86/cpu.d
> >   CC       criu/arch/x86/cpu.o
> >   CC       criu/arch/x86/crtools.o
> >   CC       criu/arch/x86/kerndat.o
> >   CC       criu/arch/x86/sigaction_compat.o
> >   CC       criu/arch/x86/sigframe.o
> >   LINK     criu/arch/x86/crtools.built-in.o
> >   DEP      criu/pie/util-vdso-elf32.d
> >   DEP      criu/pie/util-vdso.d
> >   DEP      criu/pie/util.d
> >   CC       criu/pie/util.o
> >   CC       criu/pie/util-vdso.o
> >   CC       criu/pie/util-vdso-elf32.o
> > In file included from criu/pie/util.c:4:
> > /usr/include/unistd.h:1091:17: error: conflicting types for ‘syscall’; have 
> > ‘long int(long int, ...)’
> >  1091 | extern long int syscall (long int __sysno, ...) __THROW;
> >       |                 ^~~~~~~
> > In file included from /usr/include/x86_64-linux-gnu/sys/mount.h:32,
> >                  from criu/pie/util.c:3:
> > criu/include/linux/mount.h:24:16: note: previous implicit declaration of 
> > ‘syscall’ with type ‘int()’
> >    24 |         return syscall(__NR_fsopen, fsname, flags);
> >       |                ^~~~~~~
> > In file included from ./compel/include/uapi/compel/plugins/std/syscall.h:8,
> >                  from criu/pie/util.c:16:
> > ./compel/include/uapi/compel/plugins/std/syscall-64.h:115:13: error: 
> > conflicting types for ‘sys_fsopen’; have ‘long int(char *, unsigned int)’
> >   115 | extern long sys_fsopen (char *fsname, unsigned int flags) ;
> >       |             ^~~~~~~~~~
> > criu/include/linux/mount.h:22:19: note: previous definition of ‘sys_fsopen’ 
> > with type ‘int(const char *, unsigned int)’
> >    22 | static inline int sys_fsopen(const char *fsname, unsigned int flags)
> >       |                   ^~~~~~~~~~
> > ./compel/include/uapi/compel/plugins/std/syscall-64.h:116:13: error: 
> > conflicting types for ‘sys_fsconfig’; have ‘long int(int,  unsigned int,  
> > const char *, const char *, int)’
> >   116 | extern long sys_fsconfig (int fd, unsigned int cmd, const char 
> > *key, const char *value, int aux) ;
> >       |             ^~~~~~~~~~~~
> > criu/include/linux/mount.h:26:19: note: previous definition of 
> > ‘sys_fsconfig’ with type ‘int(int,  unsigned int,  const char *, const char 
> > *, int)’
> >    26 | static inline int sys_fsconfig(int fd, unsigned int cmd, const char 
> > *key, const char *value, int aux)
> >       |                   ^~~~~~~~~~~~
> > ./compel/include/uapi/compel/plugins/std/syscall-64.h:117:13: error: 
> > conflicting types for ‘sys_fsmount’; have ‘long int(int,  unsigned int,  
> > unsigned int)’
> >   117 | extern long sys_fsmount (int fd, unsigned int flags, unsigned int 
> > attr_flags) ;
> >       |             ^~~~~~~~~~~
> > criu/include/linux/mount.h:30:19: note: previous definition of 
> > ‘sys_fsmount’ with type ‘int(int,  unsigned int,  unsigned int)’
> >    30 | static inline int sys_fsmount(int fd, unsigned int flags, unsigned 
> > int attr_flags)
> >       |                   ^~~~~~~~~~~
> > make[3]: *** [/<<PKGBUILDDIR>>/scripts/nmk/scripts/build.mk:119: 
> > criu/pie/util.o] Error 1
> 
> 
> The full build log is available from:
> http://qa-logs.debian.net/2022/12/20/criu_3.17.1-1_unstable.log
> 
> All bugs filed during this archive rebuild are listed at:
> https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20221220;users=lu...@debian.org
> or:
> https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20221220&fusertaguser=lu...@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results
> 
> A list of current common problems and possible solutions is available at
> http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!
> 
> If you reassign this bug to another package, please mark it as 'affects'-ing
> this package. See https://www.debian.org/Bugs/server-control#affects
> 
> If you fail to reproduce this, please provide a build log and diff it with 
> mine
> so that we can identify if something relevant changed in the meantime.

Thanks for the report. It looks it was earlier reported upstream due
to Fedora Rawhide builds broken:
https://github.com/checkpoint-restore/criu/issues/1949

Will cherry-pick the needed changes.

Regards,
Salvatore

Reply via email to