View previous topic :: View next topic |
Author |
Message |
Torpus Apprentice
Joined: 20 Aug 2023 Posts: 184
|
Posted: Tue Sep 19, 2023 3:09 pm Post subject: [SOLVED] Failed to emerge net-p2p/monero-0.17.3.0-r1 |
|
|
Hey,
I'm trying to install Monero from their official overlay (monero), but emerge keeps failing at compiling the package.
Code: | >>> Failed to emerge net-p2p/monero-0.17.3.0-r1, Log file:
>>> '/var/tmp/portage/net-p2p/monero-0.17.3.0-r1/temp/build.log'
* Messages for package net-p2p/monero-0.17.3.0-r1:
* ERROR: net-p2p/monero-0.17.3.0-r1::monero failed (compile phase):
* ninja -v -j1 -l1 daemon simplewallet wallet_rpc_server failed
*
* Call stack:
* ebuild.sh, line 136: Called src_compile
* environment, line 2171: Called cmake_build 'daemon' 'simplewallet' 'wallet_rpc_server'
* environment, line 895: Called eninja 'daemon' 'simplewallet' 'wallet_rpc_server'
* environment, line 1357: Called die
* The specific snippet of code:
* "$@" || die -n "${*} failed"
*
* If you need support, post the output of `emerge --info '=net-p2p/monero-0.17.3.0-r1::monero'`,
* the complete build log and the output of `emerge -pqv '=net-p2p/monero-0.17.3.0-r1::monero'`.
* The complete build log is located at '/var/tmp/portage/net-p2p/monero-0.17.3.0-r1/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/net-p2p/monero-0.17.3.0-r1/temp/environment'.
* Working directory: '/var/tmp/portage/net-p2p/monero-0.17.3.0-r1/work/monero-0.17.3.0_build'
* S: '/var/tmp/portage/net-p2p/monero-0.17.3.0-r1/work/monero-0.17.3.0' |
Code: | mint / # emerge --info '=net-p2p/monero-0.17.3.0-r1::monero'
Portage 3.0.51 (python 3.11.5-final-0, default/linux/amd64/17.1/hardened/selinux, gcc-12, glibc-2.38-r1, 5.15.0-76-generic x86_64)
=================================================================
System Settings
=================================================================
System uname: Linux-5.15.0-76-generic-x86_64-AMD_A10-9620P_RADEON_R5,_10_COMPUTE_CORES_4C+6G-with-glibc2.38
KiB Mem: 7558464 total, 2667608 free
KiB Swap: 8516604 total, 7730428 free
Timestamp of repository gentoo: Tue, 19 Sep 2023 10:30:01 +0000
Head commit of repository gentoo: 4581536676782a36961997a98b63830f1791a710
Head commit of repository monero: 381d4336e417575a55011420e7f7d3d7dbf86518
Timestamp of repository palemoon: Thu, 14 Sep 2023 14:16:43 +0000
Head commit of repository palemoon: a2f06a48b0d726808550b8d65126502306329f6c
Timestamp of repository pentoo: Tue, 19 Sep 2023 01:01:35 +0000
Head commit of repository pentoo: 392af78985afa58a2f802096531bd4ccf0722ceb
Timestamp of repository zugaina: Fri, 16 Jun 2023 08:32:15 +0000
Head commit of repository zugaina: a31fcec20b159a13ccd069d4e13b92d18bc0ffec
sh bash 5.1_p16-r6
ld GNU ld (Gentoo 2.40 p5) 2.40.0
app-misc/pax-utils: 1.3.7::gentoo
app-shells/bash: 5.1_p16-r6::gentoo
dev-java/java-config: 2.3.1-r1::gentoo
dev-lang/perl: 5.38.0-r1::gentoo
dev-lang/python: 2.7.18_p16-r1::gentoo, 3.11.5::gentoo, 3.12.0_rc2_p1-r1::gentoo
dev-lang/rust: 1.72.0::gentoo
dev-util/cmake: 3.27.4-r1::gentoo
dev-util/meson: 1.1.1::gentoo
sec-policy/selinux-base: 2.20221101-r4::gentoo
sys-apps/baselayout: 2.14::gentoo
sys-apps/openrc: 0.48::gentoo
sys-apps/sandbox: 2.37::gentoo
sys-devel/autoconf: 2.13-r8::gentoo, 2.71-r6::gentoo
sys-devel/automake: 1.16.5-r1::gentoo
sys-devel/binutils: 2.40-r5::gentoo, 2.41-r1::gentoo
sys-devel/binutils-config: 5.5::gentoo
sys-devel/clang: 16.0.6::gentoo
sys-devel/gcc: 12.3.1_p20230526::gentoo, 13.2.1_p20230826::gentoo
sys-devel/gcc-config: 2.11::gentoo
sys-devel/libtool: 2.4.7-r1::gentoo
sys-devel/lld: 16.0.6::gentoo
sys-devel/llvm: 16.0.6::gentoo
sys-devel/make: 4.4.1-r1::gentoo
sys-kernel/linux-headers: 6.1::gentoo (virtual/os-headers)
sys-libs/glibc: 2.38-r1::gentoo
sys-libs/libselinux: 3.5-r1::gentoo
Repositories:
gentoo
location: /var/db/repos/gentoo
sync-type: rsync
sync-uri: rsync://rsync.gentoo.org/gentoo-portage
priority: -1000
volatile: False
sync-rsync-extra-opts:
sync-rsync-verify-max-age: 24
sync-rsync-verify-jobs: 1
sync-rsync-verify-metamanifest: yes
monero
location: /var/db/repos/monero
sync-type: git
sync-uri: https://github.com/gentoo-monero/gentoo-monero.git
masters: gentoo
volatile: False
palemoon
location: /var/db/repos/palemoon
sync-type: git
sync-uri: https://github.com/gentoo-mirror/palemoon.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
zugaina
location: /var/db/repos/zugaina
sync-type: git
sync-uri: https://github.com/gentoo-mirror/zugaina.git
masters: gentoo
volatile: False
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=native"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /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/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="-O2 -pipe -march=native"
DISTDIR="/var/cache/distfiles"
EMERGE_DEFAULT_OPTS="--jobs=1 --load-average=1"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GDK_PIXBUF_MODULE_FILE GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR XDG_STATE_HOME"
FCFLAGS="-O2 -pipe -march=native"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg buildpkg-live candy collision-protect config-protect-if-modified distlocks downgrade-backup ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch parallel-install preserve-libs protect-owned qa-unresolved-soname-deps sandbox selinux sesandbox sfperms sign strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe -march=native"
GENTOO_MIRRORS="https://repo.ifca.es/gentoo-distfiles https://ftp.rnl.tecnico.ulisboa.pt/pub/gentoo/gentoo-distfiles/ http://ftp.rnl.tecnico.ulisboa.pt/pub/gentoo/gentoo-distfiles/"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LEX="flex"
MAKEOPTS="-j1 -l1"
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="acl alsa amd64 audit bzip2 caps cet clamav cli contrib crypt daemon donate dri elogind fortran gcc gdbm git gtk2 hardened hwloc iconv ipv6 java libtirpc luatex lvm multilib ncurses nls nptl numa opencl openmp pam pcre perl pie pipewire radeon readline seccomp selinux sound-server split-usr ssl ssp sync-plugin-portage systemsqlite test-rust trypandoc udev unicode usb vhost-net virtfs x xattr xtpax zlib zstd" ABI_X86="64" ADA_TARGET="gnat_2021" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2" 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="pc" INPUT_DEVICES="evdev synaptics keyboard mouse" 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="php8-1" POSTGRES_TARGETS="postgres15" PYTHON_SINGLE_TARGET="python3_11" PYTHON_TARGETS="python3_11" RUBY_TARGETS="ruby31" VIDEO_CARDS="radeonsi" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq proto steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset: ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LFLAGS, LIBTOOL, LINGUAS, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS
|
Code: | mint / # emerge -pqv '=net-p2p/monero-0.17.3.0-r1::monero'
* IMPORTANT: 4 config files in '/etc/portage' need updating.
* See the CONFIGURATION FILES and CONFIGURATION FILES UPDATE TOOLS
* sections of the emerge man page to learn how to update config files.
[ebuild N ] net-p2p/monero-0.17.3.0-r1 USE="daemon readline wallet-cli wallet-rpc -hw-wallet -tools"
* IMPORTANT: 1 news items need reading for repository 'gentoo'.
* Use eselect news read to view new items.
|
Here's the log
Thanks! _________________ Illegitimi non carborundum.
Last edited by Torpus on Wed Sep 20, 2023 7:49 pm; edited 1 time in total |
|
Back to top |
|
|
sam_ Developer
Joined: 14 Aug 2020 Posts: 1939
|
Posted: Tue Sep 19, 2023 3:20 pm Post subject: |
|
|
Misisng include. Per the log:
Quote: |
[...]
/var/tmp/portage/net-p2p/monero-0.17.3.0-r1/work/monero-0.17.3.0/src/common/threadpool.h:92:10: error: ‘deque’ in namespace ‘std’ does not name a template type
92 | std::deque<entry> queue;
| ^~~~~
/var/tmp/portage/net-p2p/monero-0.17.3.0-r1/work/monero-0.17.3.0/src/common/threadpool.h:33:1: note: ‘std::deque’ is defined in header ‘<deque>’; did you forget to ‘#include <deque>’?
32 | #include <boost/thread/thread.hpp>
+++ |+#include <deque>
33 | #include <cstddef>
[...]
|
|
|
Back to top |
|
|
Torpus Apprentice
Joined: 20 Aug 2023 Posts: 184
|
Posted: Tue Sep 19, 2023 4:03 pm Post subject: |
|
|
sam_,
I've seen that this was a C++ library issue. I searched for similar issues online and people said that the line you mentioned should be added to httpserver.cpp or something. But I have no idea where that file lies especially when I still have root as the sole user. _________________ Illegitimi non carborundum. |
|
Back to top |
|
|
sam_ Developer
Joined: 14 Aug 2020 Posts: 1939
|
|
Back to top |
|
|
sMueggli Guru
Joined: 03 Sep 2022 Posts: 481
|
Posted: Tue Sep 19, 2023 4:28 pm Post subject: Re: Failed to emerge net-p2p/monero-0.17.3.0-r1 |
|
|
Torpus wrote: | I'm trying to install Monero from their official overlay (monero), but emerge keeps failing at compiling the package. |
I do not have the impression that the overlay is still maintained. The Github repository is archived: https://github.com/gentoo-monero/gentoo-monero |
|
Back to top |
|
|
Torpus Apprentice
Joined: 20 Aug 2023 Posts: 184
|
Posted: Tue Sep 19, 2023 5:33 pm Post subject: |
|
|
sam_,
Apparently the patch fixed the issue by looking at the log again, yet compilation still fails (possibly some other bug).
Here's the new log.
sMueggli,
I think it should work despite it's archived. The Monero package existed in the GURU repository as well but compilation didn't work from there either and possibly there were the same issues.
Monero should exist on Gentoo. I mean it kind of doesn't make sense when one of 1337's favorite crypto couldn't be available on Gentoo. _________________ Illegitimi non carborundum. |
|
Back to top |
|
|
sam_ Developer
Joined: 14 Aug 2020 Posts: 1939
|
Posted: Tue Sep 19, 2023 5:55 pm Post subject: |
|
|
Quote: |
/usr/libexec/gcc/x86_64-pc-linux-gnu/ld: /usr/lib64/libboost_program_options.so: undefined reference to `std::ios_base_library_init()@GLIBCXX_3.4.32'
collect2: error: ld returned 1 exit status
|
Are you trying to build Monero using an older GCC than you used to build Boost? |
|
Back to top |
|
|
Torpus Apprentice
Joined: 20 Aug 2023 Posts: 184
|
Posted: Tue Sep 19, 2023 7:48 pm Post subject: |
|
|
sam_,
Yeah, I downgraded to GCC 12 because I had to compile another package before which had a bug with GCC 13. Now I'm given literally the same error even after switching to GCC 13 with eselect. I tried compiling with Clang, didn't work either.
This is part of the log after trying to compile with GCC 13:
Code: | FAILED: bin/monero-wallet-rpc
: && /usr/bin/x86_64-pc-linux-gnu-g++ -O2 -pipe -march=native -pthread -maes -march=native -fno-strict-aliasing -D_GNU_SOURCE -Wall -Wextra -Wpointer-arith -Wundef -Wvla -Wwrite-strings -Wno-error=extra -Wno-error=deprecated-declarations -Wno-unused-parameter -Wno-unused-variable -Wno-error=unused-variable -Wno-error=undef -Wno-error=uninitialized -Wlogical-op -Wno-error=maybe-uninitialized -Wno-error=cpp -Wno-reorder -Wno-missing-field-initializers -fPIC -Wformat -Wformat-security -fstack-protector -fstack-protector-strong -fcf-protection=full -fstack-clash-protection -fno-strict-aliasing -ftemplate-depth=900 -Wl,-O1 -Wl,--as-needed -pie -Wl,-z,relro -Wl,-z,now -Wl,-z,noexecstack src/wallet/CMakeFiles/wallet_rpc_server.dir/wallet_rpc_server.cpp.o -o bin/monero-wallet-rpc /usr/lib64/librt.a -ldl lib/libwallet.a src/rpc/librpc_base.a src/cryptonote_core/libcryptonote_core.a src/crypto/libcncrypto.a src/common/libcommon.a src/libversion.a src/daemonizer/libdaemonizer.a contrib/epee/src/libepee_readline.a /usr/lib64/libboost_chrono.so /usr/lib64/libboost_program_options.so /usr/lib64/libboost_filesystem.so /usr/lib64/libboost_thread.so /usr/lib64/librt.a -ldl src/blockchain_db/libblockchain_db.a src/hardforks/libhardforks.a src/multisig/libmultisig.a src/ringct/libringct.a src/cryptonote_basic/libcryptonote_basic.a src/device/libdevice.a src/libversion.a src/ringct/libringct_basic.a src/crypto/wallet/libwallet-crypto.a src/blocks/libblocks.a src/cryptonote_basic/libcryptonote_format_utils_basic.a src/checkpoints/libcheckpoints.a src/mnemonics/libmnemonics.a src/device_trezor/libdevice_trezor.a src/net/libnet.a /usr/lib64/libzmq.so external/db_drivers/liblmdb/liblmdb.a /usr/lib64/libboost_serialization.so src/common/libcommon.a src/crypto/libcncrypto.a contrib/epee/src/libepee.a external/randomx/librandomx.a /usr/lib64/libsodium.so /usr/lib64/libunbound.so /usr/lib64/libboost_regex.so /usr/lib64/libboost_date_time.so /usr/lib64/libboost_thread.so /usr/lib64/libssl.so /usr/lib64/libcrypto.so /usr/lib64/libboost_chrono.so /usr/lib64/libboost_program_options.so /usr/lib64/libboost_filesystem.so /usr/lib64/librt.a -ldl /usr/lib64/libboost_system.so external/easylogging++/libeasylogging.a -lreadline && :
/usr/libexec/gcc/x86_64-pc-linux-gnu/ld: /usr/lib64/libboost_program_options.so: undefined reference to `std::ios_base_library_init()@GLIBCXX_3.4.32'
collect2: error: ld returned 1 exit status
[265/267] /usr/bin/x86_64-pc-linux-gnu-g++ -DAUTO_INITIALIZE_EASYLOGGINGPP -DBLOCKCHAIN_DB=DB_LMDB -DDEFAULT_DB_TYPE=\"lmdb\" -DHAVE_EXPLICIT_BZERO -DHAVE_READLINE -DHAVE_STRPTIME -DMINIUPNP_STATICLIB -DPER_BLOCK_CHECKPOINT -DSTACK_TRACE -I/var/tmp/portage/net-p2p/monero-0.17.3.0-r1/work/monero-0.17.3.0/external/rapidjson/include -I/var/tmp/portage/net-p2p/monero-0.17.3.0-r1/work/monero-0.17.3.0/external/easylogging++ -I/var/tmp/portage/net-p2p/monero-0.17.3.0-r1/work/monero-0.17.3.0/src -I/var/tmp/portage/net-p2p/monero-0.17.3.0-r1/work/monero-0.17.3.0/contrib/epee/include -I/var/tmp/portage/net-p2p/monero-0.17.3.0-r1/work/monero-0.17.3.0/external -I/var/tmp/portage/net-p2p/monero-0.17.3.0-r1/work/monero-0.17.3.0/external/supercop/include -I/var/tmp/portage/net-p2p/monero-0.17.3.0-r1/work/monero-0.17.3.0_build/generated_include -I/var/tmp/portage/net-p2p/monero-0.17.3.0-r1/work/monero-0.17.3.0_build/translations -I/var/tmp/portage/net-p2p/monero-0.17.3.0-r1/work/monero-0.17.3.0/external/db_drivers/liblmdb -I/var/tmp/portage/net-p2p/monero-0.17.3.0-r1/work/monero-0.17.3.0/contrib/epee/src -O2 -pipe -march=native -pthread -maes -march=native -fno-strict-aliasing -D_GNU_SOURCE -Wall -Wextra -Wpointer-arith -Wundef -Wvla -Wwrite-strings -Wno-error=extra -Wno-error=deprecated-declarations -Wno-unused-parameter -Wno-unused-variable -Wno-error=unused-variable -Wno-error=undef -Wno-error=uninitialized -Wlogical-op -Wno-error=maybe-uninitialized -Wno-error=cpp -Wno-reorder -Wno-missing-field-initializers -fPIC -Wformat -Wformat-security -fstack-protector -fstack-protector-strong -fcf-protection=full -fstack-clash-protection -fno-strict-aliasing -ftemplate-depth=900 -std=c++14 -MD -MT src/daemon/CMakeFiles/daemon.dir/rpc_command_executor.cpp.o -MF src/daemon/CMakeFiles/daemon.dir/rpc_command_executor.cpp.o.d -o src/daemon/CMakeFiles/daemon.dir/rpc_command_executor.cpp.o -c /var/tmp/portage/net-p2p/monero-0.17.3.0-r1/work/monero-0.17.3.0/src/daemon/rpc_command_executor.cpp
...
|
I don't know what's happening _________________ Illegitimi non carborundum. |
|
Back to top |
|
|
Zucca Moderator
Joined: 14 Jun 2007 Posts: 3678 Location: Rasi, Finland
|
Posted: Tue Sep 19, 2023 8:05 pm Post subject: |
|
|
Why is linker even finding reference to ios_base_library_init() on Linux? Or does 'ios' in this context mean something else than Apple mobile OS. _________________ ..: Zucca :..
Gentoo IRC channels reside on Libera.Chat.
--
Quote: | I am NaN! I am a man! |
|
|
Back to top |
|
|
GDH-gentoo Veteran
Joined: 20 Jul 2019 Posts: 1674 Location: South America
|
Posted: Tue Sep 19, 2023 8:07 pm Post subject: |
|
|
Torpus wrote: | Now I'm given literally the same error even after switching to GCC 13 with eselect. |
Double check in that same build log that GCC 13.2.1 is really being used.
Code: | -- The CXX compiler identification is GNU xxx |
Your Boost seems to be linked to the libstdc++ from that version of GCC.
EDIT: Zucca wrote: | Why is linker even finding reference to ios_base_library_init() on Linux? Or does 'ios' in this context mean something else than Apple mobile OS. |
Yes, it references a function in GCC's implementation of the standard C++ library. _________________
NeddySeagoon wrote: | I'm not a witch, I'm a retired electronics engineer |
Ionen wrote: | As a packager I just don't want things to get messier with weird build systems and multiple toolchains requirements though |
|
|
Back to top |
|
|
Torpus Apprentice
Joined: 20 Aug 2023 Posts: 184
|
Posted: Tue Sep 19, 2023 8:24 pm Post subject: |
|
|
@Zucca
Well, I absolutely don't want Apple here since I don't need it, I even disabled the ios USE flag a long time ago but maybe I had to emerge monero with USE="-ios" before the emerge command. Not sure if it'll work though.
edit: it doesn't and still gives the SAME error
@GDH-gentoo
Code: | -- The C compiler identification is GNU 13.2.1
-- The CXX compiler identification is GNU 13.2.1 |
Yes it is GCC 13.
Quote: | Your Boost seems to be linked to the libstdc++ from that version of GCC. |
I've no idea what you just said.. [/quote] _________________ Illegitimi non carborundum. |
|
Back to top |
|
|
The Main Man Veteran
Joined: 27 Nov 2014 Posts: 1171 Location: /run/user/1000
|
Posted: Wed Sep 20, 2023 1:15 pm Post subject: |
|
|
Have you tried to emerge latest version 18.2.2 ?
I'm not sure (can't remember) , but I think it wanted me to force the latest version of monero ( by monero-gui ) |
|
Back to top |
|
|
Torpus Apprentice
Joined: 20 Aug 2023 Posts: 184
|
Posted: Wed Sep 20, 2023 4:14 pm Post subject: |
|
|
@The Main Man
I just tried doing that with this new version from the GURU repository which isn't archived. It gave me the same error.
Some other packages failed to emerge because of that same error.
Code: | /usr/libexec/gcc/x86_64-pc-linux-gnu/ld: /usr/lib64/libboost_program_options.so: undefined reference to `std::ios_base_library_init()@GLIBCXX_3.4.32'
collect2: error: ld returned 1 exit status |
When I Googled it people said that the C++ library might be missing (they probably said other things in non-Gentoo forums but there was tons of C code where I didn't get it). I literally installed the GNU one and the LLVM one yet I encounter the same issue AGAIN.
In either way, CMake seems to be the one that tried doing most of the work. At the beginning of compilation I get this warning repeating itself so many times:
Code: | CMake Warning at /usr/share/cmake/Modules/FindBoost.cmake:1384 (message):
New Boost version may have incorrect or missing dependencies and imported
targets
Call Stack (most recent call first):
/usr/share/cmake/Modules/FindBoost.cmake:1509 (_Boost_COMPONENT_DEPENDENCIES)
/usr/share/cmake/Modules/FindBoost.cmake:2120 (_Boost_MISSING_DEPENDENCIES)
CMakeLists.txt:1078 (find_package) |
It might give you a clue.
You can guys ask me to post anything to see what's happening there... _________________ Illegitimi non carborundum. |
|
Back to top |
|
|
GDH-gentoo Veteran
Joined: 20 Jul 2019 Posts: 1674 Location: South America
|
Posted: Wed Sep 20, 2023 6:20 pm Post subject: |
|
|
Since at this point everything is pointing at problems with Boost, maybe it's time for a:
Code: | # emerge --oneshot dev-libs/boost | (with GCC 13.2.1) _________________
NeddySeagoon wrote: | I'm not a witch, I'm a retired electronics engineer |
Ionen wrote: | As a packager I just don't want things to get messier with weird build systems and multiple toolchains requirements though |
|
|
Back to top |
|
|
grknight Retired Dev
Joined: 20 Feb 2015 Posts: 1896
|
Posted: Wed Sep 20, 2023 6:34 pm Post subject: |
|
|
Honestly if there continues to be issues with gcc's libstdc++ with v13, I would recommend running revdep-rebuild --library libstdc++.so.6 for things to become consistent.
Yes, it may be a bit heavy handed, but ABIs can break between gcc versions sometimes. |
|
Back to top |
|
|
Torpus Apprentice
Joined: 20 Aug 2023 Posts: 184
|
Posted: Wed Sep 20, 2023 7:48 pm Post subject: |
|
|
GDH-gentoo,
OMG it worked now!!!
Thank you so much! _________________ Illegitimi non carborundum. |
|
Back to top |
|
|
|
|
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
|
|