Github messages for voidlinux
 help / color / mirror / Atom feed
From: waynevanson <waynevanson@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: New package: purescript-0.14.5
Date: Sat, 08 Jan 2022 09:27:13 +0100	[thread overview]
Message-ID: <20220108082713.IUzJ23PVT5pR6AoTJE6G4D8xWKhfN47kcN2z_wmxpLg@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-34934@inbox.vuxu.org>

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

New comment by waynevanson on void-packages repository

https://github.com/void-linux/void-packages/pull/34934#issuecomment-1007912805

Comment:
Outlining the problems I'm facing here for when I forget and come back to it.

During compilation on `!{x86_64{-musl},i686}` the haskell package `network` does build in these environments.

The error message during compilation below. I think this has something to with cross compilation.
```
network                          > configure
network                          > [1 of 2] Compiling Main             ( /tmp/stack-fb88b98528983ecf/network-3.1.1.1/Setup.hs, /tmp/stack-fb88b98528983ecf/network-3.1.1.1/.stack-work/dist/x86_64-linux/Cabal-3.2.1.0/setup/Main.o )
network                          > [2 of 2] Compiling StackSetupShim   ( /builddir/purescript-0.14.5/.stack/setup-exe-src/setup-shim-mPHDZzAJ.hs, /tmp/stack-fb88b98528983ecf/network-3.1.1.1/.stack-work/dist/x86_64-linux/Cabal-3.2.1.0/setup/StackSetupShim.o )
network                          > Linking /tmp/stack-fb88b98528983ecf/network-3.1.1.1/.stack-work/dist/x86_64-linux/Cabal-3.2.1.0/setup/setup ...
network                          > Configuring network-3.1.1.1...
network                          > configure: WARNING: unrecognized options: --with-compiler
network                          > checking build system type... x86_64-pc-linux-gnu
network                          > checking host system type... x86_64-pc-linux-gnu
network                          > checking for gcc... /usr/bin/cc
network                          > checking whether the C compiler works... no
network                          > configure: error: in `/tmp/stack-fb88b98528983ecf/network-3.1.1.1/.stack-work/dist/x86_64-linux/Cabal-3.2.1.0/build':
network                          > configure: error: C compiler cannot create executables
network                          > See `config.log' for more details
```

Version used for the `purescript` project is `^1.1.1.1`.
There are a few issues online regarding this, but all I can think about is upgrading the latest version and hoping for the best.
https://github.com/purescript/purescript/blob/81dd8ea73ad8eab9cc56be492fe5883bec59b8d0/purescript.cabal#L334

I need to add a patch that points the network package to a new source, whether it be either:
- Stackage: https://www.stackage.org/package/network/snapshots
- Git via GitHub: https://github.com/haskell/network

  parent reply	other threads:[~2022-01-08  8:27 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-08  6:18 [PR PATCH] New Package: purescript-0.14.0 waynevanson
2022-01-08  6:22 ` [PR PATCH] [Updated] New Package: purescript-0.14.5 waynevanson
2022-01-08  7:26 ` [PR PATCH] [Updated] New package: purescript-0.14.5 waynevanson
2022-01-08  8:27 ` waynevanson [this message]
2022-04-10  2:05 ` github-actions
2022-06-21  2:13 ` [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=20220108082713.IUzJ23PVT5pR6AoTJE6G4D8xWKhfN47kcN2z_wmxpLg@z \
    --to=waynevanson@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).