Skip to content

xx-info: darwin: use macOS 11.0 as default deployment target for arm64 - #244

Merged
crazy-max merged 1 commit into
tonistiigi:masterfrom
thaJeztah:bump_MACOSX_VERSION_MIN
Jul 10, 2026
Merged

xx-info: darwin: use macOS 11.0 as default deployment target for arm64#244
crazy-max merged 1 commit into
tonistiigi:masterfrom
thaJeztah:bump_MACOSX_VERSION_MIN

Conversation

@thaJeztah

Copy link
Copy Markdown
Contributor

Apple Silicon requires macOS 11. Newer Clang versions canonicalize the historical "10.16" deployment target to "11.0", emitting -Woverriding-deployment-version. This becomes a build failure when warnings are treated as errors (for example by Go's runtime/cgo);

GO111MODULE=on go build  -trimpath -tags "fsnotify,e2e" -ldflags "-w -X github.com/docker/compose/v5/internal.Version=61203c8" -o "/out/docker-compose" ./cmd
# runtime/cgo
clang: error: overriding deployment version from '10.16' to '11.0' [-Werror,-Woverriding-deployment-version]

Update MACOSX_VERSION_MIN to use 11.0 as the default deployment target for darwin/arm64 instead.

@thaJeztah

Copy link
Copy Markdown
Contributor Author

Let me open a separate PR to update alpine 3.22 -> 3.23

@thaJeztah

Copy link
Copy Markdown
Contributor Author

Oh; other failures here; I guess sid is as "early warning" distro here, and armel is dropped?

#29 18.33 # -- command failed --
#29 18.33 # status : 100
#29 18.33 # output (4 lines):
#29 18.33 #   Hit:1 http://deb.debian.org/debian sid InRelease
#29 18.33 #   Reading package lists...
#29 18.33 #   + apt  show file:armel
#29 18.33 #   Error: No packages found
#29 18.33 # --
#29 18.33 #
#29 27.16 ok 8 s390x
#29 37.40 ok 9 ppc64le
#29 50.32 ok 10 386
#29 103.2 ok 11 riscv64
#29 104.4 ok 12 skip-nolinux
#29 106.6 ok 13 checkpkg
#29 106.6 ok 14 print-source-file
#29 ERROR: process "/bin/sh -c [ ! -f /etc/debian_version ] || ./test-apt.bats" did not complete successfully: exit code: 1
------
 > [test-apt 2/2] RUN --mount=type=cache,target=/pkg-cache,sharing=locked [ ! -f /etc/debian_version ] || ./test-apt.bats:
18.33 #   Error: No packages found

Apple Silicon requires macOS 11. Newer Clang versions canonicalize the
historical "10.16" deployment target to "11.0", emitting
`-Woverriding-deployment-version`. This becomes a build failure when
warnings are treated as errors (for example by Go's runtime/cgo);

    GO111MODULE=on go build  -trimpath -tags "fsnotify,e2e" -ldflags "-w -X github.com/docker/compose/v5/internal.Version=61203c8" -o "/out/docker-compose" ./cmd
    # runtime/cgo
    clang: error: overriding deployment version from '10.16' to '11.0' [-Werror,-Woverriding-deployment-version]

Update `MACOSX_VERSION_MIN` to use 11.0 as the default deployment
target for darwin/arm64 instead.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
@thaJeztah
thaJeztah force-pushed the bump_MACOSX_VERSION_MIN branch from 708e636 to 203eae8 Compare July 8, 2026 14:31
@thaJeztah thaJeztah closed this Jul 8, 2026
@thaJeztah thaJeztah reopened this Jul 8, 2026
@tonistiigi
tonistiigi requested a review from crazy-max July 8, 2026 23:46
@crazy-max
crazy-max merged commit f7c22f0 into tonistiigi:master Jul 10, 2026
239 of 246 checks passed
@thaJeztah
thaJeztah deleted the bump_MACOSX_VERSION_MIN branch July 10, 2026 08:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants