ci: docker ubuntu x bazel:

Open
#5,523 0 comments 0 reactions 1 assignee View on GitHub

Maintainers usually reply within 1 day

@Mizux is already working on this.

Since Oct 23, 2026.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
48/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
cpp, docker, ubuntu
Domain
build-system

Research direction

Start by inspecting the referenced GitHub Actions run and the Docker build command bazel build --config=ci //...; the failure occurs while linking //ortools/util:flat_matrix_benchmark from ortools/util/BUILD.bazel. Reproduce the link failure and investigate the linker crash in that Ubuntu Docker build. Done when the CI build completes successfully or the underlying environmental cause is identified.

Written by the indexing model from the issue text.

Description

Bug Build: Bazel CI Failure Docker

Trace:

#12 224.7 [4,777 / 10,262] Compiling ortools/util/flat_matrix_benchmark.cc; 1s processwrapper-sandbox ... (4 actions running)
#12 225.5 ERROR: /home/project/ortools/util/BUILD.bazel:638:13: Linking ortools/util/flat_matrix_benchmark failed: (Exit 1): gcc failed: error executing CppLink command (from target //ortools/util:flat_matrix_benchmark) /usr/bin/gcc @bazel-out/k8-fastbuild/bin/ortools/util/flat_matrix_benchmark-0.params
#12 225.5 
#12 225.5 Use --sandbox_debug to see verbose messages from the sandbox and retain the sandbox build root for debugging
#12 225.5 collect2: fatal error: ld terminated with signal 11 [Segmentation fault], core dumped
#12 225.5 compilation terminated.
#12 226.4 Use --verbose_failures to see the command lines of failed build steps.
#12 226.6 INFO: Elapsed time: 226.285s, Critical Path: 6.89s
#12 226.6 INFO: 4782 processes: 3892 internal, 3 local, 887 processwrapper-sandbox.
#12 226.6 ERROR: Build did NOT complete successfully
#12 ERROR: process "/bin/sh -c bazel build --config=ci //..." did not complete successfully: exit code: 1

ref: https://github.com/google/or-tools/actions/runs/39582491075/job/119163860373

Dominant language
C++
Stars
14.5k
Forks
2.6k
Avg merge
9h 43m
Merged PRs (30d)
53

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from google/or-tools

All issues in google/or-tools

Similar issues

More C++ issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.