Created attachment 727194 [details] build.log signals_nat.c:198:13: error: variably modified ‘sig_alt_stack’ at file scope 198 | static char sig_alt_stack[SIGSTKSZ]; | ^~~~~~~~~~~~~ make[3]: *** [Makefile:344: signals_nat_n.o] Error 1 make[3]: *** Waiting for unfinished jobs.... make[3]: Leaving directory '/var/tmp/portage/dev-lang/ocaml-4.11.2-r2/work/ocaml-4.11.2/runtime' make[2]: *** [Makefile:777: makeruntimeopt] Error 2 make[2]: Leaving directory '/var/tmp/portage/dev-lang/ocaml-4.11.2-r2/work/ocaml-4.11.2' make[1]: *** [Makefile:223: opt.opt] Error 2 make[1]: Leaving directory '/var/tmp/portage/dev-lang/ocaml-4.11.2-r2/work/ocaml-4.11.2' make: *** [Makefile:283: world.opt] Error 2 * ERROR: dev-lang/ocaml-4.11.2-r2::gentoo failed (compile phase): * emake failed ---- Portage 3.0.20 (python 3.9.6-final-0, default/linux/amd64/17.1/systemd, gcc-11.1.0, glibc-9999, 5.10.51-gentoo-dist-hardened x86_64) ================================================================= System uname: Linux-5.10.51-gentoo-dist-hardened-x86_64-AMD_Ryzen_7_2700_Eight-Core_Processor-with-glibc2.33.9000 KiB Mem: 16365968 total, 3364872 free KiB Swap: 16777212 total, 15612924 free Timestamp of repository gentoo: Mon, 26 Jul 2021 02:00:01 +0000 Head commit of repository gentoo: 89058ca8746b96498c22dd52548b79b59200bd96 sh bash 5.1_p8 ld GNU ld (Gentoo 2.36.1 p3) 2.36.1 ccache version 4.3 [disabled] app-shells/bash: 5.1_p8::gentoo dev-lang/perl: 5.34.0-r1::gentoo dev-lang/python: 3.9.6::gentoo, 3.10.0_beta4::gentoo dev-lang/rust-bin: 1.53.0::gentoo dev-util/ccache: 4.3-r3::gentoo dev-util/cmake: 3.21.0::gentoo sys-apps/baselayout: 2.7-r3::gentoo sys-apps/sandbox: 2.24::gentoo sys-devel/autoconf: 2.13-r1::gentoo, 2.69-r5::gentoo sys-devel/automake: 1.16.3-r1::gentoo sys-devel/binutils: 2.36.1-r1::gentoo sys-devel/gcc: 11.1.0-r2::gentoo sys-devel/gcc-config: 2.4::gentoo sys-devel/libtool: 2.4.6-r6::gentoo sys-devel/make: 4.3::gentoo sys-kernel/linux-headers: 5.13::gentoo (virtual/os-headers) sys-libs/glibc: 9999::gentoo Repositories: gentoo location: /var/db/repos/gentoo sync-type: rsync sync-uri: rsync://rsync.gentoo.org/gentoo-portage priority: -1000 sync-rsync-verify-jobs: 1 sync-rsync-verify-max-age: 24 sync-rsync-verify-metamanifest: yes sync-rsync-extra-opts: ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe -march=native -fdiagnostics-color=always -frecord-gcc-switches" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /var/bind" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-O2 -pipe -march=native -fdiagnostics-color=always -frecord-gcc-switches" DISTDIR="/var/cache/distfiles" EMERGE_DEFAULT_OPTS="--keep-going=y --with-bdeps=y --deep --complete-graph --usepkg=y" ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR" FCFLAGS="-O2 -pipe -march=native -fdiagnostics-color=always -frecord-gcc-switches" FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox multilib-strict news parallel-fetch parallel-install pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -pipe -march=native -fdiagnostics-color=always -frecord-gcc-switches" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="C.UTF8" LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0" MAKEOPTS="-j4" PKGDIR="/var/cache/binpkgs" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git" PORTAGE_TMPDIR="/var/tmp" USE="acl amd64 bzip2 cli crypt dri fortran gdbm iconv ipv6 libglvnd libtirpc multilib ncurses nls nptl openmp pam pcre readline seccomp split-usr ssl systemd tcpd udev unicode xattr zlib" ABI_X86="64" ADA_TARGET="gnat_2018" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="libinput" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-3 php7-4" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_9" PYTHON_TARGETS="python3_9" RUBY_TARGETS="ruby26" USERLAND="GNU" VIDEO_CARDS="amdgpu fbdev intel nouveau radeon radeonsi vesa dummy v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq proto steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RUSTFLAGS
Builds with these patches https://gitlab.com/redhat/centos-stream/rpms/ocaml#origin/c9s Also seems like it's solved upstream https://github.com/ocaml/ocaml/pull/10266
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c309652d566cedeb0c93c8b1a08569f54545d354 commit c309652d566cedeb0c93c8b1a08569f54545d354 Author: Sam James <sam@gentoo.org> AuthorDate: 2021-10-17 05:16:49 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2021-10-17 05:24:32 +0000 dev-lang/ocaml: fix build with glibc-2.34 in 4.11.2 Closes: https://bugs.gentoo.org/804498 Signed-off-by: Sam James <sam@gentoo.org> dev-lang/ocaml/files/ocaml-4.11.2-glibc-2.34.patch | 91 ++++++++++++++++++++++ dev-lang/ocaml/ocaml-4.11.2-r2.ebuild | 4 + 2 files changed, 95 insertions(+)
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=08d38917b110ea52b3107556e283498a09a89a36 commit 08d38917b110ea52b3107556e283498a09a89a36 Author: Sam James <sam@gentoo.org> AuthorDate: 2022-02-22 00:35:29 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-02-22 00:41:22 +0000 dev-lang/ocaml: fix 4.10 with glibc 2.34 Bug: https://bugs.gentoo.org/804498 See: https://github.com/gentoo/gentoo/pull/22851#pullrequestreview-882504245 Signed-off-by: Sam James <sam@gentoo.org> dev-lang/ocaml/files/ocaml-4.10.2-glibc-2.34.patch | 257 +++++++++++++++++++++ dev-lang/ocaml/ocaml-4.10.2-r3.ebuild | 106 +++++++++ 2 files changed, 363 insertions(+) https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a5945b83a4ee29d228e1a56101483001da291c54 commit a5945b83a4ee29d228e1a56101483001da291c54 Author: Sam James <sam@gentoo.org> AuthorDate: 2022-02-22 00:29:23 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-02-22 00:41:18 +0000 dev-lang/ocaml: fix 4.09 with glibc 2.34 Bug: https://bugs.gentoo.org/804498 See: https://github.com/gentoo/gentoo/pull/22851#pullrequestreview-882504245 Signed-off-by: Sam James <sam@gentoo.org> dev-lang/ocaml/files/ocaml-4.09.0-glibc-2.34.patch | 193 +++++++++++++++++++++ dev-lang/ocaml/ocaml-4.09.0-r3.ebuild | 105 +++++++++++ 2 files changed, 298 insertions(+) https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=860e2f272f0a0a2fecb2ab6f160ce68875770f59 commit 860e2f272f0a0a2fecb2ab6f160ce68875770f59 Author: Sam James <sam@gentoo.org> AuthorDate: 2022-02-22 00:40:45 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-02-22 00:41:14 +0000 dev-lang/ocaml: fix 4.05 with glibc 2.34 Bug: https://bugs.gentoo.org/804498 See: https://github.com/gentoo/gentoo/pull/22851#pullrequestreview-882504245 Signed-off-by: Sam James <sam@gentoo.org> dev-lang/ocaml/files/ocaml-4.05.0-glibc-2.34.patch | 201 +++++++++++++++++++++ dev-lang/ocaml/ocaml-4.05.0-r9.ebuild | 157 ++++++++++++++++ 2 files changed, 358 insertions(+)
arm64 done
arm done
ppc64 done
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=687393e4bd5f9a0f9bf4a2f766ea1246f7b324f7 commit 687393e4bd5f9a0f9bf4a2f766ea1246f7b324f7 Author: Sam James <sam@gentoo.org> AuthorDate: 2022-02-27 06:25:12 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-02-27 06:26:48 +0000 dev-lang/ocaml: fix 4.11.2 src_prepare (missing patch) Accidentally cleaned up in 9e8369277b272b15f3dd1159fa18b71ec4431a77 (got confused by what I had/hadn't moved into patch tarballs, renamed accordingly now to avoid that in future). Once OCaml 4.09.0-r3 stabilisation is complete, we can cleanup all the obsolete patches from files/ and then everything is a bit clearer. Bug: https://bugs.gentoo.org/804498 Fixes: 9e8369277b272b15f3dd1159fa18b71ec4431a77 See: https://forums.gentoo.org/viewtopic-t-1147490.html Signed-off-by: Sam James <sam@gentoo.org> dev-lang/ocaml/files/ocaml-4.11.2-cflags.patch | 42 ++++++++++++++++++++++++++ dev-lang/ocaml/ocaml-4.11.2-r2.ebuild | 2 +- 2 files changed, 43 insertions(+), 1 deletion(-)
amd64 stable
x86 stable
ppc dropped to ~ppc
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1eabb8b88db7647b7a04300ead166f4e4e852951 commit 1eabb8b88db7647b7a04300ead166f4e4e852951 Author: Sam James <sam@gentoo.org> AuthorDate: 2022-03-04 00:55:27 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-03-04 00:56:31 +0000 dev-lang/ocaml: drop 4.09.0-r2 Bug: https://bugs.gentoo.org/804498 Signed-off-by: Sam James <sam@gentoo.org> dev-lang/ocaml/files/ocaml-4.09.0-cflags.patch | 65 ---------------- dev-lang/ocaml/files/ocaml-4.09.0-gcc-10.patch | 21 ----- dev-lang/ocaml/ocaml-4.09.0-r2.ebuild | 104 ------------------------- 3 files changed, 190 deletions(-)