Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Networkmanager failes complile on pure amd64
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
C5ace
Guru
Guru


Joined: 23 Dec 2013
Posts: 485
Location: Brisbane, Australia

PostPosted: Sun Dec 01, 2024 8:44 am    Post subject: Networkmanager failes complile on pure amd64 Reply with quote

I am trying to update a laptop with net-misc/networkmanager-1.46.0-r1 installed.
Networkmanager-1.48.10-r1 fails on compile because the laptop has no-multilib profile. I.e. pure 64bit. Works and recompliles fine with currently installed version (net-misc/networkmanager-1.46.0-r1)

Big question: Does the latest version of net-misc/networkmanager require a multilib profile?

Code:
 * ERROR: net-misc/networkmanager-1.48.10-r1::gentoo failed (compile phase):
 *   ninja -v -j32 -l0 failed
 *
 * Call stack:
 *     ebuild.sh, line  136:  Called src_compile
 *   environment, line 4205:  Called meson-multilib_src_compile
 *   environment, line 2636:  Called multilib-minimal_src_compile
 *   environment, line 2838:  Called multilib_foreach_abi 'multilib-minimal_abi_src_compile'
 *   environment, line 3105:  Called multibuild_foreach_variant '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_compile'
 *   environment, line 2798:  Called _multibuild_run '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_compile'
 *   environment, line 2796:  Called _multilib_multibuild_wrapper 'multilib-minimal_abi_src_compile'
 *   environment, line  655:  Called multilib-minimal_abi_src_compile
 *   environment, line 2832:  Called multilib_src_compile
 *   environment, line 3325:  Called meson_src_compile
 *   environment, line 2711:  Called eninja
 *   environment, line 1790:  Called die
 * The specific snippet of code:
 *       "$@" || die -n "${*} failed"
 *


dev-build/ninja builds on itself O.K.
>>> Completed (1 of 1) dev-build/ninja-1.12.1::gentoo

Code:
 1) net-misc/networkmanager-1.48.10-r1::gentoo
 * NetworkManager-1.48.10.tar.xz BLAKE2B SHA512 size ;-) ...                                                                                                                  [ ok ]
 * Checking whether python3_13 is suitable ...
 *   dev-lang/python:3.13 ...                                                                                                                                                 [ ok ]
 *   python_check_deps ...
 *     dev-python/pygobject:3[python_targets_python3_13(-)] ...                                                                                                               [ !! ]
 * Checking whether python3_12 is suitable ...
 *   dev-lang/python:3.12 ...                                                                                                                                                 [ ok ]
 *   python_check_deps ...
 *     dev-python/pygobject:3[python_targets_python3_12(-)] ...                                                                                                               [ ok ]
 * Using python3.12 to build (via PYTHON_COMPAT iteration)
>>> Unpacking source...
>>> Unpacking NetworkManager-1.48.10.tar.xz to /var/tmp/portage/net-misc/networkmanager-1.48.10-r1/work
>>> Source unpacked in /var/tmp/portage/net-misc/networkmanager-1.48.10-r1/work
>>> Preparing source in /var/tmp/portage/net-misc/networkmanager-1.48.10-r1/work/NetworkManager-1.48.10 ...
 * Applying networkmanager-1.48.4-fix-libsystemdless-build.patch ...                                                                                                          [ ok ]
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/net-misc/networkmanager-1.48.10-r1/work/NetworkManager-1.48.10 ...
[color=red][size=18] * abi_x86_64.amd64: running multilib-minimal_abi_src_configure[/size][/color]
meson setup -Db_lto=false --libdir lib64 --localstatedir /var/lib --prefix /usr --sysconfdir /etc --wrap-mode nodownload --build.pkg-config-path /var/tmp/portage/net-misc/networkmanager-1.48.10-r1/temp/python3.12/pkgconfig:/usr/share/pkgconfig --pkg-config-path /var/tmp/portage/net-misc/networkmanager-1.48.10-r1/temp/python3.12/pkgconfig:/usr/share/pkgconfig --native-file /var/tmp/portage/net-misc/networkmanager-1.48.10-r1/temp/meson.x86_64-pc-linux-gnu.amd64.ini -Db_pch=false -Dwerror=false -Dbuildtype=plain --localstatedir=/var -Dsystemdsystemunitdir=/lib/systemd/system -Dsystem_ca_path=/etc/ssl/certs -Dudev_dir=/lib/udev -Ddbus_conf_dir=/usr/share/dbus-1/system.d -Dkernel_firmware_dir=/lib/firmware -Diptables=/sbin/iptables -Dnft=/sbin/nft -Ddnsmasq=/usr/sbin/dnsmasq -Ddist_version=1.48.10-r1 -Dpolkit=true -Dconfig_auth_polkit_default=true -Dmodify_system=true -Dpolkit_agent_helper_1=/usr/lib/polkit-1/polkit-agent-helper-1 -Dselinux=false -Dsystemd_journal=false -Dhostname_persist=gentoo -Dlibaudit=no -Dwext=true -Dwifi=true -Diwd=false -Dppp=false -Dpppd=/usr/sbin/pppd -Dmodem_manager=true -Dofono=false -Dconcheck=true -Dteamdctl=false -Dovs=false -Dnmcli=true -Dnmtui=true -Dnm_cloud_setup=true -Dbluez5_dun=false -Debpf=false -Dconfig_wifi_backend_default=default -Dconfig_plugins_default=keyfile -Difcfg_rh=false -Difupdown=false -Dconfig_migrate_ifcfg_rh_default=false -Dresolvconf=no -Dnetconfig=no -Dconfig_dns_rc_manager_default=auto -Ddhclient=no -Ddhcpcanon=no -Ddhcpcd=no -Dintrospection=true -Dvapi=false -Ddocs=true -Dtests=no -Dfirewalld_zone=true -Dmore_asserts=0 -Dmore_logging=false -Dvalgrind=no -Dvalgrind_suppressions= -Dld_gc=false -Dlibpsl=false -Dqt=false -Dsession_tracking_consolekit=false -Dsession_tracking=elogind -Dsuspend_resume=elogind -Dconfig_logging_backend_default=default -Dconfig_dhcp_default=internal -Dcrypto=nss -Dreadline=libreadline /var/tmp/portage/net-misc/networkmanager-1.48.10-r1/work/NetworkManager-1.48.10 /var/tmp/portage/net-misc/networkmanager-1.48.10-r1/work/NetworkManager-1.48.10-abi_x86_64.amd64
The Meson build system
Version: 1.5.2
Source dir: /var/tmp/portage/net-misc/networkmanager-1.48.10-r1/work/NetworkManager-1.48.10
Build dir: /var/tmp/portage/net-misc/networkmanager-1.48.10-r1/work/NetworkManager-1.48.10-abi_x86_64.amd64
Build type: native build
Project name: NetworkManager
Project version: 1.48.10
C compiler for the host machine: x86_64-pc-linux-gnu-gcc (gcc 13.3.1 "x86_64-pc-linux-gnu-gcc (Gentoo 13.3.1_p20241025 p1) 13.3.1 20241024")
C linker for the host machine: x86_64-pc-linux-gnu-gcc ld.bfd 2.42
Host machine cpu family: x86_64
Host machine cpu: x86_64
Program perl found: YES (/usr/bin/perl)
Program xsltproc found: YES (/usr/bin/xsltproc)
Program /var/tmp/portage/net-misc/networkmanager-1.48.10-r1/work/NetworkManager-1.48.10/tools/check-exports.sh found: YES (/var/tmp/portage/net-misc/networkmanager-1.48.10-r1/work/NetworkManager-1.48.10/tools/check-exports.sh)
Has header "sys/auxv.h" : YES
Has header "threads.h" : YES.......


Code:
emerge --info
Portage 3.0.65 (python 3.12.6-final-0, default/linux/amd64/23.0/split-usr/no-multilib, gcc-13, glibc-2.39-r6, 6.6.47-gentoo x86_64)
=================================================================
System uname: Linux-6.6.47-gentoo-x86_64-Intel-R-_Pentium-R-_CPU_B970_@_2.30GHz-with-glibc2.39
KiB Mem:     8032464 total,   7553708 free
KiB Swap:   12582908 total,  12582908 free
Timestamp of repository gentoo: Sun, 01 Dec 2024 06:45:00 +0000
Head commit of repository gentoo: 611ffcb1e44bfebb32a6ad9a5cfbb00a1cc70d5e
sh bash 5.2_p37
ld GNU ld (Gentoo 2.42 p6) 2.42.0
app-misc/pax-utils:        1.3.7::gentoo
app-shells/bash:           5.2_p37::gentoo
dev-build/autoconf:        2.13-r8::gentoo, 2.71-r7::gentoo
dev-build/automake:        1.16.5-r2::gentoo
dev-build/cmake:           3.30.2::gentoo
dev-build/libtool:         2.4.7-r4::gentoo
dev-build/make:            4.4.1-r1::gentoo
dev-build/meson:           1.5.1::gentoo
dev-lang/perl:             5.40.0::gentoo
dev-lang/python:           3.12.6_p4::gentoo
dev-lang/rust-bin:         1.80.1::gentoo
sys-apps/baselayout:       2.15::gentoo
sys-apps/openrc:           0.54.2::gentoo
sys-apps/sandbox:          2.39::gentoo
sys-devel/binutils:        2.42-r2::gentoo
sys-devel/binutils-config: 5.5.2::gentoo
sys-devel/clang:           18.1.8::gentoo
sys-devel/gcc:             13.3.1_p20240614::gentoo
sys-devel/gcc-config:      2.11::gentoo
sys-devel/lld:             18.1.8::gentoo
sys-devel/llvm:            18.1.8-r1::gentoo
sys-kernel/linux-headers:  6.6-r1::gentoo (virtual/os-headers)
sys-libs/glibc:            2.39-r6::gentoo
Repositories:

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

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-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="-O2 -pipe"
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="-O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg-live 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 protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="ftp://ftp.swin.edu.au/gentoo"
LANG="en_AU.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs"
LEX="flex"
LINGUAS="en"
MAKEOPTS="-j32"
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 acl acpi alsa amd64 branding bzip2 cairo cdda cdr cet crypt cups dbus dts dvd dvdr elogind encode exif flac gdbm gif gpm gtk gui iconv icu jpeg lcms libnotify libtirpc lm_sensors mad mng mp3 mp4 mpeg ncurses nls ogg opengl openmp pam pango pcre pdf png policykit ppds readline sdl seccomp spell split-usr ssl startup-notification svg test-rust tiff truetype udev udisks unicode upower usb vorbis wxwidgets x264 xattr xcb xml xv xvid zlib" ABI_X86="64" ADA_TARGET="gcc_12" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_anon authn_dbm authn_file authz_dbm authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir env expires ext_filter file_cache filter headers include info log_config logio 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 navcom oceanserver oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 tsip tripmate tnt ublox" GRUB_PLATFORMS="pc" GUILE_SINGLE_TARGET="3-0" GUILE_TARGETS="3-0" INPUT_DEVICES="libinput" KERNEL="linux" LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php8-2" POSTGRES_TARGETS="postgres16" PYTHON_SINGLE_TARGET="python3_12" PYTHON_TARGETS="python3_12" RUBY_TARGETS="ruby32" VIDEO_CARDS="vesa" 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, LC_ALL, LD, LFLAGS, LIBTOOL, 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

_________________
Observation after 30 years working with computers:
All software has known and unknown bugs and vulnerabilities. Especially software written in complex, unstable and object oriented languages such as perl, python, C++, C#, Rust and the likes.
Back to top
View user's profile Send private message
pietinger
Moderator
Moderator


Joined: 17 Oct 2006
Posts: 5169
Location: Bavaria

PostPosted: Sun Dec 01, 2024 9:01 am    Post subject: Re: Networkmanager failes complile on pure amd64 Reply with quote

C5ace wrote:
Big question: Does the latest version of net-misc/networkmanager require a multilib profile?

No.

I guess you had an OOM (out of memory) error because you have 8 GB RAM and allow 32 threads for compiling ...
C5ace wrote:
Code:
emerge --info
...
KiB Mem:     8032464 total,   7553708 free
...
MAKEOPTS="-j32"

Change it to MAKEOPTS="-j3" and try again.
_________________
https://wiki.gentoo.org/wiki/User:Pietinger
Back to top
View user's profile Send private message
sam_
Developer
Developer


Joined: 14 Aug 2020
Posts: 1994

PostPosted: Sun Dec 01, 2024 9:13 am    Post subject: Reply with quote

Please share an untruncated build.log.
Back to top
View user's profile Send private message
logrusx
Advocate
Advocate


Joined: 22 Feb 2018
Posts: 2465

PostPosted: Sun Dec 01, 2024 9:56 am    Post subject: Re: Networkmanager failes complile on pure amd64 Reply with quote

C5ace wrote:

Code:
 * ERROR: net-misc/networkmanager-1.48.10-r1::gentoo failed (compile phase):
 *   ninja -v -j32 -l0 failed
 *
 * Call stack:
 *     ebuild.sh, line  136:  Called src_compile
 *   environment, line 4205:  Called meson-multilib_src_compile
 *   environment, line 2636:  Called multilib-minimal_src_compile
 *   environment, line 2838:  Called multilib_foreach_abi 'multilib-minimal_abi_src_compile'
 *   environment, line 3105:  Called multibuild_foreach_variant '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_compile'
 *   environment, line 2798:  Called _multibuild_run '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_compile'
 *   environment, line 2796:  Called _multilib_multibuild_wrapper 'multilib-minimal_abi_src_compile'
 *   environment, line  655:  Called multilib-minimal_abi_src_compile
 *   environment, line 2832:  Called multilib_src_compile
 *   environment, line 3325:  Called meson_src_compile
 *   environment, line 2711:  Called eninja
 *   environment, line 1790:  Called die
 * The specific snippet of code:
 *       "$@" || die -n "${*} failed"
 *



To add to Sam's replay:

This particular log is useless. It doesn't say anything about the build itself. It's not the build log, it says what functions were running in portage itself during that failure. If it was portage failure that might have been of a value, but it is a build failure. That's why Sam is asking for the full log, because listing all possible reasons is not feasible. Better provide the log rather than users guessing what may have gone wrong and play a trial and error game.

Best Regards,
Georgi
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