Build of network failed on Mac Mojave for lts-18.24

26 views
Skip to first unread message

herber...@gmail.com

unread,
Feb 10, 2022, 11:23:26 PM2/10/22
to haskell-stack
Hello,

I have the following error while building a package:

network             > configure
network             > [1 of 2] Compiling Main             ( /private/var/folders/sn/_g33_wb94_332h0y40m_4qsm0000gn/T/stack-2fca438e4d2d5c06/network-3.1.1.1/Setup.hs, /private/var/folders/sn/_g33_wb94_332h0y40m_4qsm0000gn/T/stack-2fca438e4d2d5c06/network-3.1.1.1/.stack-work/dist/x86_64-osx/Cabal-3.2.1.0/setup/Main.o )
network             > [2 of 2] Compiling StackSetupShim   ( /Users/zhujun/.stack/setup-exe-src/setup-shim-mPHDZzAJ.hs, /private/var/folders/sn/_g33_wb94_332h0y40m_4qsm0000gn/T/stack-2fca438e4d2d5c06/network-3.1.1.1/.stack-work/dist/x86_64-osx/Cabal-3.2.1.0/setup/StackSetupShim.o )
network             > Linking /private/var/folders/sn/_g33_wb94_332h0y40m_4qsm0000gn/T/stack-2fca438e4d2d5c06/network-3.1.1.1/.stack-work/dist/x86_64-osx/Cabal-3.2.1.0/setup/setup ...
network             > [proxychains] DLL init: proxychains-ng 4.12
network             > Configuring network-3.1.1.1...
network             > couldnt find configuration file: No such file or directory
Progress 1/76

--  While building package network-3.1.1.1 (scroll up to its section to see the error) using:
      /private/var/folders/sn/_g33_wb94_332h0y40m_4qsm0000gn/T/stack-2fca438e4d2d5c06/network-3.1.1.1/.stack-work/dist/x86_64-osx/Cabal-3.2.1.0/setup/setup --builddir=.stack-work/dist/x86_64-osx/Cabal-3.2.1.0 configure --user --package-db=clear --package-db=global --package-db=/Users/zhujun/.stack/snapshots/x86_64-osx/c21f5bf78556c65ea81f079742401687dea43b25b90c88cb3772ed668f964b2e/8.10.7/pkgdb --libdir=/Users/zhujun/.stack/snapshots/x86_64-osx/c21f5bf78556c65ea81f079742401687dea43b25b90c88cb3772ed668f964b2e/8.10.7/lib --bindir=/Users/zhujun/.stack/snapshots/x86_64-osx/c21f5bf78556c65ea81f079742401687dea43b25b90c88cb3772ed668f964b2e/8.10.7/bin --datadir=/Users/zhujun/.stack/snapshots/x86_64-osx/c21f5bf78556c65ea81f079742401687dea43b25b90c88cb3772ed668f964b2e/8.10.7/share --libexecdir=/Users/zhujun/.stack/snapshots/x86_64-osx/c21f5bf78556c65ea81f079742401687dea43b25b90c88cb3772ed668f964b2e/8.10.7/libexec --sysconfdir=/Users/zhujun/.stack/snapshots/x86_64-osx/c21f5bf78556c65ea81f079742401687dea43b25b90c88cb3772ed668f964b2e/8.10.7/etc --docdir=/Users/zhujun/.stack/snapshots/x86_64-osx/c21f5bf78556c65ea81f079742401687dea43b25b90c88cb3772ed668f964b2e/8.10.7/doc/network-3.1.1.1 --htmldir=/Users/zhujun/.stack/snapshots/x86_64-osx/c21f5bf78556c65ea81f079742401687dea43b25b90c88cb3772ed668f964b2e/8.10.7/doc/network-3.1.1.1 --haddockdir=/Users/zhujun/.stack/snapshots/x86_64-osx/c21f5bf78556c65ea81f079742401687dea43b25b90c88cb3772ed668f964b2e/8.10.7/doc/network-3.1.1.1 --dependency=base=base-4.14.3.0 --dependency=bytestring=bytestring-0.10.12.0 --dependency=deepseq=deepseq-1.4.4.0 --exact-configuration --ghc-option=-fhide-source-paths
    Process exited with code: ExitFailure 1

The system is Mac Mojave. Stack is

Version 2.7.3, Git revision 7927a3aec32e2b2e5e4fb5be76d0d50eddcc197f x86_64 hpack-0.34.4

The resolver is


What could be the reason and how to fix it?
Thanks.

Regards,
Guanpeng Xu

Guanpeng Xu

unread,
Feb 10, 2022, 11:44:10 PM2/10/22
to haskell-stack
I found that it was because stack was wrapped in proxychains. It builds by executing stack build, without any wrappings.
I apologize for the disturbance.

Regards,
Guanpeng Xu

--
You received this message because you are subscribed to a topic in the Google Groups "haskell-stack" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/haskell-stack/4LnXbvqIbNY/unsubscribe.
To unsubscribe from this group and all its topics, send an email to haskell-stac...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/haskell-stack/0edde59b-4c52-4067-91a0-4f271e6d26b8n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages