Closed ashtum closed 3 months ago
https://github.com/boostorg/system/actions/runs/9338190106/job/25703151871?pr=122#step:4:3
sudo apt-get update
sudo apt-get -y install g++-11
shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0}
env:
UBSAN_OPTIONS: print_stacktrace=1
Get:1 file:/etc/apt/apt-mirrors.txt Mirrorlist [142 B]
Hit:2 http://azure.archive.ubuntu.com/ubuntu focal InRelease
Hit:6 https://packages.microsoft.com/repos/azure-cli focal InRelease
Get:3 http://azure.archive.ubuntu.com/ubuntu focal-updates InRelease [128 kB]
Get:4 http://azure.archive.ubuntu.com/ubuntu focal-backports InRelease [128 kB]
Get:5 http://azure.archive.ubuntu.com/ubuntu focal-security InRelease [128 kB]
Get:7 https://packages.microsoft.com/ubuntu/20.04/prod focal InRelease [3632 B]
Get:8 http://azure.archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages [3332 kB]
Get:9 http://azure.archive.ubuntu.com/ubuntu focal-updates/main Translation-en [525 kB]
Get:10 http://azure.archive.ubuntu.com/ubuntu focal-updates/universe amd64 Packages [1189 kB]
Get:11 http://azure.archive.ubuntu.com/ubuntu focal-updates/universe Translation-en [285 kB]
Get:12 http://azure.archive.ubuntu.com/ubuntu focal-security/main amd64 Packages [2956 kB]
Get:13 http://azure.archive.ubuntu.com/ubuntu focal-security/main Translation-en [444 kB]
Get:14 http://azure.archive.ubuntu.com/ubuntu focal-security/universe amd64 Packages [963 kB]
Get:15 http://azure.archive.ubuntu.com/ubuntu focal-security/universe Translation-en [203 kB]
Get:16 https://packages.microsoft.com/ubuntu/20.04/prod focal/main arm64 Packages [60.6 kB]
Get:17 https://packages.microsoft.com/ubuntu/20.04/prod focal/main amd64 Packages [293 kB]
Fetched 10.6 MB in 1s (7192 kB/s)
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
clang-11 is already the newest version (1:11.0.0-2~ubuntu20.04.1).
The following additional packages will be installed:
fonts-mathjax libjs-mathjax
Suggested packages:
fonts-mathjax-extras fonts-stix libjs-mathjax-doc
The following NEW packages will be installed:
clang-11-doc clang-11-examples fonts-mathjax libclang-11-dev libjs-mathjax
python3-clang-11
This doesn't make any sense, why it tries to install clang-11!
I'll take care of it.
Can you please make the following changes:
Thanks.
According to the documentation, in the non-allocating overload of
message
, we can pass anullptr
forbuffer
whenlen
is 0.Compiling the following generates
-Wnonnull
warnings, becausebuffer
parameter instrerror_r
signature is marked as non-null: https://godbolt.org/z/sdbvfY7vo