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: parmetis #331492

Open
eessmann opened this issue Aug 1, 2024 · 3 comments
Open

Build failure: parmetis #331492

eessmann opened this issue Aug 1, 2024 · 3 comments

Comments

@eessmann
Copy link

eessmann commented Aug 1, 2024

Steps To Reproduce

Steps to reproduce the behavior:

  1. build parmetis

Build log

error: builder for '/nix/store/z3867f0hzpb63jrv5hygm1la9ih6fp64-parmetis-4.0.3.tar.gz.drv' failed with exit code 1;
       last 25 log lines:
       > calling 'envHostTargetHook' function hook 'sdkRootHook' /nix/store/kd4xwxjpjxi71jkm6ka0np72if9rm3y0-move-sbin.sh
       > calling 'envHostTargetHook' function hook 'sdkRootHook' /nix/store/pag6l61paj1dc9sv15l7bm5c17xn5kyk-move-systemd-user-units.sh
       > calling 'envHostTargetHook' function hook 'sdkRootHook' /nix/store/jivxp510zxakaaic7qkrb7v1dd2rdbw9-multiple-outputs.sh
       > calling 'envHostTargetHook' function hook 'sdkRootHook' /nix/store/ilaf1w22bxi6jsi45alhmvvdgy4ly3zs-patch-shebangs.sh
       > calling 'envHostTargetHook' function hook 'sdkRootHook' /nix/store/cickvswrvann041nqxb0rxilc46svw1n-prune-libtool-files.sh
       > calling 'envHostTargetHook' function hook 'sdkRootHook' /nix/store/xyff06pkhki3qy1ls77w10s0v79c9il0-reproducible-builds.sh
       > calling 'envHostTargetHook' function hook 'sdkRootHook' /nix/store/aazf105snicrlvyzzbdj85sx4179rpfp-set-source-date-epoch-to-latest.sh
       > calling 'envHostTargetHook' function hook 'sdkRootHook' /nix/store/gps9qrh99j7g02840wv5x78ykmz30byp-strip.sh
       > calling 'envHostTargetHook' function hook 'sdkRootHook' /nix/store/hfnsr0jxvygasydamz696qdq5xckpsb8-apple-framework-CoreFoundation-11.0.0
       >
       > trying http://glaros.dtc.umn.edu/gkhome/fetch/sw/parmetis/parmetis-4.0.3.tar.gz
       >   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
       >                                  Dload  Upload   Total   Spent    Left  Speed
       >   0     0    0     0    0     0      0      0 --:--:--  0:01:15 --:--:--     0
       > curl: (28) Failed to connect to glaros.dtc.umn.edu port 80 after 75221 ms: Couldn't connect to server
       > Warning: Problem : timeout. Will retry in 1 seconds. 3 retries left.
       >   0     0    0     0    0     0      0      0 --:--:--  0:01:15 --:--:--     0
       > curl: (28) Failed to connect to glaros.dtc.umn.edu port 80 after 75003 ms: Couldn't connect to server
       > Warning: Problem : timeout. Will retry in 2 seconds. 2 retries left.
       >   0     0    0     0    0     0      0      0 --:--:--  0:01:15 --:--:--     0
       > curl: (28) Failed to connect to glaros.dtc.umn.edu port 80 after 75002 ms: Couldn't connect to server
       > Warning: Problem : timeout. Will retry in 4 seconds. 1 retries left.
       >   0     0    0     0    0     0      0      0 --:--:--  0:01:15 --:--:--     0
       > curl: (28) Failed to connect to glaros.dtc.umn.edu port 80 after 75002 ms: Couldn't connect to server
       > error: cannot download parmetis-4.0.3.tar.gz from any mirror
       For full logs, run 'nix log /nix/store/z3867f0hzpb63jrv5hygm1la9ih6fp64-parmetis-4.0.3.tar.gz.drv'.
error: 1 dependencies of derivation '/nix/store/g585nhkrfkjakagzrzbfprdn9b1chxi4-parmetis-4.0.3.drv' failed to build
error: 1 dependencies of derivation '/nix/store/m57i1n5cyh71sy7gags0c1gzdw81x8cv-petsc-3.21.3.drv' failed to build
error: 1 dependencies of derivation '/nix/store/sghmvc5j0lylc0pmfdhyvcx4bzp3vclz-nix-shell-env.drv' failed to build

Additional context

The package homepage, parmetis is timing out as well.

Notify maintainers

@costrouc

Metadata

 - system: `"aarch64-darwin"`
 - host os: `Darwin 23.5.0, macOS 14.5`
 - multi-user?: `yes`
 - sandbox: `no`
 - version: `nix-env (Lix, like Nix) 2.90.0`
 - channels(root): `"nixpkgs"`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixpkgs`
output here

Add a 👍 reaction to issues you find important.

@ghpzin
Copy link
Contributor

ghpzin commented Aug 2, 2024

Related PR:
#329102

@cheriimoya
Copy link
Contributor

As a quick fix / workaround, you can use nix-prefetch-url https://web.archive.org/http://glaros.dtc.umn.edu/gkhome/fetch/sw/parmetis/parmetis-4.0.3.tar.gz and then build again.

@eessmann
Copy link
Author

Thank you very much, it is working with the fix.

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

No branches or pull requests

3 participants