Skip to content

Linux build fixes#1

Merged
ncalexan merged 4 commits intomozilla:johnmcpms/signingfrom
jcristau:build-fixes
Mar 12, 2026
Merged

Linux build fixes#1
ncalexan merged 4 commits intomozilla:johnmcpms/signingfrom
jcristau:build-fixes

Conversation

@jcristau
Copy link

In mozilla-releng/scriptworker-scripts#1383 I'm looking at updating signingscript to run on Debian 13, and hitting errors building msix-packaging due to changes in glibc / libstdc++ / ICU.

Recent ICU headers don't work with C++14, e.g.

```
In file included from [...]/src/msix/PAL/Applicability/Linux/Applicability.cpp:6:
In file included from /usr/include/unicode/uloc.h:27:
In file included from /usr/include/unicode/uenum.h:25:
/usr/include/unicode/localpointer.h:559:26: error: 'auto' not allowed in template parameter until C++17
  559 | template <typename Type, auto closeFunction>
      |                          ^~~~
```
and
```
In file included from [...]/lib/xerces/src/xercesc/util/regx/RangeToken.cpp:40:
In file included from /usr/include/unicode/uset.h:37:
/usr/include/unicode/char16ptr.h:317:10: error: no member named 'is_convertible_v' in namespace 'std'
  317 |     std::is_convertible_v<T, std::u16string_view>
      |     ~~~~~^
```
It removed support for old cmake versions as in lib/CMakeLists.txt's
`cmake_minimum_required(VERSION 3.4.0 FATAL_ERROR)`
`MINSIGSTKSZ` is not a constant expression anymore, see
catchorg/Catch2#2178
Fixes build failure on Linux with newer libstdc++
@ncalexan
Copy link
Member

Nothing worrying me here -- although I can't say I dug deep :)

@ncalexan ncalexan merged commit aec4e5b into mozilla:johnmcpms/signing Mar 12, 2026
lando-prod-mozilla bot pushed a commit to mozilla-firefox/firefox that referenced this pull request Mar 13, 2026
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.

2 participants