Skip to content

[v18] Fix make build-binaries#62660

Merged
zmb3 merged 2 commits intobranch/v18from
zmb3/v18-backport-62626
Jan 7, 2026
Merged

[v18] Fix make build-binaries#62660
zmb3 merged 2 commits intobranch/v18from
zmb3/v18-backport-62626

Conversation

@zmb3
Copy link
Copy Markdown
Collaborator

@zmb3 zmb3 commented Jan 7, 2026

The dockerized build (make -C build.assets build-binaries) fails with GLIBC errors because it is a multi-stage build that runs across several different containers.

First, we build the webassets in buildbox-node. Then we build the Teleport binaries in buildbox-centos7, reusing the webassets built previously.

The issue arises because buildbox-node runs a newer version of GLIBC than buildbox-centos7, and we weren't properly cleaning some build artifacts when switching from one builder to another. As a result, the centos7 builder would see intermediate artifacts with a dependency on a GLIBC version that is too new.

Fix the issue by ensuring we run a clean-build after hopping into the centos7 container.

Closes #62594
Backports #62626

The dockerized build (make -C build.assets build-binaries) fails
with GLIBC errors because it is a multi-stage build that runs
across several different containers.

First, we build the webassets in buildbox-node. Then we build the
Teleport binaries in buildbox-centos7, reusing the webassets built
previously.

The issue arises because buildbox-node runs a newer version of GLIBC
than buildbox-centos7, and we weren't properly cleaning some build
artifacts when switching from one builder to another. As a result,
the centos7 builder would see intermediate artifacts with a dependency
on a GLIBC version that is too new.

Fix the issue by ensuring we run a clean-build after hopping into
the centos7 container.

Closes #62594
@zmb3 zmb3 added the no-changelog Indicates that a PR does not require a changelog entry label Jan 7, 2026
@zmb3 zmb3 enabled auto-merge January 7, 2026 15:42
@zmb3 zmb3 added this pull request to the merge queue Jan 7, 2026
@github-merge-queue github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Jan 7, 2026
@zmb3 zmb3 added this pull request to the merge queue Jan 7, 2026
@github-merge-queue github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Jan 7, 2026
@zmb3 zmb3 added this pull request to the merge queue Jan 7, 2026
@github-merge-queue github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Jan 7, 2026
@zmb3 zmb3 enabled auto-merge January 7, 2026 18:52
@zmb3 zmb3 added this pull request to the merge queue Jan 7, 2026
Merged via the queue into branch/v18 with commit aa66425 Jan 7, 2026
40 checks passed
@zmb3 zmb3 deleted the zmb3/v18-backport-62626 branch January 7, 2026 19:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport no-changelog Indicates that a PR does not require a changelog entry size/sm

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants