Skip to content

gh-149706: fix -Wstringop-truncation warning #192959

gh-149706: fix -Wstringop-truncation warning

gh-149706: fix -Wstringop-truncation warning #192959

Triggered via pull request May 18, 2026 19:21
Status Failure
Total duration 29m 5s
Artifacts 1

build.yml

on: pull_request
Change detection  /  Create context from changed files
11s
Change detection / Create context from changed files
Matrix: Address sanitizer
Matrix: build-macos
Matrix: build-san
Matrix: Ubuntu SSL tests
Matrix: build-ubuntu
Matrix: build-windows-msi
Waiting for pending jobs
Matrix: build-windows
Matrix: cifuzz
Check if Autoconf files are up to date
24s
Check if Autoconf files are up to date
Check if generated files are up to date
4m 20s
Check if generated files are up to date
C API Docs  /  Check if all C APIs are documented
12s
C API Docs / Check if all C APIs are documented
iOS
17m 49s
iOS
Emscripten  /  build and test
17m 52s
Emscripten / build and test
WASI  /  build and test
5m 34s
WASI / build and test
Hypothesis tests on Ubuntu
18m 59s
Hypothesis tests on Ubuntu
Cross build Linux
4m 10s
Cross build Linux
Docs  /  Check EPUB
Docs / Check EPUB
Docs  /  Doctest
Docs / Doctest
Docs  /  Docs
Docs / Docs
Matrix: build-android
Docs  /  ...  /  Check for removed HTML IDs
Docs / Check for removed HTML IDs / Check for removed HTML IDs
All required checks pass
2s
All required checks pass
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 64 warnings
macOS / build and test (macos-15-intel)
Process completed with exit code 1.
All required checks pass
Process completed with exit code 1.
macOS / build and test (macos-15-intel)
`$HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK` is set: not checking for outdated dependents or dependents with broken linkage!
macOS / build and test (macos-26)
`$HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK` is set: not checking for outdated dependents or dependents with broken linkage!
Windows / Build and test (x64, tail-call): Include/pyport.h#L590
unknown pragma 'GCC' [D:\a\cpython\cpython\PCbuild\_freeze_module.vcxproj]
Windows / Build and test (x64, tail-call): Include/pyport.h#L590
unknown pragma 'GCC' [D:\a\cpython\cpython\PCbuild\_freeze_module.vcxproj]
Windows / Build and test (x64, tail-call): Include/pyport.h#L588
unknown pragma 'GCC' [D:\a\cpython\cpython\PCbuild\_freeze_module.vcxproj]
Windows / Build and test (x64, tail-call): Include/pyport.h#L588
unknown pragma 'GCC' [D:\a\cpython\cpython\PCbuild\_freeze_module.vcxproj]
Windows / Build and test (x64, tail-call): Include/pyport.h#L588
unknown pragma 'GCC' [D:\a\cpython\cpython\PCbuild\_freeze_module.vcxproj]
Windows / Build and test (x64, tail-call): Include/pyport.h#L588
unknown pragma 'GCC' [D:\a\cpython\cpython\PCbuild\_freeze_module.vcxproj]
Windows / Build and test (x64, tail-call): Include/pyport.h#L587
unknown pragma 'GCC' [D:\a\cpython\cpython\PCbuild\_freeze_module.vcxproj]
Windows / Build and test (x64, tail-call): Include/pyport.h#L587
unknown pragma 'GCC' [D:\a\cpython\cpython\PCbuild\_freeze_module.vcxproj]
Windows / Build and test (x64, tail-call): Include/pyport.h#L587
unknown pragma 'GCC' [D:\a\cpython\cpython\PCbuild\_freeze_module.vcxproj]
Windows / Build and test (x64, tail-call): Include/pyport.h#L587
unknown pragma 'GCC' [D:\a\cpython\cpython\PCbuild\_freeze_module.vcxproj]
macOS (free-threading) / build and test (macos-26)
`$HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK` is set: not checking for outdated dependents or dependents with broken linkage!
Windows (free-threading) / Build and test (x64, tail-call): Include/pyport.h#L590
unknown pragma 'GCC' [D:\a\cpython\cpython\PCbuild\_freeze_module.vcxproj]
Windows (free-threading) / Build and test (x64, tail-call): Include/pyport.h#L590
unknown pragma 'GCC' [D:\a\cpython\cpython\PCbuild\_freeze_module.vcxproj]
Windows (free-threading) / Build and test (x64, tail-call): Include/pyport.h#L588
unknown pragma 'GCC' [D:\a\cpython\cpython\PCbuild\_freeze_module.vcxproj]
Windows (free-threading) / Build and test (x64, tail-call): Include/pyport.h#L588
unknown pragma 'GCC' [D:\a\cpython\cpython\PCbuild\_freeze_module.vcxproj]
Windows (free-threading) / Build and test (x64, tail-call): Include/pyport.h#L588
unknown pragma 'GCC' [D:\a\cpython\cpython\PCbuild\_freeze_module.vcxproj]
Windows (free-threading) / Build and test (x64, tail-call): Include/pyport.h#L588
unknown pragma 'GCC' [D:\a\cpython\cpython\PCbuild\_freeze_module.vcxproj]
Windows (free-threading) / Build and test (x64, tail-call): Include/pyport.h#L587
unknown pragma 'GCC' [D:\a\cpython\cpython\PCbuild\_freeze_module.vcxproj]
Windows (free-threading) / Build and test (x64, tail-call): Include/pyport.h#L587
unknown pragma 'GCC' [D:\a\cpython\cpython\PCbuild\_freeze_module.vcxproj]
Windows (free-threading) / Build and test (x64, tail-call): Include/pyport.h#L587
unknown pragma 'GCC' [D:\a\cpython\cpython\PCbuild\_freeze_module.vcxproj]
Windows (free-threading) / Build and test (x64, tail-call): Include/pyport.h#L587
unknown pragma 'GCC' [D:\a\cpython\cpython\PCbuild\_freeze_module.vcxproj]
Hypothesis tests on Ubuntu
No files were found with the provided path: /home/runner/work/cpython/cpython-builddir/.hypothesis/examples/. No artifacts will be uploaded.
Windows / Build and test (arm64, switch-case): Include/pyport.h#L590
unknown pragma 'GCC' [C:\a\cpython\cpython\PCbuild\_freeze_module.vcxproj]
Windows / Build and test (arm64, switch-case): Include/pyport.h#L590
unknown pragma 'GCC' [C:\a\cpython\cpython\PCbuild\_freeze_module.vcxproj]
Windows / Build and test (arm64, switch-case): Include/pyport.h#L588
unknown pragma 'GCC' [C:\a\cpython\cpython\PCbuild\_freeze_module.vcxproj]
Windows / Build and test (arm64, switch-case): Include/pyport.h#L588
unknown pragma 'GCC' [C:\a\cpython\cpython\PCbuild\_freeze_module.vcxproj]
Windows / Build and test (arm64, switch-case): Include/pyport.h#L588
unknown pragma 'GCC' [C:\a\cpython\cpython\PCbuild\_freeze_module.vcxproj]
Windows / Build and test (arm64, switch-case): Include/pyport.h#L588
unknown pragma 'GCC' [C:\a\cpython\cpython\PCbuild\_freeze_module.vcxproj]
Windows / Build and test (arm64, switch-case): Include/pyport.h#L587
unknown pragma 'GCC' [C:\a\cpython\cpython\PCbuild\_freeze_module.vcxproj]
Windows / Build and test (arm64, switch-case): Include/pyport.h#L587
unknown pragma 'GCC' [C:\a\cpython\cpython\PCbuild\_freeze_module.vcxproj]
Windows / Build and test (arm64, switch-case): Include/pyport.h#L587
unknown pragma 'GCC' [C:\a\cpython\cpython\PCbuild\_freeze_module.vcxproj]
Windows / Build and test (arm64, switch-case): Include/pyport.h#L587
unknown pragma 'GCC' [C:\a\cpython\cpython\PCbuild\_freeze_module.vcxproj]
Windows / Build and test (x64, switch-case): Include/pyport.h#L590
unknown pragma 'GCC' [D:\a\cpython\cpython\PCbuild\_freeze_module.vcxproj]
Windows / Build and test (x64, switch-case): Include/pyport.h#L590
unknown pragma 'GCC' [D:\a\cpython\cpython\PCbuild\_freeze_module.vcxproj]
Windows / Build and test (x64, switch-case): Include/pyport.h#L588
unknown pragma 'GCC' [D:\a\cpython\cpython\PCbuild\_freeze_module.vcxproj]
Windows / Build and test (x64, switch-case): Include/pyport.h#L588
unknown pragma 'GCC' [D:\a\cpython\cpython\PCbuild\_freeze_module.vcxproj]
Windows / Build and test (x64, switch-case): Include/pyport.h#L588
unknown pragma 'GCC' [D:\a\cpython\cpython\PCbuild\_freeze_module.vcxproj]
Windows / Build and test (x64, switch-case): Include/pyport.h#L588
unknown pragma 'GCC' [D:\a\cpython\cpython\PCbuild\_freeze_module.vcxproj]
Windows / Build and test (x64, switch-case): Include/pyport.h#L587
unknown pragma 'GCC' [D:\a\cpython\cpython\PCbuild\_freeze_module.vcxproj]
Windows / Build and test (x64, switch-case): Include/pyport.h#L587
unknown pragma 'GCC' [D:\a\cpython\cpython\PCbuild\_freeze_module.vcxproj]
Windows / Build and test (x64, switch-case): Include/pyport.h#L587
unknown pragma 'GCC' [D:\a\cpython\cpython\PCbuild\_freeze_module.vcxproj]
Windows / Build and test (x64, switch-case): Include/pyport.h#L587
unknown pragma 'GCC' [D:\a\cpython\cpython\PCbuild\_freeze_module.vcxproj]
Windows (free-threading) / Build and test (arm64, switch-case): Include/pyport.h#L587
unknown pragma 'GCC' [C:\a\cpython\cpython\PCbuild\_freeze_module.vcxproj]
Windows (free-threading) / Build and test (arm64, switch-case): Include/pyport.h#L590
unknown pragma 'GCC' [C:\a\cpython\cpython\PCbuild\_freeze_module.vcxproj]
Windows (free-threading) / Build and test (arm64, switch-case): Include/pyport.h#L590
unknown pragma 'GCC' [C:\a\cpython\cpython\PCbuild\_freeze_module.vcxproj]
Windows (free-threading) / Build and test (arm64, switch-case): Include/pyport.h#L588
unknown pragma 'GCC' [C:\a\cpython\cpython\PCbuild\_freeze_module.vcxproj]
Windows (free-threading) / Build and test (arm64, switch-case): Include/pyport.h#L590
unknown pragma 'GCC' [C:\a\cpython\cpython\PCbuild\_freeze_module.vcxproj]
Windows (free-threading) / Build and test (arm64, switch-case): Include/pyport.h#L588
unknown pragma 'GCC' [C:\a\cpython\cpython\PCbuild\_freeze_module.vcxproj]
Windows (free-threading) / Build and test (arm64, switch-case): Include/pyport.h#L588
unknown pragma 'GCC' [C:\a\cpython\cpython\PCbuild\_freeze_module.vcxproj]
Windows (free-threading) / Build and test (arm64, switch-case): Include/pyport.h#L587
unknown pragma 'GCC' [C:\a\cpython\cpython\PCbuild\_freeze_module.vcxproj]
Windows (free-threading) / Build and test (arm64, switch-case): Include/pyport.h#L587
unknown pragma 'GCC' [C:\a\cpython\cpython\PCbuild\_freeze_module.vcxproj]
Windows (free-threading) / Build and test (arm64, switch-case): Include/pyport.h#L587
unknown pragma 'GCC' [C:\a\cpython\cpython\PCbuild\_freeze_module.vcxproj]
Windows (free-threading) / Build and test (x64, switch-case): Include/pyport.h#L590
unknown pragma 'GCC' [D:\a\cpython\cpython\PCbuild\_freeze_module.vcxproj]
Windows (free-threading) / Build and test (x64, switch-case): Include/pyport.h#L590
unknown pragma 'GCC' [D:\a\cpython\cpython\PCbuild\_freeze_module.vcxproj]
Windows (free-threading) / Build and test (x64, switch-case): Include/pyport.h#L588
unknown pragma 'GCC' [D:\a\cpython\cpython\PCbuild\_freeze_module.vcxproj]
Windows (free-threading) / Build and test (x64, switch-case): Include/pyport.h#L588
unknown pragma 'GCC' [D:\a\cpython\cpython\PCbuild\_freeze_module.vcxproj]
Windows (free-threading) / Build and test (x64, switch-case): Include/pyport.h#L588
unknown pragma 'GCC' [D:\a\cpython\cpython\PCbuild\_freeze_module.vcxproj]
Windows (free-threading) / Build and test (x64, switch-case): Include/pyport.h#L588
unknown pragma 'GCC' [D:\a\cpython\cpython\PCbuild\_freeze_module.vcxproj]
Windows (free-threading) / Build and test (x64, switch-case): Include/pyport.h#L587
unknown pragma 'GCC' [D:\a\cpython\cpython\PCbuild\_freeze_module.vcxproj]
Windows (free-threading) / Build and test (x64, switch-case): Include/pyport.h#L587
unknown pragma 'GCC' [D:\a\cpython\cpython\PCbuild\_freeze_module.vcxproj]
Windows (free-threading) / Build and test (x64, switch-case): Include/pyport.h#L587
unknown pragma 'GCC' [D:\a\cpython\cpython\PCbuild\_freeze_module.vcxproj]
Windows (free-threading) / Build and test (x64, switch-case): Include/pyport.h#L587
unknown pragma 'GCC' [D:\a\cpython\cpython\PCbuild\_freeze_module.vcxproj]

Artifacts

Produced during runtime
Name Size Digest
UBSan-logs-default
1.53 KB
sha256:73d2213e81aa0b8e312715d8589efcbe4e8c6ec5ec620dd5a623c651e51cbdca