After an upgrade from dev-lang/ocaml-4.12.1 to dev-lang/ocaml-4.13.1 I get build errors for dev-ml/lablgtk. Manually downgrading back to dev-lang/ocaml-4.12.1 fixes the build error. Reproducible: Always Steps to Reproduce: 1. I hav net-misc/unison +gtk, which requires lablgtk:2 2. emerge -auvDN, fails when trying to re-emerge lablgtk:2 Portage 3.0.30 (python 3.9.10-final-0, default/linux/amd64/17.1, gcc-11.2.1, glibc-2.34-r9, 5.15.14-gentoo-dist x86_64) ================================================================= System uname: Linux-5.15.14-gentoo-dist-x86_64-Intel-R-_Xeon-R-_CPU_E5-2660_v4_@_2.00GHz-with-glibc2.34 KiB Mem: 65860256 total, 33543620 free KiB Swap: 0 total, 0 free Timestamp of repository gentoo: Tue, 01 Mar 2022 23:45:01 +0000 Head commit of repository gentoo: 58afd450fb5f6b944b22591df7f829130762a0dd sh bash 5.1_p16 ld GNU ld (Gentoo 2.37_p1 p2) 2.37 app-misc/pax-utils: 1.3.3::gentoo app-shells/bash: 5.1_p16::gentoo dev-java/java-config: 2.3.1::gentoo dev-lang/perl: 5.34.0-r8::gentoo dev-lang/python: 2.7.18_p13::gentoo, 3.9.10-r1::gentoo, 3.10.2-r1::gentoo dev-lang/rust: 1.58.1::gentoo dev-util/cmake: 3.22.2::gentoo dev-util/meson: 0.61.1::gentoo sys-apps/baselayout: 2.8::gentoo sys-apps/openrc: 0.44.10::gentoo sys-apps/sandbox: 2.29::gentoo sys-devel/autoconf: 2.13-r1::gentoo, 2.71-r1::gentoo sys-devel/automake: 1.16.5::gentoo sys-devel/binutils: 2.37_p1-r2::gentoo sys-devel/binutils-config: 5.4.1::gentoo sys-devel/clang: 13.0.1::gentoo sys-devel/gcc: 11.2.1_p20220115::gentoo sys-devel/gcc-config: 2.5-r1::gentoo sys-devel/libtool: 2.4.6-r6::gentoo sys-devel/lld: 13.0.1::gentoo sys-devel/llvm: 13.0.1::gentoo sys-devel/make: 4.3::gentoo sys-kernel/linux-headers: 5.16::gentoo (virtual/os-headers) sys-libs/glibc: 2.34-r9::gentoo Repositories: gentoo location: /usr/portage sync-type: rsync sync-uri: rsync://rsync.de.gentoo.org/gentoo-portage priority: -1000 sync-rsync-verify-max-age: 24 sync-rsync-extra-opts: --quiet sync-rsync-verify-metamanifest: yes sync-rsync-verify-jobs: 1 user_ebuilds location: /usr/local/portage masters: gentoo src_prepare-overlay location: /var/lib/layman/src_prepare-overlay masters: gentoo priority: 50 Installed sets: @deps, @fdroidserver-deps, @mega-deps, @openvpn, @programming-tools, @rss, @sfshare-pythontools, @tmp, @wireless-hotspot, @work-laptop ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="@FREE" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=x86-64 -mtune=generic -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/lib/dracut/modules.d/60crypt-ssh /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/easy-rsa /usr/share/gnupg/qualified.txt" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php8.0/ext-active/ /etc/php/apache2-php8.1/ext-active/ /etc/php/cgi-php8.0/ext-active/ /etc/php/cgi-php8.1/ext-active/ /etc/php/cli-php8.0/ext-active/ /etc/php/cli-php8.1/ext-active/ /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="-march=x86-64 -mtune=generic -O2 -pipe" DISTDIR="/home/portage/distfiles" EMERGE_DEFAULT_OPTS="--buildpkg --jobs=2 --oneshot --keep-going=y --usepkg --buildpkg-exclude app-emulation/virtualbox-modules --buildpkg-exclude x11-drivers/nvidia-drivers --buildpkg-exclude sys-kernel/gentoo-sources" 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" FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg buildpkg-live config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch 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" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="en_GB.utf8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LINGUAS="de" MAKEOPTS="-j16" PKGDIR="/home/portage/packages" 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="/home/portage/tmp" SHELL="/bin/bash" USE="X acl acpi alsa amd64 bluray bzip2 cleartype cli corefonts crypt cups dbus dist-kernel dri dvb elogind fortran gdbm gif gnome-keyring gtk iconv ipv6 jpeg jpeg2k kpathsea libglvnd libtirpc lirc mmx mng multilib ncurses nls nptl opengl openmp pam pcre pdf png pulseaudio qt4 qt5 readline seccomp split-usr sse sse2 ssl startup-notification svg threads tiff truetype type1 unicode v4l vaap
Created attachment 766139 [details] build.log
I think this is essentially Werror. Does https://github.com/garrigue/lablgtk/pull/145/commits/1fe30fe267574de437f3fdd0b727ae1fe4cb3b90 work?
Confirming, same here. Version bump to 2.18.12 fixes the build.
Created attachment 766203 [details] Bumped ebuild
Created attachment 766204 [details, diff] Adapted patch
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bc5ec2dee291efe1f8c43082a44418d35544c263 commit bc5ec2dee291efe1f8c43082a44418d35544c263 Author: Sam James <sam@gentoo.org> AuthorDate: 2022-03-05 23:54:49 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-03-05 23:55:02 +0000 dev-ml/lablgtk: add 2.18.12 Closes: https://bugs.gentoo.org/834484 Thanks-to: Petr Zima <zima@matfyz.cz> Signed-off-by: Sam James <sam@gentoo.org> dev-ml/lablgtk/Manifest | 1 + dev-ml/lablgtk/files/lablgtk-2.18.12-cflags.patch | 76 ++++++++++++++++++++++ dev-ml/lablgtk/lablgtk-2.18.12.ebuild | 78 +++++++++++++++++++++++ 3 files changed, 155 insertions(+)