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