Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
networkmanager fails to update during ninja compilation
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
kickhead13
n00b
n00b


Joined: 22 Jun 2024
Posts: 26
Location: /home/ana

PostPosted: Wed Jul 17, 2024 8:32 pm    Post subject: networkmanager fails to update during ninja compilation Reply with quote

yeah the title says it all

emerge --info '=net-misc/networkmanager-1.48.4::gentoo':
Code:

Portage 3.0.65 (python 3.12.4-final-0, default/linux/amd64/23.0/desktop, gcc-13, glibc-2.39-r9, 6.9.8-gentoo-dist x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-6.9.8-gentoo-dist-x86_64-Intel-R-_Core-TM-_i5-8250U_CPU_@_1.60GHz-with-glibc2.39
KiB Mem:     8003536 total,   3613976 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Wed, 17 Jul 2024 14:00:00 +0000
Head commit of repository gentoo: c326625875a3a0c543abdfd0754732cf8346168d
Timestamp of repository guru: Wed, 17 Jul 2024 12:03:53 +0000
Head commit of repository guru: cc9263f6952120a55867bbc6a9c756afb747b5b7

Timestamp of repository steam-overlay: Mon, 15 Jul 2024 07:34:33 +0000
Head commit of repository steam-overlay: 8cfcc3f068b712dce3d91d3020afb058f68aa036

Timestamp of repository torbrowser: Tue, 16 Jul 2024 09:34:10 +0000
Head commit of repository torbrowser: ac21517e34501966f751877b71f0c156a996e684

sh bash 5.2_p26-r8
ld GNU ld (Gentoo 2.42 p6) 2.42.0
app-misc/pax-utils:        1.3.7::gentoo
app-shells/bash:           5.2_p26-r8::gentoo
dev-build/autoconf:        2.71-r7::gentoo, 2.72-r1::gentoo
dev-build/automake:        1.16.5-r2::gentoo, 1.17-r1::gentoo
dev-build/cmake:           3.30.0::gentoo
dev-build/libtool:         2.4.7-r4::gentoo
dev-build/make:            4.4.1-r1::gentoo
dev-build/meson:           1.5.0::gentoo
dev-java/java-config:      2.3.4::gentoo
dev-lang/perl:             5.40.0::gentoo
dev-lang/python:           3.12.4_p2::gentoo, 3.13.0_beta3_p1::gentoo
dev-lang/rust-bin:         1.79.0::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::gentoo
sys-devel/clang:           17.0.6::gentoo, 18.1.8::gentoo
sys-devel/gcc:             13.2.1_p20240210::gentoo, 14.1.1_p20240622::gentoo
sys-devel/gcc-config:      2.11::gentoo
sys-devel/llvm:            17.0.6-r2::gentoo, 18.1.8::gentoo
sys-kernel/linux-headers:  6.9::gentoo (virtual/os-headers)
sys-libs/glibc:            2.39-r9::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-verify-max-age: 3
    sync-rsync-verify-jobs: 1
    sync-rsync-extra-opts:
    sync-rsync-verify-metamanifest: yes

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

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

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

Binary Repositories:

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

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=native -mtune=generic"
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"
CXXFLAGS="-O2 -pipe -march=native -mtune=generic"
DISTDIR="/var/cache/distfiles"
EMERGE_DEFAULT_OPTS="--jobs=4 --load-average=6"
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 -mtune=generic"
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 preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe -march=native -mtune=generic"
GENTOO_MIRRORS="http://ftp.romnet.org/gentoo/ https://mirror.leaseweb.com/gentoo/ https://gentoo.osuosl.org/"
LANG="C.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs"
LEX="flex"
MAKEOPTS="-j4 -l8"
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 bluetooth branding bzip2 cairo cdda cet crypt cups dbus dist-kernel dracut dri dts elogind encode exif flac gdbm gif gpm gtk gtk2 gtk3 gui iconv icu ipv6 jpeg kf6compat lcms libnotify libtirpc mad mng mp3 mp4 mpeg multilib ncurses nls ogg opengl openmp pam pango pcre pdf png policykit ppds pulseaudio qt5 racut readline sdl seccomp sound spell ssl startup-notification svg test-rust threads tiff tkip truetype udev udisks unicode upower usb vorbis vulkan wifi wxwidgets x264 xattr xcb xft xml xv xvid zlib" ABI_X86="64 32" 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 mtk3301 ntrip navcom oceanserver oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 tsip tripmate tnt ublox" 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="postgres15" PYTHON_SINGLE_TARGET="python3_12" PYTHON_TARGETS="python3_12" RUBY_TARGETS="ruby31 ruby32" VIDEO_CARDS="nvidia intel" 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, 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, PYTHONPATH, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS


emerge -pqv '=net-misc/networkmanager-1.48.4::gentoo':
Code:

 * IMPORTANT: 8 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     U ] net-misc/networkmanager-1.48.4 [1.46.0-r1] USE="bluetooth concheck elogind gtk-doc introspection modemmanager nss policykit ppp tools wext wifi -audit -connection-sharing -debug -dhclient -dhcpcd -gnutls -iptables -iwd -libedit -nftables -ofono -ovs -psl -resolvconf (-selinux) -syslog -systemd -teamd -test -vala" ABI_X86="32 (64) (-x32)"

 * IMPORTANT: 23 news items need reading for repository 'gentoo'.
 * Use eselect news read to view new items.


cat /var/tmp/portage/net-misc/networkmanager-1.48.4/temp/build.log (the part where the error pops up):
Code:

[599/716] x86_64-pc-linux-gnu-gcc -m32 -mfpmath=sse -Isrc/libnmc-setting/libnmc-setting.a.p -Isrc/libnmc-setting -I../NetworkManager-1.48.4/src/libnmc-setting -Isrc/libnm-core-public -I../NetworkManager-1.48.4/src/libnm-core-public -Isrc -I../NetworkManager-1.48.4/src -I. -I../NetworkManager-1.48.4 -Isrc/libnm-client-public -I../NetworkManager-1.48.4/src/libnm-client-public -I/usr/include/gio-unix-2.0 -I/usr/lib/libffi/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libmount -I/usr/include/blkid -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wcast-align=strict -Wdeclaration-after-statement -Wfloat-equal -Wformat-nonliteral -Wformat-security -Wimplicit-function-declaration -Wimplicit-int -Winit-self -Wint-conversion -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wold-style-definition -Wpointer-arith -Wshadow -Wshift-negative-value -Wstrict-prototypes -Wundef -Wvla -Wno-duplicate-decl-specifier -Wno-format-truncation -Wno-format-y2k -Wno-missing-field-initializers -Wno-pragmas -Wno-sign-compare -Wno-unknown-pragmas -Wno-unused-parameter -fno-strict-aliasing -Wimplicit-fallthrough -O2 -pipe -march=native -mtune=generic -fPIC -pthread -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_42 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_42 -MD -MQ src/libnmc-setting/libnmc-setting.a.p/nm-meta-setting-desc.c.o -MF src/libnmc-setting/libnmc-setting.a.p/nm-meta-setting-desc.c.o.d -o src/libnmc-setting/libnmc-setting.a.p/nm-meta-setting-desc.c.o -c ../NetworkManager-1.48.4/src/libnmc-setting/nm-meta-setting-desc.c
ninja: build stopped: subcommand failed.
 * ERROR: net-misc/networkmanager-1.48.4::gentoo failed (compile phase):
 *   ninja -v -j4 -l8 failed
 *
 * Call stack:
 *     ebuild.sh, line  136:  Called src_compile
 *   environment, line 4153:  Called meson-multilib_src_compile
 *   environment, line 2593:  Called multilib-minimal_src_compile
 *   environment, line 2795:  Called multilib_foreach_abi 'multilib-minimal_abi_src_compile'
 *   environment, line 3062:  Called multibuild_foreach_variant '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_compile'
 *   environment, line 2755:  Called _multibuild_run '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_compile'
 *   environment, line 2753:  Called _multilib_multibuild_wrapper 'multilib-minimal_abi_src_compile'
 *   environment, line  646:  Called multilib-minimal_abi_src_compile
 *   environment, line 2789:  Called multilib_src_compile
 *   environment, line 3282:  Called meson_src_compile
 *   environment, line 2668:  Called eninja
 *   environment, line 1747:  Called die
 * The specific snippet of code:
 *       "$@" || die -n "${*} failed"
 *
 * If you need support, post the output of `emerge --info '=net-misc/networkmanager-1.48.4::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=net-misc/networkmanager-1.48.4::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/net-misc/networkmanager-1.48.4/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-misc/networkmanager-1.48.4/temp/environment'.
 * Working directory: '/var/tmp/portage/net-misc/networkmanager-1.48.4/work/NetworkManager-1.48.4-abi_x86_32.x86'
 * S: '/var/tmp/portage/net-misc/networkmanager-1.48.4/work/NetworkManager-1.48.4'


any idea what this could be?
Back to top
View user's profile Send private message
kickhead13
n00b
n00b


Joined: 22 Jun 2024
Posts: 26
Location: /home/ana

PostPosted: Wed Jul 17, 2024 8:38 pm    Post subject: Reply with quote

Keep in mind: today I've updated wpa_supplicant with new USE flag tkip since it was suggested as a solution for a problem I had with my home WI-FI. As per this forum post:
https://forums.gentoo.org/viewtopic-t-1169993.html

After that, i tried to update system wide and got this.
Back to top
View user's profile Send private message
Hu
Administrator
Administrator


Joined: 06 Mar 2007
Posts: 22325

PostPosted: Wed Jul 17, 2024 9:54 pm    Post subject: Reply with quote

Strictly speaking, adding TKIP is an undesirable workaround for a badly configured router, not a solution.

As for your current problem, it looks like the compilation failed. If you need more specific help, please follow the instructions that Portage showed when it failed, which you quoted.
Back to top
View user's profile Send private message
eschwartz
Developer
Developer


Joined: 29 Oct 2023
Posts: 125

PostPosted: Wed Jul 17, 2024 10:56 pm    Post subject: Re: networkmanager fails to update during ninja compilation Reply with quote

kickhead13 wrote:
cat /var/tmp/portage/net-misc/networkmanager-1.48.4/temp/build.log (the part where the error pops up):


Regrettably, this turns out in the end to NOT be the part where the error pops up.

It is the part where, several lines after the error pops up, a final summary is shown, wherein it says "previously, an error occurred. To see the actual error, scroll up. Also, we are ceasing any more work".


There are two options so that we can continue helping you debug the problem further.

Option 1: if in doubt, post the entire build.log and let someone else figure out which exact parts of it are relevant.

Option 2: figure out which parts of it are relevant, and post the exact lines which are relevant, without the lines that aren't relevant.


Note: option 2 is an "extra-advanced expert mode" of of a help forum process. It is strongly advised to only use the extra-advanced expert mode if you are absolutely sure you are fully familiar with the entire extra-advanced expert mode.
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