Skip to content
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

WIP: update haskell nix #5941

Draft
wants to merge 5 commits into
base: master
Choose a base branch
from

fix: Use nomad from cardano-perf

e235a55
Select commit
Loading
Failed to load commit list.
Draft

WIP: update haskell nix #5941

fix: Use nomad from cardano-perf
e235a55
Select commit
Loading
Failed to load commit list.
IOG Hydra / ci/hydra-build:x86_64-linux.windows.checks.cardano-testnet.cardano-testnet-test failed Aug 13, 2024 in 0s

Build dependency failed

1 failed steps

Details

Failed Steps

Step 1

Derivation

/nix/store/qw5assal2x15fimn4c304rkc7l0av4pi-th-orphans-lib-th-orphans-x86_64-w64-mingw32-0.13.14.drv

Log

Running phase: unpackPhase
unpacking source archive /nix/store/zrm8wx2ng11d5pyihh8r6zg6lk26sgi9-th-orphans-0.13.14.tar.gz
source root is th-orphans-0.13.14
setting SOURCE_DATE_EPOCH to timestamp 1661116263 of file th-orphans-0.13.14/th-orphans.cabal
Running phase: patchPhase
'/build/.attr-0h9ydb7s8pfhl5kfs3rmmwnmpi49yyiw7jgr5dpw9rmvv8sy0f2b' -> 'th-orphans.cabal'
Running phase: updateAutotoolsGnuConfigScriptsPhase
Running phase: configurePhase
Configure flags:
--prefix=/nix/store/qk7dy8hfbd6wxippcfnbhbya4q71jdlc-th-orphans-lib-th-orphans-x86_64-w64-mingw32-0.13.14 lib:th-orphans --package-db=clear --package-db=/build/tmp.28a6GDKISC/lib/x86_64-w64-mingw32-ghc-8.10.7/package.conf.d --exact-configuration --dependency=th-compat=th-compat-0.1.5-8ptImYPdURmD5raplYxJDa --dependency=directory=directory-1.3.8.5-2qiYVNkINQjFU5QYwGJceB --dependency=Win32=Win32-2.14.0.0-3oLPWvB9grxGKW3iaeR9lt --dependency=filepath=filepath-1.4.300.2-20l6mzIcsDxSuklv8aMVG --dependency=bytestring=bytestring-0.11.5.3-6mSyG1QdbO53J8roJ6DH5T --dependency=time=time-1.12.2-EbNEIL2KnI2ArgcXXsBnw2 --dependency=th-lift=th-lift-0.8.4-32xgR7nUKxZ6tdO4HcGp4h --dependency=th-abstraction=th-abstraction-0.7.0.0-LtceoAJLfWG9oEfA2PZxbd --dependency=th-reify-many=th-reify-many-0.1.10-BmEp6gReCtmAAd7UlCwWgz --dependency=safe=safe-0.3.21-94ty5kgm4rj43F4ZLzxVla --dependency=th-expand-syns=th-expand-syns-0.4.11.0-IoOXJn2BtvyAAQ0gzzEN7E --dependency=syb=syb-0.7.2.4-9qMaKqh8dGP5XhKtZedMDK --dependency=array=array-0.5.4.0 --dependency=base=base-4.14.3.0 --dependency=containers=containers-0.6.5.1 --dependency=deepseq=deepseq-1.4.4.0 --dependency=exceptions=exceptions-0.10.4 --dependency=ghc-boot-th=ghc-boot-th-8.10.7 --dependency=ghc-heap=ghc-heap-8.10.7 --dependency=ghc-prim=ghc-prim-0.6.1 --dependency=integer-gmp=integer-gmp-1.0.3.0 --dependency=mtl=mtl-2.2.2 --dependency=pretty=pretty-1.1.3.6 --dependency=rts=rts --dependency=stm=stm-2.5.0.1 --dependency=template-haskell=template-haskell-2.16.0.0 --dependency=transformers=transformers-0.5.6.2 --with-ghc=x86_64-w64-mingw32-ghc --with-ghc-pkg=x86_64-w64-mingw32-ghc-pkg --with-hsc2hs=x86_64-w64-mingw32-hsc2hs --with-gcc=x86_64-w64-mingw32-cc --with-ar=x86_64-w64-mingw32-ar --with-strip=x86_64-w64-mingw32-strip --disable-executable-stripping --disable-library-stripping --disable-library-profiling --disable-profiling --enable-static --disable-shared --disable-executable-dynamic --disable-coverage --enable-library-for-ghci --datadir=/nix/store/aqhnjrazm6n1mpyf2ni7x9jr79m7ydb5-th-orphans-lib-th-orphans-x86_64-w64-mingw32-0.13.14-data/share/x86_64-w64-mingw32-ghc-8.10.7 --hsc2hs-option=--cross-compile --hsc2hs-option=--via-asm --disable-split-sections 
Configuring library for th-orphans-0.13.14..
Running phase: buildPhase
Preprocessing library for th-orphans-0.13.14..
Building library for th-orphans-0.13.14..
[1 of 2] Compiling Language.Haskell.TH.Instances.Internal ( src/Language/Haskell/TH/Instances/Internal.hs, dist/build/Language/Haskell/TH/Instances/Internal.o )
[2 of 2] Compiling Language.Haskell.TH.Instances ( src/Language/Haskell/TH/Instances.hs, dist/build/Language/Haskell/TH/Instances.o )
---> Starting iserv-proxy-interpreter.exe on port 7716
To re-use the same wine-prefix and remote-iserv, set the following environment variables:
export WINEPREFIX=/build/tmp.KTlfxY5jxO
export REMOTE_ISERV=/build/tmp.n9fc0f9r6u
---| iserv-proxy-interpreter.exe should have started on 7716
004c:err:systray:initialize_systray Could not create tray window
0090:err:setupapi:SetupDefaultQueueCallbackW copy error 1812 L"@C:\\windows\\system32\\drivers\\wineusb.sys,-1" -> L"C:\\windows\\inf\\wineusb.inf"
wine: failed to open L"C:\\windows\\syswow64\\rundll32.exe": c0000135
wine: configuration in L"/build" has been updated.
Listening on port 7716
0024:err:virtual:virtual_setup_exception stack overflow 1856 bytes addr 0x7fffe9f33371 stack 0x208c0 (0x20000-0x21000-0x220000)
iserv-proxy: {handle: <socket: 5>}: GHCi.Message.remoteCall: end of file
/nix/store/4psrnjqi6svpj5lmwgmsv559m7blgidz-iserv-wrapper/bin/iserv-wrapper: line 41:   339 Segmentation fault      (core dumped) WINEDLLOVERRIDES="winemac.drv=d" WINEDEBUG=warn-all,fixme-all,-menubuilder,-mscoree,-ole,-secur32,-winediag WINEPREFIX=$TMP /nix/store/1v7wwj2djs8cws78w23cr0kv58my55jx-wine64-9.0/bin/wine64 $REMOTE_ISERV/iserv-proxy-interpreter.exe tmp $PORT --no-load-call $ISERV_ARGS

src/Language/Haskell/TH/Instances.hs:1:1: error:
    Exception when trying to run compile-time code:
      ghc: ghc-iserv terminated (1)
    Code: reifyManyWithoutInstances ''Lift [''Info, ''Loc] (const True)
            >>= deriveLiftMany
  |
1 | {-# LANGUAGE CPP #-}
  | ^