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

python3Packages.sh fails to build on Hydra (aarch64-darwin) #199438

Closed
wegank opened this issue Nov 4, 2022 · 0 comments · Fixed by #199441
Closed

python3Packages.sh fails to build on Hydra (aarch64-darwin) #199438

wegank opened this issue Nov 4, 2022 · 0 comments · Fixed by #199441
Labels
0.kind: build failure 6.topic: darwin Running or building packages on Darwin

Comments

@wegank
Copy link
Member

wegank commented Nov 4, 2022

Steps To Reproduce

Steps to reproduce the behavior:

  1. build python3Packages.sh

Build log

======================================================================
ERROR: test_piped_exception2 (test.FunctionalTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/private/tmp/nix-build-python3.10-sh-1.14.3.drv-0/sh-1.14.3/test.py", line 737, in test_piped_exception2
    self.assertRaises(ErrorReturnCode_2, fn)
  File "/nix/store/14sv2h3nag638062j87lg3ic4z8ipgis-python3-3.10.8/lib/python3.10/unittest/case.py", line 738, in assertRaises
    return context.handle('assertRaises', args, kwargs)
  File "/nix/store/14sv2h3nag638062j87lg3ic4z8ipgis-python3-3.10.8/lib/python3.10/unittest/case.py", line 201, in handle
    callable_obj(*args, **kwargs)
  File "/private/tmp/nix-build-python3.10-sh-1.14.3.drv-0/sh-1.14.3/test.py", line 735, in fn
    python(python(py.name, _piped=True), "-u", py2.name)
  File "/private/tmp/nix-build-python3.10-sh-1.14.3.drv-0/sh-1.14.3/sh.py", line 1524, in __call__
    return RunningCommand(cmd, call_args, stdin, stdout, stderr)
  File "/private/tmp/nix-build-python3.10-sh-1.14.3.drv-0/sh-1.14.3/sh.py", line 788, in __init__
    self.wait()
  File "/private/tmp/nix-build-python3.10-sh-1.14.3.drv-0/sh-1.14.3/sh.py", line 852, in wait
    self.process._stdin_process.command.wait()
  File "/private/tmp/nix-build-python3.10-sh-1.14.3.drv-0/sh-1.14.3/sh.py", line 845, in wait
    self.handle_command_exit_code(exit_code)
  File "/private/tmp/nix-build-python3.10-sh-1.14.3.drv-0/sh-1.14.3/sh.py", line 869, in handle_command_exit_code
    raise exc
sh.ErrorReturnCode_120: 

  RAN: /nix/store/14sv2h3nag638062j87lg3ic4z8ipgis-python3-3.10.8/bin/python3.10 /private/tmp/nix-build-python3.10-sh-1.14.3.drv-0/tmp3xh8eh1c

  STDOUT:


  STDERR:
Exception ignored in: <_io.TextIOWrapper name='<stdout>' mode='w' encoding='utf-8'>
BrokenPipeError: [Errno 32] Broken pipe

Additional context

amoffat/sh#541

Notify maintainers

@siriobalmelli

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
@wegank wegank added the 6.topic: darwin Running or building packages on Darwin label Nov 4, 2022
@vcunat vcunat closed this as completed in 5134699 Nov 10, 2022
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

Successfully merging a pull request may close this issue.

1 participant