From: kwshi <kwshi@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: new package: ghcup-0.1.17.8
Date: Fri, 10 Jun 2022 17:08:57 +0200 [thread overview]
Message-ID: <20220610150857.aGjm0nRbuSum7OxzW4-6i9Jkp1cEDKeKzErr1yrmYIU@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-35624@inbox.vuxu.org>
[-- Attachment #1: Type: text/plain, Size: 1558 bytes --]
New comment by kwshi on void-packages repository
https://github.com/void-linux/void-packages/pull/35624#issuecomment-1152441085
Comment:
> > I've applied @hasufell's patch and gotten the build to work; compilation on/to non-`x86_64` architectures or musl unfortunately doesn't work currently because some of ghcup's dependencies are incompatible (e.g., haskell's `libarchive` package explicitly imports a glibc header). This package template is ready for review.
>
> That can't be. The ghcup binaries are built on alpine linux with musl.
>
> There's a static libarchive option: `-f-system-libarchive`
Weird-- I've tried building with `-f-system-libarchive` and the error still appears. The relevant error message, I think, is
```
c/archive_platform.h:84:10: error:
fatal error: sys/cdefs.h: No such file or directory
84 | #include <sys/cdefs.h>
| ^~~~~~~~~~~~~
|
84 | #include <sys/cdefs.h>
```
Where all googled instances of `sys/cdefs.h` seem to point to GNU libc. The full error log on the workflow run is at https://github.com/void-linux/void-packages.
I've updated the package template to use `-f-system-libarchive`, and as you can see from the [CI logs](https://github.com/void-linux/void-packages/runs/6833102145?check_suite_focus=true) the same error still occurs; cabal is still trying to build the `libarchive` library, even though per my understanding it shouldn't (if we're using static libarchive).
I'll do some more investigation on alpine to see what might explain this disparity.
next prev parent reply other threads:[~2022-06-10 15:08 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-02-15 6:23 [PR PATCH] new package: ghcup-0.1.17.4 kwshi
2022-02-15 6:48 ` [PR PATCH] [Updated] " kwshi
2022-03-13 15:02 ` prez
2022-06-04 17:55 ` kwshi
2022-06-04 19:47 ` [PR REVIEW] " hasufell
2022-06-04 19:48 ` hasufell
2022-06-04 20:19 ` hasufell
2022-06-04 21:16 ` [PR REVIEW] " hasufell
2022-06-04 21:17 ` hasufell
2022-06-05 2:02 ` [PR PATCH] [Updated] " kwshi
2022-06-05 2:10 ` kwshi
2022-06-05 2:12 ` kwshi
2022-06-05 2:12 ` kwshi
2022-06-05 2:13 ` [PR REVIEW] " kwshi
2022-06-05 2:15 ` kwshi
2022-06-05 2:15 ` kwshi
2022-06-05 17:53 ` [PR PATCH] [Updated] new package: ghcup-0.1.17.8 kwshi
2022-06-05 18:16 ` kwshi
2022-06-05 18:35 ` kwshi
2022-06-10 13:37 ` kwshi
2022-06-10 14:18 ` hasufell
2022-06-10 14:45 ` kwshi
2022-06-10 14:52 ` [PR PATCH] [Updated] " kwshi
2022-06-10 15:08 ` kwshi [this message]
2022-09-09 2:15 ` github-actions
2022-09-09 22:10 ` kwshi
2022-12-09 2:32 ` github-actions
2022-12-24 1:52 ` [PR PATCH] [Closed]: " github-actions
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=20220610150857.aGjm0nRbuSum7OxzW4-6i9Jkp1cEDKeKzErr1yrmYIU@z \
--to=kwshi@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).