Bug 105787

Summary: Musl libc incompatibility due to use of canonicalize_file_name
Product: ModemManager Reporter: Stuart Cardall <developer>
Component: generalAssignee: ModemManager bug user <modemmanager>
Status: RESOLVED MOVED QA Contact:
Severity: normal    
Priority: medium    
Version: git master   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Stuart Cardall 2018-03-28 15:39:44 UTC
Modemmanager version 1.7.991

Musl libc incompatibility due to use of canonicalize_file_name

=============================================================================
  CC       kerneldevice/libkerneldevice_la-mm-kernel-device-udev.lo
  CCLD     libkerneldevice.la
  CCLD     libport.la
  CCLD     ModemManager
./.libs/libport.a(libkerneldevice_la-mm-kernel-device-generic.o): In function `check_preload':
mm-kernel-device-generic.c:(.text+0x511): undefined reference to `canonicalize_file_name'
mm-kernel-device-generic.c:(.text+0x685): undefined reference to `canonicalize_file_name'
mm-kernel-device-generic.c:(.text+0x6d9): undefined reference to `canonicalize_file_name'
mm-kernel-device-generic.c:(.text+0xc38): undefined reference to `canonicalize_file_name'
mm-kernel-device-generic.c:(.text+0xf21): undefined reference to `canonicalize_file_name'
collect2: error: ld returned 1 exit status
make[4]: *** [Makefile:932: ModemManager] Error 1
make[4]: Leaving directory '/home/stuart/aports/community/modemmanager/src/ModemManager-1.7.991/src'
make[3]: *** [Makefile:1757: all-recursive] Error 1
make[3]: Leaving directory '/home/stuart/aports/community/modemmanager/src/ModemManager-1.7.991/src'
make[2]: *** [Makefile:809: all] Error 2
make[2]: Leaving directory '/home/stuart/aports/community/modemmanager/src/ModemManager-1.7.991/src'
make[1]: *** [Makefile:510: all-recursive] Error 1
make[1]: Leaving directory '/home/stuart/aports/community/modemmanager/src/ModemManager-1.7.991'
make: *** [Makefile:442: all] Error 2
>>> ERROR: modemmanager: all failed
============================================================================

This is a similar bug to the same error in libqmi (which is now fixed):

https://bugs.freedesktop.org/show_bug.cgi?id=99944
Comment 1 GitLab Migration User 2018-06-10 09:06:03 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/mobile-broadband/ModemManager/issues/77.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.