You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
ITKPythonBuilds 5.4 caches carry CastXML 0.6.5, which fails under gcc-toolset-14 #306
The CastXML 0.6.5 binary used by the manylinux_2_28 wheel builds cannot parse GCC 14's <limits>, so every Linux Python wrapping job fails for remote modules — on main, not only on PRs. CastXML 0.7.0 (2026-02-25) postdates the pin and the equivalent gcc-13 defect was fixed upstream, so bumping the pinned CastXML is the likely fix.
Failure detail and error text
manylinux_2_28 dockcross containers now ship gcc-toolset-14. GCC 14's <limits> uses the __glibcxx_float_n(32) macro family, which expands to F32 floating literal suffixes and __builtin_huge_valf32. CastXML 0.6.5's embedded Clang does not support these:
invalid suffix 'F32' on floating constant
typedef redefinition with different types ('float' vs 'struct __castxml_Float32_s')
Upstream status and suggested fixes, in order of preference
CastXML releases since the 0.6.5 pin: v0.6.9, v0.6.10 (2024-11-27), v0.6.11 (2025-02-11), v0.6.12/v0.6.13 (2025-08-28), v0.7.0 (2026-02-25).
Upstream CastXML#251 "gcc-13.2.0 unknown type name _Float32" — CLOSED 2024-01-23. Same defect class, already fixed for gcc-13.
Bump the pinned CastXML binary in the wheel-build docker images to v0.7.0 (or ≥0.6.10) and re-run a Linux wrapping job. This is the expected fix and should be tried first.
The 0.6.5 pin comes from ITK release-5.4, not from this repository. ITK
main already downloads CastXMLSuperbuild v2026.01.30 (castxml
0.6.20260105), and the ITK 6 build system in #309 uses it unchanged. The
fix is a backport of that pin to ITK release-5.4; a draft is in progress.
Evidence
ITK v5.4.5 and release-5.4: Wrapping/Generators/CastXML/CMakeLists.txt
sets _castxml_version 0.6.5. Remote modules hit this through the ITK 5.4
build caches.
CastXML itself is at v0.8.0 (2026-09-23), but CastXMLSuperbuild has
published no binaries since v2026.01.30, so a newer CastXML would mean
building it from source. The GCC 14 result above shows that is not needed.
Status: the CastXML 2026.01.30 backport merged into ITK release-5.4 as InsightSoftwareConsortium/ITK#7221 on 2026-11-20. Remote-module wheels stay broken until two more steps happen: ITK tags a 5.4 release that contains it (5.4.9), and the ITKPythonBuilds 5.4 caches are rebuilt from that tag.
Why remote modules still fail
Remote-module builds take CastXML from the ITK 5.4 build caches on ITKPythonBuilds, not from ITK's release-5.4 branch. The newest cache release, v5.4.8, was published on 2026-11-12, eight days before #7221 merged, so it still carries CastXML 0.6.5.
The rebuild uses this repository's release branch scripts. PR #312 targets ITK 6 and does not build 5.4 wheels.
Fixed for ITK 6: the v6.0b02 caches and main (#312) use CastXML 2026.01.30, and gcc-toolset-14 builds pass. The 5.4 path is not failing today only because the v5.4.x tags pin a GCC 12 image. Recommend keeping this open, retitled to "ITKPythonBuilds 5.4 caches carry CastXML 0.6.5, which fails under gcc-toolset-14", and closing it once v5.4.9 caches are published.
Where module builds get CastXML
This repository pins no CastXML. A remote module re-runs ITK's Wrapping/Generators/CastXML/CMakeLists.txt in its own build tree, so it
downloads the CastXML pinned by the ITK source inside the ITKPythonBuilds
cache:
ITK ref
CastXML
v5.4.8
0.6.5
release-5.4 (#7221)
2026.01.30
v6.0b02
2026.01.30
main (957816d)
2026.01.30
The compiler comes from scripts/dockcross-manylinux-set-vars.sh at the
fetched tag: v5.4.5 to v5.4.8 pin 20240304-9e57d2b, which predates
manylinux_2_28's move to gcc-toolset-14 (pypa/manylinux#1730,
2024-12-17). v6.0b02, release, and main use images with GCC 14.
The failing pair is therefore a 5.4 cache (CastXML 0.6.5) with a GCC 14
image, for example the release branch scripts or an IMAGE_TAG
override.
Evidence
ITKModuleTemplate, pinned to v6.0b02: Linux wheel job passed on
2026-10-02 (run 36949547385).
changed the title [-]COMP: Pinned CastXML 0.6.5 cannot parse gcc-toolset-14 `<limits>` (`_Float32`/`F32`) — blocks all manylinux_2_28 wheel builds[/-][+]ITKPythonBuilds 5.4 caches carry CastXML 0.6.5, which fails under gcc-toolset-14[/+]on Nov 25, 2026
We should merge this repo (ITKPythonPackage) into main repo (ITK). That should reduce complexity, hopefully. I don't know whether we should aim to do that before 6.0 final, or after that. If this issue is not fixed before that, it will be moot by then.
Activity
hjmjohnson commentedon Nov 20, 2026
The 0.6.5 pin comes from ITK
release-5.4, not from this repository. ITKmain already downloads CastXMLSuperbuild
v2026.01.30(castxml0.6.20260105), and the ITK 6 build system in #309 uses it unchanged. The
fix is a backport of that pin to ITK
release-5.4; a draft is in progress.Evidence
v5.4.5andrelease-5.4:Wrapping/Generators/CastXML/CMakeLists.txtsets
_castxml_version 0.6.5. Remote modules hit this through the ITK 5.4build caches.
_castxml_version 2026.01.30(InsightSoftwareConsortium/ITKcommit 501840febc0, 2026-02-03).
gcc-toolset-14(GNU 14.2.1), wrapped all of ITK with those binaries on2026-11-19. That is the compiler and header this issue reports failing.
published no binaries since v2026.01.30, so a newer CastXML would mean
building it from source. The GCC 14 result above shows that is not needed.
COMP: Update release-5.4 CastXML binaries to v2026.01.30
hjmjohnson commentedon Nov 23, 2026
Status: the CastXML 2026.01.30 backport merged into ITK
release-5.4as InsightSoftwareConsortium/ITK#7221 on 2026-11-20. Remote-module wheels stay broken until two more steps happen: ITK tags a 5.4 release that contains it (5.4.9), and the ITKPythonBuilds 5.4 caches are rebuilt from that tag.Why remote modules still fail
Remote-module builds take CastXML from the ITK 5.4 build caches on ITKPythonBuilds, not from ITK's
release-5.4branch. The newest cache release,v5.4.8, was published on 2026-11-12, eight days before #7221 merged, so it still carries CastXML 0.6.5.The rebuild uses this repository's
releasebranch scripts. PR #312 targets ITK 6 and does not build 5.4 wheels.hjmjohnson commentedon Nov 25, 2026
Fixed for ITK 6: the
v6.0b02caches andmain(#312) use CastXML 2026.01.30, and gcc-toolset-14 builds pass. The 5.4 path is not failing today only because the v5.4.x tags pin a GCC 12 image. Recommend keeping this open, retitled to "ITKPythonBuilds 5.4 caches carry CastXML 0.6.5, which fails under gcc-toolset-14", and closing it oncev5.4.9caches are published.Where module builds get CastXML
This repository pins no CastXML. A remote module re-runs ITK's
Wrapping/Generators/CastXML/CMakeLists.txtin its own build tree, so itdownloads the CastXML pinned by the ITK source inside the ITKPythonBuilds
cache:
v5.4.8release-5.4(#7221)v6.0b02main(957816d)The compiler comes from
scripts/dockcross-manylinux-set-vars.shat thefetched tag:
v5.4.5tov5.4.8pin20240304-9e57d2b, which predatesmanylinux_2_28's move to gcc-toolset-14 (pypa/manylinux#1730,
2024-12-17).
v6.0b02,release, andmainuse images with GCC 14.The failing pair is therefore a 5.4 cache (CastXML 0.6.5) with a GCC 14
image, for example the
releasebranch scripts or anIMAGE_TAGoverride.
Evidence
v6.0b02: Linux wheel job passed on2026-10-02 (run 36949547385).
957816dwith ENH: Replace the shell wheel build system with Python (supersedes #309) #312 built and wrapped on manylinux_2_28 x86_64 andaarch64 under gcc-toolset-14 on 2026-11-24.
v5.4.5with the 2024 image: all Linux wheeljobs passed on 2026-04-23 (run 24833104044).
logs have expired.
What closes this
v5.4.9fromrelease-5.4(contains #7221).v5.4.9caches.current image (
20260203-3dfb3ff).[-]COMP: Pinned CastXML 0.6.5 cannot parse gcc-toolset-14 `<limits>` (`_Float32`/`F32`) — blocks all manylinux_2_28 wheel builds[/-][+]ITKPythonBuilds 5.4 caches carry CastXML 0.6.5, which fails under gcc-toolset-14[/+]dzenanz commentedon Nov 25, 2026
We should merge this repo (ITKPythonPackage) into main repo (ITK). That should reduce complexity, hopefully. I don't know whether we should aim to do that before 6.0 final, or after that. If this issue is not fixed before that, it will be moot by then.