Github messages for voidlinux
 help / color / mirror / Atom feed
From: loreb <loreb@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: List of broken native aarch64-musl builds
Date: Tue, 14 Jun 2022 16:40:28 +0200	[thread overview]
Message-ID: <20220614144028.mYeaQjWlYSXZ6bl2xXOcXGoYp_Wu9MHXDA41wAz1q1E@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-37497@inbox.vuxu.org>

[-- Attachment #1: Type: text/plain, Size: 2203 bytes --]

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 <gottox@voidlinux.org>"
 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() {
```

  parent reply	other threads:[~2022-06-14 14:40 UTC|newest]

Thread overview: 38+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-06-10 21:17 [ISSUE] " paper42
2022-06-11  7:27 ` classabbyamp
2022-06-11 15:56 ` classabbyamp
2022-06-14 14:40 ` loreb [this message]
2022-06-14 16:12 ` paper42
2022-06-15 10:03 ` loreb
2022-06-15 10:12 ` loreb
2022-06-15 12:15 ` leahneukirchen
2022-06-15 12:25 ` loreb
2022-06-15 13:11 ` leahneukirchen
2022-06-15 14:34 ` paper42
2022-06-15 14:48 ` leahneukirchen
2022-06-15 14:55 ` sgn
2022-06-15 15:04 ` classabbyamp
2022-06-15 15:22 ` paper42
2022-06-15 15:43 ` tornaria
2022-06-15 16:21 ` classabbyamp
2022-06-16 21:36 ` leahneukirchen
2022-06-17 21:49 ` paper42
2022-06-18 13:13 ` loreb
2022-06-20 18:39 ` classabbyamp
2022-06-23  4:16 ` ericonr
2022-06-24 20:49 ` paper42
2022-06-25  0:40 ` ericonr
2022-06-25  0:41 ` ericonr
2022-06-25  0:48 ` ericonr
2022-06-29 18:50 ` loreb
2022-07-02  7:58 ` sgn
2022-07-02  9:01 ` sgn
2022-07-05 11:22 ` paper42
2022-07-10 23:03 ` manfredu
2022-07-10 23:40 ` paper42
2022-07-11  5:51 ` manfredu
2022-07-12  8:18 ` manfredu
2022-10-11  2:14 ` github-actions
2022-12-07 16:45 ` dkwo
2023-03-09 15:52 ` dkwo
2023-07-23 14:37 ` dkwo

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220614144028.mYeaQjWlYSXZ6bl2xXOcXGoYp_Wu9MHXDA41wAz1q1E@z \
    --to=loreb@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).