New comment by loreb on void-packages repository https://github.com/void-linux/void-packages/issues/37497#issuecomment-1155287416 Comment: criu fails to build on musl for a different reason: ``` criu/fsnotify.c:227:5: error: conflicting types for 'check_open_handle' 227 | int check_open_handle(unsigned int s_dev, unsigned long i_ino, | ^~~~~~~~~~~~~~~~~ In file included from criu/fsnotify.c:38: criu/include/irmap.h:9:5: note: previous declaration of 'check_open_handle' was here 9 | int check_open_handle(unsigned int s_dev, unsigned long i_ino, | ^~~~~~~~~~~~~~~~~ ``` The error you see is because criu needs perl to compile (have a look at compel/arch/aarch64/plugins/std/syscalls/Makefile.syscalls); I can only guess that their tarball shipped syscall.S for some architectures but not aarch64? On top of that, there's a new version, 3.16, and another new version 3.17 (only on github atm), but both fail to compile here saying they can't enter the build directory - yet the structure of the tarballs looks identical to me... can you check if I'm doing anything obviously stupid? ``` diff --git a/srcpkgs/criu/template b/srcpkgs/criu/template index 1807efc4a4..f164020b6b 100644 --- a/srcpkgs/criu/template +++ b/srcpkgs/criu/template @@ -1,7 +1,7 @@ # Template file for 'criu' pkgname=criu -version=3.14 -revision=4 +version=3.17 +revision=1 # i686 unsupported upstream: https://criu.org/32bit_tasks_C/R#Compatible_applications # ppc64 big endian not supported upstream archs="x86_64* aarch64* ppc64le* armv7l*" @@ -15,8 +15,9 @@ short_desc="Utility to checkpoint/restore a process tree" maintainer="Enno Boland " license="GPL-2.0-or-later, LGPL-2.1-only" homepage="http://criu.org/" -distfiles="https://download.openvz.org/criu/criu-${version}.tar.bz2" -checksum=f63f30188b84e9a611429f732381f27e37c60cde0afc9821600f8597d21e39cb +distfiles="http://github.com/checkpoint-restore/criu/archive/v${version}/criu-${version}.tar.gz" +checksum=79744c938e33032951a41af45724be7ee9004445be8b4e4f3c59e0f7438168e7 +#wrksrc="criu-${version}" nocross="fails to run protobuf internals" do_install() { ```