Skip to content

Comments

ghc-gc-hook: mark as broken on Darwin#200272

Closed
divanorama wants to merge 1 commit intoNixOS:masterfrom
divanorama:zhf2211/ghc-gc-hook
Closed

ghc-gc-hook: mark as broken on Darwin#200272
divanorama wants to merge 1 commit intoNixOS:masterfrom
divanorama:zhf2211/ghc-gc-hook

Conversation

@divanorama
Copy link
Contributor

Description of changes

failure logs
https://hydra.nixos.org/build/197442797/nixlog/1

cbits/hook.c:6:10: error:  fatal error: 'threads.h' file not found
  |
6 | #include <threads.h>
  |          ^
 #include <threads.h>
          ^~~~~~~~~~~
1 error generated.

which seems to be unfixable
https://stackoverflow.com/questions/16244153/clang-c11-threads-h-not-found

ZHF: #199919

Things done
  • Built on platform(s)
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
  • Tested, as applicable:
  • Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
  • Tested basic functionality of all binary files (usually in ./result/bin/)
  • 22.11 Release Notes (or backporting 22.05 Release notes)
    • (Package updates) Added a release notes entry if the change is major or breaking
    • (Module updates) Added a release notes entry if the change is significant
    • (Module addition) Added a release notes entry if adding a new NixOS module
    • (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes
  • Fits CONTRIBUTING.md.

failure logs
https://hydra.nixos.org/build/197442797/nixlog/1
```
cbits/hook.c:6:10: error:  fatal error: 'threads.h' file not found
  |
6 | #include <threads.h>
  |          ^
 #include <threads.h>
          ^~~~~~~~~~~
1 error generated.
```

which seems to be unfixable
https://stackoverflow.com/questions/16244153/clang-c11-threads-h-not-found

ZHF: NixOS#199919
@ofborg ofborg bot added the 6.topic: darwin Running or building packages on Darwin label Nov 8, 2022
@github-actions github-actions bot added the 6.topic: haskell General-purpose, statically typed, purely functional programming language label Nov 8, 2022
@ofborg ofborg bot added 8.has: clean-up This PR removes packages or removes other cruft 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 0 This PR does not cause any packages to rebuild on Linux. labels Nov 8, 2022
@sternenseemann
Copy link
Member

Thanks, I'll update the metadata. Note that your fix is incorrect as you edited an automatically generated file (as is stated at the top), so the change would soon be reverted. Instead you would need to edit the configuration and regenerate the file afterwards, as described in HACKING.md in the same directory.

rtimush pushed a commit to rtimush/nixpkgs that referenced this pull request Sep 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

6.topic: darwin Running or building packages on Darwin 6.topic: haskell General-purpose, statically typed, purely functional programming language 8.has: clean-up This PR removes packages or removes other cruft 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 0 This PR does not cause any packages to rebuild on Linux.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants