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: python310Packages.openmm #226895

Closed
mcwitt opened this issue Apr 18, 2023 · 2 comments
Closed

Build failure: python310Packages.openmm #226895

mcwitt opened this issue Apr 18, 2023 · 2 comments
Labels

Comments

@mcwitt
Copy link
Contributor

mcwitt commented Apr 18, 2023

Steps To Reproduce

Steps to reproduce the behavior:

  1. nix-build -A python310Packages.openmm

Build log

building 'openmm._openmm' extension
creating build/temp.linux-x86_64-3.10
creating build/temp.linux-x86_64-3.10/src
creating build/temp.linux-x86_64-3.10/src/swig_doxygen
gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -I/nix/store/wy0incigsdz3nai26lxmn9ibchnb0qd6-libxcrypt-4.4.33/include -fPIC -DMAJOR_VERSION=8 -DMINOR_VERSION=0 -I/nix/store/gkgi7gxmbc2ifv4785da4xjpp4i9kzin-openmm-8.0.0/include -I/nix/store/khm35qfxp63pvps6hy9lpg80r7p7h5w4-python3.10-numpy-1.24.2/lib/python3.10/site-packages/numpy/core/include -I/nix/store/fdqpyj613dr0v1l1lrzqhzay7sk4xg87-python3-3.10.10/include/python3.10 -c src/swig_doxygen/OpenMMSwig.cxx -o build/temp.linux-x86_64-3.10/src/swig_doxygen/OpenMMSwig.o -std=c++11
gcc: error: src/swig_doxygen/OpenMMSwig.cxx: C++ compiler not installed on this system
error: command '/nix/store/djfv622kgqh4hayagn0l88qwmk75j2rd-gfortran-wrapper-11.3.0/bin/gcc' failed with exit code 1

https://hydra.nixos.org/build/214910409/nixlog/6

Notify maintainers

@sheepforce

Metadata

  • system: "x86_64-linux"
  • host os: Linux 5.15.106, NixOS, 22.11 (Raccoon), 22.11.20230414.fda0d99
  • multi-user?: yes
  • sandbox: yes
  • version: nix-env (Nix) 2.11.1
  • channels(matt): ""
  • channels(root): "nixos, nixpkgs"
  • nixpkgs: /nix/var/nix/profiles/per-user/root/channels/nixos
@mcwitt mcwitt added the 0.kind: build failure A package fails to build label Apr 18, 2023
@mcwitt mcwitt changed the title Build failure: PACKAGENAME Build failure: python310Packages.openmm Apr 18, 2023
@sheepforce
Copy link
Member

Yep, this is a problem that was introduced in many packages but has already been reverted in staging-next. The issue is described here #225220 and you can follow the progress of this PR reaching master here https://nixpk.gs/pr-tracker.html?pr=225220.

I've just built OpenMM in the current staging-next (ec879c7) and it works fine there, again. Should soon resolve itself automagically.

@mcwitt
Copy link
Contributor Author

mcwitt commented Apr 27, 2023

Looks like the fix has landed in nixos-unstable. Thanks for pointing me to the PR tracker!

@mcwitt mcwitt closed this as completed Apr 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants