x86_64-pc-linux-gnu-gcc -c -O2 -fno-strict-aliasing -fwrapv -Wall -Wdeclaration-after-statement -fno-common -fexcess-precision=standard -fno-tree-vrp -ffunction-sections -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -g -pipe -march=native -fno-diagnostics-color -O2 -falign-functions=32:25:16 -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DCAML_NAME_SPACE -DCAMLDLLIMPORT= -DNATIVE_CODE -DTARGET_amd64 -DMODEL_default -DSYS_linux -o signals_nat.n.o signals_nat.c signals_nat.c:184:13: error: variably modified ‘sig_alt_stack’ at file scope 184 | static char sig_alt_stack[SIGSTKSZ]; | ^~~~~~~~~~~~~ make[2]: *** [Makefile:367: signals_nat.n.o] Error 1 make[2]: *** Waiting for unfinished jobs.... ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1-j4-20211005-171240 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-11.2.0 * clang version 13.0.0 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/13/bin /usr/lib/llvm/13 13.0.0 Python 3.9.7 Available Ruby profiles: [1] ruby26 (with Rubygems) [2] ruby30 (with Rubygems) * Available Rust versions: [1] rust-1.55.0 * The Glorious Glasgow Haskell Compilation System, version 8.10.4 php cli: [1] php7.3 [2] php7.4 [3] php8.0 * HEAD of ::gentoo commit a1ff4c6799d415d1d95294edf350b34434956c76 Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Thu Oct 7 07:06:31 2021 +0000 2021-10-07 07:06:30 UTC emerge -qpvO dev-lang/ocaml [ebuild N ] dev-lang/ocaml-4.12.1 USE="ocamlopt -emacs -flambda -latex -xemacs"
Created attachment 743664 [details] emerge-info.txt
Created attachment 743667 [details] dev-lang:ocaml-4.12.1:20211007-071738.log
Created attachment 743670 [details] emerge-history.txt
Created attachment 743673 [details] environment
Created attachment 743676 [details] etc.portage.tar.bz2
Created attachment 743679 [details] logs.tar.bz2
Created attachment 743682 [details] temp.tar.bz2
Created attachment 743688 [details, diff] ocaml-4.12.1_glibc-2.34_support.patch
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=474a14bc9ede109fb7a8033667f42b6f63720962 commit 474a14bc9ede109fb7a8033667f42b6f63720962 Author: Sam James <sam@gentoo.org> AuthorDate: 2021-10-09 05:54:21 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2021-10-09 05:55:51 +0000 dev-lang/ocaml: fix build with glibc 2.34 Closes: https://bugs.gentoo.org/816765 Signed-off-by: Sam James <sam@gentoo.org> dev-lang/ocaml/files/ocaml-4.12.0-glibc-2.34.patch | 91 ++++++++++++++++++++++ dev-lang/ocaml/ocaml-4.12.0-r2.ebuild | 4 + dev-lang/ocaml/ocaml-4.12.1.ebuild | 4 + 3 files changed, 99 insertions(+)