Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
gnucash 4.4 emerge fails
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
slaterson
Guru
Guru


Joined: 26 Feb 2003
Posts: 313

PostPosted: Mon Mar 29, 2021 10:46 pm    Post subject: gnucash 4.4 emerge fails Reply with quote

i have a freshly installed gentoo box. i'm trying to emerge gnucash, which is now at version 4.4. emerge fails with the following error (couple entries prior to a seg fault all the way to the exit of emerge):

Code:
[437/982] : && /usr/bin/x86_64-pc-linux-gnu-gcc -fPIC -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  -Wl,-O1 -Wl,--as-needed -shared  -o lib64/gnucash/_unittest_support.so common/test-core/CMakeFiles/unittest_support.dir/swig-unittest-support-python.c.o  -Wl,-rpath,/var/tmp/portage/app-office/gnucash-4.4/work/gnucash-4.4_build/lib64  common/test-core/libtest-core.a  /usr/lib64/libpython3.8.so  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  -lgobject-2.0  -lglib-2.0 && :
[438/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/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 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 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
Segmentation fault
[439/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-backend-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-backend-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-backend-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-utils.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-utils.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-backend-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-parsers.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 libgnucash/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'
[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.cpp.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/CMakeFiles/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.dir/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/backend/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-backend-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-transaction-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/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/work/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
[442/982] /usr/bin/x86_64-pc-linux-gnu-gcc -DG_LOG_DOMAIN=\"gnc.report.core\" -DHAVE_CONFIG_H -DHAVE_GUILE22 -D_GNU_SOURCE -Dgnc_report_EXPORTS -I/var/tmp/portage/app-office/gnucash-4.4/work/gnucash-4.4/gnucash/report -I/var/tmp/portage/app-office/gnucash-4.4/work/gnucash-4.4/libgnucash/app-utils -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/work/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 -isystem /usr/include/glib-2.0 -isystem /usr/lib64/glib-2.0/include -isystem /usr/include/gtk-3.0 -isystem /usr/include/pango-1.0 -isystem /usr/lib64/libffi/include -isystem /usr/include/fribidi -isystem /usr/include/cairo -isystem /usr/include/pixman-1 -isystem /usr/include/freetype2 -isystem /usr/include/uuid -isystem /usr/include/libpng16 -isystem /usr/include/harfbuzz -isystem /usr/include/gdk-pixbuf-2.0 -isystem /usr/include/libmount -isystem /usr/include/blkid -isystem /usr/include/gio-unix-2.0 -isystem /usr/include/atk-1.0 -isystem /usr/include/at-spi2-atk/2.0 -isystem /usr/include/dbus-1.0 -isystem /usr/lib64/dbus-1.0/include -isystem /usr/include/at-spi-2.0  -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 -pthread -std=gnu11 -MD -MT gnucash/report/CMakeFiles/gnc-report.dir/gnc-report.c.o -MF gnucash/report/CMakeFiles/gnc-report.dir/gnc-report.c.o.d -o gnucash/report/CMakeFiles/gnc-report.dir/gnc-report.c.o -c /var/tmp/portage/app-office/gnucash-4.4/work/gnucash-4.4/gnucash/report/gnc-report.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 3267:  Called cmake_src_compile
 *   environment, line 1173:  Called cmake_build
 *   environment, line 1142:  Called eninja
 *   environment, line 1594:  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'


i'm aware of an issue emerging gnucash-4.4 is gnucash 4.2 is already installed. on this box, gnucash has never been installed, it's a clean install.

i'm stuck, can't figure out how to address the seg fault.
Back to top
View user's profile Send private message
alamahant
Advocate
Advocate


Joined: 23 Mar 2019
Posts: 3879

PostPosted: Mon Mar 29, 2021 11:40 pm    Post subject: Reply with quote

Hi
please post the output of
emerge --info gnucash
_________________
:)
Back to top
View user's profile Send private message
slaterson
Guru
Guru


Joined: 26 Feb 2003
Posts: 313

PostPosted: Mon Mar 29, 2021 11:42 pm    Post subject: Reply with quote

here you go:

Code:
~ # emerge --info gnucash
Portage 3.0.17 (python 3.8.8-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,  23631948 free
KiB Swap:   16777212 total,  16777212 free
Timestamp of repository gentoo: Sun, 28 Mar 2021 08:15:01 +0000
Head commit of repository gentoo: 0d0824e8a6b92649958d27a59b576e4aa9d4aa65
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_p7::gentoo, 3.8.8::gentoo, 3.9.2::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-metamanifest: yes
    sync-rsync-verify-jobs: 1
    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=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 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" 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" 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" LLVM_TARGETS="BPF NVPTX" 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 proto 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
Back to top
View user's profile Send private message
alamahant
Advocate
Advocate


Joined: 23 Mar 2019
Posts: 3879

PostPosted: Mon Mar 29, 2021 11:47 pm    Post subject: Reply with quote

Quote:

EMERGE_DEFAULT_OPTS="--jobs=4"
MAKEOPTS="-j5"

There is a conflict no?
Maybe edit your make.conf?
Also please try
MAKEOPTS="-j1" emerge -av gnucash
Also maybe related to
https://bugs.gentoo.org/734044
_________________
:)
Back to top
View user's profile Send private message
slaterson
Guru
Guru


Joined: 26 Feb 2003
Posts: 313

PostPosted: Tue Mar 30, 2021 12:01 am    Post subject: Reply with quote

alamahant wrote:
Quote:

EMERGE_DEFAULT_OPTS="--jobs=4"
MAKEOPTS="-j5"

There is a conflict no?
Maybe edit your make.conf?
Also please try
MAKEOPTS="-j1" emerge -av gnucash
Also maybe related to
https://bugs.gentoo.org/734044


thanks for the suggestion. just tried with MAKEOPTS="-j1" and the issue persists.

i am not sure if emerge_default_opts and makeopts conflict or not. i read the following two pages to come to the values i have in make.conf. the makeopts value in the example on the page, if using what is suggested, could be 8 instead of the 5 i am currently using.

https://wiki.gentoo.org/wiki/EMERGE_DEFAULT_OPTS
https://wiki.gentoo.org/wiki/MAKEOPTS

i'm not exactly sure what values to use for those two settings. i've had years of stability with them thus far, happy to make changes if it fixes any issues,
Back to top
View user's profile Send private message
alamahant
Advocate
Advocate


Joined: 23 Mar 2019
Posts: 3879

PostPosted: Tue Mar 30, 2021 12:07 am    Post subject: Reply with quote

I hope you will overcome it.
If not and you really need it please consider
https://gpo.zugaina.org/app-office/gnucash/Dep
https://flathub.org/apps/details/org.gnucash.GnuCash
_________________
:)
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 21631

PostPosted: Tue Mar 30, 2021 2:35 am    Post subject: Reply with quote

alamahant wrote:
Quote:
EMERGE_DEFAULT_OPTS="--jobs=4"
MAKEOPTS="-j5"
There is a conflict no?
There is no conflict here, though it may cause surprising results. This permits Portage to emerge up to 4 packages in parallel, and each package is individually permitted to run up to 5 jobs in parallel, so the system could run up to 20 jobs if dependencies permit.
Back to top
View user's profile Send private message
slaterson
Guru
Guru


Joined: 26 Feb 2003
Posts: 313

PostPosted: Tue Mar 30, 2021 2:59 am    Post subject: Reply with quote

alamahant wrote:
I hope you will overcome it.
If not and you really need it please consider
https://gpo.zugaina.org/app-office/gnucash/Dep
https://flathub.org/apps/details/org.gnucash.GnuCash


i've tried overlays for other things in the past with mixed results, and generally tend to shy away from them. i'll give this one a try for gnucash and see if it works out.

edit: actually, never mind. i downloaded the ebuild and it's identical to what is in portage. if i could get my hands on the (old) official gnucash-4.2 ebuild i think i'd be set. it installed one a few different computers without issue for me in the past.

tried --jobs=1 and -j1 in combination - seg fault still happens. i've also tried running cmake from the command line with --trace:

Code:
cd /var/tmp/portage/app-office/gnucash-4.4/work/gnucash-4.4_build/common/test-core && /usr/bin/cmake --trace -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 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
Running with trace output on.
CMake Error: The source directory "/var/tmp/portage/app-office/gnucash-4.4/work/gnucash-4.4_build/lib64/guile/2.2/site-ccache/tests/unittest-support.go" does not exist.


the unittest-support.go file is "kinda" there. it's zero bytes, and has a randomized extension added:

Code:
-rw------- 1 portage portage 0 Mar 30 04:13 unittest-support.go.qAJRjR
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30911
Location: here

PostPosted: Tue Mar 30, 2021 5:28 am    Post subject: Reply with quote

Moved from Installing Gentoo to Portage & Programming.
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
knees_of_torgo
n00b
n00b


Joined: 02 Sep 2020
Posts: 4

PostPosted: Wed Mar 31, 2021 1:14 am    Post subject: Re: gnucash 4.4 emerge fails Reply with quote

slaterson wrote:
i have a freshly installed gentoo box. i'm trying to emerge gnucash, which is now at version 4.4. emerge fails with the following error (couple entries prior to a seg fault all the way to the exit of emerge):


The last time I had issues with gnucash it was due to some weird glibmm versioning. I never solved the problem so I just emerged flatpak and installed the gnucash flatpak package. Works just fine that way.
Back to top
View user's profile Send private message
slaterson
Guru
Guru


Joined: 26 Feb 2003
Posts: 313

PostPosted: Fri Apr 02, 2021 1:16 pm    Post subject: Reply with quote

tried jobs=1 and j1, still no dice. also tried commenting those lines in make.conf, nothing works from portage. so strange.

while using flatpak is an option (thanks), i'd really prefer not to as it's yet a different version of gnucash compared to portage and another application source to monitor and maintain.
Back to top
View user's profile Send private message
lefou
Apprentice
Apprentice


Joined: 18 Feb 2004
Posts: 199
Location: Germany, Lusatia

PostPosted: Fri Jun 18, 2021 12:25 pm    Post subject: Reply with quote

Any news on this one? I can't merge gnucash for the same reasons. Thanks!

Tobias
Back to top
View user's profile Send private message
slaterson
Guru
Guru


Joined: 26 Feb 2003
Posts: 313

PostPosted: Sat Jun 19, 2021 2:07 pm    Post subject: Reply with quote

i never found out what the problem was.

i wiped the harddrive and re-installed, then emerged gnucash-4.4 again and it worked. before that i tried re-emerging world more than once, nothing worked.

note that gnucash-4.2 was never installed on this box.
Back to top
View user's profile Send private message
lefou
Apprentice
Apprentice


Joined: 18 Feb 2004
Posts: 199
Location: Germany, Lusatia

PostPosted: Mon Jun 21, 2021 9:30 am    Post subject: Reply with quote

Uninstalling the installed gnucash before freshly installing the new gnucash version worked for me.
Back to top
View user's profile Send private message
slaterson
Guru
Guru


Joined: 26 Feb 2003
Posts: 313

PostPosted: Mon Jun 21, 2021 4:39 pm    Post subject: Reply with quote

lefou wrote:
Uninstalling the installed gnucash before freshly installing the new gnucash version worked for me.


yes, this worked for me on a box where gnucash-4.2 was installed. i had a different issue, where a brand new box would fail to emerge gnucash-4.4. the only thing that worked was to wipe the drive and install gentoo again.
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 21631

PostPosted: Mon Jun 21, 2021 6:17 pm    Post subject: Reply with quote

Wiping the system is almost never the right solution. Gentoo can almost always be repaired, and wiping and starting over only gives you the opportunity to make new mistakes that may leave you worse off than when you started.
Back to top
View user's profile Send private message
slaterson
Guru
Guru


Joined: 26 Feb 2003
Posts: 313

PostPosted: Mon Jun 21, 2021 11:50 pm    Post subject: Reply with quote

Hu wrote:
Wiping the system is almost never the right solution. Gentoo can almost always be repaired, and wiping and starting over only gives you the opportunity to make new mistakes that may leave you worse off than when you started.


i'm not doubting that. after a couple months, it gets pretty frustrating to continue to try to fix to no avail. i'm just glad re-installing fixed my problem. as mentioned, i rebuilt world, tried binary packages from other machines that built gnucash successfully, and other stuff.... many times. nothing worked.

i built my network and boxes in a way that allows for quick rebuilds of "workstations". it's all ldap and home directories on an nfs mount. i just copy the config files from the server after building. the gentoo install is pretty easy imo.
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