Closed achindra closed 1 year ago
Looking deeper
ghc: panic! (the 'impossible' happened) (GHC version 8.6.5 for x86_64-unknown-linux): Prelude.chr: bad argument: 2634022915
[1/15] cd /home/user/source/rpc/vcpkg/buildtrees/bond/src/9.0.3-a4daca7a1f.clean/compiler && /usr/local/lib/python3.8/dist-packages/cmake/data/bin/cmake /home/user/source/rpc/vcpkg/buildtrees/bond/x64-linux-dbg -N -Dbuild_dir=/home/user/source/rpc/vcpkg/buildtrees/bond/x64-linux-dbg/compiler -Dtarget=gbc "-Dstack_options=;--fast;--no-executable-stripping;--no-library-stripping;--no-strip;;;;;;;;;;" -P stack_build.cmake
FAILED: compiler/build/gbc/gbc /home/user/source/rpc/vcpkg/buildtrees/bond/x64-linux-dbg/compiler/build/gbc/gbc
cd /home/user/source/rpc/vcpkg/buildtrees/bond/src/9.0.3-a4daca7a1f.clean/compiler && /usr/local/lib/python3.8/dist-packages/cmake/data/bin/cmake /home/user/source/rpc/vcpkg/buildtrees/bond/x64-linux-dbg -N -Dbuild_dir=/home/user/source/rpc/vcpkg/buildtrees/bond/x64-linux-dbg/compiler -Dtarget=gbc "-Dstack_options=;--fast;--no-executable-stripping;--no-library-stripping;--no-strip;;;;;;;;;;" -P stack_build.cmake
ghc: panic! (the 'impossible' happened)
(GHC version 8.6.5 for x86_64-unknown-linux):
Prelude.chr: bad argument: 2634022915
Please report this as a GHC bug: http://www.haskell.org/ghc/reportabug
Error: [S-6374]
While building simple Setup.hs (scroll up to its section to see the error) using:
/usr/bin/ghc-8.6.5 -rtsopts -threaded -clear-package-db -global-package-db -hide-all-packages -package base -main-is StackSetupShim.mainOverride -package Cabal-2.4.0.1 /home/user/.stack/setup-exe-src/setup-SvXsv1f_.hs /home/user/.stack/setup-exe-src/setup-shim-SvXsv1f_.hs -o /home/user/.stack/setup-exe-cache/x86_64-linux/tmp-Cabal-simple_SvXsv1f__2.4.0.1_ghc-8.6.5
Process exited with code: ExitFailure 1
CMake Error at stack_build.cmake:30 (message):
build failed - scroll up for its output
ninja: build stopped: subcommand failed.
I can't reproduce this issue in my side with the latest vcpkg.
Also, does this issue disappear when deleting .stack/setup-exe-src/
?
This is an automated message. Per our repo policy, stale issues get closed if there has been no activity in the past 28 days. The issue will be automatically closed in 14 days. If you wish to keep this issue open, please add a new comment.
Operating system
Linux
Compiler
clang
Steps to reproduce the behavior
Failure logs
Package: bond[core]:x64-linux -> 9.0.3#3
Host Environment
To Reproduce
vcpkg install bond
Failure logs
/home/user/source/vcpkg/buildtrees/bond/install-x64-linux-dbg-out.log
``` [1/15] cd /home/user/source/vcpkg/buildtrees/bond/src/9.0.3-a4daca7a1f.clean/compiler && /usr/local/lib/python3.8/dist-packages/cmake/data/bin/cmake /home/user/source/vcpkg/buildtrees/bond/x64-linux-dbg -N -Dbuild_dir=/home/user/source/vcpkg/buildtrees/bond/x64-linux-dbg/compiler -Dtarget=gbc "-Dstack_options=;--fast;--no-executable-stripping;--no-library-stripping;--no-strip;;;;;;;;;;" -P stack_build.cmake FAILED: compiler/build/gbc/gbc /home/user/source/vcpkg/buildtrees/bond/x64-linux-dbg/compiler/build/gbc/gbc cd /home/user/source/vcpkg/buildtrees/bond/src/9.0.3-a4daca7a1f.clean/compiler && /usr/local/lib/python3.8/dist-packages/cmake/data/bin/cmake /home/user/source/vcpkg/buildtrees/bond/x64-linux-dbg -N -Dbuild_dir=/home/user/source/vcpkg/buildtrees/bond/x64-linux-dbg/compiler -Dtarget=gbc "-Dstack_options=;--fast;--no-executable-stripping;--no-library-stripping;--no-strip;;;;;;;;;;" -P stack_build.cmake ghc: panic! (the 'impossible' happened) (GHC version 8.6.5 for x86_64-unknown-linux): Prelude.chr: bad argument: 2634022915 Please report this as a GHC bug: http://www.haskell.org/ghc/reportabug Error: [S-6374] While building simple Setup.hs (scroll up to its section to see the error) using: /usr/bin/ghc-8.6.5 -rtsopts -threaded -clear-package-db -global-package-db -hide-all-packages -package base -main-is StackSetupShim.mainOverride -package Cabal-2.4.0.1 /home/user/.stack/setup-exe-src/setup-SvXsv1f_.hs /home/user/.stack/setup-exe-src/setup-shim-SvXsv1f_.hs -o /home/user/.stack/setup-exe-cache/x86_64-linux/tmp-Cabal-simple_SvXsv1f__2.4.0.1_ghc-8.6.5 Process exited with code: ExitFailure 1 CMake Error at stack_build.cmake:30 (message): build failed - scroll up for its output ninja: build stopped: subcommand failed. ```Additional context
Additional context
vpkg.exe on windows builds correctly and installs gbc.exe in vcpkg\installed\x64-windows-static\tools\gbc.exe Linux build does not complete, earlier it was building but not installing gbc.