Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 911635 - net-misc/modemmanager-1.20.6 builds OK but refuses to start because of undefined symbols
Summary: net-misc/modemmanager-1.20.6 builds OK but refuses to start because of undef...
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Freedesktop bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-08-02 20:37 UTC by s.zharkoff
Modified: 2023-08-13 19:03 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
build log (build.log.gz,29.98 KB, application/gzip)
2023-08-03 01:47 UTC, s.zharkoff
Details

Note You need to log in before you can comment on or make changes to this bug.
Description s.zharkoff 2023-08-02 20:37:29 UTC
Emerged the new version of modem manager - and it does not start, issuing a lot of undefined symbols messages. But it builds OK without any trouble. Emerging back 1.18.12 version - worls like a charm. 

ModemManager[6724]: <info>  ModemManager (version 1.20.6) starting in system bus...
ModemManager[6724]: <warn>  [plugin-manager] could not load shared '/usr/lib64/ModemManager/libmm-shared-telit.so': /usr/lib64/ModemManager/libmm-shared-telit.so: undefined symbol: mm_base_modem_response_processor_string_ignore_at_errors
ModemManager[6724]: <warn>  [plugin-manager] could not load shared '/usr/lib64/ModemManager/libmm-shared-novatel.so': /usr/lib64/ModemManager/libmm-shared-novatel.so: undefined symbol: mm_port_serial_open
ModemManager[6724]: <warn>  [plugin-manager] could not load shared '/usr/lib64/ModemManager/libmm-shared-xmm.so': /usr/lib64/ModemManager/libmm-shared-xmm.so: undefined symbol: mm_base_modem_get_port_gps_control
ModemManager[6724]: <warn>  [plugin-manager] could not load shared '/usr/lib64/ModemManager/libmm-shared-option.so': /usr/lib64/ModemManager/libmm-shared-option.so: undefined symbol: mm_base_modem_peek_port_primary
ModemManager[6724]: <warn>  [plugin-manager] could not load shared '/usr/lib64/ModemManager/libmm-shared-icera.so': /usr/lib64/ModemManager/libmm-shared-icera.so: undefined symbol: mm_bearer_connect_result_unref
ModemManager[6724]: <warn>  [plugin-manager] could not load shared '/usr/lib64/ModemManager/libmm-shared-fibocom.so': /usr/lib64/ModemManager/libmm-shared-fibocom.so: undefined symbol: mm_broadband_modem_mbim_peek_port_mbim
ModemManager[6724]: <warn>  [plugin-manager] could not load shared '/usr/lib64/ModemManager/libmm-shared-foxconn.so': /usr/lib64/ModemManager/libmm-shared-foxconn.so: undefined symbol: mm_base_modem_peek_port_primary
ModemManager[6724]: <warn>  [plugin-manager] could not load shared '/usr/lib64/ModemManager/libmm-shared-sierra.so': /usr/lib64/ModemManager/libmm-shared-sierra.so: undefined symbol: mm_3gpp_pdp_context_active_cmp
ModemManager[6724]: <warn>  [plugin-manager] could not load plugin '/usr/lib64/ModemManager/libmm-plugin-mtk.so': /usr/lib64/ModemManager/libmm-plugin-mtk.so: undefined symbol: mm_base_modem_peek_port_primary
ModemManager[6724]: <warn>  [plugin-manager] could not load plugin '/usr/lib64/ModemManager/libmm-plugin-dell.so': /usr/lib64/ModemManager/libmm-plugin-dell.so: undefined symbol: mm_common_sierra_custom_init_finish
ModemManager[6724]: <warn>  [plugin-manager] could not load plugin '/usr/lib64/ModemManager/libmm-plugin-telit.so': /usr/lib64/ModemManager/libmm-plugin-telit.so: undefined symbol: telit_custom_init
ModemManager[6724]: <warn>  [plugin-manager] could not load plugin '/usr/lib64/ModemManager/libmm-plugin-fibocom.so': /usr/lib64/ModemManager/libmm-plugin-fibocom.so: undefined symbol: mm_bearer_connect_result_unref
ModemManager[6724]: <warn>  [plugin-manager] could not load plugin '/usr/lib64/ModemManager/libmm-plugin-motorola.so': /usr/lib64/ModemManager/libmm-plugin-motorola.so: undefined symbol: mm_plugin_get_name
ModemManager[6724]: <warn>  [plugin-manager] could not load plugin '/usr/lib64/ModemManager/libmm-plugin-iridium.so': /usr/lib64/ModemManager/libmm-plugin-iridium.so: undefined symbol: mm_bearer_connect_result_unref
ModemManager[6724]: <warn>  [plugin-manager] could not load plugin '/usr/lib64/ModemManager/libmm-plugin-ericsson-mbm.so': /usr/lib64/ModemManager/libmm-plugin-ericsson-mbm.so: undefined symbol: mm_bearer_connect_result_unref
ModemManager[6724]: <warn>  [plugin-manager] could not load plugin '/usr/lib64/ModemManager/libmm-plugin-sierra.so': /usr/lib64/ModemManager/libmm-plugin-sierra.so: undefined symbol: _mm_log
ModemManager[6724]: <warn>  [plugin-manager] could not load plugin '/usr/lib64/ModemManager/libmm-plugin-ublox.so': /usr/lib64/ModemManager/libmm-plugin-ublox.so: undefined symbol: mm_bearer_connect_result_unref
ModemManager[6724]: <warn>  [plugin-manager] could not load plugin '/usr/lib64/ModemManager/libmm-plugin-novatel-lte.so': /usr/lib64/ModemManager/libmm-plugin-novatel-lte.so: undefined symbol: mm_3gpp_network_info_list_free
ModemManager[6724]: <warn>  [plugin-manager] could not load plugin '/usr/lib64/ModemManager/libmm-plugin-option.so': /usr/lib64/ModemManager/libmm-plugin-option.so: undefined symbol: mm_broadband_modem_option_new
ModemManager[6724]: <warn>  [plugin-manager] could not load plugin '/usr/lib64/ModemManager/libmm-plugin-via.so': /usr/lib64/ModemManager/libmm-plugin-via.so: undefined symbol: mm_base_modem_peek_port_primary
ModemManager[6724]: <warn>  [plugin-manager] could not load plugin '/usr/lib64/ModemManager/libmm-plugin-intel.so': /usr/lib64/ModemManager/libmm-plugin-intel.so: undefined symbol: mm_shared_xmm_enable_location_gathering_finish
ModemManager[6724]: <warn>  [plugin-manager] could not load plugin '/usr/lib64/ModemManager/libmm-plugin-nokia.so': /usr/lib64/ModemManager/libmm-plugin-nokia.so: undefined symbol: mm_port_probe_response_processor_is_at
ModemManager[6724]: <warn>  [plugin-manager] could not load plugin '/usr/lib64/ModemManager/libmm-plugin-huawei.so': /usr/lib64/ModemManager/libmm-plugin-huawei.so: undefined symbol: mm_base_modem_response_processor_no_result_continue
ModemManager[6724]: <warn>  [plugin-manager] could not load plugin '/usr/lib64/ModemManager/libmm-plugin-novatel.so': /usr/lib64/ModemManager/libmm-plugin-novatel.so: undefined symbol: mm_common_novatel_custom_init
ModemManager[6724]: <warn>  [plugin-manager] could not load plugin '/usr/lib64/ModemManager/libmm-plugin-gosuncn.so': /usr/lib64/ModemManager/libmm-plugin-gosuncn.so: undefined symbol: _mm_log
ModemManager[6724]: <warn>  [plugin-manager] could not load plugin '/usr/lib64/ModemManager/libmm-plugin-dlink.so': /usr/lib64/ModemManager/libmm-plugin-dlink.so: undefined symbol: _mm_log
ModemManager[6724]: <warn>  [plugin-manager] could not load plugin '/usr/lib64/ModemManager/libmm-plugin-nokia-icera.so': /usr/lib64/ModemManager/libmm-plugin-nokia-icera.so: undefined symbol: mm_port_probe_response_processor_is_at
ModemManager[6724]: <warn>  [plugin-manager] could not load plugin '/usr/lib64/ModemManager/libmm-plugin-samsung.so': /usr/lib64/ModemManager/libmm-plugin-samsung.so: undefined symbol: mm_plugin_get_name
ModemManager[6724]: <warn>  [plugin-manager] could not load plugin '/usr/lib64/ModemManager/libmm-plugin-linktop.so': /usr/lib64/ModemManager/libmm-plugin-linktop.so: undefined symbol: mm_plugin_get_type
ModemManager[6724]: <warn>  [plugin-manager] could not load plugin '/usr/lib64/ModemManager/libmm-plugin-anydata.so': /usr/lib64/ModemManager/libmm-plugin-anydata.so: undefined symbol: mm_base_modem_peek_port_primary
ModemManager[6724]: <warn>  [plugin-manager] could not load plugin '/usr/lib64/ModemManager/libmm-plugin-broadmobi.so': /usr/lib64/ModemManager/libmm-plugin-broadmobi.so: undefined symbol: _mm_log
ModemManager[6724]: <warn>  [plugin-manager] could not load plugin '/usr/lib64/ModemManager/libmm-plugin-zte.so': /usr/lib64/ModemManager/libmm-plugin-zte.so: undefined symbol: mm_port_probe_response_processor_is_at
ModemManager[6724]: <warn>  [plugin-manager] could not load plugin '/usr/lib64/ModemManager/libmm-plugin-quectel.so': /usr/lib64/ModemManager/libmm-plugin-quectel.so: undefined symbol: mm_base_modem_response_processor_no_result_continue
ModemManager[6724]: <warn>  [plugin-manager] could not load plugin '/usr/lib64/ModemManager/libmm-plugin-option-hso.so': /usr/lib64/ModemManager/libmm-plugin-option-hso.so: undefined symbol: mm_shared_option_create_sim_finish
ModemManager[6724]: <warn>  [plugin-manager] could not load plugin '/usr/lib64/ModemManager/libmm-plugin-x22x.so': /usr/lib64/ModemManager/libmm-plugin-x22x.so: undefined symbol: mm_base_modem_peek_port_primary
ModemManager[6724]: <warn>  [plugin-manager] could not load plugin '/usr/lib64/ModemManager/libmm-plugin-qcom-soc.so': /usr/lib64/ModemManager/libmm-plugin-qcom-soc.so: undefined symbol: mm_kernel_device_get_driver
ModemManager[6724]: <warn>  [plugin-manager] could not load plugin '/usr/lib64/ModemManager/libmm-plugin-wavecom.so': /usr/lib64/ModemManager/libmm-plugin-wavecom.so: undefined symbol: mm_serial_parser_v1_destroy
ModemManager[6724]: <warn>  [plugin-manager] could not load plugin '/usr/lib64/ModemManager/libmm-plugin-foxconn.so': /usr/lib64/ModemManager/libmm-plugin-foxconn.so: undefined symbol: _mm_log
ModemManager[6724]: <warn>  [plugin-manager] could not load plugin '/usr/lib64/ModemManager/libmm-plugin-sierra-legacy.so': /usr/lib64/ModemManager/libmm-plugin-sierra-legacy.so: undefined symbol: mm_common_sierra_custom_init
ModemManager[6724]: <warn>  [plugin-manager] could not load plugin '/usr/lib64/ModemManager/libmm-plugin-simtech.so': /usr/lib64/ModemManager/libmm-plugin-simtech.so: undefined symbol: mm_port_serial_open
ModemManager[6724]: <warn>  [plugin-manager] could not load plugin '/usr/lib64/ModemManager/libmm-plugin-generic.so': /usr/lib64/ModemManager/libmm-plugin-generic.so: undefined symbol: _mm_log
ModemManager[6724]: <warn>  [plugin-manager] could not load plugin '/usr/lib64/ModemManager/libmm-plugin-thuraya.so': /usr/lib64/ModemManager/libmm-plugin-thuraya.so: undefined symbol: mm_iface_modem_messaging_get_type
ModemManager[6724]: <warn>  [plugin-manager] could not load plugin '/usr/lib64/ModemManager/libmm-plugin-cinterion.so': /usr/lib64/ModemManager/libmm-plugin-cinterion.so: undefined symbol: mm_port_serial_open
ModemManager[6724]: <warn>  [plugin-manager] could not load plugin '/usr/lib64/ModemManager/libmm-plugin-altair-lte.so': /usr/lib64/ModemManager/libmm-plugin-altair-lte.so: undefined symbol: mm_base_modem_response_processor_no_result_continue
ModemManager[6724]: <warn>  [plugin-manager] could not load plugin '/usr/lib64/ModemManager/libmm-plugin-pantech.so': /usr/lib64/ModemManager/libmm-plugin-pantech.so: undefined symbol: mm_iface_modem_messaging_get_type
ModemManager[6724]: <warn>  [plugin-manager] could not load plugin '/usr/lib64/ModemManager/libmm-plugin-haier.so': /usr/lib64/ModemManager/libmm-plugin-haier.so: undefined symbol: mm_plugin_get_name
ModemManager[6724]: <warn>  [plugin-manager] could not load plugin '/usr/lib64/ModemManager/libmm-plugin-tplink.so': /usr/lib64/ModemManager/libmm-plugin-tplink.so: undefined symbol: _mm_log
ModemManager[6724]: <warn>  [plugin-manager] could not load plugin '/usr/lib64/ModemManager/libmm-plugin-longcheer.so': /usr/lib64/ModemManager/libmm-plugin-longcheer.so: undefined symbol: mm_plugin_get_type
ModemManager[6724]: <warn>  could not create manager: no plugins found in plugin directory '/usr/lib64/ModemManager'
ModemManager[6724]: <info>  ModemManager is shut down


Reproducible: Always
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-08-02 21:01:47 UTC
Please share emerge --info and, if you can, the build log from MM.
Comment 2 s.zharkoff 2023-08-03 01:40:22 UTC
emerge --info 
Portage 3.0.49 (python 3.11.4-final-0, default/linux/amd64/17.1/systemd, gcc-13, glibc-2.37-r4, 6.6.0-a0 x86_64)
=================================================================
System uname: Linux-6.6.0-a0-x86_64-AMD_Ryzen_7_6800U_with_Radeon_Graphics-with-glibc2.37
KiB Mem:    29512872 total,  24871088 free
KiB Swap:   43504636 total,  43504636 free
Timestamp of repository gentoo: Wed, 02 Aug 2023 20:00:01 +0000
Head commit of repository gentoo: 3ce003b7dab9faed62758ef0a278ad97eebb4277
sh bash 5.2_p15-r6
ld GNU ld (Gentoo 2.40 p5) 2.40.0
app-misc/pax-utils:        1.3.7::gentoo
app-shells/bash:           5.2_p15-r6::gentoo
dev-java/java-config:      2.3.1-r1::gentoo
dev-lang/perl:             5.38.0-r1::gentoo
dev-lang/python:           3.9.17::gentoo, 3.10.12::gentoo, 3.11.4::gentoo, 3.12.0_beta4_p1::gentoo
dev-lang/rust:             1.71.0::gentoo
dev-util/cmake:            3.27.1::gentoo
dev-util/meson:            1.2.0::gentoo
sys-apps/baselayout:       2.14::gentoo
sys-apps/sandbox:          2.37::gentoo
sys-apps/systemd:          253.7::gentoo
sys-devel/autoconf:        2.13-r8::gentoo, 2.71-r7::gentoo
sys-devel/automake:        1.16.5-r1::gentoo
sys-devel/binutils:        2.40-r6::gentoo
sys-devel/binutils-config: 5.5::gentoo
sys-devel/clang:           15.0.7-r3::gentoo
sys-devel/gcc:             13.2.0::gentoo
sys-devel/gcc-config:      2.11::gentoo
sys-devel/libtool:         2.4.7-r1::gentoo
sys-devel/lld:             15.0.7::gentoo
sys-devel/llvm:            15.0.7-r3::gentoo
sys-devel/make:            4.4.1-r1::gentoo
sys-kernel/linux-headers:  6.4::gentoo (virtual/os-headers)
sys-libs/glibc:            2.37-r4::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-metamanifest: no
    sync-rsync-verify-jobs: 1
    sync-rsync-verify-max-age: 24
    sync-rsync-extra-opts: 

asriel
    location: /var/db/repos/asriel
    masters: gentoo
    volatile: False

compiz-reloaded
    location: /var/db/repos/compiz-reloaded
    masters: gentoo
    volatile: False

crossdev
    location: /var/db/repos/portage-crossdev
    masters: gentoo
    priority: 10
    volatile: False

eclipse
    location: /var/lib/layman/eclipse
    masters: gentoo
    priority: 50
    volatile: True

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O3 -pipe   -march=native -fomit-frame-pointer -Wno-nonnull"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /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/php/apache2-php8.1/ext-active/ /etc/php/apache2-php8.2/ext-active/ /etc/php/cgi-php8.1/ext-active/ /etc/php/cgi-php8.2/ext-active/ /etc/php/cli-php8.1/ext-active/ /etc/php/cli-php8.2/ext-active/ /etc/php/fpm-php8.1/ext-active/ /etc/php/fpm-php8.2/ext-active/ /etc/php/phpdbg-php8.1/ext-active/ /etc/php/phpdbg-php8.2/ext-active/ /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="-O3 -pipe   -march=native -fomit-frame-pointer -Wno-nonnull"
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 multilib-strict network-sandbox news parallel-fetch pid-sandbox 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"
GENTOO_MIRRORS="http://mirror.yandex.ru/gentoo-distfiles/"
LANG="C.UTF8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LEX="flex"
MAKEOPTS="-j16"
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 X11 acl alsa amd64 apache2 appindicator aptx at-spi bluetooth bzip2 cgi cleartype cli connection-sharing crypt cups curl custom-cflags cycles dav1d dbus dhclient dia djvu dri dri3 drm egl experimental ffmpeg font-server fontconfig foomatic fortran freetype gd gdbm gdk-pixbuf geckodriver gentoo-vm glade glamor gles1 gles2 glx gtk gtk3 http2 hwaccel iconv icq icu imagemagick inotify inspector introspection ios ipv6 iwd javafx jit jpeg jpeg2k ldac libcaca libdrm libglvnd libmpv libtirpc libv4l libxfce4windowing lightning minizip modemmanager mozdom multilib multilib-symlinks multitarget mysql mysqli ncurses network networkmanager nftables nightly nls nptl nsplugin nsplugins nss ntfsdecrypt obex odbc offensive openal opencl openexr opengl openimageio openmp opus pam pcre pcre16 pdf pipewire pipewire-alsa pkcs11 policykit positioning postproc postscript pthread pulseaudio qml qt5 quick raw readline rustfmt samba screencast seccomp sipe slang source-highlight spirv split-usr sqlite ssl suid swscale system-cairo system-ffmpeg system-harfbuzz system-icu system-jpeg system-libevent system-llvm system-png system-sqlite system-webp system-wfconfig system-wlroots systemd test-rust theora tiff tracepath traceroute traceroute6 truetype tty-helpers type1 udev unicode usb user-session utf8 v4l vaapi vhosts visio vorbis vpx vulkan vulkan-overlay weak-ssl-ciphers webp wext widevine widgets wifi winbind wpg x11-backend x265 xa xattr xcomposite xfs xinerama xkb xml xrandr xv xvmc zlib zstd" ABI_X86="64" ADA_TARGET="gnat_2021" ALSA_CARDS="hda_intel" AMDGPU_TARGETS="gfx1030" 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="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt rdrand sha sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3" CURL_SSL="openssl" 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="efi-32 efi-64 pc" INPUT_DEVICES="libinput" KERNEL="linux" L10N="en en-US ru" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="nlpsolver scripting-javascript wiki-publisher" LLVM_TARGETS="X86 XCore AMDGPU" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php8-1" POSTGRES_TARGETS="postgres15" PYTHON_SINGLE_TARGET="python3_10" PYTHON_TARGETS="python3_10 python3_11 python3_12" RUBY_TARGETS="ruby31 ruby32" VIDEO_CARDS="radeonsi amdgpu" 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, EMERGE_DEFAULT_OPTS, 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
Comment 3 s.zharkoff 2023-08-03 01:47:24 UTC
Created attachment 866885 [details]
build log
Comment 4 s.zharkoff 2023-08-03 12:46:09 UTC
I've built ModemManager using old style - autoconf instead of meson. And it is OK. Seems that meson build does not build  /usr/lib64/libmm-glib.so. Or does not install it.
Comment 5 Pacho Ramos gentoo-dev 2023-08-04 12:25:40 UTC
I cannot reproduce this... but I don't use -O3 CFLAGS
I have it compiled with this USEs
[ebuild   R   ~] net-misc/modemmanager-1.20.6:0/1::gentoo  USE="introspection mbim policykit qmi qrtr systemd udev (-elogind) -gtk-doc (-selinux) -test -vala" 0 KiB
Comment 6 Vasily Pupkin 2023-08-13 07:40:00 UTC
Same for me. Converted 1.20.6 ebuild to autotools and it works, thanks
Comment 7 Mike Gilbert gentoo-dev 2023-08-13 18:37:57 UTC
I am unable to reproduce this with CFLAGS="-O3 -march=amdfam10".

gcc (Gentoo 13.2.0 p3) 13.2.0
GNU ld (Gentoo 2.41 p2) 2.41.0
Comment 8 Mike Gilbert gentoo-dev 2023-08-13 19:03:36 UTC
For a broken installation, please show the output of "nm -D /usr/sbin/ModemManager".