-
Notifications
You must be signed in to change notification settings - Fork 678
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cabal 3.2.0.0 stuck on build step when installing network package on Windows #6845
Comments
Have you tried cabal 3.2 with ghc 8.8.1?
|
I've tried cabal-3.2 + ghc-8.8.3 and it works. PS C:\TEMP2> cabal get network && cd network-3.1.1.1
PS C:\TEMP2\network-3.1.1.1> cabal install -v --lib -w ghc-8.10.1 Reading available packages of hackage.haskell.org...
Using most recent state specified from most recent cabal update
index-state(hackage.haskell.org) = 2020-05-24T12:28:23Z
Resolving dependencies...
.......
Resolving dependencies...
CallStack (from HasCallStack):
die', called at .\\Distribution\\Client\\ProjectPlanning.hs:579:42 in main:Distribution.Client.ProjectPlanning
cabal.exe: Could not resolve dependencies:
[__0] trying: base-4.14.0.0/installed-4.14.0.0 (user goal)
[__1] next goal: cabal-plan (user goal)
[__1] rejecting: cabal-plan-0.6.2.0 (conflict:
base==4.14.0.0/installed-4.14.0.0, cabal-plan => base(>=4.6 && <4.10) ||
^>=4.10 || ^>=4.11 || ^>=4.12 || ^>=4.13)
[__1] skipping: cabal-plan-0.6.1.0, cabal-plan-0.6.0.0, cabal-plan-0.5.0.0,
cabal-plan-0.4.0.0, cabal-plan-0.3.0.0, cabal-plan-0.2.0.0,
cabal-plan-0.1.1.0, cabal-plan-0.1.0.0 (has the same characteristics that
caused the previous version to fail: excludes 'base' version 4.14.0.0)
[__1] fail (backjumping, conflict set: base, cabal-plan)
After searching the rest of the dependency tree exhaustively, these were the
goals I've had most trouble fulfilling: base (40), cabal-plan (11) Not sure from where it is picking cabal-plan but wiping out the cabal store fix the error and the build successes: Output of verbose logPS C:\TEMP2\network-3.1.1.1> cabal install -v --lib -w ghc-8.10.1 Reading available packages of hackage.haskell.org...
Using most recent state specified from most recent cabal update
index-state(hackage.haskell.org) = 2020-05-24T12:28:23Z
Wrote tarball sdist to
C:\TEMP2\network-3.1.1.1\dist-newstyle\sdist\network-3.1.1.1.tar.gz
"D:\bin\stack\x86_64-windows\ghc-8.10.1\bin\ghc-8.10.1.exe" "--numeric-version"
looking for tool ghc-pkg near compiler in
D:\bin\stack\x86_64-windows\ghc-8.10.1\bin
found ghc-pkg in D:\bin\stack\x86_64-windows\ghc-8.10.1\bin\ghc-pkg.exe
"D:\bin\stack\x86_64-windows\ghc-8.10.1\bin\ghc-pkg.exe" "--version"
"D:\bin\stack\x86_64-windows\ghc-8.10.1\bin\ghc-8.10.1.exe" "--supported-languages"
"D:\bin\stack\x86_64-windows\ghc-8.10.1\bin\ghc-8.10.1.exe" "--info"
Warning: Package db C:\sd\ghc-8.10.1\package.db does not exist yet
creating C:\TEMP2\cabal-install.-12908\dist-newstyle
creating C:\TEMP2\cabal-install.-12908\dist-newstyle\cache
Compiler settings changed, reconfiguring...
"D:\bin\stack\x86_64-windows\ghc-8.10.1\bin\ghc-8.10.1.exe" "--numeric-version"
looking for tool ghc-pkg near compiler in
D:\bin\stack\x86_64-windows\ghc-8.10.1\bin
found ghc-pkg in D:\bin\stack\x86_64-windows\ghc-8.10.1\bin\ghc-pkg.exe
"D:\bin\stack\x86_64-windows\ghc-8.10.1\bin\ghc-pkg.exe" "--version"
"D:\bin\stack\x86_64-windows\ghc-8.10.1\bin\ghc-8.10.1.exe" "--supported-languages"
"D:\bin\stack\x86_64-windows\ghc-8.10.1\bin\ghc-8.10.1.exe" "--info"
"D:\bin\stack\x86_64-windows\ghc-8.10.1\bin\ghc-8.10.1.exe" "--print-global-package-db"
Reading available packages of hackage.haskell.org...
Using most recent state specified from most recent cabal update
index-state(hackage.haskell.org) = 2020-05-24T12:28:23Z
Failed to query pkg-config, Cabal will continue without solving for pkg-config
constraints: Cannot find pkg-config program
Resolving dependencies...
Component graph for process-1.6.9.0: component lib
component process-1.6.9.0-271da9718975548df7def922955bdd457d351cbf
include Win32-2.6.1.0
include base-4.14.0.0
include deepseq-1.4.4.0
include directory-1.3.6.0
include filepath-1.4.2.1
unit process-1.6.9.0-271da9718975548df7def922955bdd457d351cbf
include Win32-2.6.1.0
include base-4.14.0.0
include deepseq-1.4.4.0
include directory-1.3.6.0
include filepath-1.4.2.1
System.Cmd=process-1.6.9.0-271da9718975548df7def922955bdd457d351cbf:System.Cmd,System.Process=process-1.6.9.0-271da9718975548df7def922955bdd457d351cbf:System.Process,System.Process.Internals=process-1.6.9.0-271da9718975548df7def922955bdd457d351cbf:System.Process.Internals
Component graph for hsc2hs-0.68.7: component exe:hsc2hs
component hsc2hs-0.68.7-6ec6311fdb960ca1979dd42fcaa6b74d84f109ca
include base-4.14.0.0
include containers-0.6.2.1
include directory-1.3.6.0
include filepath-1.4.2.1
include process-1.6.9.0-d456afb0b53f63803842bc0948b01d0dd0ace98d
unit hsc2hs-0.68.7-6ec6311fdb960ca1979dd42fcaa6b74d84f109ca
include base-4.14.0.0
include containers-0.6.2.1
include directory-1.3.6.0
include filepath-1.4.2.1
include process-1.6.9.0-d456afb0b53f63803842bc0948b01d0dd0ace98d
Component graph for network-3.1.1.1: component lib
component network-3.1.1.1-cae637cc9ca24a7eff51923d0272e3706b82b7d6
include base-4.14.0.0
include bytestring-0.10.10.0
include deepseq-1.4.4.0
unit network-3.1.1.1-cae637cc9ca24a7eff51923d0272e3706b82b7d6
include base-4.14.0.0
include bytestring-0.10.10.0
include deepseq-1.4.4.0
Network.Socket=network-3.1.1.1-cae637cc9ca24a7eff51923d0272e3706b82b7d6:Network.Socket,Network.Socket.Address=network-3.1.1.1-cae637cc9ca24a7eff51923d0272e3706b82b7d6:Network.Socket.Address,Network.Socket.ByteString=network-3.1.1.1-cae637cc9ca24a7eff51923d0272e3706b82b7d6:Network.Socket.ByteString,Network.Socket.ByteString.Lazy=network-3.1.1.1-cae637cc9ca24a7eff51923d0272e3706b82b7d6:Network.Socket.ByteString.Lazy,Network.Socket.Internal=network-3.1.1.1-cae637cc9ca24a7eff51923d0272e3706b82b7d6:Network.Socket.Internal
Build profile: -w ghc-8.10.1 -O1
In order, the following will be built:
- process-1.6.9.0 (lib:process) (requires build)
- hsc2hs-0.68.7 (exe:hsc2hs) (requires build)
- network-3.1.1.1 (lib:network) (requires build)
creating C:\TEMP2\cabal-install.-12908\dist-newstyle\build
creating C:\TEMP2\cabal-install.-12908\dist-newstyle\tmp
creating C:\sd\ghc-8.10.1
"D:\bin\stack\x86_64-windows\ghc-8.10.1\bin\ghc-pkg.exe" "init" "C:\sd\ghc-8.10.1\package.db"
Extracting
C:\Users\atrey\AppData\Roaming\cabal\packages\hackage.haskell.org\process\1.6.9.0\process-1.6.9.0.tar.gz
to C:\TEMP2\cabal-install.-12908\dist-newstyle\tmp\src-12908...
Updating process.cabal with the latest revision from the index.
creating
C:\TEMP2\cabal-install.-12908\dist-newstyle\tmp\src-12908\process-1.6.9.0\dist
Starting process-1.6.9.0 (all, legacy fallback)
Using self-exec internal setup method with build-type Configure and args:
["act-as-setup","--build-type=Configure","--","configure","--verbose=2","--builddir=dist","--ghc","--prefix=C:\\sd\\ghc-8.10.1\\process-1.6.9.0-d456afb0b53f63803842bc0948b01d0dd0ace98d","--bindir=C:\\sd\\ghc-8.10.1\\process-1.6.9.0-d456afb0b53f63803842bc0948b01d0dd0ace98d\\bin","--libdir=C:\\sd\\ghc-8.10.1\\process-1.6.9.0-d456afb0b53f63803842bc0948b01d0dd0ace98d\\lib","--libsubdir=","--dynlibdir=C:\\sd\\ghc-8.10.1\\process-1.6.9.0-d456afb0b53f63803842bc0948b01d0dd0ace98d\\lib","--libexecdir=C:\\sd\\ghc-8.10.1\\process-1.6.9.0-d456afb0b53f63803842bc0948b01d0dd0ace98d\\libexec","--libexecsubdir=","--datadir=C:\\sd\\ghc-8.10.1\\process-1.6.9.0-d456afb0b53f63803842bc0948b01d0dd0ace98d\\share","--datasubdir=","--docdir=C:\\sd\\ghc-8.10.1\\process-1.6.9.0-d456afb0b53f63803842bc0948b01d0dd0ace98d\\share\\doc","--htmldir=C:\\sd\\ghc-8.10.1\\process-1.6.9.0-d456afb0b53f63803842bc0948b01d0dd0ace98d\\share\\doc\\html","--haddockdir=C:\\sd\\ghc-8.10.1\\process-1.6.9.0-d456afb0b53f63803842bc0948b01d0dd0ace98d\\share\\doc\\html","--sysconfdir=C:\\sd\\ghc-8.10.1\\process-1.6.9.0-d456afb0b53f63803842bc0948b01d0dd0ace98d\\etc","--enable-library-vanilla","--disable-library-profiling","--disable-shared","--disable-static","--disable-executable-dynamic","--disable-executable-static","--disable-profiling","--profiling-detail=default","--library-profiling-detail=default","--enable-optimization","--disable-debug-info","--disable-library-for-ghci","--disable-split-sections","--disable-split-objs","--disable-executable-stripping","--disable-library-stripping","--package-db=clear","--package-db=global","--package-db=C:\\sd\\ghc-8.10.1\\package.db","--ipid=process-1.6.9.0-d456afb0b53f63803842bc0948b01d0dd0ace98d","--extra-prog-path=D:\\bin","--dependency=Win32=Win32-2.6.1.0","--dependency=base=base-4.14.0.0","--dependency=deepseq=deepseq-1.4.4.0","--dependency=directory=directory-1.3.6.0","--dependency=filepath=filepath-1.4.2.1","--disable-tests","--disable-coverage","--exact-configuration","--disable-benchmarks","--with-ghc=D:\\bin\\stack\\x86_64-windows\\ghc-8.10.1\\bin\\ghc-8.10.1.exe","--with-ghc-pkg=D:\\bin\\stack\\x86_64-windows\\ghc-8.10.1\\bin\\ghc-pkg.exe","--ghc-option=-hide-all-packages"]
D:\bin\cabal.exe act-as-setup --build-type=Configure -- configure --verbose=2
--builddir=dist --ghc
--prefix=C:\sd\ghc-8.10.1\process-1.6.9.0-d456afb0b53f63803842bc0948b01d0dd0ace98d
--bindir=C:\sd\ghc-8.10.1\process-1.6.9.0-d456afb0b53f63803842bc0948b01d0dd0ace98d\bin
--libdir=C:\sd\ghc-8.10.1\process-1.6.9.0-d456afb0b53f63803842bc0948b01d0dd0ace98d\lib
--libsubdir=
--dynlibdir=C:\sd\ghc-8.10.1\process-1.6.9.0-d456afb0b53f63803842bc0948b01d0dd0ace98d\lib
--libexecdir=C:\sd\ghc-8.10.1\process-1.6.9.0-d456afb0b53f63803842bc0948b01d0dd0ace98d\libexec
--libexecsubdir=
--datadir=C:\sd\ghc-8.10.1\process-1.6.9.0-d456afb0b53f63803842bc0948b01d0dd0ace98d\share
--datasubdir=
--docdir=C:\sd\ghc-8.10.1\process-1.6.9.0-d456afb0b53f63803842bc0948b01d0dd0ace98d\share\doc
--htmldir=C:\sd\ghc-8.10.1\process-1.6.9.0-d456afb0b53f63803842bc0948b01d0dd0ace98d\share\doc\html
--haddockdir=C:\sd\ghc-8.10.1\process-1.6.9.0-d456afb0b53f63803842bc0948b01d0dd0ace98d\share\doc\html
--sysconfdir=C:\sd\ghc-8.10.1\process-1.6.9.0-d456afb0b53f63803842bc0948b01d0dd0ace98d\etc
--enable-library-vanilla --disable-library-profiling --disable-shared
--disable-static --disable-executable-dynamic --disable-executable-static
--disable-profiling --profiling-detail=default
--library-profiling-detail=default --enable-optimization --disable-debug-info
--disable-library-for-ghci --disable-split-sections --disable-split-objs
--disable-executable-stripping --disable-library-stripping --package-db=clear
--package-db=global --package-db=C:\sd\ghc-8.10.1\package.db
--ipid=process-1.6.9.0-d456afb0b53f63803842bc0948b01d0dd0ace98d
--extra-prog-path=D:\bin --dependency=Win32=Win32-2.6.1.0
--dependency=base=base-4.14.0.0 --dependency=deepseq=deepseq-1.4.4.0
--dependency=directory=directory-1.3.6.0
--dependency=filepath=filepath-1.4.2.1 --disable-tests --disable-coverage
--exact-configuration --disable-benchmarks
--with-ghc=D:\bin\stack\x86_64-windows\ghc-8.10.1\bin\ghc-8.10.1.exe
--with-ghc-pkg=D:\bin\stack\x86_64-windows\ghc-8.10.1\bin\ghc-pkg.exe
--ghc-option=-hide-all-packages
Redirecting build log to {handle:
C:\Users\atrey\AppData\Roaming\cabal\logs\ghc-8.10.1\process-1.6.9.0-d456afb0b53f63803842bc0948b01d0dd0ace98d.log}
Building process-1.6.9.0 (all, legacy fallback)
Using self-exec internal setup method with build-type Configure and args:
["act-as-setup","--build-type=Configure","--","build","--verbose=2","--builddir=dist"]
D:\bin\cabal.exe act-as-setup --build-type=Configure -- build --verbose=2
--builddir=dist
Redirecting build log to {handle:
C:\Users\atrey\AppData\Roaming\cabal\logs\ghc-8.10.1\process-1.6.9.0-d456afb0b53f63803842bc0948b01d0dd0ace98d.log}
Installing process-1.6.9.0 (all, legacy fallback)
Using self-exec internal setup method with build-type Configure and args:
["act-as-setup","--build-type=Configure","--","copy","--verbose=2","--builddir=dist","--destdir=C:\\sd\\ghc-8.10.1\\incoming\\new-12908"]
D:\bin\cabal.exe act-as-setup --build-type=Configure -- copy --verbose=2
--builddir=dist --destdir=C:\sd\ghc-8.10.1\incoming\new-12908
Redirecting build log to {handle:
C:\Users\atrey\AppData\Roaming\cabal\logs\ghc-8.10.1\process-1.6.9.0-d456afb0b53f63803842bc0948b01d0dd0ace98d.log}
creating
C:\sd\ghc-8.10.1\incoming\new-12908\sd\ghc-8.10.1\process-1.6.9.0-d456afb0b53f63803842bc0948b01d0dd0ace98d
Using self-exec internal setup method with build-type Configure and args:
["act-as-setup","--build-type=Configure","--","register","--verbose=2","--builddir=dist","--gen-pkg-config=C:\\TEMP2\\cabal-install.-12908\\dist-newstyle\\tmp\\package-registration--12908\\pkgConf"]
D:\bin\cabal.exe act-as-setup --build-type=Configure -- register --verbose=2
--builddir=dist
--gen-pkg-config=C:\TEMP2\cabal-install.-12908\dist-newstyle\tmp\package-registration--12908\pkgConf
Redirecting build log to {handle:
C:\Users\atrey\AppData\Roaming\cabal\logs\ghc-8.10.1\process-1.6.9.0-d456afb0b53f63803842bc0948b01d0dd0ace98d.log}
"D:\bin\stack\x86_64-windows\ghc-8.10.1\bin\ghc-pkg.exe" "recache" "--package-db=C:\sd\ghc-8.10.1\package.db"
Completed process-1.6.9.0 (all, legacy fallback)
Extracting
C:\Users\atrey\AppData\Roaming\cabal\packages\hackage.haskell.org\hsc2hs\0.68.7\hsc2hs-0.68.7.tar.gz
to C:\TEMP2\cabal-install.-12908\dist-newstyle\tmp\src-12908...
Updating hsc2hs.cabal with the latest revision from the index.
creating
C:\TEMP2\cabal-install.-12908\dist-newstyle\tmp\src-12908\hsc2hs-0.68.7\dist
Starting hsc2hs-0.68.7 (exe:hsc2hs)
Using self-exec internal setup method with build-type Simple and args:
["act-as-setup","--build-type=Simple","--","configure","--verbose=2","--builddir=dist","--ghc","--prefix=C:\\sd\\ghc-8.10.1\\hsc2hs-0.68.7-6ec6311fdb960ca1979dd42fcaa6b74d84f109ca","--bindir=C:\\sd\\ghc-8.10.1\\hsc2hs-0.68.7-6ec6311fdb960ca1979dd42fcaa6b74d84f109ca\\bin","--libdir=C:\\sd\\ghc-8.10.1\\hsc2hs-0.68.7-6ec6311fdb960ca1979dd42fcaa6b74d84f109ca\\lib","--libsubdir=","--dynlibdir=C:\\sd\\ghc-8.10.1\\hsc2hs-0.68.7-6ec6311fdb960ca1979dd42fcaa6b74d84f109ca\\lib","--libexecdir=C:\\sd\\ghc-8.10.1\\hsc2hs-0.68.7-6ec6311fdb960ca1979dd42fcaa6b74d84f109ca\\libexec","--libexecsubdir=","--datadir=C:\\sd\\ghc-8.10.1\\hsc2hs-0.68.7-6ec6311fdb960ca1979dd42fcaa6b74d84f109ca\\share","--datasubdir=","--docdir=C:\\sd\\ghc-8.10.1\\hsc2hs-0.68.7-6ec6311fdb960ca1979dd42fcaa6b74d84f109ca\\share\\doc","--htmldir=C:\\sd\\ghc-8.10.1\\hsc2hs-0.68.7-6ec6311fdb960ca1979dd42fcaa6b74d84f109ca\\share\\doc\\html","--haddockdir=C:\\sd\\ghc-8.10.1\\hsc2hs-0.68.7-6ec6311fdb960ca1979dd42fcaa6b74d84f109ca\\share\\doc\\html","--sysconfdir=C:\\sd\\ghc-8.10.1\\hsc2hs-0.68.7-6ec6311fdb960ca1979dd42fcaa6b74d84f109ca\\etc","--enable-library-vanilla","--disable-library-profiling","--disable-shared","--disable-static","--disable-executable-dynamic","--disable-executable-static","--disable-profiling","--profiling-detail=default","--library-profiling-detail=default","--enable-optimization","--disable-debug-info","--disable-library-for-ghci","--disable-split-sections","--disable-split-objs","--disable-executable-stripping","--disable-library-stripping","--package-db=clear","--package-db=global","--package-db=C:\\sd\\ghc-8.10.1\\package.db","--flags=-in-ghc-tree","--cid=hsc2hs-0.68.7-6ec6311fdb960ca1979dd42fcaa6b74d84f109ca","--extra-prog-path=D:\\bin","--dependency=base=base-4.14.0.0","--dependency=containers=containers-0.6.2.1","--dependency=directory=directory-1.3.6.0","--dependency=filepath=filepath-1.4.2.1","--dependency=process=process-1.6.9.0-d456afb0b53f63803842bc0948b01d0dd0ace98d","--disable-coverage","--exact-configuration","--with-ghc=D:\\bin\\stack\\x86_64-windows\\ghc-8.10.1\\bin\\ghc-8.10.1.exe","--with-ghc-pkg=D:\\bin\\stack\\x86_64-windows\\ghc-8.10.1\\bin\\ghc-pkg.exe","--ghc-option=-hide-all-packages","exe:hsc2hs"]
D:\bin\cabal.exe act-as-setup --build-type=Simple -- configure --verbose=2
--builddir=dist --ghc
--prefix=C:\sd\ghc-8.10.1\hsc2hs-0.68.7-6ec6311fdb960ca1979dd42fcaa6b74d84f109ca
--bindir=C:\sd\ghc-8.10.1\hsc2hs-0.68.7-6ec6311fdb960ca1979dd42fcaa6b74d84f109ca\bin
--libdir=C:\sd\ghc-8.10.1\hsc2hs-0.68.7-6ec6311fdb960ca1979dd42fcaa6b74d84f109ca\lib
--libsubdir=
--dynlibdir=C:\sd\ghc-8.10.1\hsc2hs-0.68.7-6ec6311fdb960ca1979dd42fcaa6b74d84f109ca\lib
--libexecdir=C:\sd\ghc-8.10.1\hsc2hs-0.68.7-6ec6311fdb960ca1979dd42fcaa6b74d84f109ca\libexec
--libexecsubdir=
--datadir=C:\sd\ghc-8.10.1\hsc2hs-0.68.7-6ec6311fdb960ca1979dd42fcaa6b74d84f109ca\share
--datasubdir=
--docdir=C:\sd\ghc-8.10.1\hsc2hs-0.68.7-6ec6311fdb960ca1979dd42fcaa6b74d84f109ca\share\doc
--htmldir=C:\sd\ghc-8.10.1\hsc2hs-0.68.7-6ec6311fdb960ca1979dd42fcaa6b74d84f109ca\share\doc\html
--haddockdir=C:\sd\ghc-8.10.1\hsc2hs-0.68.7-6ec6311fdb960ca1979dd42fcaa6b74d84f109ca\share\doc\html
--sysconfdir=C:\sd\ghc-8.10.1\hsc2hs-0.68.7-6ec6311fdb960ca1979dd42fcaa6b74d84f109ca\etc
--enable-library-vanilla --disable-library-profiling --disable-shared
--disable-static --disable-executable-dynamic --disable-executable-static
--disable-profiling --profiling-detail=default
--library-profiling-detail=default --enable-optimization --disable-debug-info
--disable-library-for-ghci --disable-split-sections --disable-split-objs
--disable-executable-stripping --disable-library-stripping --package-db=clear
--package-db=global --package-db=C:\sd\ghc-8.10.1\package.db
--flags=-in-ghc-tree
--cid=hsc2hs-0.68.7-6ec6311fdb960ca1979dd42fcaa6b74d84f109ca
--extra-prog-path=D:\bin --dependency=base=base-4.14.0.0
--dependency=containers=containers-0.6.2.1
--dependency=directory=directory-1.3.6.0
--dependency=filepath=filepath-1.4.2.1
--dependency=process=process-1.6.9.0-d456afb0b53f63803842bc0948b01d0dd0ace98d
--disable-coverage --exact-configuration
--with-ghc=D:\bin\stack\x86_64-windows\ghc-8.10.1\bin\ghc-8.10.1.exe
--with-ghc-pkg=D:\bin\stack\x86_64-windows\ghc-8.10.1\bin\ghc-pkg.exe
--ghc-option=-hide-all-packages exe:hsc2hs
Redirecting build log to {handle:
C:\Users\atrey\AppData\Roaming\cabal\logs\ghc-8.10.1\hsc2hs-0.68.7-6ec6311fdb960ca1979dd42fcaa6b74d84f109ca.log}
Building hsc2hs-0.68.7 (exe:hsc2hs)
Using self-exec internal setup method with build-type Simple and args:
["act-as-setup","--build-type=Simple","--","build","--verbose=2","--builddir=dist"]
D:\bin\cabal.exe act-as-setup --build-type=Simple -- build --verbose=2
--builddir=dist
Redirecting build log to {handle:
C:\Users\atrey\AppData\Roaming\cabal\logs\ghc-8.10.1\hsc2hs-0.68.7-6ec6311fdb960ca1979dd42fcaa6b74d84f109ca.log}
Installing hsc2hs-0.68.7 (exe:hsc2hs)
Using self-exec internal setup method with build-type Simple and args:
["act-as-setup","--build-type=Simple","--","copy","--verbose=2","--builddir=dist","--destdir=C:\\sd\\ghc-8.10.1\\incoming\\new-12908"]
D:\bin\cabal.exe act-as-setup --build-type=Simple -- copy --verbose=2
--builddir=dist --destdir=C:\sd\ghc-8.10.1\incoming\new-12908
Redirecting build log to {handle:
C:\Users\atrey\AppData\Roaming\cabal\logs\ghc-8.10.1\hsc2hs-0.68.7-6ec6311fdb960ca1979dd42fcaa6b74d84f109ca.log}
creating
C:\sd\ghc-8.10.1\incoming\new-12908\sd\ghc-8.10.1\hsc2hs-0.68.7-6ec6311fdb960ca1979dd42fcaa6b74d84f109ca
Completed hsc2hs-0.68.7 (exe:hsc2hs)
Extracting C:\TEMP2\network-3.1.1.1\dist-newstyle\sdist\network-3.1.1.1.tar.gz
to C:\TEMP2\cabal-install.-12908\dist-newstyle\tmp\src-12908...
creating
C:\TEMP2\cabal-install.-12908\dist-newstyle\tmp\src-12908\network-3.1.1.1\dist
Starting network-3.1.1.1 (all, legacy fallback)
Using self-exec internal setup method with build-type Configure and args:
["act-as-setup","--build-type=Configure","--","configure","--verbose=2","--builddir=dist","--ghc","--prefix=C:\\sd\\ghc-8.10.1\\network-3.1.1.1-6dbdf3bffde3d5d3aef4e49aa4664841d1527219","--bindir=C:\\sd\\ghc-8.10.1\\network-3.1.1.1-6dbdf3bffde3d5d3aef4e49aa4664841d1527219\\bin","--libdir=C:\\sd\\ghc-8.10.1\\network-3.1.1.1-6dbdf3bffde3d5d3aef4e49aa4664841d1527219\\lib","--libsubdir=","--dynlibdir=C:\\sd\\ghc-8.10.1\\network-3.1.1.1-6dbdf3bffde3d5d3aef4e49aa4664841d1527219\\lib","--libexecdir=C:\\sd\\ghc-8.10.1\\network-3.1.1.1-6dbdf3bffde3d5d3aef4e49aa4664841d1527219\\libexec","--libexecsubdir=","--datadir=C:\\sd\\ghc-8.10.1\\network-3.1.1.1-6dbdf3bffde3d5d3aef4e49aa4664841d1527219\\share","--datasubdir=","--docdir=C:\\sd\\ghc-8.10.1\\network-3.1.1.1-6dbdf3bffde3d5d3aef4e49aa4664841d1527219\\share\\doc","--htmldir=C:\\sd\\ghc-8.10.1\\network-3.1.1.1-6dbdf3bffde3d5d3aef4e49aa4664841d1527219\\share\\doc\\html","--haddockdir=C:\\sd\\ghc-8.10.1\\network-3.1.1.1-6dbdf3bffde3d5d3aef4e49aa4664841d1527219\\share\\doc\\html","--sysconfdir=C:\\sd\\ghc-8.10.1\\network-3.1.1.1-6dbdf3bffde3d5d3aef4e49aa4664841d1527219\\etc","--enable-library-vanilla","--disable-library-profiling","--disable-shared","--disable-static","--disable-executable-dynamic","--disable-executable-static","--disable-profiling","--profiling-detail=default","--library-profiling-detail=default","--enable-optimization","--disable-debug-info","--disable-library-for-ghci","--disable-split-sections","--disable-split-objs","--disable-executable-stripping","--disable-library-stripping","--package-db=clear","--package-db=global","--package-db=C:\\sd\\ghc-8.10.1\\package.db","--ipid=network-3.1.1.1-6dbdf3bffde3d5d3aef4e49aa4664841d1527219","--extra-prog-path=D:\\bin","--dependency=base=base-4.14.0.0","--dependency=bytestring=bytestring-0.10.10.0","--dependency=deepseq=deepseq-1.4.4.0","--disable-tests","--disable-coverage","--exact-configuration","--disable-benchmarks","--with-ghc=D:\\bin\\stack\\x86_64-windows\\ghc-8.10.1\\bin\\ghc-8.10.1.exe","--with-ghc-pkg=D:\\bin\\stack\\x86_64-windows\\ghc-8.10.1\\bin\\ghc-pkg.exe","--ghc-option=-hide-all-packages"]
D:\bin\cabal.exe act-as-setup --build-type=Configure -- configure --verbose=2
--builddir=dist --ghc
--prefix=C:\sd\ghc-8.10.1\network-3.1.1.1-6dbdf3bffde3d5d3aef4e49aa4664841d1527219
--bindir=C:\sd\ghc-8.10.1\network-3.1.1.1-6dbdf3bffde3d5d3aef4e49aa4664841d1527219\bin
--libdir=C:\sd\ghc-8.10.1\network-3.1.1.1-6dbdf3bffde3d5d3aef4e49aa4664841d1527219\lib
--libsubdir=
--dynlibdir=C:\sd\ghc-8.10.1\network-3.1.1.1-6dbdf3bffde3d5d3aef4e49aa4664841d1527219\lib
--libexecdir=C:\sd\ghc-8.10.1\network-3.1.1.1-6dbdf3bffde3d5d3aef4e49aa4664841d1527219\libexec
--libexecsubdir=
--datadir=C:\sd\ghc-8.10.1\network-3.1.1.1-6dbdf3bffde3d5d3aef4e49aa4664841d1527219\share
--datasubdir=
--docdir=C:\sd\ghc-8.10.1\network-3.1.1.1-6dbdf3bffde3d5d3aef4e49aa4664841d1527219\share\doc
--htmldir=C:\sd\ghc-8.10.1\network-3.1.1.1-6dbdf3bffde3d5d3aef4e49aa4664841d1527219\share\doc\html
--haddockdir=C:\sd\ghc-8.10.1\network-3.1.1.1-6dbdf3bffde3d5d3aef4e49aa4664841d1527219\share\doc\html
--sysconfdir=C:\sd\ghc-8.10.1\network-3.1.1.1-6dbdf3bffde3d5d3aef4e49aa4664841d1527219\etc
--enable-library-vanilla --disable-library-profiling --disable-shared
--disable-static --disable-executable-dynamic --disable-executable-static
--disable-profiling --profiling-detail=default
--library-profiling-detail=default --enable-optimization --disable-debug-info
--disable-library-for-ghci --disable-split-sections --disable-split-objs
--disable-executable-stripping --disable-library-stripping --package-db=clear
--package-db=global --package-db=C:\sd\ghc-8.10.1\package.db
--ipid=network-3.1.1.1-6dbdf3bffde3d5d3aef4e49aa4664841d1527219
--extra-prog-path=D:\bin --dependency=base=base-4.14.0.0
--dependency=bytestring=bytestring-0.10.10.0
--dependency=deepseq=deepseq-1.4.4.0 --disable-tests --disable-coverage
--exact-configuration --disable-benchmarks
--with-ghc=D:\bin\stack\x86_64-windows\ghc-8.10.1\bin\ghc-8.10.1.exe
--with-ghc-pkg=D:\bin\stack\x86_64-windows\ghc-8.10.1\bin\ghc-pkg.exe
--ghc-option=-hide-all-packages
Redirecting build log to {handle:
C:\Users\atrey\AppData\Roaming\cabal\logs\ghc-8.10.1\network-3.1.1.1-6dbdf3bffde3d5d3aef4e49aa4664841d1527219.log}
Building network-3.1.1.1 (all, legacy fallback)
Using self-exec internal setup method with build-type Configure and args:
["act-as-setup","--build-type=Configure","--","build","--verbose=2","--builddir=dist"]
D:\bin\cabal.exe act-as-setup --build-type=Configure -- build --verbose=2
--builddir=dist
Redirecting build log to {handle:
C:\Users\atrey\AppData\Roaming\cabal\logs\ghc-8.10.1\network-3.1.1.1-6dbdf3bffde3d5d3aef4e49aa4664841d1527219.log}
Installing network-3.1.1.1 (all, legacy fallback)
Using self-exec internal setup method with build-type Configure and args:
["act-as-setup","--build-type=Configure","--","copy","--verbose=2","--builddir=dist","--destdir=C:\\sd\\ghc-8.10.1\\incoming\\new-12908"]
D:\bin\cabal.exe act-as-setup --build-type=Configure -- copy --verbose=2
--builddir=dist --destdir=C:\sd\ghc-8.10.1\incoming\new-12908
Redirecting build log to {handle:
C:\Users\atrey\AppData\Roaming\cabal\logs\ghc-8.10.1\network-3.1.1.1-6dbdf3bffde3d5d3aef4e49aa4664841d1527219.log}
creating
C:\sd\ghc-8.10.1\incoming\new-12908\sd\ghc-8.10.1\network-3.1.1.1-6dbdf3bffde3d5d3aef4e49aa4664841d1527219
Using self-exec internal setup method with build-type Configure and args:
["act-as-setup","--build-type=Configure","--","register","--verbose=2","--builddir=dist","--gen-pkg-config=C:\\TEMP2\\cabal-install.-12908\\dist-newstyle\\tmp\\package-registration--12908\\pkgConf"]
D:\bin\cabal.exe act-as-setup --build-type=Configure -- register --verbose=2
--builddir=dist
--gen-pkg-config=C:\TEMP2\cabal-install.-12908\dist-newstyle\tmp\package-registration--12908\pkgConf
Redirecting build log to {handle:
C:\Users\atrey\AppData\Roaming\cabal\logs\ghc-8.10.1\network-3.1.1.1-6dbdf3bffde3d5d3aef4e49aa4664841d1527219.log}
"D:\bin\stack\x86_64-windows\ghc-8.10.1\bin\ghc-pkg.exe" "recache" "--package-db=C:\sd\ghc-8.10.1\package.db"
Completed network-3.1.1.1 (all, legacy fallback) |
Yes, same thing happens. It just hangs on the build step. Only when I downgrade both GHC and Cabal do I get past that step. @gbaz I'll try wiping the cabal store as @jneira suggested. UPDATE: It's still not working even after I've completely wiped the |
I've tried downloading I have also tried using Cabal So I guess there is some problem with Cabal |
@mastarija hi, we have new versions for cabal (
so the I see some potential problems with the paths, maybe they does not cause the concrete issue but i usually follow some rules (followed in choco installation for example):
Another workaround could be try to install the lib in a msys2 bash shell. |
@jneira your
|
I have the same problem on macOS 11.4 with cabal 3.4.0.0, ghc 8.10.5, network 3.1.2.2 |
@ul: may that be https://gitlab.haskell.org/ghc/ghc/-/issues/19968? If so, probably 8.10.4 should work? |
Seems to be it, thanks @Mikolaj for the pointer! |
@ul: I'm glad. Could you confirm it works for you with 8.10.4 (or however you made it work) for the benefit of other users coming to this ticket? |
Yes, downgrading ghc to 8.10.4 while keeping cabal and network version the same resolved the problem. |
@ul: thank you for the confirmation. Closing. Take care! |
Describe the bug
Cabal
3.2.0.0
with GHC8.10.1
gets stuck on build step when I attempt to install thenetwork-3.1.1.1
(as well as some earlier versions) package on Windows.To Reproduce
Expected behavior
network
library installs succesfuly.System information
cabal 3.2.0.0
,ghc 8.10.1
versionsAdditional context
When I downgrade to
cabal 3.0.0.0
andghc 8.8.1
installation is succesful.Here is the verbose cabal output:
And here's stuff from build log:
The text was updated successfully, but these errors were encountered: