Skip to content

pywraplp broken on Linux void musl #4736

@voidbert

Description

@voidbert

What version of OR-Tools and what language are you using?
Version: 9.14 (ortools-9.14.6206-cp313-cp313-musllinux_1_2_x86_64.whl)
Language: Python

Which solver are you using (e.g. CP-SAT, Routing Solver, GLOP, BOP, Gurobi)
N/A

What operating system (Linux, Windows, ...) and version?
Void Linux x86_64-musl

What did you do?
Steps to reproduce the behavior:

  1. pip install --ortools==9.14.6206
  2. python
  3. >>> from ortools.linear_solver import pywraplp

What did you expect to see

Successful module importation

What did you see instead?

The following protobuf error:

WARNING: All log messages before absl::InitializeLog() is called are written to STDERR
E0000 00:00:1752892068.348568   24377 descriptor_database.cc:595] Invalid file descriptor data passed to EncodedDescriptorDatabase::Add().
F0000 00:00:1752892068.348612   24377 descriptor.cc:2519] Check failed: GeneratedDatabase()->Add(encoded_file_descriptor, size)
*** Check failure stack trace: ***
Aborted

Anything else we should know about your project / environment

  • The problem doesn't occur when ortools==9.12.4544 is used
  • The problem doesn't occur on a glibc Void Linux chroot (ortools-9.14.6206-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl)

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions