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

PETSc broken on aarch64-darwin #161450

Closed
johnbcoughlin opened this issue Feb 23, 2022 · 1 comment
Closed

PETSc broken on aarch64-darwin #161450

johnbcoughlin opened this issue Feb 23, 2022 · 1 comment
Labels
0.kind: bug 6.topic: darwin Running or building packages on Darwin

Comments

@johnbcoughlin
Copy link
Contributor

Describe the bug

Building PETSc fails on aarch64-darwin.

Steps To Reproduce

Steps to reproduce the behavior:

  1. Check we're on a recent commit
> nix-instantiate --eval -E '(import <nixpkgs> {}).lib.version'
"22.05pre356557.74b10859829"
  1. Try to build the default PETSc derivation: nix-shell -p "petsc" The ./configure step fails with the message "Cannot determine Fortran module include flag". If we rebuild the derivation with
nix-build /nix/store/swcdfv4pn4g23gsg1jppn8xs8algrj1s-petsc-3.16.4.drv --keep-failed

and check the configure.log file, there are errors similar to what is seen in #158730.

I am about to submit a fix similar to #158992.

Expected behavior

The derivation should build.

Screenshots

If applicable, add screenshots to help explain your problem.

Additional context

aarch64-darwin system.

Notify maintainers

@cburstedde

Metadata

 - system: `"aarch64-darwin"`
 - host os: `Darwin 21.1.0, macOS 12.0.1`
 - multi-user?: `yes`
 - sandbox: `no`
 - version: `nix-env (Nix) 2.4`
 - channels(root): `"nixpkgs-21.11pre332093.7fad01d9d5a"`
 - channels(jack): `"nixos-22.05pre356435.7f9b6e2babf, nixpkgs-22.05pre356557.74b10859829"`
 - nixpkgs: `/Users/jack/.nix-defexpr/channels/nixpkgs`
@veprbl veprbl added the 6.topic: darwin Running or building packages on Darwin label Feb 23, 2022
@prusnak
Copy link
Member

prusnak commented Feb 23, 2022

Fixed by #161451

Thanks!

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

No branches or pull requests

3 participants