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

Build failure: ghc910 #317813

Closed
m4dc4p opened this issue Jun 6, 2024 · 1 comment
Closed

Build failure: ghc910 #317813

m4dc4p opened this issue Jun 6, 2024 · 1 comment
Labels

Comments

@m4dc4p
Copy link

m4dc4p commented Jun 6, 2024

Steps To Reproduce

Steps to reproduce the behavior:

  1. nix build "nixpkgs/release-24.05#haskell.compiler.ghc910"

Build log

nix log /nix/store/rm2gv2sr5sliyr5b9iw8233jp3w3d6xx-ghc-9.10.1-source.drv

@nix { "action": "setPhase", "phase": "unpackPhase" }
Running phase: unpackPhase
unpacking source archive /nix/store/zbk236pd71id8hjkzscz386hjv5z0sp3-ghc-9.10.1-src.tar.xz
source root is ghc-9.10.1
setting SOURCE_DATE_EPOCH to timestamp 1715318299 of file ghc-9.10.1/utils/hpc/src/Trace/Hpc/Parser.hs
@nix { "action": "setPhase", "phase": "patchPhase" }
Running phase: patchPhase
applying patch /nix/store/32kfndxy8dbaa47jbpg2fp4lsd4wcxmg-docs-sphinx-7-ghc98.patch
patching file docs/users_guide/rtd-theme/layout.html
applying patch /nix/store/cz1vxgj0sjw51g8vx7bh4r6vl3j9xxgj-Cabal-at-least-3.6-paths-fix-cycle-aarch64-darwin.patch
patching file libraries/Cabal/Cabal/src/Distribution/Simple/Build/PathsModule.hs
Hunk #1 FAILED at 46.
Hunk #2 FAILED at 56.
2 out of 2 hunks FAILED -- saving rejects to file libraries/Cabal/Cabal/src/Distribution/Simple/Build/PathsModule.hs.rej
patching file libraries/Cabal/Cabal/src/Distribution/Simple/Build/PathsModule/Z.hs
Hunk #1 succeeded at 19 (offset 1 line).
Hunk #2 succeeded at 62 (offset 9 lines).
Hunk #3 succeeded at 155 (offset 9 lines).
Hunk #4 succeeded at 191 (offset 9 lines).
Hunk #5 succeeded at 201 (offset 9 lines).
Hunk #6 succeeded at 245 (offset 9 lines).
patching file libraries/Cabal/cabal-dev-scripts/src/GenPathsModule.hs
patching file libraries/Cabal/templates/Paths_pkg.template.hs
Hunk #1 succeeded at 14 (offset 5 lines).
Hunk #2 succeeded at 77 (offset 5 lines).
Hunk #3 succeeded at 111 (offset 5 lines).

Additional context

I'm trying to build GHC 9.10 on my M1 and its failing to apply a patch.

This occurs in nixpkgs/master (10b7b6a) as well as the 24.05 release. (shown above)

Notify maintainers

@sternenseemann @maralorn

Metadata

Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.

 - system: `"aarch64-darwin"`
 - host os: `Darwin 23.5.0, macOS 14.5`
 - multi-user?: `yes`
 - sandbox: `no`
 - version: `nix-env (Nix) 2.19.1`
 - channels(root): `"nixpkgs"`
 - nixpkgs: `/Users/justin.bailey/.nix-defexpr/channels/nixpkgs`
@m4dc4p m4dc4p added the 0.kind: build failure A package fails to build label Jun 6, 2024
@sternenseemann
Copy link
Member

Will be resolved by #315167.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants