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

nix fails to build on Hydra (aarch64-darwin) #202251

Closed
wegank opened this issue Nov 21, 2022 · 7 comments
Closed

nix fails to build on Hydra (aarch64-darwin) #202251

wegank opened this issue Nov 21, 2022 · 7 comments
Labels
0.kind: build failure 6.topic: darwin Running or building packages on Darwin

Comments

@wegank
Copy link
Member

wegank commented Nov 21, 2022

Steps To Reproduce

Steps to reproduce the behavior:

  1. build nix

Build log

https://hydra.nixos.org/build/203876466/nixlog/1

Additional context

Not reproducible on my machine.

Notify maintainers

Metadata

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

[user@system:~]$ nix-shell -p nix-info --run "nix-info -m"
output here
@marsam
Copy link
Contributor

marsam commented Nov 22, 2022

I think it's related to NixOS/nix#3605

@vcunat
Copy link
Member

vcunat commented Nov 22, 2022

It succeeded after restarting. (so the log above got overwritten, too)
We also had some transient failure on x86_64-linux.

@veprbl veprbl added the 6.topic: darwin Running or building packages on Darwin label Dec 5, 2022
@wegank wegank changed the title nix fails to build on Hydra (aarch64-darwin) nix fails to build on Hydra (aarch64-darwin) Jan 4, 2023
@wegank
Copy link
Member Author

wegank commented Jan 4, 2023

And now it fails again due to aws-sdk-cpp-nix.

@vcunat
Copy link
Member

vcunat commented Jan 4, 2023

It succeeded after restarting 🤷🏽

@nmattia
Copy link
Contributor

nmattia commented Jan 21, 2023

Just had the same failure on recent master (68403fe04f6c85853ddd389c9e58dd9b9c8b0a36)

[ 93%] Linking CXX shared library libaws-cpp-sdk-s3.dylib
[ 93%] Built target aws-cpp-sdk-s3
make: *** [Makefile:136: all] Error 2
error: builder for '/nix/store/pwc13flk4yzzgmj8xwmkpnkbac5hiili-aws-sdk-cpp-1.9.294.drv' failed with exit code 2;
       last 10 log lines:
       > [  FAILED  ] DirectoryTreeTest.CreateDirectoryIfNotExistedTest
       >
       > 11 FAILED TESTS
       > make[2]: *** [aws-cpp-sdk-core-tests/CMakeFiles/aws-cpp-sdk-core-tests.dir/build.make:881: aws-cpp-sdk-core-tests/aws-cpp-sdk-core-tests] Error 1
       > make[2]: *** Deleting file 'aws-cpp-sdk-core-tests/aws-cpp-sdk-core-tests'
       > make[1]: *** [CMakeFiles/Makefile2:396: aws-cpp-sdk-core-tests/CMakeFiles/aws-cpp-sdk-core-tests.dir/all] Error 2
       > make[1]: *** Waiting for unfinished jobs....
       > [ 93%] Linking CXX shared library libaws-cpp-sdk-s3.dylib
       > [ 93%] Built target aws-cpp-sdk-s3

will try to restart and see if it helps

EDIT: didn't help

@vcunat
Copy link
Member

vcunat commented Jan 21, 2023

Now the same build succeeded after restarting: https://hydra.nixos.org/build/206157991
(at least I think it was the same one)

@nmattia
Copy link
Contributor

nmattia commented Feb 11, 2023

Appears to be solved now! @wegank I'm closing because it looks like it was transient, but feel free to reopen.

@nmattia nmattia closed this as completed Feb 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0.kind: build failure 6.topic: darwin Running or building packages on Darwin
Projects
None yet
Development

No branches or pull requests

5 participants