Last active
August 15, 2025 09:04
-
-
Save dcastro/25ef6740c5a619ee5ae48c6621aa0c8a to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ nix build | |
warning: Git tree '/home/dc/dev/other/haskellnixtest' is dirty | |
trace: WARNING: `cleanSourceWith` called on /nix/store/w6732cpscd1rjyszkvrwgc2wx1m4li6x-source without a `name`. Consider adding `name = "w6732cpscd1rjyszkvrwgc2wx1m4li6x-source";` | |
trace: WARNING: `cleanSourceWith` called on /nix/store/w6732cpscd1rjyszkvrwgc2wx1m4li6x-source without a `name`. Consider adding `name = "w6732cpscd1rjyszkvrwgc2wx1m4li6x-source";` | |
error: Cannot build '/nix/store/6snf2dkdpac49rlpy8849jph7i66dlzc-th-orphans-lib-th-orphans-aarch64-unknown-linux-gnu-0.13.16.drv'. | |
Reason: builder failed with exit code 1. | |
Output paths: | |
/nix/store/16531rwhkvgbgs41r8a4pgqbn1rg2b47-th-orphans-lib-th-orphans-aarch64-unknown-linux-gnu-0.13.16 | |
/nix/store/rwh3r8vdbcvz59sajan3hgxfm0x1knzx-th-orphans-lib-th-orphans-aarch64-unknown-linux-gnu-0.13.16-data | |
Last 25 log lines: | |
> Running phase: configurePhase | |
> Configure flags: | |
> --prefix=/nix/store/16531rwhkvgbgs41r8a4pgqbn1rg2b47-th-orphans-lib-th-orphans-aarch64-unknown-linux-gnu-0.13.16 lib:th-orphans --package-db=clear --package-db=/build/tmp.scTsGCHrdX/lib/package.conf.d --exact-configuration --dependency=mtl=mtl-2.3.1-E0UxHr8r1YUJerBtDnWYk4 --dependency=transformers=transformers-0.6.1.0-DJfH3LAGVmRLxjzq0YoDYh --dependency=th-compat=th-compat-0.1.6-C7IFD8jeZ5FBpkVpxsrbBT --dependency=th-lift=th-lift-0.8.6-HSjJncY3rabDsP0ngHWfr9 --dependency=th-abstraction=th-abstraction-0.5.0.0-IYB6brf8OYqKyYlgYk05CN --dependency=containers=containers-0.6.7-7LvLYjtAhjbCQk9SlqKTzN --dependency=th-reify-many=th-reify-many-0.1.10-LXfiAwma7iN2K78G8OZ5C0 --dependency=safe=safe-0.3.21-3uLJbQ3bqZa5EVWbqjkmqS --dependency=th-expand-syns=th-expand-syns-0.4.12.0-Dsa7LPGLKBE9sn6VEteGU --dependency=syb=syb-0.7.2.4-FBa2dfZrzzu7owkvhCx23j --dependency=array=array-0.5.8.0 --dependency=base=base-4.18.3.0 --dependency=deepseq=deepseq-1.4.8.1 --dependency=ghc-bignum=ghc-bignum-1.3 --dependency=ghc-boot-th=ghc-boot-th-9.6.7 --dependency=ghc-prim=ghc-prim-0.10.0 --dependency=integer-gmp=integer-gmp-1.1 --dependency=pretty=pretty-1.1.3.6 --dependency=rts=rts-1.0.2 --dependency=system-cxx-std-lib=system-cxx-std-lib-1.0 --dependency=template-haskell=template-haskell-2.20.0.0 --with-ghc=aarch64-unknown-linux-gnu-ghc --with-ghc-pkg=aarch64-unknown-linux-gnu-ghc-pkg --with-hsc2hs=aarch64-unknown-linux-gnu-hsc2hs --with-gcc=aarch64-unknown-linux-gnu-cc --with-ar=aarch64-unknown-linux-gnu-ar --with-strip=aarch64-unknown-linux-gnu-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/rwh3r8vdbcvz59sajan3hgxfm0x1knzx-th-orphans-lib-th-orphans-aarch64-unknown-linux-gnu-0.13.16-data/share/aarch64-unknown-linux-gnu-ghc-9.6.7 --enable-split-sections --hsc2hs-option=--cross-compile | |
> Configuring library for th-orphans-0.13.16... | |
> Running phase: buildPhase | |
> Preprocessing library for th-orphans-0.13.16... | |
> Building library for th-orphans-0.13.16... | |
> [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 on port 9718 | |
> ---| iserv-proxy-interpreter should have started on 9718 | |
> Listening on port 9718 | |
> qemu: uncaught target signal 4 (Illegal instruction) - core dumped | |
> iserv-proxy: {handle: <socket: 5>}: GHCi.Message.remoteCall: end of file | |
> /nix/store/3x1pc3q6c6sbyfi0hfwnmxq75cgvi7zs-iserv-wrapper/bin/iserv-wrapper: line 13: 259 Illegal instruction /nix/store/i2gck3fpgkp4818kz2hdklv7pa39190x-qemu-9.2.3/bin/qemu-aarch64 /nix/store/yris7k8yvcmb0ywwjp069svwz7mbgca3-iserv-proxy-exe-iserv-proxy-interpreter-aarch64-unknown-linux-gnu-9.3/bin/iserv-proxy-interpreter tmp $PORT $ISERV_ARGS | |
> | |
> src/Language/Haskell/TH/Instances.hs:1:1: error: [GHC-87897] | |
> Exception when trying to run compile-time code: | |
> ghc-iserv terminated (1) | |
> Code: (deriveQuasiTrans | |
> [t| forall r m. Quasi m => Quasi (ReaderT r m) |] | |
> [| \ m1 m2 -> ReaderT $ \ r -> ... |]) | |
> | | |
> 1 | {-# LANGUAGE CPP #-} | |
> | ^ | |
For full logs, run: | |
nix-store -l /nix/store/6snf2dkdpac49rlpy8849jph7i66dlzc-th-orphans-lib-th-orphans-aarch64-unknown-linux-gnu-0.13.16.drv | |
error: Cannot build '/nix/store/yv3hsz68zrb4r9jpqlwz1cpk9vnif86w-haskellnixtest-exe-haskellnixtest-exe-aarch64-unknown-linux-gnu-0.1.0.0.drv'. | |
Reason: 1 dependency failed. | |
Output paths: | |
/nix/store/51j5v0kk1sq03dc3wx4wamilf5z4ra29-haskellnixtest-exe-haskellnixtest-exe-aarch64-unknown-linux-gnu-0.1.0.0 | |
/nix/store/55ysrcz33r9nshp9nx985f04d42ws8hl-haskellnixtest-exe-haskellnixtest-exe-aarch64-unknown-linux-gnu-0.1.0.0-data |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ nix-store -l /nix/store/6snf2dkdpac49rlpy8849jph7i66dlzc-th-orphans-lib-th-orphans-aarch64-unknown-linux-gnu-0.13.16.drv | |
Running phase: unpackPhase | |
@nix { "action": "setPhase", "phase": "unpackPhase" } | |
unpacking source archive /nix/store/gahszv102xgczaa6mwjh3fygzv3rzyh3-th-orphans-0.13.16.tar.gz | |
source root is th-orphans-0.13.16 | |
setting SOURCE_DATE_EPOCH to timestamp 1000000000 of file "th-orphans-0.13.16/th-orphans.cabal" | |
Running phase: patchPhase | |
@nix { "action": "setPhase", "phase": "patchPhase" } | |
Running phase: updateAutotoolsGnuConfigScriptsPhase | |
@nix { "action": "setPhase", "phase": "updateAutotoolsGnuConfigScriptsPhase" } | |
Running phase: updateAutotoolsGnuConfigScriptsPhase | |
@nix { "action": "setPhase", "phase": "updateAutotoolsGnuConfigScriptsPhase" } | |
Running phase: configurePhase | |
@nix { "action": "setPhase", "phase": "configurePhase" } | |
Configure flags: | |
--prefix=/nix/store/16531rwhkvgbgs41r8a4pgqbn1rg2b47-th-orphans-lib-th-orphans-aarch64-unknown-linux-gnu-0.13.16 lib:th-orphans --package-db=clear --package-db=/build/tmp.scTsGCHrdX/lib/package.conf.d --exact-configuration --dependency=mtl=mtl-2.3.1-E0UxHr8r1YUJerBtDnWYk4 --dependency=transformers=transformers-0.6> | |
Configuring library for th-orphans-0.13.16... | |
Running phase: buildPhase | |
@nix { "action": "setPhase", "phase": "buildPhase" } | |
Preprocessing library for th-orphans-0.13.16... | |
Building library for th-orphans-0.13.16... | |
[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 on port 9718 | |
---| iserv-proxy-interpreter should have started on 9718 | |
Listening on port 9718 | |
qemu: uncaught target signal 4 (Illegal instruction) - core dumped | |
iserv-proxy: {handle: <socket: 5>}: GHCi.Message.remoteCall: end of file | |
/nix/store/3x1pc3q6c6sbyfi0hfwnmxq75cgvi7zs-iserv-wrapper/bin/iserv-wrapper: line 13: 259 Illegal instruction /nix/store/i2gck3fpgkp4818kz2hdklv7pa39190x-qemu-9.2.3/bin/qemu-aarch64 /nix/store/yris7k8yvcmb0ywwjp069svwz7mbgca3-iserv-proxy-exe-iserv-proxy-interpreter-aarch64-unknown-linux-gnu-9.3/bin/iserv-pro> | |
src/Language/Haskell/TH/Instances.hs:1:1: error: [GHC-87897] | |
Exception when trying to run compile-time code: | |
ghc-iserv terminated (1) | |
Code: (deriveQuasiTrans | |
[t| forall r m. Quasi m => Quasi (ReaderT r m) |] | |
[| \ m1 m2 -> ReaderT $ \ r -> ... |]) | |
| | |
1 | {-# LANGUAGE CPP #-} | |
| ^ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment