Created attachment 913029 [details] Build Log Networkmanager fail compile on no-multilip profile 49 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' laptop compiles net-misc/networkmanager-1.48.10-r1 O.K.
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); | ^~~~~~~~~~~~~~~~~~~~~ Not related to multilib.
tosh ~/Desktop # emerge --info Portage 3.0.66.1 (python 3.12.7-final-0, default/linux/amd64/23.0/split-usr/no-multilib, gcc-14, glibc-2.40-r5, 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.40 KiB Mem: 8032464 total, 7601396 free KiB Swap: 12582908 total, 12582908 free Timestamp of repository gentoo: Sun, 01 Dec 2024 19:45:00 +0000 Head commit of repository gentoo: cf123d8825d486e07fd4c5bfd7e1360f556d3f8d sh bash 5.2_p37 ld GNU ld (Gentoo 2.43 p3) 2.43.1 app-misc/pax-utils: 1.3.8::gentoo app-shells/bash: 5.2_p37::gentoo dev-build/autoconf: 2.13-r8::gentoo, 2.72-r1::gentoo dev-build/automake: 1.16.5-r2::gentoo dev-build/cmake: 3.30.5::gentoo dev-build/libtool: 2.4.7-r4::gentoo dev-build/make: 4.4.1-r100::gentoo dev-build/meson: 1.5.2::gentoo dev-lang/perl: 5.40.0::gentoo dev-lang/python: 3.12.7_p1::gentoo, 3.13.0::gentoo dev-lang/rust-bin: 1.81.0-r100::gentoo sys-apps/baselayout: 2.17::gentoo sys-apps/openrc: 0.54.2::gentoo sys-apps/sandbox: 2.39::gentoo sys-devel/binutils: 2.43-r2::gentoo sys-devel/binutils-config: 5.5.2::gentoo sys-devel/clang: 18.1.8::gentoo sys-devel/gcc: 14.2.1_p20241116::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.40-r5::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-max-age: 24 sync-rsync-verify-jobs: 1 sync-rsync-verify-metamanifest: yes sync-rsync-extra-opts: 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 /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" 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
Changed USE flags. from: net-misc/networkmanager -ppp to: net-misc/networkmanager -modemmanager -ppp gnome-extra/nm-applet -modemmanager
It's still a bug if it doesn't compile.
It compiles and works with the Changed USE flags. from: net-misc/networkmanager -ppp to: net-misc/networkmanager -modemmanager -ppp gnome-extra/nm-applet -modemmanager