Created attachment 861109 [details] build log The rebuild of gnucash, caused by adding Python 3.11, failed: FAILED: libgnucash/gnc-module/CMakeFiles/gnc-module.dir/gnc-module.c.o /usr/lib/ccache/bin/x86_64-pc-linux-gnu-gcc -DG_LOG_DOMAIN=\"gnc.module\" -DHAVE_CONFIG_H -DHAVE_GUILE22 -D_GNU_SOURCE -Dgnc_module_EXPORTS -I/var/tmp/portage/app-office/gnucash-4.12-r1/work/gnucash-4.12/libgnucash/gnc-module -I/var/tmp/portage/app-office/gnucash-4.12-r1/work/gnucash-4.12/common -I/var/tmp/portage/app-office/gnucash-4.12-r1/work/gnucash-4.12_build/common -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -Wno-error=deprecated-declarations -Wno-error=parentheses -Werror -Wdeclaration-after-statement -Wno-pointer-sign -Wall -Wmissing-prototypes -Wmissing-declarations -Wno-unused -O2 -pipe -march=skylake -pipe -fPIC -std=gnu11 -MD -MT libgnucash/gnc-module/CMakeFiles/gnc-module.dir/gnc-module.c.o -MF libgnucash/gnc-module/CMakeFiles/gnc-module.dir/gnc-module.c.o.d -o libgnucash/gnc-module/CMakeFiles/gnc-module.dir/gnc-module.c.o -c /var/tmp/portage/app-office/gnucash-4.12-r1/work/gnucash-4.12/libgnucash/gnc-module/gnc-module.c In file included from /usr/include/glib-2.0/glib/giochannel.h:36, from /usr/include/glib-2.0/glib.h:56, from /usr/include/glib-2.0/gmodule.h:30, from /var/tmp/portage/app-office/gnucash-4.12-r1/work/gnucash-4.12/libgnucash/gnc-module/gnc-module.c:31: /var/tmp/portage/app-office/gnucash-4.12-r1/work/gnucash-4.12/libgnucash/gnc-module/gnc-module.c: In function ‘gnc_module_system_search_dirs’: /usr/include/glib-2.0/glib/gstring.h:72:5: error: ignoring return value of ‘g_string_free_and_steal’ declared with attribute ‘warn_unused_result’ [-Werror=unused-result] 68 | (__builtin_constant_p (free_segment) ? \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 69 | ((free_segment) ? \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | (g_string_free) ((str), (free_segment)) : \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | g_string_free_and_steal (str)) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | : \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | (g_string_free) ((str), (free_segment))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/portage/app-office/gnucash-4.12-r1/work/gnucash-4.12/libgnucash/gnc-module/gnc-module.c:111:17: note: in expansion of macro ‘g_string_free’ 111 | g_string_free(token, FALSE); | ^~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstring.h:72:5: error: ignoring return value of ‘g_string_free_and_steal’ declared with attribute ‘warn_unused_result’ [-Werror=unused-result] 68 | (__builtin_constant_p (free_segment) ? \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 69 | ((free_segment) ? \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | (g_string_free) ((str), (free_segment)) : \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | g_string_free_and_steal (str)) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | : \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | (g_string_free) ((str), (free_segment))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/portage/app-office/gnucash-4.12-r1/work/gnucash-4.12/libgnucash/gnc-module/gnc-module.c:130:9: note: in expansion of macro ‘g_string_free’ 130 | g_string_free(token, FALSE); | ^~~~~~~~~~~~~ cc1: all warnings being treated as errors emerge --info app-office/gnucash Portage 3.0.44 (python 3.11.2-final-0, default/linux/amd64/17.1/systemd/merged-usr, gcc-12, glibc-2.36-r7, 6.1.19-gentoo-x86_64 x86_64) ================================================================= System Settings ================================================================= System uname: Linux-6.1.19-gentoo-x86_64-x86_64-Intel-R-_Core-TM-_i7-6700_CPU_@_3.40GHz-with-glibc2.36 KiB Mem: 16296704 total, 10993236 free KiB Swap: 2072572 total, 2072572 free Timestamp of repository gentoo: Wed, 03 May 2023 22:00:01 +0000 Head commit of repository gentoo: b912d4e56ba9ac39b93eb0cba7a4a6239997dd78 sh bash 5.1_p16-r2 ld GNU ld (Gentoo 2.39 p6) 2.39.0 distcc 3.4 x86_64-pc-linux-gnu [disabled] ccache version 4.7.4 [enabled] app-misc/pax-utils: 1.3.5::gentoo app-shells/bash: 5.1_p16-r2::gentoo dev-lang/perl: 5.36.0-r2::gentoo dev-lang/python: 3.10.10_p3::gentoo, 3.11.2_p2::gentoo dev-lang/rust: 1.66.1::gentoo dev-util/ccache: 4.7.4::gentoo dev-util/cmake: 3.25.3::gentoo dev-util/meson: 1.0.1::gentoo sys-apps/baselayout: 2.13-r1::gentoo sys-apps/sandbox: 2.29::gentoo sys-apps/systemd: 253.3-r1::gentoo sys-devel/autoconf: 2.13-r7::gentoo, 2.71-r5::gentoo sys-devel/automake: 1.16.5::gentoo sys-devel/binutils: 2.39-r5::gentoo sys-devel/binutils-config: 5.5::gentoo sys-devel/binutils: 2.39-r5::gentoo [0/1846] sys-devel/binutils-config: 5.5::gentoo sys-devel/gcc: 12.2.1_p20230428-r1::gentoo sys-devel/gcc-config: 2.10::gentoo sys-devel/libtool: 2.4.7-r1::gentoo sys-devel/llvm: 15.0.7::gentoo sys-devel/make: 4.4.1::gentoo sys-kernel/linux-headers: 6.1::gentoo (virtual/os-headers) sys-libs/glibc: 2.36-r7::gentoo Repositories: gentoo location: /usr/portage sync-type: rsync sync-uri: rsync://rsync.gentoo.org/gentoo-portage priority: -1000 volatile: True sync-rsync-verify-max-age: 24 sync-rsync-verify-jobs: 1 sync-rsync-extra-opts: sync-rsync-verify-metamanifest: yes localrepo location: /usr/local/portage masters: gentoo volatile: True ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="@FREE" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe -march=skylake -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /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/revdep-rebuild /etc/sandbox.d" CXXFLAGS="-O2 -pipe -march=skylake -pipe" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS=" --buildpkg --buildpkg-exclude "virtual/* sys-kernel/*-sources *-bin" --usepkg --binpkg-respect-use y --binpkg-changed-deps=y" ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GDK_PIXBUF_MODULE_FILE 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 XDG_STATE_HOME" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg buildpkg-live ccache 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" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="https://mirror.netcologne.de/gentoo/ ftp://mirror.netcologne.de/gentoo/ rsync://mirror.netcologne.de/gentoo/ http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ ftp://ftp.halifax.rwth-aachen.de/gentoo/ https://ftp.halifax.rwth-aachen.de/gentoo/ rsync://ftp.halifax.rwth-aachen.de/gentoo/ https://ftp.fau.de/gentoo ftp://ftp.fau.de/gentoo rsync://ftp.fau.de/gentoo ftp://ftp-stud.hs-esslingen.de/pub/Mirrors/gentoo/ rsync://ftp-stud.hs-esslingen.de/gentoo/ https://ftp-stud.hs-esslingen.de/pub/Mirrors/gentoo/" LANG="de_DE.utf8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LEX="flex" MAKEOPTS="-j10 -l7" PKGDIR="/usr/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="/var/tmp" SHELL="/bin/bash" USE="3dnow 3dnowext X a52 aac aalib acl alsa amd64 bash-completion bzip2 cblas-external cdr cli crypt curl dbus divx dri drm dvb dvbplayer dvd dvdplayer fortran gdbm gif gudev iconv ipv6 jpeg libglvnd libtirpc lm_sensors lock maildir mmx mp3 multilib ncurses network nfsv4 nfsv41 nls nptl nvram opengl openmp pam pcre png python readline seccomp session sse sse2 ssl startup-notification systemd test-rust threads thunar tiff udev unicode usb userlocales v4l win32codecs xattr xvid zlib" ABI_X86="64 32" ADA_TARGET="gnat_2021" 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 sse3 3dnow 3dnowext" 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" GRUB_PLATFORMS="efi-64" 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-4 php8-0" POSTGRES_TARGETS="postgres12 postgres13" PYTHON_SINGLE_TARGET="python3_11" PYTHON_TARGETS="python3_11" RUBY_TARGETS="ruby30" USERLAND="GNU" VIDEO_CARDS="intel i965" 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: ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LFLAGS, LIBTOOL, LINGUAS, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS ================================================================= Package Settings ================================================================= app-office/gnucash-4.12-r1::gentoo was built with the following: USE="aqbanking gui nls python quotes -debug -doc -examples -gnome-keyring -mysql -ofx -postgres -register2 -smartcard -sqlite -test" ABI_X86="(64)" PYTHON_SINGLE_TARGET="python3_10 -python3_11 -python3_9" FEATURES="news parallel-fetch fixlafiles qa-unresolved-soname-deps userpriv strict merge-sync userfetch assume-digests binpkg-logs ebuild-locks ipc-sandbox unmerge-logs pid-sandbox protect-owned unknown-features-warn config-protect-if-modified buildpkg binpkg-dostrip usersync binpkg-docompress preserve-libs usersandbox sfperms multilib-strict network-sandbox distlocks ccache sandbox buildpkg-live unmerge-orphans" I found a reports about a simalar build failure here: https://www.reddit.com/r/archlinux/comments/130k4xv/cant_install_libunity_because_of_dee_compile_error/ https://git.launchpad.net/babeltrace/commit/?id=2e4a3da35892bf53e49936532a3a04e4c6819cb3
Issue with newer glib. Should be fixed by bug 905638.
Thanks!