Skip to content

omit_pragmas flavour transformer broken on master

./hadrian/build -j6 --flavour=default+no_profiled_libs+omit_pragmas

Leads to

Command line: _build/stage0/bin/ghc -Wall -Wcompat -dynamic-too -hisuf hi -osuf o -hcsuf hc -static -hide-all-packages -no-user-package-db '-package-env -' '-package-db _build/stage1/lib/package.conf.d' '-this-unit-id ghc-9.5' '-package-id array-0.5.4.0' '-package-id base-4.17.0.0' '-package-id binary-0.8.9.0' '-package-id bytestring-0.11.3.0' '-package-id containers-0.6.5.1' '-package-id deepseq-1.4.8.0' '-package-id directory-1.3.7.1' '-package-id exceptions-0.10.5' '-package-id filepath-1.4.2.2' '-package-id ghc-boot-9.5' '-package-id ghc-heap-9.5' '-package-id ghci-9.5' '-package-id hpc-0.6.1.0' '-package-id process-1.6.14.0' '-package-id stm-2.5.1.0' '-package-id template-haskell-2.19.0.0' '-package-id terminfo-0.4.1.5' '-package-id time-1.12.2' '-package-id transformers-0.5.6.2' '-package-id unix-2.7.2.2' -i -i/home/matt/ghc-clean/_build/stage1/compiler/build -i/home/matt/ghc-clean/_build/stage1/compiler/build/autogen -i/home/matt/ghc-clean/compiler -Irts/include -I_build/stage1/compiler/build -I_build/stage1/compiler/build/. -Icompiler/. -I/home/matt/ghc-clean/_build/stage1/lib/x86_64-linux-ghc-9.5.20220811/process-1.6.14.0/include -I/nix/store/ab5chvn4w5jim59911kg6fa3rvzjlibr-libffi-3.4.2-dev/include -I/home/matt/ghc-clean/_build/stage1/lib/x86_64-linux-ghc-9.5.20220811/unix-2.7.2.2/include -I/home/matt/ghc-clean/_build/stage1/lib/x86_64-linux-ghc-9.5.20220811/time-1.12.2/include -I/home/matt/ghc-clean/_build/stage1/lib/x86_64-linux-ghc-9.5.20220811/bytestring-0.11.3.0/include -I/home/matt/ghc-clean/_build/stage1/lib/x86_64-linux-ghc-9.5.20220811/base-4.17.0.0/include -I/nix/store/q29rm69241n9czpz7lm77qni9r5w9l2f-gmp-with-cxx-6.2.1-dev/include -I/home/matt/ghc-clean/_build/stage1/lib/x86_64-linux-ghc-9.5.20220811/ghc-bignum-1.3/include -I/nix/store/ab5chvn4w5jim59911kg6fa3rvzjlibr-libffi-3.4.2-dev/include -I/nix/store/r8wy2yvy3ag82z07k53mp9ck69k7lzjv-elfutils-0.186-bin/include -I/home/matt/ghc-clean/_build/stage1/lib/x86_64-linux-ghc-9.5.20220811/rts-1.0.2/include -optP-include -optP_build/stage1/compiler/build/autogen/cabal_macros.h -optP-DHAVE_INTERNAL_INTERPRETER -optP-DCAN_LOAD_DLL -outputdir _build/stage1/compiler/build -fdiagnostics-color=always -Wnoncanonical-monad-instances -optc-Wno-error=inline -optP-Wno-nonportable-include-path -c compiler/GHC/Unit/Home.hs -o _build/stage1/compiler/build/GHC/Unit/Home.o -O2 -H32m -Wall -Wno-name-shadowing -Wnoncanonical-monad-instances -Wnoncanonical-monoid-instances -this-unit-id ghc -XHaskell2010 -XNoImplicitPrelude -XBangPatterns -XScopedTypeVariables -XMonoLocalBinds -XTypeOperators -no-global-package-db -package-db=/home/matt/ghc-clean/_build/stage1/lib/package.conf.d -ghcversion-file=rts/include/ghcversion.h -ghcversion-file=rts/include/ghcversion.h -haddock -Winvalid-haddock -Wno-deprecated-flags -Wcpp-undef -fomit-interface-pragmas
===> Command failed with error code: 1
_build/stage1/compiler/build/GHC/Unit/Types.hi
Rule "SPEC $fEqGenUnit @UnitId":
  Iface id out of scope:  $s$fEqGenUnit
Cannot continue after interface file error
Command failed

Labelling as highest as this blocks development workflow.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information