[tlbuild] icu-76.2 in TL source tree, requires C++17
Norbert Preining
norbert at preining.info
Mon Oct 28 00:34:09 CET 2024
Hi Karl,
> (libs/icu). It requires C++17 (see "ICU4C Platform Support" near the
Ohh.
> So I thought I'd send a note here in case people want to adjust their
> builds now. There is no escaping it (apart from not building xetex et al.).
As expected, most CI building failed. x86_64 linux failed like this
https://github.com/TeX-Live/texlive-source/actions/runs/11544453432/job/32130019796
2024-10-27T23:00:10.1863534Z /work/repo/Work/libs/icu/include/unicode/stringpiece.h:135:66: error: template argument 1
is invalid
2024-10-27T23:00:10.1864665Z 135 | (std::is_same_v<decltype(T().data()), const char*>
2024-10-27T23:00:10.1865590Z | ^
I guess that is too old a gcc :-(
> For Red Hat-based systems, I was able to complete the build by
> installing the package "gcc-toolset-13" and then running the build as
> scl enable gcc-toolset-13 -- ./Build ...other args...
At the moment we have the following code on almalinux:
(for x86_64-linux)
almalinux)
yum update -y
yum install -y gcc-toolset-9 fontconfig-devel libX11-devel libXmu-devel libXaw-devel
. /opt/rh/gcc-toolset-9/enable
;;
Any suggestion what needs to be done? I am not aware what "scl" is ...
For i386-linux we use ubuntu xenial, I will see to which version bumping
this is necessary.
Best regards
Norbert
--
PREINING Norbert https://www.preining.info
arXiv / Cornell University + IFMGA Guide + TU Wien + TeX Live
GPG: 0x860CDC13 fp: F7D8 A928 26E3 16A1 9FA0 ACF0 6CAC A448 860C DC13
More information about the tlbuild
mailing list.