Musl libc incompatibility due to use of canonicalize_file_name
Submitted by Stuart Cardall
Assigned to ModemManager bug user
Link to original bug (#105787)
Description
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
Version: git master