Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 946927 - app-office/gnucash-5.10: failed to emerge when earlier version is already installed
Summary: app-office/gnucash-5.10: failed to emerge when earlier version is already ins...
Status: RESOLVED DUPLICATE of bug 941426
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Aaron W. Swenson
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-12-26 07:43 UTC by Leonid Kopylov
Modified: 2024-12-26 09:58 UTC (History)
2 users (show)

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


Attachments
build.log (build.log,373.81 KB, text/plain)
2024-12-26 07:43 UTC, Leonid Kopylov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Leonid Kopylov 2024-12-26 07:43:02 UTC
# emerge -pqv '=app-office/gnucash-5.10::gentoo'
[ebuild     U ] app-office/gnucash-5.10 [5.8-r100] USE="aqbanking doc examples gnome-keyring gui mysql nls ofx postgres python quotes sqlite -debug -smartcard -test" GUILE_SINGLE_TARGET="3-0 -2-2" PYTHON_SINGLE_TARGET="python3_12 -python3_10 -python3_11"

# emerge --info '=app-office/gnucash-5.10::gentoo'
Portage 3.0.66.1 (python 3.13.1-final-0, default/linux/amd64/23.0/desktop/gnome/systemd, gcc-14, glibc-2.40-r7, 6.12.6-gentoo-amd64 x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-6.12.6-gentoo-amd64-x86_64-13th_Gen_Intel-R-_Core-TM-_i7-1370P-with-glibc2.40
KiB Mem:    65391440 total,  26670160 free
KiB Swap:    8388604 total,   8388604 free
Timestamp of repository gentoo: Thu, 26 Dec 2024 07:30:00 +0000
Head commit of repository gentoo: b6f9a2ec71aeeba0f85ab653d2cab060b4e2e89a
Timestamp of repository HomeAssistantRepository: Sun, 22 Dec 2024 19:48:24 +0000
Head commit of repository HomeAssistantRepository: 2c878fc246133b60174fd2df8aec7292ffc98e54

Head commit of repository brave-overlay: 9efce9f27c5e830e2d33581369b0b38e003c81b2

Timestamp of repository darkelf: Tue, 17 Dec 2024 22:21:13 +0000
Head commit of repository darkelf: e620ea5aefbb97e4e4fb7787ab31dcd3c90b1684

Timestamp of repository elementary: Tue, 17 Dec 2024 22:20:56 +0000
Head commit of repository elementary: b6e699756e9649f8a881a0d3ae1799a4ee2994e7

Timestamp of repository guru: Wed, 25 Dec 2024 15:18:36 +0000
Head commit of repository guru: 8f3399f26f867c4dddc3e24f410eb2e2e277eadf

Timestamp of repository inode64-overlay: Wed, 25 Dec 2024 15:18:37 +0000
Head commit of repository inode64-overlay: 0be616505c572028124778bccd31698722f67ef0

Timestamp of repository kde: Wed, 25 Dec 2024 20:48:20 +0000
Head commit of repository kde: 9cb04d5ab8c49edbe4888015c113084d93bf2aa5

Head commit of repository kodi-overlay: 336430de12ca63e2e10896e61adbac45074d2688

Timestamp of repository pentoo: Thu, 26 Dec 2024 03:03:17 +0000
Head commit of repository pentoo: a772197a69f26f36262cb9931f6851b24834d3da

Timestamp of repository torbrowser: Sun, 22 Dec 2024 19:48:22 +0000
Head commit of repository torbrowser: 4acb3ea3edd87941afd741775769fa36fdefd8d3

sh bash 5.2_p37
ld GNU ld (Gentoo 2.43 p3) 2.43.1
ccache version 4.10.2 [enabled]
app-misc/pax-utils:        1.3.8::gentoo
app-shells/bash:           5.2_p37::gentoo
dev-build/autoconf:        2.13-r8::gentoo, 2.71-r7::gentoo, 2.72-r1::gentoo
dev-build/automake:        1.16.5-r2::gentoo, 1.17-r1::gentoo
dev-build/cmake:           3.31.3::gentoo
dev-build/libtool:         2.5.4::gentoo
dev-build/make:            4.4.1-r100::gentoo
dev-build/meson:           1.6.1::gentoo
dev-java/java-config:      2.3.4::gentoo
dev-lang/perl:             5.40.0-r1::gentoo
dev-lang/python:           3.10.16_p1::gentoo, 3.11.11_p1::gentoo, 3.12.8::gentoo, 3.13.1::gentoo, 3.13.1-r100::gentoo
dev-lang/rust:             1.83.0-r1::gentoo
dev-lang/rust-bin:         1.77.1-r101::gentoo, 1.81.0-r101::gentoo, 1.82.0-r101::gentoo, 1.83.0::gentoo
dev-util/ccache:           4.10.2-r1::gentoo
llvm-core/clang:           15.0.7-r3::gentoo, 16.0.6::gentoo, 17.0.6::gentoo, 18.1.8-r6::gentoo, 19.1.6::gentoo
llvm-core/lld:             15.0.7::gentoo, 19.1.6::gentoo
llvm-core/llvm:            15.0.7-r7::gentoo, 16.0.6-r5::gentoo, 17.0.6-r3::gentoo, 18.1.8-r6::gentoo, 19.1.6::gentoo
sys-apps/baselayout:       2.17::gentoo
sys-apps/sandbox:          2.42::gentoo
sys-apps/systemd:          257.1::gentoo
sys-devel/binutils:        2.43-r2::gentoo
sys-devel/binutils-config: 5.5.2::gentoo
sys-devel/gcc:             13.3.1_p20241220::gentoo, 14.2.1_p20241221::gentoo
sys-devel/gcc-config:      2.12.1::gentoo
sys-kernel/linux-headers:  6.12::gentoo (virtual/os-headers)
sys-libs/glibc:            2.40-r7::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: rsync
    sync-uri: rsync://gentoo.kopylovs.net/gentoo-portage
    priority: -1000
    volatile: False
    sync-rsync-verify-metamanifest: yes
    sync-rsync-verify-jobs: 1
    sync-rsync-extra-opts:
    sync-rsync-verify-max-age: 3

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

brave-overlay
    location: /var/db/repos/brave-overlay
    sync-type: git
    sync-uri: https://gitlab.com/jason.oliveira/brave-overlay.git
    masters: gentoo
    volatile: False

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

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

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

inode64-overlay
    location: /var/db/repos/inode64-overlay
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/inode64-overlay.git
    masters: gentoo
    volatile: False

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

kodi-overlay
    location: /var/db/repos/kodi-overlay
    sync-type: git
    sync-uri: https://github.com/kodi-overlay/kodi-overlay.git
    masters: gentoo
    volatile: False

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

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

Binary Repositories:

gentoobinhost
    priority: 1
    sync-uri: https://distfiles.gentoo.org/releases/amd64/binpackages/23.0/x86-64

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA android AnyDesk-TOS geekbench google-chrome Intel-SDP microsoft-edge Microsoft-vscode NVIDIA-CUDA NVIDIA-SDK OPERA-2018 PUEL-12 RAR TeamViewer Vivaldi"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /etc/stunnel/stunnel.conf /opt/sonar/conf /opt/zookeeper-bin/conf /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt /var/bind"
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.2/ext-active/ /etc/php/apache2-php8.3/ext-active/ /etc/php/cgi-php8.2/ext-active/ /etc/php/cgi-php8.3/ext-active/ /etc/php/cli-php8.2/ext-active/ /etc/php/cli-php8.3/ext-active/ /etc/php/fpm-php8.2/ext-active/ /etc/php/fpm-php8.3/ext-active/ /etc/php/phpdbg-php8.2/ext-active/ /etc/php/phpdbg-php8.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native -O2 -pipe -fomit-frame-pointer"
DISTDIR="/var/cache/distfiles"
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="-march=native -O2 -pipe -fomit-frame-pointer"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg-live ccache config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync merge-wait multilib-strict network-sandbox news parallel-fetch pid-sandbox pkgdir-index-trusted preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict strict-keepdir unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync warn-on-large-env xattr"
FFLAGS="-march=native -O2 -pipe -fomit-frame-pointer"
GENTOO_MIRRORS="http://mirror.isoc.org.il/pub/gentoo/ https://mirror.eu.oneandone.net/linux/distributions/gentoo/gentoo/"
LANG="en_US.utf8"
LC_ALL="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs"
LEX="flex"
MAKEOPTS="-j10"
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"
SHELL="/bin/bash"
USE="X a52 aac accessibility acl acpi activities alsa amd64 apparmor audit bash-completion berkdb bidi bluetooth branding brotli btrfs bzip2 cairo cdda cdr cet cli colord crypt cryptsetup cuda cups curl dbus designer device-mapper doc dri drm dts dvd dvdr eds emacs encode evdev evo examples exif experimental ffmpeg flac fortran fuse gamepad gdbm gdk-pixbuf gif git gmp gnome gnome-keyring gnome-online-accounts gnome-shell gnutls go gpg gpm gstreamer gtk gtk-doc gui hscolour html http iconv icu idn introspection iodbc ios ipv6 jack java jemalloc joystick jpeg json kde kerberos keyring kf6compat lcms ldap libnotify libtirpc lm-sensors lua lvm lz4 lzma lzo mad man mbedtls mng mongodb mp3 mp4 mpeg mpi multilib multimedia mysql nas nautilus ncurses netlink network networkmanager nfs nls nss nvenc odbc offensive ogg opencl opengl openmp openssl pam pango pcap pcre pdf perl pkcs11 plasma plugins png policykit postgres ppds pulseaudio python qml qt5 qt6 readline redis samba sasl screencast sdl seccomp semantic-desktop snmp sound source speech spell sqlite ssl startup-notification svg symlink sysprof systemd tcl telemetry test-rust threads tiff tk tools tpm tracker truetype udev udisks unicode upower usb utils v4l vaapi vala vdpau vim-syntax vnc vorbis vulkan wayland webengine webkit webp wifi wxwidgets x264 xattr xcb xft xinerama xml xv xvid yaml zeroconf zfs zip zlib zsh-completion zstd" ABI_X86="64 32" ADA_TARGET="gcc_12" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_core authn_dbd authn_dbm authn_file authn_socache authz_core authz_dbd authz_dbm authz_groupfile authz_host authz_owner authz_user autoindex brotli cache cgi cgid charset_lite dav dav_fs dav_lock dbd deflate dir env expires ext_filter file_cache filter headers http2 ident imagemap include info log_config logio mime mime_magic negotiation ratelimit reqtimeout rewrite session session_cookie session_crypto session_dbd setenvif socache_shmcb speling status substitute tls unique_id unixd userdir usertrack version vhost_alias watchdog xml2enc" APACHE2_MPMS="worker" CALLIGRA_FEATURES="karbon sheets stage words" 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 ssse3 vpclmulqdq" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax navcom oceanserver oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 tsip tripmate tnt ublox" GRUB_PLATFORMS="efi-64" GUILE_SINGLE_TARGET="3-0" GUILE_TARGETS="3-0" INPUT_DEVICES="evdev joystick libinput" KERNEL="linux" L10N="en en-US he ru" LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text" LIBREOFFICE_EXTENSIONS="nlpsolver scripting-beanshell scripting-javascript wiki-publisher" LUA_SINGLE_TARGET="lua5-4" LUA_TARGETS="lua5-1 lua5-4" NGINX_MODULES_HTTP="access addition auth_basic auth_ldap auth_pam auth_request autoindex brotli browser charset dav dav_ext echo empty_gif fancyindex fastcgi flv geo geoip geoip2 grpc gunzip gzip image_filter javascript limit_conn limit_req map memc memcached metrics mirror mp4 perl proxy push_stream referer rewrite scgi split_clients ssi stub_status upload_progress upstream_check upstream_hash upstream_ip_hash upstream_keepalive upstream_least_conn upstream_zone userid uwsgi vhost_traffic_status vod xslt" NGINX_MODULES_MAIL="imap pop3 smtp" NGINX_MODULES_STREAM="access geo geoip geoip2" OFFICE_IMPLEMENTATION="libreoffice" PERL_FEATURES="ithreads quadmath" PHP_TARGETS="php8-2 php8-3" POSTGRES_TARGETS="postgres16 postgres17" PYTHON_SINGLE_TARGET="python3_13" PYTHON_TARGETS="python3_12 python3_10 python3_11 python3_13 python3_13t" RUBY_TARGETS="ruby31 ruby32 ruby33" UWSGI_PLUGINS="alarm_curl cache carbon cheaper_busyness clock_monotonic clock_realtime corerouter curl_cron dumbloop echo emperor_amqp emperor_pg emperor_zeromq fastrouter forkptyrouter geoip graylog2 http ldap legion_cache_fetch logcrypto logfile logpipe logsocket mongodblog nagios notfound pam ping rados rawrouter redislog router_access router_basicauth router_cache router_expires router_hash router_http router_memcached router_metrics router_redirect router_redis router_rewrite router_spnego router_static router_uwsgi router_xmldir rpc rrdtool rsyslog signal spooler sqlite ssi sslrouter stats_pusher_statsd symcall syslog systemd_logger transformation_chunked transformation_gzip transformation_offload transformation_tofile transformation_toupper tuntap ugreen webdav xattr xslt zabbix zergpool" VIDEO_CARDS="intel fbdev vesa nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipp2p iface geoip fuzzy condition tarpit sysrq proto logmark ipmark dhcpmac delude chaos account"
Unset:  ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EMERGE_DEFAULT_OPTS, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LD, LFLAGS, LIBTOOL, LINGUAS, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PYTHONPATH, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS
Comment 1 Leonid Kopylov 2024-12-26 07:43:13 UTC
Created attachment 914872 [details]
build.log
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-12-26 07:52:23 UTC
```
[31mFAILED: [0mlib64/guile/3.0/site-ccache/gnucash/engine/business-core.go /var/tmp/portage/app-office/gnucash-5.10/work/gnucash-5.10_build/lib64/guile/3.0/site-ccache/gnucash/engine/business-core.go 
cd /var/tmp/portage/app-office/gnucash-5.10/work/gnucash-5.10_build/bindings/guile && /usr/bin/cmake -E env LD_LIBRARY_PATH=/var/tmp/portage/app-office/gnucash-5.10/work/gnucash-5.10_build/lib64:/var/tmp/portage/app-office/gnucash-5.10/work/gnucash-5.10_build/lib64/gnucash: GNC_UNINSTALLED=YES GNC_BUILDDIR=/var/tmp/portage/app-office/gnucash-5.10/work/gnucash-5.10_build GUILE_LOAD_PATH=/var/tmp/portage/app-office/gnucash-5.10/work/gnucash-5.10/bindings/guile:/var/tmp/portage/app-office/gnucash-5.10/work/gnucash-5.10_build/bindings/guile:/var/tmp/portage/app-office/gnucash-5.10/work/gnucash-5.10_build/bindings/guile/deprecated:/var/tmp/portage/app-office/gnucash-5.10/work/gnucash-5.10_build/share/guile/site/3.0 GUILE_LOAD_COMPILED_PATH=/var/tmp/portage/app-office/gnucash-5.10/work/gnucash-5.10_build/bindings/guile:/var/tmp/portage/app-office/gnucash-5.10/work/gnucash-5.10_build/lib64/guile/3.0/site-ccache:/var/tmp/portage/app-office/gnucash-5.10/work/gnucash-5.10_build/lib64/guile/3.0/site-ccache/gnucash/deprecated GNC_MODULE_PATH=/var/tmp/portage/app-office/gnucash-5.10/work/gnucash-5.10_build/lib64:/var/tmp/portage/app-office/gnucash-5.10/work/gnucash-5.10_build/lib64/gnucash: /usr/bin/guile-3.0 -e "(@@ (guild) main)" -s /usr/bin/guild-3.0 compile -o /var/tmp/portage/app-office/gnucash-5.10/work/gnucash-5.10_build/lib64/guile/3.0/site-ccache/gnucash/engine/business-core.go /var/tmp/portage/app-office/gnucash-5.10/work/gnucash-5.10/bindings/guile/business-core.scm
Backtrace:
In ice-9/eval.scm:
    155:9 19 (_ _)
In srfi/srfi-1.scm:
    634:9 18 (for-each #<procedure 7f1b060b3280 at scripts/compile.scm:276:14 (file)> ("/var/tmp/portage/app-office/gnucash-5.10/work/gnucash-5.10/bindings/guile/business-core.scm"))
In scripts/compile.scm:
   279:27 17 (_ _)
In system/base/target.scm:
     82:6 16 (with-target _ _)
In system/base/compile.scm:
    187:6 15 (compile-file "/var/tmp/portage/app-office/gnucash-5.10/work/gnucash-5.10/bindings/guile/business-core.scm" #:output-file _ #:from _ #:to _ #:env _ #:optimization-level _ #:warning-level _ #:opts _ #:canonicalization _)
     53:4 14 (call-with-output-file/atomic _ _ _)
In ice-9/boot-9.scm:
  1755:12 13 (with-exception-handler _ _ #:unwind? _ #:unwind-for-type _)
In system/base/compile.scm:
    69:11 12 (_)
   190:11 11 (_ #<closed: file 7f1b06011d90>)
   331:39 10 (read-and-compile #<input: business-core.scm 13> #:from _ #:to _ #:env _ #:optimization-level _ #:warning-level _ #:opts _)
   261:27  9 (_ _ _)
In ice-9/boot-9.scm:
   2858:4  8 (save-module-excursion #<procedure 7f1b0616fb60 at language/scheme/compile-tree-il.scm:29:3 ()>)
In language/scheme/compile-tree-il.scm:
    31:16  7 (_)
In ice-9/psyntax.scm:
  1243:36  6 (expand-top-sequence (#<syntax:business-core.scm:22:0 (#<syntax:business-core.scm:22:1 eval-when> #<syntax:business-core.scm:22:11 (#<syntax:business-core.scm:22:12 compile> #<syntax:business-core.scm:22:20 load> #<syntax:business-core.scm:22:25 eval> #<syntax:business-core.scm:22:30 expand>)> #<syntax:business-core.scm:23:2 (#<syntax:business-core.scm:23:3 load-extension> #<syntax:business-core.scm:23:18 "libgnucash-guile"> #<syntax:business-core.scm:23:37 "gnc_guile_bindings…>) …)
  1235:19  5 (parse _ (("placeholder" placeholder)) ((top) #(ribcage () () ())) _ c (compile load eval) (hygiene gnucash engine business-core))
   259:10  4 (parse _ (("placeholder" placeholder)) ((top) #(ribcage () () ())) _ c&e (compile load) (hygiene gnucash engine business-core))
In unknown file:
           3 (load-extension "libgnucash-guile" "gnc_guile_bindings_init")
In system/foreign-library.scm:
   190:25  2 (load-foreign-library _ #:extensions _ #:search-ltdl-library-path? _ #:search-path _ #:search-system-paths? _ #:lazy? _ #:global? _ #:rename-on-cygwin? _)
In unknown file:
           1 (dlopen "/usr/lib64/libgnucash-guile.so" 1)
In ice-9/boot-9.scm:
  1676:22  0 (raise-exception _ #:continuable? _)

ice-9/boot-9.scm:1676:22: In procedure raise-exception:
In procedure dlopen: file "/usr/lib64/libgnucash-guile.so", message "/usr/lib64/libgnucash-guile.so: undefined symbol: gnc_pricedb_lookup_at_time64"
```

Ouch!
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-12-26 07:52:40 UTC
> 1 (dlopen "/usr/lib64/libgnucash-guile.so" 1)

Why is it doing this? :(
Comment 4 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-12-26 07:54:55 UTC
Leonid, can you quickly confirm a theory? If you unmerge (yes, do the naughty thing as a one-off) gnucash, then install it again, does it work? I bet it does.

(Of course, it's still a nasty bug.)
Comment 5 Leonid Kopylov 2024-12-26 07:58:37 UTC
(In reply to Sam James from comment #4)
> Leonid, can you quickly confirm a theory? If you unmerge (yes, do the
> naughty thing as a one-off) gnucash, then install it again, does it work? I
> bet it does.
> 
> (Of course, it's still a nasty bug.)

yes, it works!
Comment 6 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-12-26 08:04:11 UTC
Thanks!
Comment 7 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-12-26 08:05:33 UTC
I'll call it a "dupe" of bug 941426 as there's more discussion there. I will do some investigation.

*** This bug has been marked as a duplicate of bug 941426 ***
Comment 8 Larry the Git Cow gentoo-dev 2024-12-26 09:57:27 UTC
The bug has been referenced in the following commit(s):

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

commit 72dbf2ec4049df11ad63576971883ee239eadb7f
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2024-12-26 09:41:40 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-12-26 09:55:46 +0000

    app-office/gnucash: don't use installed copy of gnucash for build or tests
    
    Per https://www.gnu.org/software/guile/manual/html_node/Foreign-Libraries.html,
    newer guile (>= 3.0.6) will respect GUILE_EXTENSIONS_PATH when looking up paths for
    `dlopen` for `load-extension` -> `load-foreign-library`. Older guiles will use
    `LTDL_LIBRARY_PATH` instead.
    
    Without this set, the system paths are checked instead (maybe falling back
    to another variable if not found on the system, unclear), and we end up
    with build failures when we try to mix system and just-built gnucash (this
    is also obviously a problem for testing as well).
    
    For tests, we additionally have to do a "fake install" in ${BUILD_DIR}/whatever
    and we set the path to that in the ebuild with GENTOO_TEMPORARY_TEST_INSTALLDIR.
    
    https://www.gnu.org/software/guile/manual/html_node/Load-Paths.html and
    https://www.gnu.org/software/guile/manual/html_node/Environment-Variables.html were
    also a lot of help.
    
    (When testing w/ guile-2.2 briefly, it didn't seem that we needed
    to set LTDL_LIBRARY_PATH, but someone can add that if it turns out to be
    needed, or I may later.)
    
    (With regard to GUILE_AUTO_COMPILE=0, dropped that as it doesn't seem
    necessary. Plan is to also add GUILE_AUTO_COMPILE=fresh to the eclass,
    am discussing it w/ Arsen.)
    
    Bug: https://bugs.gnucash.org/show_bug.cgi?id=799159
    Bug: https://bugs.gentoo.org/359033
    Bug: https://bugs.gentoo.org/371264
    Bug: https://bugs.gentoo.org/734286
    Bug: https://bugs.gentoo.org/946927
    Closes: https://bugs.gentoo.org/941426
    Signed-off-by: Sam James <sam@gentoo.org>

 .../files/gnucash-5.10-guile-load-path.patch       | 96 ++++++++++++++++++++++
 app-office/gnucash/gnucash-5.10.ebuild             | 33 ++++++--
 2 files changed, 120 insertions(+), 9 deletions(-)