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: python3Packages.occ-core #312955

Closed
raboof opened this issue May 19, 2024 · 1 comment · Fixed by #312962
Closed

Build failure: python3Packages.occ-core #312955

raboof opened this issue May 19, 2024 · 1 comment · Fixed by #312962
Assignees

Comments

@raboof
Copy link
Member

raboof commented May 19, 2024

Steps To Reproduce

Steps to reproduce the behavior:

  1. nix-build '<nixpkgs>' -A pythonocc-core

Build log

CMake Error at CMakeLists.txt:150 (find_package):
  Could not find a configuration file for package "OpenCASCADE" that is
  compatible with requested version "7.6.2".

  The following configuration files were considered but not accepted:

    /nix/store/sfjfl0vbv207b024638wn8xgbnwrg0nz-opencascade-occt-7.8.1/lib/cmake/opencascade/OpenCASCADEConfig.cmake, version: 7.8.1

Additional context

Add any other context about the problem here.

Notify maintainers

@gebner


Add a 👍 reaction to issues you find important.

@raboof
Copy link
Member Author

raboof commented May 19, 2024

looks like the python3Packages.occ-core version should be in sync with the opencascade-occt version, but opencascade-occt was upgraded in #309347 without taking this into account

@raboof raboof self-assigned this May 19, 2024
raboof added a commit to raboof/nixpkgs that referenced this issue May 19, 2024
The `opencascade-occt` and `python3Packages.pythonocc-core` versions
need to match. `opencascade-occt` was upgraded in
NixOS#309347 but the corresponding
version of `pythonocc-core` is not released yet. Also, the
corresponding version of `pythonocc-core` will need at least swig
4.1.1 to build.

For now, just build `pythonocc-core` with the previous version of
`opencascade-occt`, which luckily is also still in nixpkgs.

Fixes NixOS#312955
raboof added a commit to raboof/nixpkgs that referenced this issue May 20, 2024
The `opencascade-occt` and `python3Packages.pythonocc-core` versions
need to match. `opencascade-occt` was upgraded in
NixOS#309347 but the corresponding
version of `pythonocc-core` is not released yet. Also, the
corresponding version of `pythonocc-core` will need at least swig
4.1.1 to build.

For now, just build `pythonocc-core` with the previous version of
`opencascade-occt`, which luckily is also still in nixpkgs.

Fixes NixOS#312955
raboof added a commit to raboof/nixpkgs that referenced this issue May 20, 2024
The `opencascade-occt` and `python3Packages.pythonocc-core` versions
need to match. `opencascade-occt` was upgraded in
NixOS#309347 but the corresponding
version of `pythonocc-core` is not released yet. Also, the
corresponding version of `pythonocc-core` will need at least swig
4.1.1 to build.

For now, just build `pythonocc-core` with the previous version of
`opencascade-occt`, which luckily is also still in nixpkgs.

Fixes NixOS#312955
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant