Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] 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: 488
Location: Brisbane, Australia

PostPosted: Sun Dec 01, 2024 8:44 am    Post subject: [SOLVED] 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.


Last edited by C5ace on Tue Dec 03, 2024 1:48 am; edited 1 time in total
Back to top
View user's profile Send private message
pietinger
Moderator
Moderator


Joined: 17 Oct 2006
Posts: 5211
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: 2017

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: 2496

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 making your helpers guess 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
C5ace
Guru
Guru


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

PostPosted: Mon Dec 02, 2024 8:00 am    Post subject: Reply with quote

Thanks for the comments:

Problem during recent upgrade of my families 3 'no-multilib' laptops :
net-misc/networkmanager-1.48.10-r1 does not compile with no-multilib profiles such as profile 49. net-misc/networkmanager-1.46.0-r1 works fine.
1 'multilib' laptops compiles net-misc/networkmanager-1.48.10-r1 O.K.

View or download:
Code:

linux.c5ace.com/build.log.xz

linux.c5ace.com/emerge_--info

linux.c5ace.com/make.conf

linux.c5ace.com/var_tmp_portage.tar.xz     (/var/temp/portage/...)

linux.c5ace.com/comment    (this file)


pietinger:
I keep a copy of each laptop's root partition on my 32 core, 64GB ram desktop. Update them and rsync the various root partitions onto the laptops. The laptops take up to 7 days to compile emerge @world. The desktop only 2 hours.

logrusx, sam:
The build log and other info can be downloaded from above URLs.
_________________
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
logrusx
Advocate
Advocate


Joined: 22 Feb 2018
Posts: 2496

PostPosted: Mon Dec 02, 2024 10:12 am    Post subject: Reply with quote

C5ace wrote:

logrusx, sam:
The build log and other info can be downloaded from above URLs.


I don't see any URLs.

Best Regards,
Georgi
Back to top
View user's profile Send private message
C5ace
Guru
Guru


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

PostPosted: Mon Dec 02, 2024 10:24 am    Post subject: Reply with quote

logrusx wrote:
C5ace wrote:

logrusx, sam:
The build log and other info can be downloaded from above URLs.


I don't see any URLs.

Best Regards,
Georgi
just type in your browser:
Quote:
linux.c5ace.com/make.conf

and so on.
_________________
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
logrusx
Advocate
Advocate


Joined: 22 Feb 2018
Posts: 2496

PostPosted: Mon Dec 02, 2024 10:34 am    Post subject: Reply with quote

I didn't even glance at those as they looked like code. Don't you think you should be a little more helpful to your helpers and not make them do unnecessary stuff?

Anyways, the real error is:

Code:
[442/913] x86_64-pc-linux-gnu-gcc -Isrc/core/devices/wwan/libnm-wwan.so.p -Isrc/core/devices/wwan -I../NetworkManager-1.48.10/src/core/devices/wwan -Isrc/core -I../NetworkManager-1.48.10/src/core -I. -I../NetworkManager-1.48.10 -Isrc/libnm-core-public -I../NetworkManager-1.48.10/src/libnm-core-public -Isrc -I../NetworkManager-1.48.10/src -I/usr/include/gio-unix-2.0 -I/usr/lib64/libffi/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/libmm-glib -I/usr/include/ModemManager -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 -fPIC -pthread -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_42 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_42 -MD -MQ src/core/devices/wwan/libnm-wwan.so.p/nm-modem-manager.c.o -MF src/core/devices/wwan/libnm-wwan.so.p/nm-modem-manager.c.o.d -o src/core/devices/wwan/libnm-wwan.so.p/nm-modem-manager.c.o -c ../NetworkManager-1.48.10/src/core/devices/wwan/nm-modem-manager.c
FAILED: src/core/devices/wwan/libnm-wwan.so.p/nm-modem-manager.c.o
x86_64-pc-linux-gnu-gcc -Isrc/core/devices/wwan/libnm-wwan.so.p -Isrc/core/devices/wwan -I../NetworkManager-1.48.10/src/core/devices/wwan -Isrc/core -I../NetworkManager-1.48.10/src/core -I. -I../NetworkManager-1.48.10 -Isrc/libnm-core-public -I../NetworkManager-1.48.10/src/libnm-core-public -Isrc -I../NetworkManager-1.48.10/src -I/usr/include/gio-unix-2.0 -I/usr/lib64/libffi/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/libmm-glib -I/usr/include/ModemManager -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 -fPIC -pthread -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_42 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_42 -MD -MQ src/core/devices/wwan/libnm-wwan.so.p/nm-modem-manager.c.o -MF src/core/devices/wwan/libnm-wwan.so.p/nm-modem-manager.c.o.d -o src/core/devices/wwan/libnm-wwan.so.p/nm-modem-manager.c.o -c ../NetworkManager-1.48.10/src/core/devices/wwan/nm-modem-manager.c
In file included from /usr/include/libmm-glib/libmm-glib.h:90,
                 from ../NetworkManager-1.48.10/src/core/devices/wwan/nm-modem-manager.c:12:
/usr/include/libmm-glib/mm-enums-types.h:172:39: error: unknown type name ‘MMCellType’
  172 | const gchar *mm_cell_type_get_string (MMCellType val);
      |                                       ^~~~~~~~~~
/usr/include/libmm-glib/mm-enums-types.h:697:61: error: unknown type name ‘MMModem3gppPacketServiceState’; did you mean ‘MMModem3gppUssdSessionState’?
  697 | const gchar *mm_modem_3gpp_packet_service_state_get_string (MMModem3gppPacketServiceState val);
      |                                                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                                             MMModem3gppUssdSessionState
/usr/include/libmm-glib/mm-enums-types.h:712:38: error: unknown type name ‘MMSimType’
  712 | const gchar *mm_sim_type_get_string (MMSimType val);
      |                                      ^~~~~~~~~
/usr/include/libmm-glib/mm-enums-types.h:727:45: error: unknown type name ‘MMSimEsimStatus’; did you mean ‘MMSimpleStatus’?
  727 | const gchar *mm_sim_esim_status_get_string (MMSimEsimStatus val);
      |                                             ^~~~~~~~~~~~~~~
      |                                             MMSimpleStatus
/usr/include/libmm-glib/mm-enums-types.h:742:46: error: unknown type name ‘MMSimRemovability’
  742 | const gchar *mm_sim_removability_get_string (MMSimRemovability val);
      |                                              ^~~~~~~~~~~~~~~~~
/usr/include/libmm-glib/mm-enums-types.h:757:50: error: unknown type name ‘MMModem3gppMicoMode’; did you mean ‘MMModem3gppUssd’?
  757 | const gchar *mm_modem_3gpp_mico_mode_get_string (MMModem3gppMicoMode val);
      |                                                  ^~~~~~~~~~~~~~~~~~~
      |                                                  MMModem3gppUssd
/usr/include/libmm-glib/mm-enums-types.h:772:50: error: unknown type name ‘MMModem3gppDrxCycle’; did you mean ‘MMModem3gppPrivate’?
  772 | const gchar *mm_modem_3gpp_drx_cycle_get_string (MMModem3gppDrxCycle val);
      |                                                  ^~~~~~~~~~~~~~~~~~~
      |                                                  MMModem3gppPrivate
/usr/include/libmm-glib/mm-enums-types.h:787:59: error: unknown type name ‘MMBearerAccessTypePreference’
  787 | const gchar *mm_bearer_access_type_preference_get_string (MMBearerAccessTypePreference val);
      |                                                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/libmm-glib/mm-enums-types.h:806:60: error: unknown type name ‘MMBearerRoamingAllowance’
  806 | gchar *mm_bearer_roaming_allowance_build_string_from_mask (MMBearerRoamingAllowance mask);
      |                                                            ^~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/libmm-glib/mm-enums-types.h:817:51: error: unknown type name ‘MMBearerProfileSource’
  817 | const gchar *mm_bearer_profile_source_get_string (MMBearerProfileSource val);
      |                                                   ^~~~~~~~~~~~~~~~~~~~~
[443/913] x86_64-pc-linux-gnu-gcc -Isrc/libnmc-base/libnmc-base.a.p -Isrc/libnmc-base -I../NetworkManager-1.48.10/src/libnmc-base -Isrc/libnm-core-public -I../NetworkManager-1.48.10/src/libnm-core-public -Isrc -I../NetworkManager-1.48.10/src -I. -I../NetworkManager-1.48.10 -Isrc/libnm-client-public -I../NetworkManager-1.48.10/src/libnm-client-public -I/usr/include/gio-unix-2.0 -I/usr/lib64/libffi/include -I/usr/include/glib-2.0 -I/usr/lib64/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 -fPIC -pthread -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_42 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_42 -MD -MQ src/libnmc-base/libnmc-base.a.p/nm-secret-agent-simple.c.o -MF src/libnmc-base/libnmc-base.a.p/nm-secret-agent-simple.c.o.d -o src/libnmc-base/libnmc-base.a.p/nm-secret-agent-simple.c.o -c ../NetworkManager-1.48.10/src/libnmc-base/nm-secret-agent-simple.c
[444/913] x86_64-pc-linux-gnu-gcc -Isrc/core/devices/wwan/libnm-wwan.so.p -Isrc/core/devices/wwan -I../NetworkManager-1.48.10/src/core/devices/wwan -Isrc/core -I../NetworkManager-1.48.10/src/core -I. -I../NetworkManager-1.48.10 -Isrc/libnm-core-public -I../NetworkManager-1.48.10/src/libnm-core-public -Isrc -I../NetworkManager-1.48.10/src -I/usr/include/gio-unix-2.0 -I/usr/lib64/libffi/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/libmm-glib -I/usr/include/ModemManager -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 -fPIC -pthread -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_42 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_42 -MD -MQ src/core/devices/wwan/libnm-wwan.so.p/nm-modem-broadband.c.o -MF src/core/devices/wwan/libnm-wwan.so.p/nm-modem-broadband.c.o.d -o src/core/devices/wwan/libnm-wwan.so.p/nm-modem-broadband.c.o -c ../NetworkManager-1.48.10/src/core/devices/wwan/nm-modem-broadband.c
FAILED: src/core/devices/wwan/libnm-wwan.so.p/nm-modem-broadband.c.o
x86_64-pc-linux-gnu-gcc -Isrc/core/devices/wwan/libnm-wwan.so.p -Isrc/core/devices/wwan -I../NetworkManager-1.48.10/src/core/devices/wwan -Isrc/core -I../NetworkManager-1.48.10/src/core -I. -I../NetworkManager-1.48.10 -Isrc/libnm-core-public -I../NetworkManager-1.48.10/src/libnm-core-public -Isrc -I../NetworkManager-1.48.10/src -I/usr/include/gio-unix-2.0 -I/usr/lib64/libffi/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/libmm-glib -I/usr/include/ModemManager -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 -fPIC -pthread -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_42 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_42 -MD -MQ src/core/devices/wwan/libnm-wwan.so.p/nm-modem-broadband.c.o -MF src/core/devices/wwan/libnm-wwan.so.p/nm-modem-broadband.c.o.d -o src/core/devices/wwan/libnm-wwan.so.p/nm-modem-broadband.c.o -c ../NetworkManager-1.48.10/src/core/devices/wwan/nm-modem-broadband.c
In file included from /usr/include/libmm-glib/libmm-glib.h:90,
                 from ../NetworkManager-1.48.10/src/core/devices/wwan/nm-modem-broadband.c:12:
/usr/include/libmm-glib/mm-enums-types.h:172:39: error: unknown type name ‘MMCellType’
  172 | const gchar *mm_cell_type_get_string (MMCellType val);
      |                                       ^~~~~~~~~~
/usr/include/libmm-glib/mm-enums-types.h:697:61: error: unknown type name ‘MMModem3gppPacketServiceState’; did you mean ‘MMModem3gppUssdSessionState’?
  697 | const gchar *mm_modem_3gpp_packet_service_state_get_string (MMModem3gppPacketServiceState val);
      |                                                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                                             MMModem3gppUssdSessionState
/usr/include/libmm-glib/mm-enums-types.h:712:38: error: unknown type name ‘MMSimType’
  712 | const gchar *mm_sim_type_get_string (MMSimType val);
      |                                      ^~~~~~~~~
/usr/include/libmm-glib/mm-enums-types.h:727:45: error: unknown type name ‘MMSimEsimStatus’; did you mean ‘MMSimpleStatus’?
  727 | const gchar *mm_sim_esim_status_get_string (MMSimEsimStatus val);
      |                                             ^~~~~~~~~~~~~~~
      |                                             MMSimpleStatus
/usr/include/libmm-glib/mm-enums-types.h:742:46: error: unknown type name ‘MMSimRemovability’
  742 | const gchar *mm_sim_removability_get_string (MMSimRemovability val);
      |                                              ^~~~~~~~~~~~~~~~~
/usr/include/libmm-glib/mm-enums-types.h:757:50: error: unknown type name ‘MMModem3gppMicoMode’; did you mean ‘MMModem3gppUssd’?
  757 | const gchar *mm_modem_3gpp_mico_mode_get_string (MMModem3gppMicoMode val);
      |                                                  ^~~~~~~~~~~~~~~~~~~
      |                                                  MMModem3gppUssd
/usr/include/libmm-glib/mm-enums-types.h:772:50: error: unknown type name ‘MMModem3gppDrxCycle’; did you mean ‘MMModem3gppPrivate’?
  772 | const gchar *mm_modem_3gpp_drx_cycle_get_string (MMModem3gppDrxCycle val);
      |                                                  ^~~~~~~~~~~~~~~~~~~
      |                                                  MMModem3gppPrivate
/usr/include/libmm-glib/mm-enums-types.h:787:59: error: unknown type name ‘MMBearerAccessTypePreference’
  787 | const gchar *mm_bearer_access_type_preference_get_string (MMBearerAccessTypePreference val);
      |                                                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/libmm-glib/mm-enums-types.h:806:60: error: unknown type name ‘MMBearerRoamingAllowance’
  806 | gchar *mm_bearer_roaming_allowance_build_string_from_mask (MMBearerRoamingAllowance mask);
      |                                                            ^~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/libmm-glib/mm-enums-types.h:817:51: error: unknown type name ‘MMBearerProfileSource’
  817 | const gchar *mm_bearer_profile_source_get_string (MMBearerProfileSource val);
      |                                                   ^~~~~~~~~~~~~~~~~~~~~


For now I think you could disable modemmanager as this looks related to it.

Best Regards,
Georgi
Back to top
View user's profile Send private message
Banana
Moderator
Moderator


Joined: 21 May 2004
Posts: 1783
Location: Germany

PostPosted: Mon Dec 02, 2024 12:23 pm    Post subject: Reply with quote

logrusx wrote:
I didn't even glance at those as they looked like code. Don't you think you should be a little more helpful to your helpers and not make them do unnecessary stuff?

The urls could have been provided as real URLs, but saying that providing the log files as links (like using a paste service) is "unnecessary stuff?", is kind of rude. So please be more friendly. Not everyone has the experience as you have and knows how things work.
_________________
Forum Guidelines

PFL - Portage file list - find which package a file or command belongs to.
My delta-labs.org snippets do expire
Back to top
View user's profile Send private message
Hu
Administrator
Administrator


Joined: 06 Mar 2007
Posts: 22796

PostPosted: Mon Dec 02, 2024 1:24 pm    Post subject: Reply with quote

I think logrusx's complaint was OP's suggestion to "just type in your browser" was making helpers "do unnecessary stuff", since OP could have provided working clickable URLs by (1) not using a code block and (2) including a protocol. OP seems to assume we would guess whether http:// or https:// is appropriate and use one of those. While it is likely one of those, OP could be doing something weird like using anonymous ftp. Including a clickable link removes any ambiguity, and makes it much more convenient for readers to retrieve the offered files.
Back to top
View user's profile Send private message
logrusx
Advocate
Advocate


Joined: 22 Feb 2018
Posts: 2496

PostPosted: Mon Dec 02, 2024 1:42 pm    Post subject: Reply with quote

Banana wrote:
The urls could have been provided as real URLs, but saying that providing the log files as links (like using a paste service) is "unnecessary stuff?", is kind of rude. So please be more friendly.


What Hu said.

Best Regards,
Georgi
Back to top
View user's profile Send private message
C5ace
Guru
Guru


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

PostPosted: Mon Dec 02, 2024 9:29 pm    Post subject: Reply with quote

I am sorry about the URLs not being links.
I tried several times to use [url]linux.c5ace.com/make.conf[/url]. Just did not work. Just found that it only works when the URL starts with http://, https://.
My website accepts URLs without http://linux.c5ace.com, https://linux.c5ace.com or linux.c5ace.com.

The matter has been resolved and fixed by changing USE flags,

from:
Code:
net-misc/networkmanager -ppp


to:
Code:
net-misc/networkmanager -modemmanager -ppp
gnome-extra/nm-applet -modemmanager


Thanks logrusx for pointing me in the right direction.
_________________
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
logrusx
Advocate
Advocate


Joined: 22 Feb 2018
Posts: 2496

PostPosted: Mon Dec 02, 2024 9:34 pm    Post subject: Reply with quote

C5ace wrote:

Code:
net-misc/networkmanager -modemmanager -ppp
gnome-extra/nm-applet -modemmanager


Thanks logrusx for pointing me in the right direction.


It's actually most likely a bug. I have all those flags enabled and it still builds fine. If you keep the logs, you may file it.

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