Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
gnucash fails to build [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
hunky
l33t
l33t


Joined: 19 Nov 2003
Posts: 910
Location: Alaska

PostPosted: Tue Oct 12, 2021 7:18 pm    Post subject: gnucash fails to build [SOLVED] Reply with quote

I tried the trick of uninstalling it and then reinstall - fails with same error. If I grep ERROR in the build.log, I get nothing (other than one of the last lines telling me it didn't work). System is stable.

Code:
[766/982] : && /usr/bin/x86_64-pc-linux-gnu-g++ -Wno-error=deprecated-declarations  -Werror -Wall -Wmissing-declarations -Wno-unused -Wno-error=parentheses -march=native -O2 -pipe -Wl,-O1 -Wl,--as-needed gnucash/CMakeFiles/gnucash.dir/gnucash.cpp.o gnucash/CMakeFiles/gnucash.dir/gnucash-commands.cpp.o gnucash/CMakeFiles/gnucash.dir/gnucash-core-app.cpp.o gnucash/CMakeFiles/gnucash.dir/gnucash-gresources.c.o -o bin/gnucash  -Wl,-rpath,/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:  lib64/libgnc-module.so  lib64/gnucash/libgnc-qif-import.so  lib64/gnucash/libgnc-csv-import.so  lib64/gnucash/libgnc-csv-export.so  lib64/gnucash/libgnc-log-replay.so  lib64/gnucash/libgnc-bi-import.so  lib64/gnucash/libgnc-customer-import.so  -lguile-2.2  -latomic_ops  -lgc  -lglib-2.0  lib64/gnucash/libgnc-generic-import.so  lib64/libgnc-gnome.so  lib64/gnucash/libgnc-ledger-core.so  lib64/gnucash/libgnc-report.so  lib64/gnucash/libgnc-register-gnome.so  lib64/gnucash/libgnc-register-core.so  lib64/gnucash/libgnc-gnome-search.so  lib64/libgnc-html.so  lib64/gnucash/libgnc-gnome-utils.so  /usr/lib64/libgtk-3.so  /usr/lib64/libgdk-3.so  /usr/lib64/libpangocairo-1.0.so  /usr/lib64/libpango-1.0.so  /usr/lib64/libharfbuzz.so  /usr/lib64/libatk-1.0.so  /usr/lib64/libcairo-gobject.so  /usr/lib64/libcairo.so  /usr/lib64/libgdk_pixbuf-2.0.so  /usr/lib64/libgio-2.0.so  /usr/lib64/libgobject-2.0.so  /usr/lib64/libglib-2.0.so  lib64/libgnc-backend-xml-utils.so  -lz  -ldl  -lsecret-1  lib64/libgnc-app-utils.so  lib64/libgnucash-guile.so  lib64/libgnc-locale-tax.so  -lguile-2.2  -latomic_ops  -lgc  -lgio-2.0  -lxslt  -lxml2  lib64/libgnc-engine.so  -lgobject-2.0  -licui18n  -licuuc  -licudata  -Wl,--export-dynamic  -lgmodule-2.0  -pthread  lib64/libgnc-core-utils.so  /usr/lib64/libboost_date_time.so.1.76.0  /usr/lib64/libboost_regex.so.1.76.0  /usr/lib64/libboost_locale.so.1.76.0  /usr/lib64/libboost_chrono.so.1.76.0  /usr/lib64/libboost_thread.so.1.76.0  -lpthread  /usr/lib64/libboost_filesystem.so.1.76.0  /usr/lib64/libboost_system.so.1.76.0  /usr/lib64/libboost_program_options.so.1.76.0  -lglib-2.0 && :
FAILED: bin/gnucash
: && /usr/bin/x86_64-pc-linux-gnu-g++ -Wno-error=deprecated-declarations  -Werror -Wall -Wmissing-declarations -Wno-unused -Wno-error=parentheses -march=native -O2 -pipe -Wl,-O1 -Wl,--as-needed gnucash/CMakeFiles/gnucash.dir/gnucash.cpp.o gnucash/CMakeFiles/gnucash.dir/gnucash-commands.cpp.o gnucash/CMakeFiles/gnucash.dir/gnucash-core-app.cpp.o gnucash/CMakeFiles/gnucash.dir/gnucash-gresources.c.o -o bin/gnucash  -Wl,-rpath,/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:  lib64/libgnc-module.so  lib64/gnucash/libgnc-qif-import.so  lib64/gnucash/libgnc-csv-import.so  lib64/gnucash/libgnc-csv-export.so  lib64/gnucash/libgnc-log-replay.so  lib64/gnucash/libgnc-bi-import.so  lib64/gnucash/libgnc-customer-import.so  -lguile-2.2  -latomic_ops  -lgc  -lglib-2.0  lib64/gnucash/libgnc-generic-import.so  lib64/libgnc-gnome.so  lib64/gnucash/libgnc-ledger-core.so  lib64/gnucash/libgnc-report.so  lib64/gnucash/libgnc-register-gnome.so  lib64/gnucash/libgnc-register-core.so  lib64/gnucash/libgnc-gnome-search.so  lib64/libgnc-html.so  lib64/gnucash/libgnc-gnome-utils.so  /usr/lib64/libgtk-3.so  /usr/lib64/libgdk-3.so  /usr/lib64/libpangocairo-1.0.so  /usr/lib64/libpango-1.0.so  /usr/lib64/libharfbuzz.so  /usr/lib64/libatk-1.0.so  /usr/lib64/libcairo-gobject.so  /usr/lib64/libcairo.so  /usr/lib64/libgdk_pixbuf-2.0.so  /usr/lib64/libgio-2.0.so  /usr/lib64/libgobject-2.0.so  /usr/lib64/libglib-2.0.so  lib64/libgnc-backend-xml-utils.so  -lz  -ldl  -lsecret-1  lib64/libgnc-app-utils.so  lib64/libgnucash-guile.so  lib64/libgnc-locale-tax.so  -lguile-2.2  -latomic_ops  -lgc  -lgio-2.0  -lxslt  -lxml2  lib64/libgnc-engine.so  -lgobject-2.0  -licui18n  -licuuc  -licudata  -Wl,--export-dynamic  -lgmodule-2.0  -pthread  lib64/libgnc-core-utils.so  /usr/lib64/libboost_date_time.so.1.76.0  /usr/lib64/libboost_regex.so.1.76.0  /usr/lib64/libboost_locale.so.1.76.0  /usr/lib64/libboost_chrono.so.1.76.0  /usr/lib64/libboost_thread.so.1.76.0  -lpthread  /usr/lib64/libboost_filesystem.so.1.76.0  /usr/lib64/libboost_system.so.1.76.0  /usr/lib64/libboost_program_options.so.1.76.0  -lglib-2.0 && :
/usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib64/libboost_locale.so.1.76.0: undefined reference to `std::__throw_bad_array_new_length()@GLIBCXX_3.4.29'
collect2: error: ld returned 1 exit status
[767/982] cd /var/tmp/portage/app-office/gnucash-4.4/work/gnucash-4.4_build/libgnucash/app-utils && /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/app-utils:/var/tmp/portage/app-office/gnucash-4.4/work/gnucash-4.4_build/libgnucash/app-utils:/var/tmp/portage/app-office/gnucash-4.4/work/gnucash-4.4_build/libgnucash/app-utils/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/app-utils:/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/app-utils/options.go /var/tmp/portage/app-office/gnucash-4.4/work/gnucash-4.4/libgnucash/app-utils/options.scm
wrote `/var/tmp/portage/app-office/gnucash-4.4/work/gnucash-4.4_build/lib64/guile/2.2/site-ccache/gnucash/app-utils/options.go'
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  127:  Called src_compile
 *   environment, line 3413:  Called cmake_src_compile
 *   environment, line 1287:  Called cmake_build
 *   environment, line 1256:  Called eninja
 *   environment, line 1763:  Called die
 * The specific snippet of code:
 *       "$@" || die "${nonfatal_args[@]}" "${*} failed"


I was trying it with the new stable gcc-11.2.0 and the build failed a couple times somewhere around the 213/982 mark. I switched back to gcc-10.3.0, reinstalled libtool, and now it failed at around the 767/982 mark.

I was trying with MAKEOPTS="-j5", then tried with -j1. Rather than failing at 767, that time it failed at 744, so different places.

Code:
emerge --info gnucash
Portage 3.0.20 (python 3.9.6-final-0, default/linux/amd64/17.1/desktop/plasma, gcc-10.3.0, glibc-2.33-r1, 5.10.2-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-5.10.2-gentoo-x86_64-Intel-R-_Core-TM-_i5-4690_CPU_@_3.50GHz-with-glibc2.33
KiB Mem:    16080392 total,   5533576 free
KiB Swap:    8388604 total,   5944184 free
Timestamp of repository gentoo: Tue, 12 Oct 2021 01:00:01 +0000
Head commit of repository gentoo: 1099826a97f195fa7e7560fcaf2c97977a663f14
sh bash 5.1_p8
ld GNU ld (Gentoo 2.37_p1 p0) 2.37
ccache version 3.1.10 [disabled]
app-shells/bash:          5.1_p8::gentoo
dev-java/java-config:     2.3.1::gentoo
dev-lang/perl:            5.34.0-r2::gentoo
dev-lang/python:          3.8.12::gentoo, 3.9.6_p2::gentoo, 3.10.0_alpha5_p1::gentoo
dev-lang/rust-bin:        1.53.0::gentoo
dev-util/cmake:           3.20.5::gentoo
sys-apps/baselayout:      2.7-r1::gentoo
sys-apps/openrc:          0.43.5::gentoo
sys-apps/sandbox:         2.24::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.71-r1::gentoo
sys-devel/automake:       1.16.4::gentoo
sys-devel/binutils:       2.37_p1::gentoo
sys-devel/gcc:            10.3.0-r2::gentoo, 11.2.0::gentoo
sys-devel/gcc-config:     2.4::gentoo
sys-devel/libtool:        2.4.6-r6::gentoo
sys-devel/make:           4.3::gentoo
sys-kernel/linux-headers: 5.11::gentoo (virtual/os-headers)
sys-libs/glibc:           2.33-r1::gentoo
Repositories:

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

localGentoo
    location: /usr/local/portage
    masters: gentoo

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA PUEL dlj-1.1 googleearth google-talkplugin Intel-SDP google-chrome Google-TOS"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /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="/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 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 unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://gentoo.osuosl.org/ http://www.gtlib.gatech.edu/pub/gentoo"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j1"
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 branding bzip2 cairo cdda cddb cdr cli crypt cups cxx dbus declarative dri drm dts dvb dvd dvdr elogind emboss encode exif ffmpeg flac fortran gd gdbm gif gimp gnutls gpm gui iconv icu ieee1394 ipv6 jack jack-tmpfs java jpeg jumbo-build kde kipi kwallet ladspa lcms libglvnd libnotify libtirpc mad mng mp3 mp4 mpeg multilib mysql ncurses nls nptl ogg opengl openmp pam pango pcre pdf plasma png policykit portaudio ppds python_single_targets_python3_9 qml qt5 raw readline samba sdl seccomp semantic-desktop sndfile spell split-usr sse sse2 ssl startup-notification svg taglib tcpd theora tiff truetype udev udisks unicode upower usb v4l vorbis vst widgets wxwidgets x264 xattr xcb xinerama xml xv xvid zlib" ABI_X86="64" ADA_TARGET="gnat_2019" 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" CAMERAS="canon" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2 sse3" 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="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-3 php7-4" POSTGRES_TARGETS="postgres12 postgres13" PYTHON_SINGLE_TARGET="python3_9" PYTHON_TARGETS="python3_9 python3_8" RUBY_TARGETS="ruby26 ruby27" SANE_BACKENDS="epson2" USERLAND="GNU" VIDEO_CARDS="intel i965" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq proto steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RUSTFLAGS


Code:
# emerge --info
Portage 3.0.20 (python 3.9.6-final-0, default/linux/amd64/17.1/desktop/plasma, gcc-10.3.0, glibc-2.33-r1, 5.10.2-gentoo x86_64)
=================================================================
System uname: Linux-5.10.2-gentoo-x86_64-Intel-R-_Core-TM-_i5-4690_CPU_@_3.50GHz-with-glibc2.33
KiB Mem:    16080392 total,   5294084 free
KiB Swap:    8388604 total,   5954936 free
Timestamp of repository gentoo: Tue, 12 Oct 2021 01:00:01 +0000
Head commit of repository gentoo: 1099826a97f195fa7e7560fcaf2c97977a663f14
sh bash 5.1_p8
ld GNU ld (Gentoo 2.37_p1 p0) 2.37
ccache version 3.1.10 [disabled]
app-shells/bash:          5.1_p8::gentoo
dev-java/java-config:     2.3.1::gentoo
dev-lang/perl:            5.34.0-r2::gentoo
dev-lang/python:          3.8.12::gentoo, 3.9.6_p2::gentoo, 3.10.0_alpha5_p1::gentoo
dev-lang/rust-bin:        1.53.0::gentoo
dev-util/cmake:           3.20.5::gentoo
sys-apps/baselayout:      2.7-r1::gentoo
sys-apps/openrc:          0.43.5::gentoo
sys-apps/sandbox:         2.24::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.71-r1::gentoo
sys-devel/automake:       1.16.4::gentoo
sys-devel/binutils:       2.37_p1::gentoo
sys-devel/gcc:            10.3.0-r2::gentoo, 11.2.0::gentoo
sys-devel/gcc-config:     2.4::gentoo
sys-devel/libtool:        2.4.6-r6::gentoo
sys-devel/make:           4.3::gentoo
sys-kernel/linux-headers: 5.11::gentoo (virtual/os-headers)
sys-libs/glibc:           2.33-r1::gentoo
Repositories:

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

localGentoo
    location: /usr/local/portage
    masters: gentoo

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA PUEL dlj-1.1 googleearth google-talkplugin Intel-SDP google-chrome Google-TOS"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /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="/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 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 unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://gentoo.osuosl.org/ http://www.gtlib.gatech.edu/pub/gentoo"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j1"
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 branding bzip2 cairo cdda cddb cdr cli crypt cups cxx dbus declarative dri drm dts dvb dvd dvdr elogind emboss encode exif ffmpeg flac fortran gd gdbm gif gimp gnutls gpm gui iconv icu ieee1394 ipv6 jack jack-tmpfs java jpeg jumbo-build kde kipi kwallet ladspa lcms libglvnd libnotify libtirpc mad mng mp3 mp4 mpeg multilib mysql ncurses nls nptl ogg opengl openmp pam pango pcre pdf plasma png policykit portaudio ppds python_single_targets_python3_9 qml qt5 raw readline samba sdl seccomp semantic-desktop sndfile spell split-usr sse sse2 ssl startup-notification svg taglib tcpd theora tiff truetype udev udisks unicode upower usb v4l vorbis vst widgets wxwidgets x264 xattr xcb xinerama xml xv xvid zlib" ABI_X86="64" ADA_TARGET="gnat_2019" 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" CAMERAS="canon" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2 sse3" 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="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-3 php7-4" POSTGRES_TARGETS="postgres12 postgres13" PYTHON_SINGLE_TARGET="python3_9" PYTHON_TARGETS="python3_9 python3_8" RUBY_TARGETS="ruby26 ruby27" SANE_BACKENDS="epson2" USERLAND="GNU" VIDEO_CARDS="intel i965" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq proto steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RUSTFLAGS


Last edited by hunky on Tue Oct 12, 2021 9:40 pm; edited 1 time in total
Back to top
View user's profile Send private message
hunky
l33t
l33t


Joined: 19 Nov 2003
Posts: 910
Location: Alaska

PostPosted: Tue Oct 12, 2021 7:26 pm    Post subject: Reply with quote

Hang on - system was acting strange.. just did a reboot and trying again. Maybe will work this time.
Back to top
View user's profile Send private message
eccerr0r
Watchman
Watchman


Joined: 01 Jul 2004
Posts: 9677
Location: almost Mile High in the USA

PostPosted: Tue Oct 12, 2021 7:26 pm    Post subject: Reply with quote

Try rebuilding (emerge --oneshot) dev-libs/boost ... and if that works, try rebuilding gnucash?
_________________
Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching?
Back to top
View user's profile Send private message
hunky
l33t
l33t


Joined: 19 Nov 2003
Posts: 910
Location: Alaska

PostPosted: Tue Oct 12, 2021 7:47 pm    Post subject: Reply with quote

eccerr0r wrote:
Try rebuilding (emerge --oneshot) dev-libs/boost ... and if that works, try rebuilding gnucash?


Thank you. The reboot didn't help. Now I am rebuilding boost. The system isn't the most modern.. 4th generation i5 processor. Takes awhile.
Back to top
View user's profile Send private message
hunky
l33t
l33t


Joined: 19 Nov 2003
Posts: 910
Location: Alaska

PostPosted: Tue Oct 12, 2021 8:11 pm    Post subject: Reply with quote

eccerr0r wrote:
Try rebuilding (emerge --oneshot) dev-libs/boost ... and if that works, try rebuilding gnucash?


Ok - this didn't work. Still failing at bin/gnucash.

For some reason I had had later spidermonkey ebuilds masked (maybe because of length of time it or some related package was taking to build) and yesterday unmasked it and did a world update. About 21 packages were rebuilt, including boost, icu, etc (don't remember the list). Gnucash was needing rebuilt because of this. I don't know if any of that is related to my current issue.
Back to top
View user's profile Send private message
eccerr0r
Watchman
Watchman


Joined: 01 Jul 2004
Posts: 9677
Location: almost Mile High in the USA

PostPosted: Tue Oct 12, 2021 8:32 pm    Post subject: Reply with quote

both gcc11 and gcc10 failing still?

Seems to be some c++ library versioning issue but not sure... mixture of gcc, boost, glibc versions not quite synchronized.
_________________
Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching?
Back to top
View user's profile Send private message
hunky
l33t
l33t


Joined: 19 Nov 2003
Posts: 910
Location: Alaska

PostPosted: Tue Oct 12, 2021 8:45 pm    Post subject: Reply with quote

eccerr0r wrote:
both gcc11 and gcc10 failing still?


I switched back to gcc11 and it fails the same as before but differently than gcc10:
Code:
FAILED: libgnucash/backend/dbi/CMakeFiles/gncmod-backend-dbi.dir/gnc-backend-dbi.cpp.o


I tried unmasking to ~amd64 and it appears I'm missing the 3.8 patches. I see the 4.4 ebuild requires them as well but didn't complain like the 4.6 version did. When I was first trouble shooting it today and it wouldn't build, I removed those patches from the patch directory thinking that since they were so old, maybe they were the problem. Unfortunately I didn't save them, and it didn't seem to matter with the failure of gnucash to emerge. So maybe I could find those patches (where to look?) and replace them, but don't think it will help since it seems same problem I had with them.

So maybe I should re-emerge other stuff.. like glibc? Thanks much for your help!
Back to top
View user's profile Send private message
eccerr0r
Watchman
Watchman


Joined: 01 Jul 2004
Posts: 9677
Location: almost Mile High in the USA

PostPosted: Tue Oct 12, 2021 9:09 pm    Post subject: Reply with quote

I was able to build gnucash4.4 on my box with gcc10.3.0-r2 ... so something is different from my box to yours...

Can you post the entire build log somewhere?
_________________
Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching?
Back to top
View user's profile Send private message
hunky
l33t
l33t


Joined: 19 Nov 2003
Posts: 910
Location: Alaska

PostPosted: Tue Oct 12, 2021 9:39 pm    Post subject: Reply with quote

When I unmasked gnucash to version 4.6, it was from an ebuild I grabbed off gentoo bugs for version bump. So being in a local overlay was why it asked for those 3.8 patches. I removed that ebuild and it will install 4.5 instead with it unmasked.

I did rebuild glibc for what its worth.

So 4.5 did successfully install. I was googling around how to paste a large file to pastebin or such but so far no luck. Still want to see it? I've now got 4.5. I can put SOLVED in the heading, though I didn't really solve the 4.4 issue unless rebuilding glibc did it. Not much point in carrying this out further unless anyone else is having the same problem.. but it sounds unique to my system. Let me know otherwise.

thanks much, eccerr0r!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum