-
-
Notifications
You must be signed in to change notification settings - Fork 14.4k
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: or-tools #256266
Comments
I've been working on fixing/updating or-tools, but it isn't easy. pybind11_protobuf lacks a fully functional CMake build system (it primarily uses Bazel). Previously, it couldn't find system installations of its dependencies, but I fixed that in pybind/pybind11_protobuf#128. I then discovered that the CMake build didn't support installing the package, so I started working on fixing that here: https://github.com/lopsided98/pybind11_protobuf/commits/cmake-install. This mostly works, and should be enough to get the package working in nixpkgs, but there is one issue preventing me from submitting it upstream. pybind11_protobuf relies on a header (
There is no way to disable this check, so I'm not sure how to proceed. Even after this is fixed, or-tools will still need a patch to support a system installation of pybind11_protobuf. I could just apply a bunch of non-upstreamable patches in nixpkgs, but I'm not fond of that approach. As a stopgap, I plan to make Python support optional and update to 9.7 with Python support marked as broken. |
Fixes NixOS#256266 Don't use non-existent member function on string_view. (StringPiece and string_view are almost the same looks like they are typedef'd to the same string_view. StringPiece used to have a as_string() member)
It still fails to cross-compile. It seems to be using the wrong Abseil version (a version that includes abseil/abseil-cpp@6acb60c):
|
Steps To Reproduce
Steps to reproduce the behavior:
or-tools
Build log
Additional context
I have tried to update to 9.7 which should fixes the issue. Unfortunately, it requires
pybind11_protobuf
which is not packaged yet.Notify maintainers
Metadata
Please run
nix-shell -p nix-info --run "nix-info -m"
and paste the result.The text was updated successfully, but these errors were encountered: