Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 762661 - app-office/gnucash-4.4 fails to emerge no code for module (gnucash locale de_DE tax txf-help)
Summary: app-office/gnucash-4.4 fails to emerge no code for module (gnucash locale de_...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Aaron W. Swenson
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2020-12-30 15:12 UTC by Fabio Coatti
Modified: 2022-12-06 12:02 UTC (History)
24 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log.gz,38.23 KB, application/gzip)
2020-12-30 15:14 UTC, Fabio Coatti
Details
Install QA Notice (gnucash_4_4_qa_notice.txt,19.81 KB, text/plain)
2020-12-31 02:11 UTC, Petronio Coelho
Details
build.log.xz (build.log.xz,26.10 KB, application/x-xz)
2021-01-04 10:05 UTC, Dennis Schridde
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Fabio Coatti 2020-12-30 15:12:39 UTC
FAILED: lib64/guile/2.2/site-ccache/gnucash/locale/de_DE/tax/txf.go 
cd /var/tmp/portage/app-office/gnucash-4.4/work/gnucash-4.4_build/libgnucash/tax && /usr/bin/cmake -E env LD_LIBRARY_PATH=/var/tmp/portage/app-office/gnucash-4.4/work/gnucash-4.4_build/lib64:/var/tmp/portage/app-office/gnucash-4.4/work/gnucash-4.4_build/lib64/gnucash: GNC_UNINSTALLED=YES GNC_BUILDDIR=/var/tmp/portage/app-office/gnucash-4.4/work/gnucash-4.4_build GUILE_LOAD_PATH=/var/tmp/portage/app-office/gnucash-4.4/work/gnucash-4.4/libgnucash/tax:/var/tmp/portage/app-office/gnucash-4.4/work/gnucash-4.4_build/libgnucash/tax:/var/tmp/portage/app-office/gnucash-4.4/work/gnucash-4.4_build/libgnucash/tax/deprecated:/var/tmp/portage/app-office/gnucash-4.4/work/gnucash-4.4_build/share/guile/site/2.2 GUILE_LOAD_COMPILED_PATH=/var/tmp/portage/app-office/gnucash-4.4/work/gnucash-4.4_build/libgnucash/tax:/var/tmp/portage/app-office/gnucash-4.4/work/gnucash-4.4_build/lib64/guile/2.2/site-ccache:/var/tmp/portage/app-office/gnucash-4.4/work/gnucash-4.4_build/lib64/guile/2.2/site-ccache/gnucash/deprecated GNC_MODULE_PATH=/var/tmp/portage/app-office/gnucash-4.4/work/gnucash-4.4_build/lib64:/var/tmp/portage/app-office/gnucash-4.4/work/gnucash-4.4_build/lib64/gnucash: /usr/bin/guile -e "(@@ (guild) main)" -s /usr/bin/guild compile -o /var/tmp/portage/app-office/gnucash-4.4/work/gnucash-4.4_build/lib64/guile/2.2/site-ccache/gnucash/locale/de_DE/tax/txf.go /var/tmp/portage/app-office/gnucash-4.4/work/gnucash-4.4/libgnucash/tax/de_DE/txf.scm
Backtrace:
In scripts/compile.scm:
   264:26 19 (_ _)
In system/base/target.scm:
     57:6 18 (with-target _ _)
In system/base/compile.scm:
    152:6 17 (compile-file _ #:output-file _ #:from _ #:to _ #:env _ #:opts _ #:canonicalization _)
     43:4 16 (call-once _)
In ice-9/boot-9.scm:
    841:4 15 (with-throw-handler _ _ _)
In system/base/compile.scm:
    59:11 14 (_)
   155:11 13 (_ #<closed: file 7d26df51b930>)
   235:18 12 (read-and-compile #<input: de_DE/txf.scm 13> #:from _ #:to _ #:env _ #:opts _)
   183:32 11 (compile-fold (#<procedure compile-tree-il (x e opts)>) (use-modules (gnucash locale de_DE tax txf-help)) #<directory (gnucash locale de_DE tax txf) 7d26de81b1e0> (#:to-file? #t #:warnings (unsupported-warning)))
In ice-9/boot-9.scm:
   2312:4 10 (save-module-excursion #<procedure 7d26de26a6c0 at language/scheme/compile-tree-il.scm:29:3 ()>)
In language/scheme/compile-tree-il.scm:
    31:15  9 (_)
In ice-9/psyntax.scm:
  1262:36  8 (expand-top-sequence ((use-modules (gnucash locale de_DE tax txf-help))) _ _ #f c (compile load eval) (hygiene gnucash locale de_DE tax txf))
  1209:24  7 (parse _ (("placeholder" placeholder)) ((top) #(ribcage () () ())) _ c (compile load eval) (hygiene gnucash locale de_DE tax txf))
   285:10  6 (parse _ (("placeholder" placeholder)) (()) _ c&e (compile load) (hygiene gnucash locale de_DE tax txf))
In ice-9/boot-9.scm:
  3377:20  5 (process-use-modules _)
   222:17  4 (map1 (((gnucash locale de_DE tax txf-help))))
  3378:31  3 (_ ((gnucash locale de_DE tax txf-help)))
   2803:6  2 (resolve-interface _ #:select _ #:hide _ #:prefix _ #:renamer _ #:version _)
In unknown file:
           1 (scm-error misc-error #f "~A ~S" ("no code for module" (gnucash locale de_DE tax txf-help)) #f)
In ice-9/boot-9.scm:
   752:25  0 (dispatch-exception _ _ _)


Reproducible: Always




Portage 3.0.12 (python 3.7.9-final-0, default/linux/amd64/17.1/desktop/plasma/systemd, gcc-10.2.0, glibc-2.32-r6, 5.10.3-cova x86_64)
=================================================================
System uname: Linux-5.10.3-cova-x86_64-Intel-R-_Core-TM-_i7-6820HQ_CPU_@_2.70GHz-with-gentoo-2.7
KiB Mem:    65681812 total,  32705676 free
KiB Swap:    8388604 total,   8388604 free
Timestamp of repository gentoo: Wed, 30 Dec 2020 14:05:22 +0000
Head commit of repository gentoo: 072dc9a3f8b1b3bcedbf09df4308adc50d92443d

sh bash 5.1_p4
ld GNU gold (Gentoo 2.35.1 p2 2.35.1) 1.16
app-shells/bash:          5.1_p4::gentoo
dev-java/java-config:     2.3.1::gentoo
dev-lang/perl:            5.30.3-r1::gentoo
dev-lang/python:          2.7.18-r5::gentoo, 3.6.12-r1::gentoo, 3.7.9-r1::gentoo, 3.8.7::gentoo, 3.9.1::gentoo, 3.10.0_alpha3::gentoo
dev-util/cmake:           3.19.2::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.7-r1::gentoo
sys-apps/sandbox:         2.20::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r5::gentoo
sys-devel/automake:       1.13.4-r2::gentoo, 1.16.3-r1::gentoo
sys-devel/binutils:       2.35.1-r1::gentoo
sys-devel/gcc:            7.5.0-r1::gentoo, 8.4.0-r2::gentoo, 9.3.0-r2::gentoo, 10.2.0-r5::gentoo
sys-devel/gcc-config:     2.3.2-r1::gentoo
sys-devel/libtool:        2.4.6-r6::gentoo
sys-devel/make:           4.3::gentoo
sys-kernel/linux-headers: 5.10::gentoo (virtual/os-headers)
sys-libs/glibc:           2.32-r6::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: git
    sync-uri: https://anongit.gentoo.org/git/repo/sync/gentoo.git
    priority: -1000
    sync-git-verify-commit-signature: yes

kde
    location: /var/lib/layman/kde
    sync-type: laymansync
    sync-uri: https://github.com/gentoo/kde.git
    masters: gentoo
    priority: 50

nvidia-docker-overlay
    location: /var/lib/layman/nvidia-docker-overlay
    sync-type: laymansync
    sync-uri: https://github.com/gronastech/nvidia-docker-overlay.git
    masters: gentoo
    priority: 50

local
    location: /usr/overlay
    masters: gentoo
    priority: 51

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O3 -fgraphite-identity -floop-nest-optimize -ftree-loop-distribution -flto=4 -fuse-linker-plugin -pipe -fpie -fpic -fstack-protector-strong -fstack-clash-protection"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/easy-rsa /usr/share/gnupg/qualified.txt /usr/share/sddm/scripts/Xsetup"
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/cgi-php8.0/ext-active/ /etc/php/cli-php8.0/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=native -O3 -fgraphite-identity -floop-nest-optimize -ftree-loop-distribution -flto=4 -fuse-linker-plugin -pipe -fpie -fpic -fstack-protector-strong -fstack-clash-protection"
DISTDIR="/usr/portage/distfiles"
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 clean-logs 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://mirror.eu.oneandone.net/linux/distributions/gentoo/gentoo/ http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ http://ftp-stud.hs-esslingen.de/pub/Mirrors/gentoo/"
LANG="en_IE.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -march=native -O3 -fgraphite-identity -floop-nest-optimize -ftree-loop-distribution -flto=4 -fuse-linker-plugin -pipe -fpie -fpic -fstack-protector-strong -fstack-clash-protection -Wl,--as-needed -Wl,--hash-style=gnu"
LINGUAS="en it de"
MAKEOPTS="-j4"
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"
USE="3dnow 3dnowext 3dnowprefetch X \ a52 aac aalib acl acpi activities aim alsa amd64 apng appstream ares asf ati audio audiofile avahi bash-completion berkdb bidi bl bluetooth branding bri bzip2 cairo caps cdda cdr cjk cli crypt cups curl dba dbus declarative device-mapper dga divx divx4linux dri dts dv dvb dvd dvdr dvdread eap-sim edl egl emboss encode ethereal evdev exif expat faad fam fame fbcon ffmpeg fftw flac force-cgi-redirect fortran ftp gallium garmin gd gdbm gif gimp gmedia gmp gnutls gphoto2 gpm gps gsm gtk gui h264 h323 iconv icq icu idn ifp ilbc imagemagick imap innodb ipod iproute2 ipv6 ithreads jabber java javascript joystick jpeg kde kipi kontact kvm kwallet lastfm lcms libglvnd libnotify libtirpc libvirtd live lm_sensors lua lvm lxc lzma lzo mad maildir matroska mbox mdnsresponder-compat mhash mime mjpeg mmap mmx mmxext mng mozdevelop mozilla mp3 mp4 mpeg msn mtp multilib mysql ncurses network networkmanager new-hpcups nfsv4 njb nls nptl nptlonly offensive ofx ogg oggvorbis ogm openal openexr opengl openmp oscar pam pango parted pcap pcre pdf phonon php plasma plotutils png policykit ppds pulseaudio qemu qml qt5 readline real rtc ruby samba sasl sdl seccomp semantic-desktop semantic-destkop sha512 sip slang slp smartcard sndfile snmp sox speex spell split-usr srt sse sse2 ssh ssl ssse3 startup-notification svg symlink systemd tcltk tcpd telepathy theora threads tiff tk touchpad tremor truetype udev udisks unicode upower usb utempter v4l v4l2 vaapi vcd vde vdpaum vhosts video videos vim-syntax virt-network virtualbox vorbis vulkan wav wayland widgets wifi wmf wmp wps wxwidgets wxwindows x264 xanim xattr xcb xface xft xine xinerama xml xosd xpm xscreensaver xsl xv xvid zeroconf zlib zpm" ABI_X86="64 32" 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="aes avx avx2 f16c fma3 mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" 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 pc" INPUT_DEVICES="libinput" KERNEL="linux" L10N="en it de en_IE" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LLVM_TARGETS="X86" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-2 php7-3 php7-4" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_8" PYTHON_TARGETS="python3_7 python3_8 python3_9" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="i386 x86_64" RUBY_TARGETS="ruby25 ruby26 ruby27 ruby30" USERLAND="GNU" VIDEO_CARDS="i965 intel nvidia v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Fabio Coatti 2020-12-30 15:14:21 UTC
Created attachment 680290 [details]
build.log
Comment 2 Kobboi 2020-12-30 15:21:36 UTC
I guess my issue is similar:

FAILED: lib64/guile/2.2/site-ccache/gnucash/locale/us/tax/txf.go 
cd /var/tmp/portage/app-office/gnucash-4.4/work/gnucash-4.4_build/libgnucash/tax && /usr/bin/cmake -E env LD_LIBRARY_PATH=/var/tmp/portage/app-office/gnucash-4.4/work/gnucash-4.4_build/lib64:/var/tmp/portage/app-office/gnucash-4.4/work/gnucash-4.4_build/lib64/gnucash: GNC_UNINSTALLED=YES GNC_BUILDDIR=/var/tmp/portage/app-office/gnucash-4.4/work/gnucash-4.4_build GUILE_LOAD_PATH=/var/tmp/portage/app-office/gnucash-4.4/work/gnucash-4.4/libgnucash/tax:/var/tmp/portage/app-office/gnucash-4.4/work/gnucash-4.4_build/libgnucash/tax:/var/tmp/portage/app-office/gnucash-4.4/work/gnucash-4.4_build/libgnucash/tax/deprecated:/var/tmp/portage/app-office/gnucash-4.4/work/gnucash-4.4_build/share/guile/site/2.2 GUILE_LOAD_COMPILED_PATH=/var/tmp/portage/app-office/gnucash-4.4/work/gnucash-4.4_build/libgnucash/tax:/var/tmp/portage/app-office/gnucash-4.4/work/gnucash-4.4_build/lib64/guile/2.2/site-ccache:/var/tmp/portage/app-office/gnucash-4.4/work/gnucash-4.4_build/lib64/guile/2.2/site-ccache/gnucash/deprecated GNC_MODULE_PATH=/var/tmp/portage/app-office/gnucash-4.4/work/gnucash-4.4_build/lib64:/var/tmp/portage/app-office/gnucash-4.4/work/gnucash-4.4_build/lib64/gnucash: /usr/bin/guile -e "(@@ (guild) main)" -s /usr/bin/guild compile -o /var/tmp/portage/app-office/gnucash-4.4/work/gnucash-4.4_build/lib64/guile/2.2/site-ccache/gnucash/locale/us/tax/txf.go /var/tmp/portage/app-office/gnucash-4.4/work/gnucash-4.4/libgnucash/tax/us/txf.scm
Backtrace:
In scripts/compile.scm:
   264:26 19 (_ _)
In system/base/target.scm:
     57:6 18 (with-target _ _)
In system/base/compile.scm:
    152:6 17 (compile-file _ #:output-file _ #:from _ #:to _ #:env _ #:opts _ …)
     43:4 16 (call-once _)
In ice-9/boot-9.scm:
    841:4 15 (with-throw-handler _ _ _)
In system/base/compile.scm:
    59:11 14 (_)
   155:11 13 (_ #<closed: file 7f3b82908930>)
   235:18 12 (read-and-compile #<input: us/txf.scm 13> #:from _ #:to _ #:env …)
   183:32 11 (compile-fold (#<procedure compile-tree-il (x e opts)>) (# (…)) …)
In ice-9/boot-9.scm:
   2312:4 10 (save-module-excursion #<procedure 7f3b8165ea60 at language/sch…>)
In language/scheme/compile-tree-il.scm:
    31:15  9 (_)
In ice-9/psyntax.scm:
  1262:36  8 (expand-top-sequence ((use-modules (gnucash locale us tax #))) _ …)
  1209:24  7 (parse _ (("placeholder" placeholder)) ((top) #(ribcage () …)) _ …)
   285:10  6 (parse _ (("placeholder" placeholder)) (()) _ c&e (compile #) (…))
In ice-9/boot-9.scm:
  3377:20  5 (process-use-modules _)
   222:17  4 (map1 (((gnucash locale us tax txf-help))))
  3378:31  3 (_ ((gnucash locale us tax txf-help)))
   2803:6  2 (resolve-interface _ #:select _ #:hide _ #:prefix _ #:renamer _ …)
In unknown file:
           1 (scm-error misc-error #f "~A ~S" ("no code for module" (# # …)) #)
In ice-9/boot-9.scm:
   752:25  0 (dispatch-exception _ _ _)

ice-9/boot-9.scm:752:25: In procedure dispatch-exception:
no code for module (gnucash locale us tax txf-help)
Comment 3 Ionen Wolkens gentoo-dev 2020-12-30 17:03:10 UTC
Unsure for cause but I can reproduce even with all USE unset on ~amd64.
Comment 4 Aaron W. Swenson gentoo-dev 2020-12-30 17:13:09 UTC
Hmmm....I ran into this with 4.3, but not 4.4.

Can you guys try compiling again? No changes. Just compile again. Maybe something gets cached somewhere.
Comment 5 Ionen Wolkens gentoo-dev 2020-12-30 17:21:14 UTC
(In reply to Aaron W. Swenson from comment #4)
> Can you guys try compiling again? No changes. Just compile again. Maybe
> something gets cached somewhere.
Are you using unmasked guile-3.0.4? Just tried and that works for me.
Comment 6 Ionen Wolkens gentoo-dev 2020-12-30 17:35:25 UTC
(In reply to Ionen Wolkens from comment #5)
> Are you using unmasked guile-3.0.4? Just tried and that works for me.
Actually nevermind, there indeed seems to be something strange going on (it worked with guile-2.2.7 this time)
Comment 7 Ionen Wolkens gentoo-dev 2020-12-30 17:41:19 UTC
With my successfully installed gnucash-4.4, now did this
emerge =gnucash-4.2-r1 (downgrade)
emerge =gnucash-4.4 (failed)
emerge =gnucash-4.4 (failed again)

I just don't know.
Comment 8 Ionen Wolkens gentoo-dev 2020-12-30 17:48:09 UTC
Oh!

Depcleaning gnucash-4.2 then installing 4.4 seems to work. Maybe it's using something from the system?
Comment 9 Adrian Bassett 2020-12-30 18:04:17 UTC
(In reply to Ionen Wolkens from comment #8)
> Oh!
> 
> Depcleaning gnucash-4.2 then installing 4.4 seems to work. Maybe it's using
> something from the system?

I agree with Ionen's comments as this is what I found, too.

Perhaps it depends on which installed version you're upgrading _from_, given Aaron's comments in https://bugs.gentoo.org/762661#c4
Comment 10 Aaron W. Swenson gentoo-dev 2020-12-30 18:53:14 UTC
(In reply to Adrian Bassett from comment #9)
> (In reply to Ionen Wolkens from comment #8)
> > Oh!
> > 
> > Depcleaning gnucash-4.2 then installing 4.4 seems to work. Maybe it's using
> > something from the system?
> 
> I agree with Ionen's comments as this is what I found, too.
> 
> Perhaps it depends on which installed version you're upgrading _from_, given
> Aaron's comments in https://bugs.gentoo.org/762661#c4

Unfortunately, this isn't it either. GnuCash 4.2-r1 has remained installed on my system. I never got 4.3 to work before 4.4 was released. 4.4 just worked for me.

No other changes took place between 4.3 and 4.4 that I can recall.

I did try rebuilding guile USE="-deprecated", but that didn't work for 4.3.

Although, I think I closed an older bug similar to this that threw fits if GnuCash was already installed.
Comment 11 Petronio Coelho 2020-12-31 02:11:39 UTC
Created attachment 680338 [details]
Install QA Notice

(In reply to Ionen Wolkens from comment #8)
> Oh!
> 
> Depcleaning gnucash-4.2 then installing 4.4 seems to work. Maybe it's using
> something from the system?

Thirding this as it worked for me, but it did leave me with a nice QA notice on install that may or may not be related to the issue.
Comment 12 Ionen Wolkens gentoo-dev 2020-12-31 04:13:50 UTC
I'm inclined to agree with comment #10 that there's something else to this.
e.g. it works if I strace guile, and then doesn't again if I don't.
(wanted to check what modules it really loaded)

Makes it "seem" like a obscure guile bug which made me try guile3 again, but unfortunately I've been able to reproduce with it as well after all.
Comment 13 Aaron W. Swenson gentoo-dev 2020-12-31 18:19:53 UTC
@Scheme project: Do you think you could take a look and see if I'm doing something wrong?

I'd pester upstream, but they're unreasonably prickly towards us.
Comment 14 Dennis Schridde 2021-01-04 10:05:56 UTC
Created attachment 680989 [details]
build.log.xz

Slightly different backtraces:

FAILED: lib64/guile/2.2/site-ccache/gnucash/report/html-scatter.go 
cd /tmp/portage/app-office/gnucash-4.4/work/gnucash-4.4_build/gnucash/report && /usr/bin/cmake -E env LD_LIBRARY_PATH=/tmp/portage/app-office/gnucash-4.4/work/gnucash-4.4_build/lib64:/tmp/portage/app-office/gnucash-4.4/work/gnucash-4.4_build/lib64/gnucash: GNC_UNINSTALLED=YES GNC_BUILDDIR=/tmp/portage/app-office/gnucash-4.4/work/gnucash-4.4_build GUILE_LOAD_PAT>
Backtrace:
In scripts/compile.scm:
   264:26 19 (_ _)
In system/base/target.scm:
     57:6 18 (with-target _ _)
In system/base/compile.scm:
    152:6 17 (compile-file _ #:output-file _ #:from _ #:to _ #:env _ #:opts _ #:canonicalization _)
     43:4 16 (call-once _)
In ice-9/boot-9.scm:
    841:4 15 (with-throw-handler _ _ _)
In system/base/compile.scm:
    59:11 14 (_)
   155:11 13 (_ #<closed: file 7fd284070930>)
   235:18 12 (read-and-compile #<input: html-scatter.scm 13> #:from _ #:to _ #:env _ #:opts _)
   183:32 11 (compile-fold (#<procedure compile-tree-il (x e opts)>) (use-modules (gnucash report html-chart) (gnucash report report-utilities)) #<directory (gnucash report html-scatter) 7fd28336e1e0> (#:to-file? #t #:warnings (unsupported-warning)))
In ice-9/boot-9.scm:
   2312:4 10 (save-module-excursion #<procedure 7fd2801fe980 at language/scheme/compile-tree-il.scm:29:3 ()>)
In language/scheme/compile-tree-il.scm:
    31:15  9 (_)
In ice-9/psyntax.scm:
  1262:36  8 (expand-top-sequence ((use-modules (gnucash report html-chart) (gnucash report report-utilities))) _ _ #f c (compile load eval) (hygiene gnucash report html-scatter))
  1209:24  7 (parse _ (("placeholder" placeholder)) ((top) #(ribcage () () ())) _ c (compile load eval) (hygiene gnucash report html-scatter))
   285:10  6 (parse _ (("placeholder" placeholder)) (()) _ c&e (compile load) (hygiene gnucash report html-scatter))
In ice-9/boot-9.scm:
  3377:20  5 (process-use-modules _)
   222:17  4 (map1 (((gnucash report html-chart)) ((gnucash report report-utilities))))
  3378:31  3 (_ ((gnucash report html-chart)))
   2803:6  2 (resolve-interface _ #:select _ #:hide _ #:prefix _ #:renamer _ #:version _)
In unknown file:
           1 (scm-error misc-error #f "~A ~S" ("no code for module" (gnucash report html-chart)) #f)
In ice-9/boot-9.scm:
   752:25  0 (dispatch-exception _ _ _)

ice-9/boot-9.scm:752:25: In procedure dispatch-exception:
no code for module (gnucash report html-chart)


FAILED: lib64/guile/2.2/site-ccache/gnucash/report/commodity-utilities.go 
cd /tmp/portage/app-office/gnucash-4.4/work/gnucash-4.4_build/gnucash/report && /usr/bin/cmake -E env LD_LIBRARY_PATH=/tmp/portage/app-office/gnucash-4.4/work/gnucash-4.4_build/lib64:/tmp/portage/app-office/gnucash-4.4/work/gnucash-4.4_build/lib64/gnucash: GNC_UNINSTALLED=YES GNC_BUILDDIR=/tmp/portage/app-office/gnucash-4.4/work/gnucash-4.4_build GUILE_LOAD_PAT>
Backtrace:
In scripts/compile.scm:
   264:26 19 (_ _)
In system/base/target.scm:
     57:6 18 (with-target _ _)
In system/base/compile.scm:
    152:6 17 (compile-file _ #:output-file _ #:from _ #:to _ #:env _ #:opts _ #:canonicalization _)
     43:4 16 (call-once _)
In ice-9/boot-9.scm:
    841:4 15 (with-throw-handler _ _ _)
In system/base/compile.scm:
    59:11 14 (_)
   155:11 13 (_ #<closed: file 7f78546ed930>)
   235:18 12 (read-and-compile #<input: commodity-utilities.scm 13> #:from _ #:to _ #:env _ #:opts _)
   183:32 11 (compile-fold (#<procedure compile-tree-il (x e opts)>) _ _ (#:to-file? #t #:warnings (unsupported-warning)))
In ice-9/boot-9.scm:
   2312:4 10 (save-module-excursion _)
In language/scheme/compile-tree-il.scm:
    31:15  9 (_)
In ice-9/psyntax.scm:
  1262:36  8 (expand-top-sequence _ _ _ #f _ _ _)
  1209:24  7 (parse _ (("placeholder" placeholder)) ((top) #(ribcage () () ())) _ c (compile load eval) (hygiene gnucash report commodity-utilities))
   285:10  6 (parse _ (("placeholder" placeholder)) (()) _ c&e (compile load) (hygiene gnucash report commodity-utilities))
In ice-9/boot-9.scm:
  3377:20  5 (process-use-modules _)
   222:17  4 (map1 (((gnucash report report-utilities))))
  3378:31  3 (_ ((gnucash report report-utilities)))
   2803:6  2 (resolve-interface _ #:select _ #:hide _ #:prefix _ #:renamer _ #:version _)
In unknown file:
           1 (scm-error misc-error #f "~A ~S" ("no code for module" (gnucash report report-utilities)) #f)
In ice-9/boot-9.scm:
   752:25  0 (dispatch-exception _ _ _)

ice-9/boot-9.scm:752:25: In procedure dispatch-exception:
no code for module (gnucash report report-utilities)


Portage 3.0.12 (python 3.6.12-final-0, default/linux/amd64/17.1/desktop/plasma/systemd, gcc-10.2.0, glibc-2.32-r6, 5.10.4 x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-5.10.4-x86_64-AMD_Ryzen_5_2400G_with_Radeon_Vega_Graphics-with-gentoo-2.7
KiB Mem:    14190436 total,   1466908 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Sun, 03 Jan 2021 14:45:02 +0000
Head commit of repository gentoo: e6a43c89bb209739ef57d4af453c1ce1fd5ee6f8
Timestamp of repository haskell: Sun, 03 Jan 2021 00:07:08 +0000
Head commit of repository haskell: 4ffcbe3d3d397aa27e75d16e8e5816073bb49871

Head commit of repository local: d3500a00346829f53b8e3b730ed095ea2cf481c1

sh bash 5.1_p4
ld GNU gold (Gentoo 2.35.1 p2 2.35.1) 1.16
ccache version 4.1 [disabled]
app-shells/bash:          5.1_p4::gentoo
dev-java/java-config:     2.3.1::gentoo
dev-lang/perl:            5.32.0-r1::gentoo
dev-lang/python:          2.7.18-r5::gentoo, 3.7.9-r1::gentoo, 3.8.7::gentoo, 3.9.1::gentoo
dev-util/ccache:          4.1::gentoo
dev-util/cmake:           3.19.2::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.7-r1::gentoo
sys-apps/sandbox:         2.20::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r5::gentoo
sys-devel/automake:       1.13.4-r2::gentoo, 1.16.3-r1::gentoo
sys-devel/binutils:       2.35.1-r1::gentoo
sys-devel/gcc:            10.2.0-r5::gentoo
sys-devel/gcc-config:     2.3.2-r1::gentoo
sys-devel/libtool:        2.4.6-r6::gentoo
sys-devel/make:           4.3::gentoo
sys-kernel/linux-headers: 5.10::gentoo (virtual/os-headers)
sys-libs/glibc:           2.32-r6::gentoo
Repositories:

gentoo
    location: /var/cache/portage/gentoo
    sync-type: rsync
    sync-uri: rsync://rsync.de.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-extra-opts: --new-compress
    sync-rsync-verify-jobs: 1
    sync-rsync-verify-max-age: 24
    sync-rsync-verify-metamanifest: yes

haskell
    location: /var/db/repos/haskell
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/haskell.git
    masters: gentoo

crossdev
    location: /var/cache/portage/crossdev
    masters: gentoo
    priority: 100

local
    location: /var/cache/portage/local
    sync-type: git
    sync-uri: https://github.com/devurandom/gentoo-overlay.git
    masters: gentoo
    priority: 1000

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="@FREE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-pipe -O2 -march=znver1"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /etc/grs/systems.conf /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/maven-bin-3.6/conf"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php7.4/ext-active/ /etc/php/apache2-php8.0/ext-active/ /etc/php/cgi-php7.4/ext-active/ /etc/php/cgi-php8.0/ext-active/ /etc/php/cli-php7.4/ext-active/ /etc/php/cli-php8.0/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="-pipe -O2 -march=znver1"
DISTDIR="/var/cache/portage/distfiles"
EMERGE_DEFAULT_OPTS="--nospinner"
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 buildsyspkg cgroup compressdebug config-protect-if-modified distlocks ebuild-locks fakeroot fixlafiles ipc-sandbox merge-sync mount-sandbox multilib-strict network-sandbox 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"
GENTOO_MIRRORS="http://ftp.spline.inf.fu-berlin.de/mirrors/gentoo/ http://ftp-stud.hs-esslingen.de/pub/Mirrors/gentoo/ http://distfiles.gentoo.org"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu"
MAKEOPTS="-j6 -l4"
PKGDIR="/var/cache/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="--new-compress"
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="/tmp"
USE="7z 7zip X a52 aac aacplus aacs acl acpi activities aio alsa amd64 appindicator appstream archive audit avahi ayatana bdplus berkdb blake2 blas bluetooth bluray bpf branding brotli bs2b btrfs bzip2 cairo caps cdda cddb cdio cdr celt chromaprint cjk clang cli clipboard color-management colord conntrack crypt cups d3d9 dav1d dbus declarative device-mapper dirac djvu dri drm dts dvb dvd dvdr ed25519 editorconfig egl elf emboss emoji encode epub evdev exif faudio fax fdk ffmpeg fftw filecaps firefox firewalld fish-completion fits flac fontconfig fontforge fortran fribidi gamepad gbm gdal gdbm geoclue geolocation gif git gles2 gles3 gmp gnome-online-accounts gnupg google googledrive gpg gps graphicsmagick gstreamer gtk gtk3 gui gzip harfbuzz hdf5 heif http2 ibus iconv icu idn imlib inotify introspection ipv6 iwd jemalloc jpeg jpeg2k json kde kipi kms kwallet ladspa lapack latex lcms libatomic libglvnd libidn2 libinput libnotify libproxy libsecret libsoxr libtirpc libvirt lm-sensors lrz lv2 lvm lz4 lzma lzo mad magic man mariadb markdown mbim mercurial mjpeg mng mobi modemmanager modplug mp3 mp4 mpeg mplayer mpris mtp multilib mysql ncurses netlink networkmanager nftables nls nptl numa office ofono ofx ogg openal opencl opencv openexr opengl openh264 openmax openmp opus pam pango pcap pch pcre pcre2 pdf pgo phonon pixman pkcs11 pkcs7 plasma pm-utils png policykit postscript ppds prison pulseaudio pwquality python qml qrcode qt5 raw rdp readline redfish samba sasl scanner schroedinger screencast sctp sdl sdl2 seatd seccomp semantic-desktop share smartcard snappy sparse speech speex spell spice ssl startup-notification steamruntime stemmer svg systemd tbb tcpd teamd telemetry telepathy tga theora threads thunderbolt tiff timezone tmux truetype udev udisks uinput unicode unwind upnp upnp-av upower usb utempter v4l v4l2 vaapi vdpau vkd3d vorbis vpx vulkan wasm wavpack wayland webchannel webengine webp widgets wireguard wmf woff2 wps x264 x265 xattr xcb xinerama xkb xml xmp xrandr xscreensaver xv xvid xwayland xxhash xz yaml zeroconf zeromq zimg zlib zstd" ABI_X86="64" ADA_TARGET="gnat_2018" ALSA_CARDS="hda-intel" 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" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt rdrand sha sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3" ELIBC="glibc" ENLIGHTENMENT_MODULES="*" 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="joystick libinput" KERNEL="linux" L10N="de de-DE en en-GB ar fa tr ja ko zh zh-CN zh-TW" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="nlpsolver scripting-javascript wiki-publisher" LIRC_DEVICES="devinput" LLVM_TARGETS="AMDGPU BPF RISCV WebAssembly" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1 lua5-4 luajit" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-2 php7-3 php7-4" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_8" PYTHON_TARGETS="python2_7 python3_8 pypy pypy3" QEMU_SOFTMMU_TARGETS="riscv32 riscv64 x86_64" QEMU_USER_TARGETS="riscv32 riscv64" RUBY_TARGETS="ruby25 ruby26" USERLAND="GNU" VIDEO_CARDS="amdgpu virgl" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq 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

=================================================================
                        Package Settings
=================================================================

dev-scheme/guile-2.2.7::gentoo was built with the following:
USE="deprecated networking nls regex threads -debug -debug-malloc" ABI_X86="(64)"


app-office/gnucash-4.2-r1::gentoo was built with the following:
USE="aqbanking gui mysql nls ofx python quotes smartcard -debug -doc -examples -gnome-keyring -postgres -register2 -sqlite -test" ABI_X86="(64)" PYTHON_SINGLE_TARGET="python3_8 (-python3_6) -python3_7 -python3_9"
Comment 15 Matthias Schwarzott gentoo-dev 2021-01-20 05:42:04 UTC
dev-scheme/guile-2.2.7:12/2.2-1::gentoo  USE="deprecated networking nls regex threads -debug -debug-malloc"

Trying to update from gnucash-4.2-r1 to gnucash-4.4:
app-office/gnucash-4.4::gentoo [4.2-r1::gentoo] USE="gui nls python -aqbanking -debug -doc -examples -gnome-keyring -mysql -ofx -postgres -quotes -register2 -smartcard -sqlite -test" PYTHON_SINGLE_TARGET="python3_9* -python3_7 -python3_8* (-python3_6%)" 0 KiB

Running the failing guile command under strace gives this output that is suspicious:
[pid  1736] stat("/var/tmp/portage/app-office/gnucash-4.4/work/gnucash-4.4/libgnucash/tax/gnucash/engine.scm", 0x7ffe891e30a0) = -1 ENOENT (Datei oder Verzeichnis nicht gefunden)
[pid  1736] stat("/var/tmp/portage/app-office/gnucash-4.4/work/gnucash-4.4/libgnucash/tax/gnucash/engine", 0x7ffe891e30a0) = -1 ENOENT (Datei oder Verzeichnis nicht gefunden)
[pid  1736] stat("/var/tmp/portage/app-office/gnucash-4.4/work/gnucash-4.4_build/libgnucash/tax/gnucash/engine.scm", 0x7ffe891e30a0) = -1 ENOENT (Datei oder Verzeichnis nicht gefunden)
[pid  1736] stat("/var/tmp/portage/app-office/gnucash-4.4/work/gnucash-4.4_build/libgnucash/tax/gnucash/engine", 0x7ffe891e30a0) = -1 ENOENT (Datei oder Verzeichnis nicht gefunden)
[pid  1736] stat("/var/tmp/portage/app-office/gnucash-4.4/work/gnucash-4.4_build/libgnucash/tax/deprecated/gnucash/engine.scm", 0x7ffe891e30a0) = -1 ENOENT (Datei oder Verzeichnis nicht gefunden)
[pid  1736] stat("/var/tmp/portage/app-office/gnucash-4.4/work/gnucash-4.4_build/libgnucash/tax/deprecated/gnucash/engine", 0x7ffe891e30a0) = -1 ENOENT (Datei oder Verzeichnis nicht gefunden)
[pid  1736] stat("/var/tmp/portage/app-office/gnucash-4.4/work/gnucash-4.4_build/share/guile/site/2.2/gnucash/engine.scm", 0x7ffe891e30a0) = -1 ENOENT (Datei oder Verzeichnis nicht gefunden)
[pid  1736] stat("/var/tmp/portage/app-office/gnucash-4.4/work/gnucash-4.4_build/share/guile/site/2.2/gnucash/engine", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
[pid  1736] stat("/usr/share/guile/2.2/gnucash/engine.scm", 0x7ffe891e30a0) = -1 ENOENT (Datei oder Verzeichnis nicht gefunden)
[pid  1736] stat("/usr/share/guile/2.2/gnucash/engine", 0x7ffe891e30a0) = -1 ENOENT (Datei oder Verzeichnis nicht gefunden)
[pid  1736] stat("/usr/share/guile/site/2.2/gnucash/engine.scm", {st_mode=S_IFREG|0644, st_size=3743, ...}) = 0
[pid  1736] stat("/var/tmp/portage/app-office/gnucash-4.4/work/gnucash-4.4_build/libgnucash/tax/gnucash/engine.go", 0x7ffe891e2ea0) = -1 ENOENT (Datei oder Verzeichnis nicht gefunden)
[pid  1736] stat("/var/tmp/portage/app-office/gnucash-4.4/work/gnucash-4.4_build/lib64/guile/2.2/site-ccache/gnucash/engine.go", {st_mode=S_IFREG|0644, st_size=71445, ...}) = 0
[pid  1736] openat(AT_FDCWD, "/var/tmp/portage/app-office/gnucash-4.4/work/gnucash-4.4_build/lib64/guile/2.2/site-ccache/gnucash/engine.go", O_RDONLY|O_CLOEXEC) = 15

Especially stat-ing this file from installed gnucash: "/usr/share/guile/site/2.2/gnucash/engine.scm"

Checking for all files from installed gnucash:
[pid  1736] stat("/usr/share/guile/site/2.2/gnucash/engine.scm", {st_mode=S_IFREG|0644, st_size=3743, ...}) = 0
[pid  1736] stat("/usr/share/guile/site/2.2/gnucash/core-utils.scm", {st_mode=S_IFREG|0644, st_size=2171, ...}) = 0
[pid  1736] stat("/usr/share/guile/site/2.2/gnucash/utilities.scm", {st_mode=S_IFREG|0644, st_size=10761, ...}) = 0

But I have not seen other accesses to these files (e.g. syscall openat).
My current idea is still that the pure existance of these files modifes the guile behaviour.

$ emerge --info
Portage 3.0.13 (python 3.9.1-final-0, default/linux/amd64/17.1/desktop/plasma, gcc-10.2.0, glibc-2.32-r7, 5.10.4-gentoo x86_64)
=================================================================
System uname: Linux-5.10.4-gentoo-x86_64-Intel-R-_Core-TM-_i3-4160_CPU_@_3.60GHz-with-glibc2.32
KiB Mem:    16307464 total,  11513696 free
KiB Swap:   52428796 total,  49360084 free
Timestamp of repository gentoo: Tue, 19 Jan 2021 07:30:01 +0000
Head commit of repository gentoo: dad134d10396d9499d1604fb4f5fffe51ae93f6d
sh bash 5.1_p4
ld GNU ld (Gentoo 2.35.1 p2) 2.35.1
distcc 3.3.3 x86_64-pc-linux-gnu [disabled]
ccache version 4.1 [enabled]
app-shells/bash:          5.1_p4::gentoo
dev-java/java-config:     2.3.1::gentoo
dev-lang/perl:            5.32.0-r1::gentoo
dev-lang/python:          2.7.18-r5::gentoo, 3.6.12-r1::gentoo, 3.8.7::gentoo, 3.9.1::gentoo
dev-util/ccache:          4.1::gentoo
dev-util/cmake:           3.19.3::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.7-r1::gentoo
sys-apps/openrc:          0.42.1::gentoo
sys-apps/sandbox:         2.20::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r5::gentoo
sys-devel/automake:       1.13.4-r2::gentoo, 1.15.1-r2::gentoo, 1.16.3-r1::gentoo
sys-devel/binutils:       2.35.1-r1::gentoo
sys-devel/gcc:            10.2.0-r5::gentoo
sys-devel/gcc-config:     2.3.2-r1::gentoo
sys-devel/libtool:        2.4.6-r6::gentoo
sys-devel/make:           4.3::gentoo
sys-kernel/linux-headers: 5.10::gentoo (virtual/os-headers)
sys-libs/glibc:           2.32-r7::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: 9999
    sync-rsync-verify-metamanifest: yes
    sync-rsync-verify-max-age: 24
    sync-rsync-verify-jobs: 1
    sync-rsync-extra-opts: 

zzam-local
    location: /usr/local/overlays/zzam
    masters: gentoo
    priority: 10000

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe -g"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/themes/oxygen-gtk/gtk-2.0 /usr/share/themes/oxygen-gtk/gtk-3.0"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php7.4/ext-active/ /etc/php/apache2-php8.0/ext-active/ /etc/php/cgi-php7.4/ext-active/ /etc/php/cgi-php8.0/ext-active/ /etc/php/cli-php7.4/ext-active/ /etc/php/cli-php8.0/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=native -O2 -pipe -g"
DISTDIR="/usr/portage/distfiles"
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 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 sign splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://mirror.yandex.ru/gentoo-distfiles/ https://200.236.31.1/ http://www.mirrorservice.org/sites/distfiles.gentoo.org/"
LANG="de_DE.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="de en"
MAKEOPTS="-j4 -l4"
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"
USE="X a52 aac acl acpi activities alsa amd64 berkdb bluetooth branding bzip2 cairo cdda cdr cli cmake colord crypt cups dbus declarative device-mapper dri dts dvd dvdr ebook elogind emboss encode epub exif fat flac fortran gdbm gif gphoto2 gpm gtk gui hddtemp iconv icu id3tag ipv6 jpeg kde kipi kwallet lcms libglvnd libnotify libtirpc lvm mad mmx mng mobi mp3 mp4 mpeg mplayer multilib ncurses nls nptl nsplugin ntfs ogg opengl openmp pam pango pcre pdf phonon plasma png policykit postproc ppds python qml qt5 readline samba sdl seccomp semantic-desktop spell split-usr sse sse2 ssl startup-notification subversion svg taglib tcpd tiff truetype udev udisks unicode upower usb v4l vorbis wayland widgets wxwidgets x264 xattr xcb xml xv xvid zeroconf zlib" ABI_X86="64 32" 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="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt rdrand sse sse2 sse3 sse4_1 sse4_2 ssse3" 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" L10N="de en" 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="python2_7 python3_8 python3_9 python3_10" QEMU_SOFTMMU_TARGETS="x86_64 i386 aarch64 ppc64 arm" RUBY_TARGETS="ruby25 ruby26 ruby27" USERLAND="GNU" VIDEO_CARDS="intel i965 i915 iris" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 16 Felix Tiede 2021-03-09 19:12:57 UTC
I am also affected the same way as in comment #2 and I can confirm unmerging the current version prior to compiling gnucash-4.4 solves the problem.
Comment 17 Slaterson 2021-03-10 20:54:10 UTC
i'm experience the same/similar on two new installs.

install one (no previous gnucash version installed):
emerge --info '=app-office/gnucash-4.4::gentoo'
Portage 3.0.13 (python 3.8.7-final-0, default/linux/amd64/17.1/desktop/gnome, gcc-10.2.0, glibc-2.32-r7, 5.4.97-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-5.4.97-gentoo-x86_64-Intel-R-_Core-TM-_i7-2600_CPU_@_3.40GHz-with-glibc2.2.5
KiB Mem:    32929668 total,  30621840 free
KiB Swap:   16777212 total,  16777212 free
Timestamp of repository gentoo: Wed, 10 Mar 2021 10:45:01 +0000
Head commit of repository gentoo: 8e2fcf8dfd35882937947bc825b999f37006a5b8
sh bash 5.0_p18
ld GNU ld (Gentoo 2.35.1 p2) 2.35.1
app-shells/bash:          5.0_p18::gentoo
dev-java/java-config:     2.3.1::gentoo
dev-lang/perl:            5.30.3::gentoo
dev-lang/python:          2.7.18-r6::gentoo, 3.8.7-r1::gentoo, 3.9.1-r1::gentoo
dev-util/cmake:           3.18.5::gentoo
sys-apps/baselayout:      2.7::gentoo
sys-apps/openrc:          0.42.1-r1::gentoo
sys-apps/sandbox:         2.20::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r5::gentoo
sys-devel/automake:       1.16.2-r1::gentoo
sys-devel/binutils:       2.35.1-r1::gentoo
sys-devel/gcc:            10.2.0-r5::gentoo
sys-devel/gcc-config:     2.3.3::gentoo
sys-devel/libtool:        2.4.6-r6::gentoo
sys-devel/make:           4.3::gentoo
sys-kernel/linux-headers: 5.10::gentoo (virtual/os-headers)
sys-libs/glibc:           2.32-r7::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-verify-max-age: 24
    sync-rsync-verify-metamanifest: yes
    sync-rsync-verify-jobs: 1
    sync-rsync-extra-opts: 

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -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/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/var/cache/distfiles"
EMERGE_DEFAULT_OPTS="--jobs=4"
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="-march=native -O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs 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="-march=native -O2 -pipe"
GENTOO_MIRRORS="http://www.gtlib.gatech.edu/pub/gentoo rsync://rsync.gtlib.gatech.edu/gentoo https://gentoo.osuosl.org/ http://gentoo.osuosl.org/ http://gentoo.mirrors.pair.com/ https://mirrors.rit.edu/gentoo/ http://mirrors.rit.edu/gentoo/ ftp://mirrors.rit.edu/gentoo/ rsync://mirrors.rit.edu/gentoo/ http://gentoo.mirrors.tds.net/gentoo http://gentoo.cs.utah.edu/"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en en_US"
MAKEOPTS="-j5"
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="X a52 aac aapi acl acpi alsa amd64 apache2 berkdb bluray branding bzip2 cairo cdda cdr cli client colord contrast crypt cups curl dbus drafts dri dts dvd dvdr eds egl elogind emboss encode evo exif ffmpeg flac fontconfig fortran fuse gd gdbm gif gnome gnome-keyring gnome-online-accounts gnutls gstreamer gtk gui haptic http2 iconv icu id3tag inotify inspector introspection ipv6 jpeg jumbo-build lcms libdrm libglvnd libnotify libsecret libtirpc lm_sensors mad melt messages minizip mng mp3 mp4 mpeg mtp multilib mysql mysqli nautilus ncurses nfsv4 nls nptl ofx ogg opencl opengl openldap openmp openssl pam pango pcre pdf png policykit postproc ppds printsupport pulseaudio python qml quotes raw readline replaygain rpc rtmp script sdl seccomp secure-delete sensord snmp spell split-usr ssl startup-notification svc svg sysprof tcpd theora tiff timezone tracker truetype udev udf udisks unicode upower usb uvm vala vdpau vorbis vpx vulkan webkit webserver widgets wxwidgets x264 x265 xattr xcb xml xv xvid 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="keyboard mouse evdev" KERNEL="linux" L10N="en en_US" 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_8" PYTHON_TARGETS="python3_8" RUBY_TARGETS="ruby26" USERLAND="GNU" VIDEO_CARDS="nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

emerge -pqv '=app-office/gnucash-4.4::gentoo'
[ebuild  N    ] app-office/gnucash-4.4  USE="gnome-keyring gui mysql nls ofx python quotes -aqbanking -debug -doc -examples -postgres -register2 -smartcard -sqlite -test" PYTHON_SINGLE_TARGET="python3_8 -python3_7 -python3_9"




install two (gnucash-4.2 installed, trying to update to 4.4):
emerge --info '=app-office/gnucash-4.4::gentoo'
Portage 3.0.13 (python 3.8.7-final-0, default/linux/amd64/17.1/desktop/gnome, gcc-10.2.0, glibc-2.32-r7, 5.4.97-gentoo-chris x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-5.4.97-gentoo-chris-x86_64-Intel-R-_Xeon-R-_W-1290P_CPU_@_3.70GHz-with-glibc2.2.5
KiB Mem:    65746224 total,  33374804 free
KiB Swap:   63999996 total,  63998716 free
Timestamp of repository gentoo: Wed, 10 Mar 2021 18:30:01 +0000
Head commit of repository gentoo: fa0d07b6df4d1f31748feab3ced9f8f4dfcd0cf9
sh bash 5.0_p18
ld GNU ld (Gentoo 2.35.1 p2) 2.35.1
app-shells/bash:          5.0_p18::gentoo
dev-java/java-config:     2.3.1::gentoo
dev-lang/perl:            5.30.3::gentoo
dev-lang/python:          2.7.18-r6::gentoo, 3.8.7-r1::gentoo, 3.9.1-r1::gentoo
dev-util/cmake:           3.18.5::gentoo
sys-apps/baselayout:      2.7::gentoo
sys-apps/openrc:          0.42.1-r1::gentoo
sys-apps/sandbox:         2.20::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r5::gentoo
sys-devel/automake:       1.16.2-r1::gentoo
sys-devel/binutils:       2.34-r2::gentoo, 2.35.1-r1::gentoo
sys-devel/gcc:            9.3.0-r2::gentoo, 10.2.0-r5::gentoo
sys-devel/gcc-config:     2.3.3::gentoo
sys-devel/libtool:        2.4.6-r6::gentoo
sys-devel/make:           4.3::gentoo
sys-kernel/linux-headers: 5.10::gentoo (virtual/os-headers)
sys-libs/glibc:           2.32-r7::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-metamanifest: yes
    sync-rsync-verify-max-age: 24
    sync-rsync-extra-opts: 

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -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 /etc/terminfo"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/var/cache/distfiles"
EMERGE_DEFAULT_OPTS="--jobs=10"
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="-march=native -O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs 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="-march=native -O2 -pipe"
GENTOO_MIRRORS="http://www.gtlib.gatech.edu/pub/gentoo rsync://rsync.gtlib.gatech.edu/gentoo https://gentoo.osuosl.org/ http://gentoo.osuosl.org/ http://gentoo.mirrors.pair.com/ https://mirrors.rit.edu/gentoo/ http://mirrors.rit.edu/gentoo/ ftp://mirrors.rit.edu/gentoo/ rsync://mirrors.rit.edu/gentoo/ http://gentoo.mirrors.tds.net/gentoo http://gentoo.cs.utah.edu/"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en en_US"
MAKEOPTS="-j11"
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="X a52 aac aapi acl acpi alsa amd64 apache2 berkdb bluray branding bzip2 cairo cdda cdr cli client colord contrast crypt cups curl dbus drafts dri dts dvd dvdr eds egl elogind emboss encode evo exif ffmpeg flac fontconfig fortran fuse gd gdbm gif gnome gnome-keyring gnome-online-accounts gnutls gstreamer gtk gui haptic http2 iconv icu id3tag inotify inspector introspection ipv6 jpeg jumbo-build lcms libdrm libglvnd libnotify libsecret libtirpc lm_sensors mad melt messages minizip mng mp3 mp4 mpeg mtp multilib mysql mysqli nautilus ncurses nfsv4 nls nptl ofx ogg opencl opengl openldap openmp openssl pam pango pcre pdf png policykit postproc ppds printsupport pulseaudio python qml quotes raw readline replaygain rpc rtmp script sdl seccomp secure-delete sensord snmp spell split-usr ssl startup-notification svc svg tcpd theora tiff timezone tracker truetype udev udf udisks unicode upower usb uvm vdpau vorbis vpx webkit webserver widgets wxwidgets x264 x265 xattr xcb xml xv xvid zlib" ABI_X86="64 32" 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="aes avx mmx mmxext pclmul popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" CURL_SSL="openssl" 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="keyboard mouse evdev" KERNEL="linux" L10N="en en_US" 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_8" PYTHON_TARGETS="python3_8" QEMU_SOFTMMU_TARGETS="x86_64" QEMU_USER_TARGETS="x86_64" RUBY_TARGETS="ruby26" USERLAND="GNU" VIDEO_CARDS="nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

emerge -pqv '=app-office/gnucash-4.4::gentoo'
[ebuild     U ] app-office/gnucash-4.4 [4.2] USE="gnome-keyring gui mysql nls ofx python quotes -aqbanking -debug -doc -examples -postgres -register2 -smartcard -sqlite -test" PYTHON_SINGLE_TARGET="python3_8 -python3_7 -python3_9"



attaching install_one_build.log and install_two_build.log.

i have tried guile with -deprecated, emerge --depclean, rebuilding entire system, etc...  the errors for each of these are similar, but different.
Comment 18 Slaterson 2021-03-10 21:07:31 UTC
adding attachments seems to be broken right now, so can't add my build logs.  install two is the same as the issue in the description, different locale.

install one is slightly different, here are the last bits of the build log that one:
[437/982] cd /var/tmp/portage/app-office/gnucash-4.4/work/gnucash-4.4_build/common/test-core && /usr/bin/cmake -E env LD_LIBRARY_PATH=/var/tmp/portage/app-office/gnucash-4.4/work/gnucash-4.4_build/lib64:/var/tmp/portage/app-office/gnucash-4.4/work/gnucash
-4.4_build/lib64/gnucash: GNC_UNINSTALLED=YES GNC_BUILDDIR=/var/tmp/portage/app-office/gnucash-4.4/work/gnucash-4.4_build GUILE_LOAD_PATH=/var/tmp/portage/app-office/gnucash-4.4/work/gnucash-4.4/common/test-core:/var/tmp/portage/app-office/gnucash-4.4/wor
k/gnucash-4.4_build/common/test-core:/var/tmp/portage/app-office/gnucash-4.4/work/gnucash-4.4_build/common/test-core/deprecated:/var/tmp/portage/app-office/gnucash-4.4/work/gnucash-4.4_build/share/guile/site/2.2 GUILE_LOAD_COMPILED_PATH=/var/tmp/portage/a
pp-office/gnucash-4.4/work/gnucash-4.4_build/common/test-core:/var/tmp/portage/app-office/gnucash-4.4/work/gnucash-4.4_build/lib64/guile/2.2/site-ccache:/var/tmp/portage/app-office/gnucash-4.4/work/gnucash-4.4_build/lib64/guile/2.2/site-ccache/gnucash/dep
recated GNC_MODULE_PATH=/var/tmp/portage/app-office/gnucash-4.4/work/gnucash-4.4_build/lib64:/var/tmp/portage/app-office/gnucash-4.4/work/gnucash-4.4_build/lib64/gnucash: /usr/bin/guile -e "(@@ (guild) main)" -s /usr/bin/guild compile -o /var/tmp/portage/
app-office/gnucash-4.4/work/gnucash-4.4_build/lib64/guile/2.2/site-ccache/tests/unittest-support.go /var/tmp/portage/app-office/gnucash-4.4/work/gnucash-4.4/common/test-core/unittest-support.scm
FAILED: lib64/guile/2.2/site-ccache/tests/unittest-support.go 
cd /var/tmp/portage/app-office/gnucash-4.4/work/gnucash-4.4_build/common/test-core && /usr/bin/cmake -E env LD_LIBRARY_PATH=/var/tmp/portage/app-office/gnucash-4.4/work/gnucash-4.4_build/lib64:/var/tmp/portage/app-office/gnucash-4.4/work/gnucash-4.4_build
/lib64/gnucash: GNC_UNINSTALLED=YES GNC_BUILDDIR=/var/tmp/portage/app-office/gnucash-4.4/work/gnucash-4.4_build GUILE_LOAD_PATH=/var/tmp/portage/app-office/gnucash-4.4/work/gnucash-4.4/common/test-core:/var/tmp/portage/app-office/gnucash-4.4/work/gnucash-
4.4_build/common/test-core:/var/tmp/portage/app-office/gnucash-4.4/work/gnucash-4.4_build/common/test-core/deprecated:/var/tmp/portage/app-office/gnucash-4.4/work/gnucash-4.4_build/share/guile/site/2.2 GUILE_LOAD_COMPILED_PATH=/var/tmp/portage/app-office/
gnucash-4.4/work/gnucash-4.4_build/common/test-core:/var/tmp/portage/app-office/gnucash-4.4/work/gnucash-4.4_build/lib64/guile/2.2/site-ccache:/var/tmp/portage/app-office/gnucash-4.4/work/gnucash-4.4_build/lib64/guile/2.2/site-ccache/gnucash/deprecated GN
C_MODULE_PATH=/var/tmp/portage/app-office/gnucash-4.4/work/gnucash-4.4_build/lib64:/var/tmp/portage/app-office/gnucash-4.4/work/gnucash-4.4_build/lib64/gnucash: /usr/bin/guile -e "(@@ (guild) main)" -s /usr/bin/guild compile -o /var/tmp/portage/app-office
/gnucash-4.4/work/gnucash-4.4_build/lib64/guile/2.2/site-ccache/tests/unittest-support.go /var/tmp/portage/app-office/gnucash-4.4/work/gnucash-4.4/common/test-core/unittest-support.scm
Segmentation fault
[438/982] : && /usr/bin/x86_64-pc-linux-gnu-g++ -fPIC -Wno-error=deprecated-declarations  -Werror -Wall -Wmissing-declarations -Wno-unused -Wno-error=parentheses -march=native -O2 -pipe  -Wl,-O1 -Wl,--as-needed -shared -Wl,-soname,libgnc-backend-xml-utils
.so -o lib64/libgnc-backend-xml-utils.so libgnucash/backend/xml/CMakeFiles/gnc-backend-xml-utils.dir/gnc-account-xml-v2.cpp.o libgnucash/backend/xml/CMakeFiles/gnc-backend-xml-utils.dir/gnc-address-xml-v2.cpp.o libgnucash/backend/xml/CMakeFiles/gnc-backen
d-xml-utils.dir/gnc-bill-term-xml-v2.cpp.o libgnucash/backend/xml/CMakeFiles/gnc-backend-xml-utils.dir/gnc-book-xml-v2.cpp.o libgnucash/backend/xml/CMakeFiles/gnc-backend-xml-utils.dir/gnc-budget-xml-v2.cpp.o libgnucash/backend/xml/CMakeFiles/gnc-backend-
xml-utils.dir/gnc-commodity-xml-v2.cpp.o libgnucash/backend/xml/CMakeFiles/gnc-backend-xml-utils.dir/gnc-customer-xml-v2.cpp.o libgnucash/backend/xml/CMakeFiles/gnc-backend-xml-utils.dir/gnc-employee-xml-v2.cpp.o libgnucash/backend/xml/CMakeFiles/gnc-back
end-xml-utils.dir/gnc-entry-xml-v2.cpp.o libgnucash/backend/xml/CMakeFiles/gnc-backend-xml-utils.dir/gnc-freqspec-xml-v2.cpp.o libgnucash/backend/xml/CMakeFiles/gnc-backend-xml-utils.dir/gnc-invoice-xml-v2.cpp.o libgnucash/backend/xml/CMakeFiles/gnc-backe
nd-xml-utils.dir/gnc-job-xml-v2.cpp.o libgnucash/backend/xml/CMakeFiles/gnc-backend-xml-utils.dir/gnc-lot-xml-v2.cpp.o libgnucash/backend/xml/CMakeFiles/gnc-backend-xml-utils.dir/gnc-order-xml-v2.cpp.o libgnucash/backend/xml/CMakeFiles/gnc-backend-xml-uti
ls.dir/gnc-owner-xml-v2.cpp.o libgnucash/backend/xml/CMakeFiles/gnc-backend-xml-utils.dir/gnc-pricedb-xml-v2.cpp.o libgnucash/backend/xml/CMakeFiles/gnc-backend-xml-utils.dir/gnc-recurrence-xml-v2.cpp.o libgnucash/backend/xml/CMakeFiles/gnc-backend-xml-ut
ils.dir/gnc-schedxaction-xml-v2.cpp.o libgnucash/backend/xml/CMakeFiles/gnc-backend-xml-utils.dir/gnc-tax-table-xml-v2.cpp.o libgnucash/backend/xml/CMakeFiles/gnc-backend-xml-utils.dir/gnc-transaction-xml-v2.cpp.o libgnucash/backend/xml/CMakeFiles/gnc-bac
kend-xml-utils.dir/gnc-vendor-xml-v2.cpp.o libgnucash/backend/xml/CMakeFiles/gnc-backend-xml-utils.dir/gnc-xml-backend.cpp.o libgnucash/backend/xml/CMakeFiles/gnc-backend-xml-utils.dir/gnc-xml-helper.cpp.o libgnucash/backend/xml/CMakeFiles/gnc-backend-xml
-utils.dir/io-example-account.cpp.o libgnucash/backend/xml/CMakeFiles/gnc-backend-xml-utils.dir/io-gncxml-gen.cpp.o libgnucash/backend/xml/CMakeFiles/gnc-backend-xml-utils.dir/io-gncxml-v1.cpp.o libgnucash/backend/xml/CMakeFiles/gnc-backend-xml-utils.dir/
io-gncxml-v2.cpp.o libgnucash/backend/xml/CMakeFiles/gnc-backend-xml-utils.dir/io-utils.cpp.o libgnucash/backend/xml/CMakeFiles/gnc-backend-xml-utils.dir/sixtp-dom-generators.cpp.o libgnucash/backend/xml/CMakeFiles/gnc-backend-xml-utils.dir/sixtp-dom-pars
ers.cpp.o libgnucash/backend/xml/CMakeFiles/gnc-backend-xml-utils.dir/sixtp-stack.cpp.o libgnucash/backend/xml/CMakeFiles/gnc-backend-xml-utils.dir/sixtp-to-dom-parser.cpp.o libgnucash/backend/xml/CMakeFiles/gnc-backend-xml-utils.dir/sixtp-utils.cpp.o lib
gnucash/backend/xml/CMakeFiles/gnc-backend-xml-utils.dir/sixtp.cpp.o  -Wl,-rpath,/var/tmp/portage/app-office/gnucash-4.4/work/gnucash-4.4_build/lib64:  lib64/libgnc-engine.so  -lxml2  -lz  lib64/libgnc-core-utils.so  /usr/lib64/libboost_date_time-mt.so  /
usr/lib64/libboost_regex-mt.so  -licui18n  -licuuc  -licudata  -Wl,--export-dynamic  -lgmodule-2.0  -pthread  -lglib-2.0  -lgobject-2.0  -lglib-2.0  -lgobject-2.0 && :
/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: libgnucash/backend/xml/CMakeFiles/gnc-backend-xml-utils.dir/gnc-xml-backend.cpp.o: in function `GncXmlBackend::write_to_file(bool)':
gnc-xml-backend.cpp:(.text+0x124f): warning: the use of `mktemp' is dangerous, better use `mkstemp' or `mkdtemp'
[439/982] /usr/bin/x86_64-pc-linux-gnu-gcc -DG_LOG_DOMAIN=\"gnc.app-utils\" -DHAVE_CONFIG_H -DHAVE_GUILE22 -D_GNU_SOURCE -Dgnc_app_utils_EXPORTS -I/var/tmp/portage/app-office/gnucash-4.4/work/gnucash-4.4/libgnucash/app-utils -I/usr/include/glib-2.0 -I/usr
/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/var/tmp/portage/app-office/gnucash-4.4/work/gnucash-4.4/libgnucash/app-utils/calculation -I/usr/lib64/libffi/include -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/libxml2 -I/var/tmp/portage
/app-office/gnucash-4.4/work/gnucash-4.4/libgnucash/backend -I/var/tmp/portage/app-office/gnucash-4.4/work/gnucash-4.4/libgnucash/engine -Icommon -I/var/tmp/portage/app-office/gnucash-4.4/work/gnucash-4.4/common -I/var/tmp/portage/app-office/gnucash-4.4/w
ork/gnucash-4.4/borrowed/libc -Ilibgnucash/core-utils -I/var/tmp/portage/app-office/gnucash-4.4/work/gnucash-4.4/libgnucash/core-utils -I/var/tmp/portage/app-office/gnucash-4.4/work/gnucash-4.4/libgnucash/tax -I/var/tmp/portage/app-office/gnucash-4.4/work
/gnucash-4.4/bindings/guile -I/usr/include/guile/2.2  -Wno-error=deprecated-declarations -Wno-error=parentheses -Werror -Wdeclaration-after-statement -Wno-pointer-sign -Wall -Wmissing-prototypes -Wmissing-declarations -Wno-unused -march=native -O2 -pipe -
fPIC -std=gnu11 -MD -MT libgnucash/app-utils/CMakeFiles/gnc-app-utils.dir/option-util.c.o -MF libgnucash/app-utils/CMakeFiles/gnc-app-utils.dir/option-util.c.o.d -o libgnucash/app-utils/CMakeFiles/gnc-app-utils.dir/option-util.c.o -c /var/tmp/portage/app-
office/gnucash-4.4/work/gnucash-4.4/libgnucash/app-utils/option-util.c
[440/982] : && /usr/bin/x86_64-pc-linux-gnu-g++ -fPIC -Wno-error=deprecated-declarations  -Werror -Wall -Wmissing-declarations -Wno-unused -Wno-error=parentheses -march=native -O2 -pipe  -Wl,-O1 -Wl,--as-needed -shared -Wl,-soname,libgnc-backend-sql.so -o
 lib64/libgnc-backend-sql.so libgnucash/backend/sql/CMakeFiles/gnc-backend-sql.dir/gnc-account-sql.cpp.o libgnucash/backend/sql/CMakeFiles/gnc-backend-sql.dir/gnc-address-sql.cpp.o libgnucash/backend/sql/CMakeFiles/gnc-backend-sql.dir/gnc-bill-term-sql.cp
p.o libgnucash/backend/sql/CMakeFiles/gnc-backend-sql.dir/gnc-book-sql.cpp.o libgnucash/backend/sql/CMakeFiles/gnc-backend-sql.dir/gnc-budget-sql.cpp.o libgnucash/backend/sql/CMakeFiles/gnc-backend-sql.dir/gnc-commodity-sql.cpp.o libgnucash/backend/sql/CM
akeFiles/gnc-backend-sql.dir/gnc-customer-sql.cpp.o libgnucash/backend/sql/CMakeFiles/gnc-backend-sql.dir/gnc-employee-sql.cpp.o libgnucash/backend/sql/CMakeFiles/gnc-backend-sql.dir/gnc-entry-sql.cpp.o libgnucash/backend/sql/CMakeFiles/gnc-backend-sql.di
r/gnc-invoice-sql.cpp.o libgnucash/backend/sql/CMakeFiles/gnc-backend-sql.dir/gnc-job-sql.cpp.o libgnucash/backend/sql/CMakeFiles/gnc-backend-sql.dir/gnc-lots-sql.cpp.o libgnucash/backend/sql/CMakeFiles/gnc-backend-sql.dir/gnc-order-sql.cpp.o libgnucash/b
ackend/sql/CMakeFiles/gnc-backend-sql.dir/gnc-owner-sql.cpp.o libgnucash/backend/sql/CMakeFiles/gnc-backend-sql.dir/gnc-price-sql.cpp.o libgnucash/backend/sql/CMakeFiles/gnc-backend-sql.dir/gnc-recurrence-sql.cpp.o libgnucash/backend/sql/CMakeFiles/gnc-ba
ckend-sql.dir/gnc-schedxaction-sql.cpp.o libgnucash/backend/sql/CMakeFiles/gnc-backend-sql.dir/gnc-slots-sql.cpp.o libgnucash/backend/sql/CMakeFiles/gnc-backend-sql.dir/gnc-tax-table-sql.cpp.o libgnucash/backend/sql/CMakeFiles/gnc-backend-sql.dir/gnc-tran
saction-sql.cpp.o libgnucash/backend/sql/CMakeFiles/gnc-backend-sql.dir/gnc-vendor-sql.cpp.o libgnucash/backend/sql/CMakeFiles/gnc-backend-sql.dir/gnc-sql-backend.cpp.o libgnucash/backend/sql/CMakeFiles/gnc-backend-sql.dir/gnc-sql-result.cpp.o libgnucash/
backend/sql/CMakeFiles/gnc-backend-sql.dir/gnc-sql-column-table-entry.cpp.o libgnucash/backend/sql/CMakeFiles/gnc-backend-sql.dir/gnc-sql-object-backend.cpp.o libgnucash/backend/sql/CMakeFiles/gnc-backend-sql.dir/escape.cpp.o  -Wl,-rpath,/var/tmp/portage/
app-office/gnucash-4.4/work/gnucash-4.4_build/lib64:  lib64/libgnc-engine.so  lib64/libgnc-core-utils.so  /usr/lib64/libboost_date_time-mt.so  /usr/lib64/libboost_regex-mt.so  -licui18n  -licuuc  -licudata  -Wl,--export-dynamic  -lgmodule-2.0  -pthread  -
lglib-2.0  -lgobject-2.0  -lglib-2.0  -lgobject-2.0 && :
[441/982] /usr/bin/x86_64-pc-linux-gnu-gcc -DG_LOG_DOMAIN=\"gnc.app-utils\" -DHAVE_CONFIG_H -DHAVE_GUILE22 -D_GNU_SOURCE -Dgnc_app_utils_EXPORTS -I/var/tmp/portage/app-office/gnucash-4.4/work/gnucash-4.4/libgnucash/app-utils -I/usr/include/glib-2.0 -I/usr
/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/var/tmp/portage/app-office/gnucash-4.4/work/gnucash-4.4/libgnucash/app-utils/calculation -I/usr/lib64/libffi/include -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/libxml2 -I/var/tmp/portage
/app-office/gnucash-4.4/work/gnucash-4.4/libgnucash/backend -I/var/tmp/portage/app-office/gnucash-4.4/work/gnucash-4.4/libgnucash/engine -Icommon -I/var/tmp/portage/app-office/gnucash-4.4/work/gnucash-4.4/common -I/var/tmp/portage/app-office/gnucash-4.4/w
ork/gnucash-4.4/borrowed/libc -Ilibgnucash/core-utils -I/var/tmp/portage/app-office/gnucash-4.4/work/gnucash-4.4/libgnucash/core-utils -I/var/tmp/portage/app-office/gnucash-4.4/work/gnucash-4.4/libgnucash/tax -I/var/tmp/portage/app-office/gnucash-4.4/work
/gnucash-4.4/bindings/guile -I/usr/include/guile/2.2  -Wno-error=deprecated-declarations -Wno-error=parentheses -Werror -Wdeclaration-after-statement -Wno-pointer-sign -Wall -Wmissing-prototypes -Wmissing-declarations -Wno-unused -march=native -O2 -pipe -
fPIC -std=gnu11 -MD -MT libgnucash/app-utils/CMakeFiles/gnc-app-utils.dir/gnc-ui-util.c.o -MF libgnucash/app-utils/CMakeFiles/gnc-app-utils.dir/gnc-ui-util.c.o.d -o libgnucash/app-utils/CMakeFiles/gnc-app-utils.dir/gnc-ui-util.c.o -c /var/tmp/portage/app-
office/gnucash-4.4/work/gnucash-4.4/libgnucash/app-utils/gnc-ui-util.c
ninja: build stopped: subcommand failed.
 * ERROR: app-office/gnucash-4.4::gentoo failed (compile phase):
 *   ninja -v -j5 -l0 failed
 * 
 * Call stack:
 *     ebuild.sh, line  125:  Called src_compile
 *   environment, line 3421:  Called cmake_src_compile
 *   environment, line 1215:  Called cmake_build
 *   environment, line 1184:  Called eninja
 *   environment, line 1636:  Called die
 * The specific snippet of code:
 *       "$@" || die "${nonfatal_args[@]}" "${*} failed"
 * 
 * If you need support, post the output of `emerge --info '=app-office/gnucash-4.4::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=app-office/gnucash-4.4::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/app-office/gnucash-4.4/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-office/gnucash-4.4/temp/environment'.
 * Working directory: '/var/tmp/portage/app-office/gnucash-4.4/work/gnucash-4.4_build'
 * S: '/var/tmp/portage/app-office/gnucash-4.4/work/gnucash-4.4'
Comment 19 tusooa 2021-03-11 03:25:44 UTC
Can confirm this.
Comment 20 Ionen Wolkens gentoo-dev 2021-03-11 03:37:57 UTC
I don't think there's a need for further confirmation of this issue.

More in need of a way to fix it rather than just work around, I looked into this before but I really have no idea why it's happening.
Comment 21 Adrian 2021-03-12 00:16:25 UTC
I also found the workaround by unmerging gnucash-4.2 allowed me to emerge gnucash-4.4 successfully.
Comment 22 gen2dev 2021-03-12 00:52:24 UTC
I'm seeing the failures reported here too. Now I see that the gnucash-4.2 ebuild has been deleted.

Please restore the 4.2 ebuild and mark 4.4 unstable until this is resolved.
Comment 23 Slaterson 2021-03-12 05:14:18 UTC
would be great to have the 4.2 ebuild restored.  i have a box here that is newly installed and i need gnucash on it, yet can't emerge it due to this issue.
Comment 24 MW 2021-03-12 07:05:18 UTC
(In reply to Slaterson from comment #23)
> would be great to have the 4.2 ebuild restored.  i have a box here that is
> newly installed and i need gnucash on it, yet can't emerge it due to this
> issue.

The output you posted earlier suggests you alredy have gnucash-4.2 installed. As a workaround, it has been suggested above (and worked for me) to first manually unmerge gnucash-4.4. Have you tried that?


Since the gnucash-4.2 ebuild is gone, I suggest you first create a binary package from your existing version:

$ quickpkg gnucash

Thus, if the suggested workaround doesn't work for you, you can always restore your gnucash-4.2 by installing the binary package:

$ emerge -akv =app-office/gnucash-4.2
Comment 25 MW 2021-03-12 07:10:02 UTC
(In reply to MW from comment #24)

Gaah, typos!
 - "alredy" -> "already"
 - "manually unmerge gnucash-4.4" -> "manually unmerge gnucash-4.2"

> (In reply to Slaterson from comment #23)
> > would be great to have the 4.2 ebuild restored.  i have a box here that is
> > newly installed and i need gnucash on it, yet can't emerge it due to this
> > issue.
> 
> The output you posted earlier suggests you alredy have gnucash-4.2
> installed. As a workaround, it has been suggested above (and worked for me)
> to first manually unmerge gnucash-4.4. Have you tried that?
> 
> 
> Since the gnucash-4.2 ebuild is gone, I suggest you first create a binary
> package from your existing version:
> 
> $ quickpkg gnucash
> 
> Thus, if the suggested workaround doesn't work for you, you can always
> restore your gnucash-4.2 by installing the binary package:
> 
> $ emerge -akv =app-office/gnucash-4.2
Comment 26 konsolebox 2021-03-12 11:33:06 UTC
Uninstalling gnucash-4.2 first helped for me.  It worked both for gcc-9.3.0 and gcc-10.2.0-r5.  I'm also using ccache and the reuse of around 700 compilations from previous failed builds didn't give a problem.
Comment 27 Aaron W. Swenson gentoo-dev 2021-03-12 13:31:03 UTC
(In reply to gen2dev from comment #22)
> I'm seeing the failures reported here too. Now I see that the gnucash-4.2
> ebuild has been deleted.
> 
> Please restore the 4.2 ebuild and mark 4.4 unstable until this is resolved.

We will not revert the stabilization and deletion.

This bug does not prevent a successful installation. However, for some, it requires the extra step of first uninstalling 4.2.

I have been unable to reproduce the issue on several different machines. So, I have no way of trying to fix it blind. Further, I have found no reference to such an error accompanied by a solution.

We need someone familiar with Guile to weigh in. None have stepped forward. As it's been a few months, we weren't/aren't going to wait any longer until someone does.
Comment 28 Slaterson 2021-03-12 14:29:01 UTC
(In reply to Aaron W. Swenson from comment #27)
> We will not revert the stabilization and deletion.
> 
> This bug does not prevent a successful installation. However, for some, it
> requires the extra step of first uninstalling 4.2.

for me, this is not an accurate statement.  i have a newly installed box, gnucash was never installed on it, and 4.4 fails to emerge every time.
Comment 29 Slaterson 2021-03-12 14:31:26 UTC
(In reply to MW from comment #24)
> (In reply to Slaterson from comment #23)
> > would be great to have the 4.2 ebuild restored.  i have a box here that is
> > newly installed and i need gnucash on it, yet can't emerge it due to this
> > issue.
> 
> The output you posted earlier suggests you alredy have gnucash-4.2
> installed. As a workaround, it has been suggested above (and worked for me)
> to first manually unmerge gnucash-4.4. Have you tried that?
> 
> 
> Since the gnucash-4.2 ebuild is gone, I suggest you first create a binary
> package from your existing version:
> 
> $ quickpkg gnucash
> 
> Thus, if the suggested workaround doesn't work for you, you can always
> restore your gnucash-4.2 by installing the binary package:
> 
> $ emerge -akv =app-office/gnucash-4.2

thanks for the suggestion.  i don't actually need the upgrade from 4.2 to 4.4, so plan to leave the box where 4.2 is working alone for the time being.  my other box, where is won't emerge on a brand new install, is a bit different.  i need gnucash there, maybe there is a way to create the binary package on one machine and copy it the other...
Comment 30 MW 2021-03-12 15:41:32 UTC
(In reply to Slaterson from comment #29)
> [...] maybe there is a way to create the binary
> package on one machine and copy it the other...

I think you are looking for quickpkg, as mentioned earlier. More details here:

https://wiki.gentoo.org/wiki/Binary_package_guide

However, this discussion doesn't really help in resolving the bug, so I think the forums are a better forum (!) for questions on binary packages.
Comment 31 Slaterson 2021-03-12 18:33:37 UTC
T(In reply to MW from comment #30)
> I think you are looking for quickpkg, as mentioned earlier. More details
> here:
> 
> https://wiki.gentoo.org/wiki/Binary_package_guide
> 
> However, this discussion doesn't really help in resolving the bug, so I
> think the forums are a better forum (!) for questions on binary packages.

thanks for the tip.  agreed, forums are better to discuss details of this.
Comment 32 Aaron W. Swenson gentoo-dev 2021-03-12 19:45:00 UTC
(In reply to Slaterson from comment #28)
> (In reply to Aaron W. Swenson from comment #27)
> > We will not revert the stabilization and deletion.
> > 
> > This bug does not prevent a successful installation. However, for some, it
> > requires the extra step of first uninstalling 4.2.
> 
> for me, this is not an accurate statement.  i have a newly installed box,
> gnucash was never installed on it, and 4.4 fails to emerge every time.

You have a segfault in the first one. So, it isn't "slightly different", but unrelated to this bug.

This is usually because of overly aggressive or incorrect CFLAGS, an overheating/defective processor, or running out of memory. As the i7 2600 is a 10 year old piece of hardware, it isn't unlikely that it's giving out on you.
Comment 33 Slaterson 2021-03-12 20:58:08 UTC
(In reply to Aaron W. Swenson from comment #32)
> (In reply to Slaterson from comment #28)
> > (In reply to Aaron W. Swenson from comment #27)
> > > We will not revert the stabilization and deletion.
> > > 
> > > This bug does not prevent a successful installation. However, for some, it
> > > requires the extra step of first uninstalling 4.2.
> > 
> > for me, this is not an accurate statement.  i have a newly installed box,
> > gnucash was never installed on it, and 4.4 fails to emerge every time.
> 
> You have a segfault in the first one. So, it isn't "slightly different", but
> unrelated to this bug.
> 
> This is usually because of overly aggressive or incorrect CFLAGS, an
> overheating/defective processor, or running out of memory. As the i7 2600 is
> a 10 year old piece of hardware, it isn't unlikely that it's giving out on
> you.

hard to agree with this assessment.  the i7 2600 has been rock solid stable from day one, ran gnucash for 10 years and was able to build an entire gentoo install earilier this week.  it's not overheating - i have monitoring in place and max cpu temp rarely hits 70C, even under extreme load.

i had the same issue exact error on the other box i've mentioned, made a couple tweaks to use flags and packages (just re-emerged a couple things) and landed on the same issue that this ticket was created for.  i haven't done that on the i7 2600 box because it still doesn't allow installation of gnucash 4.4.
Comment 34 Aaron W. Swenson gentoo-dev 2021-03-12 21:50:07 UTC
(In reply to Slaterson from comment #33)
> (In reply to Aaron W. Swenson from comment #32)
> > (In reply to Slaterson from comment #28)
> > > (In reply to Aaron W. Swenson from comment #27)
> > > > We will not revert the stabilization and deletion.
> > > > 
> > > > This bug does not prevent a successful installation. However, for some, it
> > > > requires the extra step of first uninstalling 4.2.
> > > 
> > > for me, this is not an accurate statement.  i have a newly installed box,
> > > gnucash was never installed on it, and 4.4 fails to emerge every time.
> > 
> > You have a segfault in the first one. So, it isn't "slightly different", but
> > unrelated to this bug.
> > 
> > This is usually because of overly aggressive or incorrect CFLAGS, an
> > overheating/defective processor, or running out of memory. As the i7 2600 is
> > a 10 year old piece of hardware, it isn't unlikely that it's giving out on
> > you.
> 
> hard to agree with this assessment.  the i7 2600 has been rock solid stable
> from day one, ran gnucash for 10 years and was able to build an entire
> gentoo install earilier this week.  it's not overheating - i have monitoring
> in place and max cpu temp rarely hits 70C, even under extreme load.
> 
> i had the same issue exact error on the other box i've mentioned, made a
> couple tweaks to use flags and packages (just re-emerged a couple things)
> and landed on the same issue that this ticket was created for.  i haven't
> done that on the i7 2600 box because it still doesn't allow installation of
> gnucash 4.4.

I did not make an assessment, but mentioned some common causes. Including checking that your processor isn't giving out on you.

Nonetheless, the segfault is unrelated to this bug. If you believe this isn't a hardware issue, please open a new bug and attach the complete build.log to it.
Comment 35 Stephen Kirkby 2021-03-13 09:24:56 UTC
I've also experienced this issue. I can also give a +1 to the action of removing 4.2 and then installing 4.4 to fix the problem.
Comment 36 Daniel Frey 2021-03-14 21:50:36 UTC
Also confirming removing 4.2 allows 4.4 to compile and install.
Comment 37 Erik 2021-03-15 22:22:07 UTC
Confirming that removing version 4.2 allowed emerging version 4.4 on old CPU.
Comment 38 Miles V. 2021-04-26 02:58:32 UTC
This has been an issue on two of my machines now, and in both cases, removing the earlier version allowed 4.4 to build successfully.
Comment 39 Aaron W. Swenson gentoo-dev 2021-11-18 14:48:27 UTC
I have not experienced this issue with 4.8.

Please try upgrading in place.
Comment 40 gen2dev 2021-11-18 16:45:21 UTC
Emerge --Update from gnucash-4.4 to gnucash-4.8 worked for me.
Comment 41 Larry the Git Cow gentoo-dev 2022-12-06 12:02:29 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dedab8c3269f978f11583d3ced6b7fa5fab5d1ee

commit dedab8c3269f978f11583d3ced6b7fa5fab5d1ee
Author:     Marco Scardovi <mscardovi@icloud.com>
AuthorDate: 2022-11-20 13:15:36 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-12-06 11:57:09 +0000

    app-office/gnucash: bump to 4.12
    
    Closes: https://bugs.gentoo.org/734044
    Closes: https://bugs.gentoo.org/762661
    Closes: https://bugs.gentoo.org/814134
    Closes: https://bugs.gentoo.org/882147
    Bug: https://bugs.gentoo.org/677600
    
    Drop old versions 4.4 and 4.5
    
    Signed-off-by: Marco Scardovi <mscardovi@icloud.com>
    Signed-off-by: Sam James <sam@gentoo.org>

 app-office/gnucash/Manifest            |   1 +
 app-office/gnucash/gnucash-4.12.ebuild | 232 +++++++++++++++++++++++++++++++++
 2 files changed, 233 insertions(+)