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

Fix CI failures related to Test GHC Patches #2091

Closed
cgrindel opened this issue Dec 20, 2023 · 1 comment
Closed

Fix CI failures related to Test GHC Patches #2091

cgrindel opened this issue Dec 20, 2023 · 1 comment
Assignees

Comments

@cgrindel
Copy link
Contributor

Describe the bug

The Test GHC Patches jobs in CI are intermittently failing with the following error:

ERROR: /tmp/bazel-run-start-script/BUILD.bazel:29:15: HaskellLinkBinary example failed: (Exit 1): ghc_wrapper failed: error executing command (from target //:example) 
  (cd /home/runner/.cache/bazel/_bazel_runner/8b8a09a5fc28e77c5514319513adb8f9/sandbox/linux-sandbox/21/execroot/YOUR_PROJECT_NAME_HERE && \
  exec env - \
    CC_WRAPPER_CC_PATH=/usr/bin/gcc \
    CC_WRAPPER_CPU=k8 \
    CC_WRAPPER_PLATFORM=linux \
    LANG=C.UTF-8 \
    MUST_EXTRACT_ABI=false \
    PATH=/usr/bin \
    RULES_HASKELL_DOCDIR_PATH=external/rules_haskell_ghc_linux_amd64/doc/html/libraries/base-4.11.1.0 \
    RULES_HASKELL_GHC_PATH=external/rules_haskell_ghc_linux_amd64/bin/ghc \
    RULES_HASKELL_GHC_PKG_PATH=external/rules_haskell_ghc_linux_amd64/bin/ghc-pkg \
    RULES_HASKELL_LIBDIR_PATH=external/rules_haskell_ghc_linux_amd64/lib \
  bazel-out/k8-opt-exec-2B5CBBC6/bin/external/rules_haskell/haskell/ghc_wrapper bazel-out/k8-fastbuild/bin/compile_flags_example__HaskellLinkBinary bazel-out/k8-fastbuild/bin/extra_args_example__HaskellLinkBinary)
# Configuration: 9c3cf069b61fd211[53](https://github.com/tweag/rules_haskell/actions/runs/7277072140/job/19828343284?pr=2090#step:7:54)90ee1194afa6e[55](https://github.com/tweag/rules_haskell/actions/runs/7277072140/job/19828343284?pr=2090#step:7:56)bee94ae38da6e1b24edf866edaad83a
# Execution platform: @local_config_platform//:host

Use --sandbox_debug to see verbose messages from the sandbox and retain the sandbox build root for debugging
ghc: unrecognised flag: -fclear-plugins

Example failure

To Reproduce

Run Ci.

Expected behavior

Green. Happiness.

@cgrindel cgrindel self-assigned this Dec 20, 2023
@avdv avdv self-assigned this Dec 20, 2023
@cgrindel cgrindel assigned avdv and unassigned cgrindel and avdv Dec 20, 2023
@avdv
Copy link
Member

avdv commented Dec 21, 2023

Fixed by #2093

@avdv avdv closed this as completed Dec 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants