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