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: folly 2024.11.18 (and therefore watchman) stopped compiling on darwin #368501

Closed
ilyagr opened this issue Dec 27, 2024 · 5 comments · Fixed by #368576
Closed

Build failure: folly 2024.11.18 (and therefore watchman) stopped compiling on darwin #368501

ilyagr opened this issue Dec 27, 2024 · 5 comments · Fixed by #368576
Labels
0.kind: build failure A package fails to build

Comments

@ilyagr
Copy link
Contributor

ilyagr commented Dec 27, 2024

Steps To Reproduce

Steps to reproduce the behavior:

  1. build folly 2024.11.18 (in unstable since a few days ago)

Build log

See https://gist.github.com/ilyagr/6563926a723ed3f6e8dd121e758cd9bd

Additional context

The build chugged along for a couple of minutes, then 2 instances of clang++ took 2 hours at 100% CPU utilization (single core) before failing.

The problem is with some dependency, a few days ago the same version of folly compiled fine. (github:NixOS/nixpkgs/nixpkgs-unstable as of 2024-12-23 20:55 was the last successful time it compiled successfully for me)

I suspect #361878 maybe.

Metadata

 - system: `"aarch64-darwin"`
 - host os: `Darwin 23.6.0, macOS 14.7.2`
 - multi-user?: `yes`
 - sandbox: `no`
 - version: `nix-env (Nix) 2.24.11`
 - nixpkgs: `/nix/store/1jphxmkkqvz69yg0fq6z69dcpfkyy0l9-source`

Notify maintainers

@emilazy
@techknowlogick
@K900


Note for maintainers: Please tag this issue in your PR.


Add a 👍 reaction to issues you find important.

@ilyagr ilyagr added the 0.kind: build failure A package fails to build label Dec 27, 2024
@ilyagr ilyagr changed the title Build failure: folly 2024.11.18 stopped compiling on darwin Build failure: folly 2024.11.18 (and therefore watchman) stopped compiling on darwin Dec 27, 2024
@paparodeo
Copy link
Contributor

hmm, for some reason I thought that 2024.11.8 didn't have the char_types issue, bummer. a fix + update is already in staging: #362234 but probably will take 2-4 weeks to make it into master.

@paparodeo
Copy link
Contributor

to get master to build can disable tests as it is just the test not compiling which is causing the build to fail.

folly.overrideAttrs { doCheck = false; }

@emilazy
Copy link
Member

emilazy commented Dec 27, 2024

I think let’s disable the tests on LLVM for now and revert it in staging; will try to put up a PR for that soon if nobody beats me to it. Sorry for being absent when this broke during staging-next or I’d have made sure it got fixed.

emilazy added a commit to emilazy/nixpkgs that referenced this issue Dec 27, 2024
@emilazy
Copy link
Member

emilazy commented Dec 27, 2024

Fixed by #368576.

@ilyagr
Copy link
Contributor Author

ilyagr commented Dec 27, 2024

Wonderful, thank you both!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0.kind: build failure A package fails to build
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants