From: waynevanson <waynevanson@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: New package: haskell-language-server-0.8.0
Date: Fri, 19 Mar 2021 09:35:59 +0100 [thread overview]
Message-ID: <20210319083559.TWnHNTvktjX9vq_NkEsC7uCgtN2ddvjSQkrjr9P_pJk@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-27961@inbox.vuxu.org>
[-- Attachment #1: Type: text/plain, Size: 2407 bytes --]
New comment by waynevanson on void-packages repository
https://github.com/void-linux/void-packages/pull/27961#issuecomment-761735959
Comment:
Update: This comment reflects cross compilation in with haskell-stack, which doesn't cross compile. More success is achieved when building natively using different masterdir's per architecture.
So it works for `x86_64`, but I cannot get it working with any other architectures.
When building for `armv7l`, I get the following error:
```
network > configure
network > [1 of 2] Compiling Main ( /tmp/stack-8ee1647aa5b6024f/network-3.1.1.1/Setup.hs, /tmp/stack-8ee1647aa5b6024f/network-3.1.1.1/.stack-work/dist/x86_64-linux/Cabal-3.0.1.0/setup/Main.o )
network > [2 of 2] Compiling StackSetupShim ( /builddir/haskell-language-server-0.8.0/.stack/setup-exe-src/setup-shim-mPHDZzAJ.hs, /tmp/stack-8ee1647aa5b6024f/network-3.1.1.1/.stack-work/dist/x86_64-linux/Cabal-3.0.1.0/setup/StackSetupShim.o )
network > Linking /tmp/stack-8ee1647aa5b6024f/network-3.1.1.1/.stack-work/dist/x86_64-linux/Cabal-3.0.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-8ee1647aa5b6024f/network-3.1.1.1/.stack-work/dist/x86_64-linux/Cabal-3.0.1.0/build':
network > configure: error: C compiler cannot create executables
network > See `config.log' for more details
```
~~What could be the reason for this? Googling around didn't get me anywhere.~~
Cross compilation is the problem!
- `configure: WARNING: unrecognized options: --with-compiler`
- `checking whether the C compiler works... no`
- `configure: error: C compiler cannot create executables`
~I would like to see this accepted even it works just for `x86_64`, then we can add support for `armv7l` and friends later.~
next prev parent reply other threads:[~2021-03-19 8:35 UTC|newest]
Thread overview: 38+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-01-16 8:17 [PR PATCH] " waynevanson
2021-01-16 8:18 ` [PR PATCH] [Updated] " waynevanson
2021-01-17 5:24 ` waynevanson
2021-01-17 5:26 ` [PR PATCH] [Updated] " waynevanson
2021-01-17 5:26 ` waynevanson
2021-01-17 5:26 ` waynevanson
2021-03-15 7:55 ` waynevanson
2021-03-15 8:19 ` waynevanson
2021-03-15 8:23 ` waynevanson
2021-03-15 21:27 ` [PR REVIEW] " Chocimier
2021-03-15 21:27 ` Chocimier
2021-03-15 21:27 ` Chocimier
2021-03-16 4:24 ` waynevanson
2021-03-16 4:28 ` waynevanson
2021-03-16 4:29 ` waynevanson
2021-03-16 19:16 ` Chocimier
2021-03-16 19:16 ` Chocimier
2021-03-16 19:16 ` Chocimier
2021-03-19 8:35 ` waynevanson [this message]
2021-03-19 8:40 ` waynevanson
2021-03-19 8:40 ` [PR PATCH] [Updated] " waynevanson
2021-03-19 8:44 ` waynevanson
2021-03-24 5:21 ` waynevanson
2021-03-24 21:46 ` [PR PATCH] [Updated] New package: haskell-language-server-1.0.0 waynevanson
2021-03-24 22:17 ` waynevanson
2021-03-24 22:22 ` [PR REVIEW] " waynevanson
2021-03-24 22:23 ` [PR PATCH] [Updated] " waynevanson
2021-03-24 22:26 ` waynevanson
2021-03-24 22:46 ` [PR REVIEW] " Chocimier
2021-03-24 22:46 ` Chocimier
2021-03-24 22:47 ` Chocimier
2021-03-24 22:47 ` Chocimier
2021-03-24 23:47 ` waynevanson
2021-03-25 6:44 ` slotThe
2021-03-25 18:36 ` slotThe
2021-03-27 13:50 ` [PR REVIEW] " Chocimier
2021-03-28 11:37 ` [PR PATCH] [Updated] " waynevanson
2021-03-29 16:16 ` [PR PATCH] [Merged]: " Chocimier
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=20210319083559.TWnHNTvktjX9vq_NkEsC7uCgtN2ddvjSQkrjr9P_pJk@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).