Amol Lad
2018-12-09 11:00:17 UTC
Hi,
I've included usrmerge in DISTRO_FEATURES and I get below error during build. I'm not able to figure out if it's problem with the recipe or package_qa_check_usrmerge function in poky/meta/classes/insane.bbclass.
ERROR: modemmanager-1.6.4-r0 do_package_qa: QA Issue: modemmanager package is not obeying usrmerge distro feature. /lib should be relocated to /usr. [usrmerge]
ERROR: modemmanager-1.6.4-r0 do_package_qa: QA run found fatal errors. Please consider fixing them.
ERROR: modemmanager-1.6.4-r0 do_package_qa: Function failed: do_package_qa
ERROR: Logfile of failure stored in: /home/alad/yocto2.5/poky/build/tmp/work/armv7ahf-neon-next-linux-gnueabi/modemmanager/1.6.4-r0/temp/log.do_package_qa.122313
ERROR: Task (/home/alad/yocto2.5/meta-openembedded/meta-oe/recipes-connectivity/modemmanager/modemmanager_1.6.4.bb:do_package_qa) failed with exit code '1'
I'm including log.do_package_qa.122313 and ModemManager recipe below. Please advise.
DEBUG: Executing python function sstate_task_prefunc
DEBUG: Python function sstate_task_prefunc finished
DEBUG: Executing python function extend_recipe_sysroot
NOTE: Direct dependencies are ['/home/alad/yocto2.5/poky/meta/recipes-devtools/binutils/binutils-cross_2.30.bb:do_populate_sysroot', 'virtual:native:/home/alad/yocto2.5/poky/meta/recipes-devtools/pseudo/pseudo_git.bb:do_populate_sysroot']
NOTE: Installed into sysroot: []
NOTE: Skipping as already exists in sysroot: ['binutils-cross-arm', 'pseudo-native', 'bison-native', 'gnu-config-native', 'quilt-native', 'flex-native', 'texinfo-dummy-native', 'autoconf-native', 'zlib-native', 'automake-native', 'gettext-minimal-native', 'xz-native', 'libtool-native', 'm4-native']
DEBUG: Python function extend_recipe_sysroot finished
DEBUG: Executing python function do_package_qa
NOTE: DO PACKAGE QA
DEBUG: Executing python function read_subpackage_metadata
DEBUG: Python function read_subpackage_metadata finished
NOTE: Checking Package: modemmanager-bash-completion
NOTE: Checking Package: modemmanager-staticdev
NOTE: Checking Package: modemmanager
NOTE: arm-next-linux-gnueabi-objdump -p /home/alad/yocto2.5/poky/build/tmp/work/armv7ahf-neon-next-linux-gnueabi/modemmanager/1.6.4-r0/packages-split/modemmanager/usr/sbin/ModemManager
NOTE: arm-next-linux-gnueabi-objdump -p /home/alad/yocto2.5/poky/build/tmp/work/armv7ahf-neon-next-linux-gnueabi/modemmanager/1.6.4-r0/packages-split/modemmanager/usr/bin/mmcli
NOTE: arm-next-linux-gnueabi-objdump -p /home/alad/yocto2.5/poky/build/tmp/work/armv7ahf-neon-next-linux-gnueabi/modemmanager/1.6.4-r0/packages-split/modemmanager/usr/lib/libmm-glib.so.0.3.0
NOTE: arm-next-linux-gnueabi-objdump -p /home/alad/yocto2.5/poky/build/tmp/work/armv7ahf-neon-next-linux-gnueabi/modemmanager/1.6.4-r0/packages-split/modemmanager/usr/lib/ModemManager/libmm-plugin-nokia-icera.so
NOTE: arm-next-linux-gnueabi-objdump -p /home/alad/yocto2.5/poky/build/tmp/work/armv7ahf-neon-next-linux-gnueabi/modemmanager/1.6.4-r0/packages-split/modemmanager/usr/lib/ModemManager/libmm-plugin-wavecom.so
NOTE: arm-next-linux-gnueabi-objdump -p /home/alad/yocto2.5/poky/build/tmp/work/armv7ahf-neon-next-linux-gnueabi/modemmanager/1.6.4-r0/packages-split/modemmanager/usr/lib/ModemManager/libmm-plugin-sierra.so
NOTE: arm-next-linux-gnueabi-objdump -p /home/alad/yocto2.5/poky/build/tmp/work/armv7ahf-neon-next-linux-gnueabi/modemmanager/1.6.4-r0/packages-split/modemmanager/usr/lib/ModemManager/libmm-plugin-generic.so
NOTE: arm-next-linux-gnueabi-objdump -p /home/alad/yocto2.5/poky/build/tmp/work/armv7ahf-neon-next-linux-gnueabi/modemmanager/1.6.4-r0/packages-split/modemmanager/usr/lib/ModemManager/libmm-plugin-telit.so
NOTE: arm-next-linux-gnueabi-objdump -p /home/alad/yocto2.5/poky/build/tmp/work/armv7ahf-neon-next-linux-gnueabi/modemmanager/1.6.4-r0/packages-split/modemmanager/usr/lib/ModemManager/libmm-plugin-pantech.so
NOTE: arm-next-linux-gnueabi-objdump -p /home/alad/yocto2.5/poky/build/tmp/work/armv7ahf-neon-next-linux-gnueabi/modemmanager/1.6.4-r0/packages-split/modemmanager/usr/lib/ModemManager/libmm-plugin-longcheer.so
NOTE: arm-next-linux-gnueabi-objdump -p /home/alad/yocto2.5/poky/build/tmp/work/armv7ahf-neon-next-linux-gnueabi/modemmanager/1.6.4-r0/packages-split/modemmanager/usr/lib/ModemManager/libmm-plugin-motorola.so
NOTE: arm-next-linux-gnueabi-objdump -p /home/alad/yocto2.5/poky/build/tmp/work/armv7ahf-neon-next-linux-gnueabi/modemmanager/1.6.4-r0/packages-split/modemmanager/usr/lib/ModemManager/libmm-plugin-nokia.so
NOTE: arm-next-linux-gnueabi-objdump -p /home/alad/yocto2.5/poky/build/tmp/work/armv7ahf-neon-next-linux-gnueabi/modemmanager/1.6.4-r0/packages-split/modemmanager/usr/lib/ModemManager/libmm-plugin-mtk.so
NOTE: arm-next-linux-gnueabi-objdump -p /home/alad/yocto2.5/poky/build/tmp/work/armv7ahf-neon-next-linux-gnueabi/modemmanager/1.6.4-r0/packages-split/modemmanager/usr/lib/ModemManager/libmm-plugin-cinterion.so
NOTE: arm-next-linux-gnueabi-objdump -p /home/alad/yocto2.5/poky/build/tmp/work/armv7ahf-neon-next-linux-gnueabi/modemmanager/1.6.4-r0/packages-split/modemmanager/usr/lib/ModemManager/libmm-plugin-dell.so
NOTE: arm-next-linux-gnueabi-objdump -p /home/alad/yocto2.5/poky/build/tmp/work/armv7ahf-neon-next-linux-gnueabi/modemmanager/1.6.4-r0/packages-split/modemmanager/usr/lib/ModemManager/libmm-plugin-simtech.so
NOTE: arm-next-linux-gnueabi-objdump -p /home/alad/yocto2.5/poky/build/tmp/work/armv7ahf-neon-next-linux-gnueabi/modemmanager/1.6.4-r0/packages-split/modemmanager/usr/lib/ModemManager/libmm-plugin-via.so
NOTE: arm-next-linux-gnueabi-objdump -p /home/alad/yocto2.5/poky/build/tmp/work/armv7ahf-neon-next-linux-gnueabi/modemmanager/1.6.4-r0/packages-split/modemmanager/usr/lib/ModemManager/libmm-plugin-x22x.so
NOTE: arm-next-linux-gnueabi-objdump -p /home/alad/yocto2.5/poky/build/tmp/work/armv7ahf-neon-next-linux-gnueabi/modemmanager/1.6.4-r0/packages-split/modemmanager/usr/lib/ModemManager/libmm-plugin-haier.so
NOTE: arm-next-linux-gnueabi-objdump -p /home/alad/yocto2.5/poky/build/tmp/work/armv7ahf-neon-next-linux-gnueabi/modemmanager/1.6.4-r0/packages-split/modemmanager/usr/lib/ModemManager/libmm-plugin-zte.so
NOTE: arm-next-linux-gnueabi-objdump -p /home/alad/yocto2.5/poky/build/tmp/work/armv7ahf-neon-next-linux-gnueabi/modemmanager/1.6.4-r0/packages-split/modemmanager/usr/lib/ModemManager/libmm-plugin-huawei.so
NOTE: arm-next-linux-gnueabi-objdump -p /home/alad/yocto2.5/poky/build/tmp/work/armv7ahf-neon-next-linux-gnueabi/modemmanager/1.6.4-r0/packages-split/modemmanager/usr/lib/ModemManager/libmm-plugin-novatel.so
NOTE: arm-next-linux-gnueabi-objdump -p /home/alad/yocto2.5/poky/build/tmp/work/armv7ahf-neon-next-linux-gnueabi/modemmanager/1.6.4-r0/packages-split/modemmanager/usr/lib/ModemManager/libmm-plugin-sierra-legacy.so
NOTE: arm-next-linux-gnueabi-objdump -p /home/alad/yocto2.5/poky/build/tmp/work/armv7ahf-neon-next-linux-gnueabi/modemmanager/1.6.4-r0/packages-split/modemmanager/usr/lib/ModemManager/libmm-plugin-ericsson-mbm.so
NOTE: arm-next-linux-gnueabi-objdump -p /home/alad/yocto2.5/poky/build/tmp/work/armv7ahf-neon-next-linux-gnueabi/modemmanager/1.6.4-r0/packages-split/modemmanager/usr/lib/ModemManager/libmm-plugin-thuraya.so
NOTE: arm-next-linux-gnueabi-objdump -p /home/alad/yocto2.5/poky/build/tmp/work/armv7ahf-neon-next-linux-gnueabi/modemmanager/1.6.4-r0/packages-split/modemmanager/usr/lib/ModemManager/libmm-plugin-novatel_lte.so
NOTE: arm-next-linux-gnueabi-objdump -p /home/alad/yocto2.5/poky/build/tmp/work/armv7ahf-neon-next-linux-gnueabi/modemmanager/1.6.4-r0/packages-split/modemmanager/usr/lib/ModemManager/libmm-plugin-samsung.so
NOTE: arm-next-linux-gnueabi-objdump -p /home/alad/yocto2.5/poky/build/tmp/work/armv7ahf-neon-next-linux-gnueabi/modemmanager/1.6.4-r0/packages-split/modemmanager/usr/lib/ModemManager/libmm-plugin-altair-lte.so
NOTE: arm-next-linux-gnueabi-objdump -p /home/alad/yocto2.5/poky/build/tmp/work/armv7ahf-neon-next-linux-gnueabi/modemmanager/1.6.4-r0/packages-split/modemmanager/usr/lib/ModemManager/libmm-plugin-linktop.so
NOTE: arm-next-linux-gnueabi-objdump -p /home/alad/yocto2.5/poky/build/tmp/work/armv7ahf-neon-next-linux-gnueabi/modemmanager/1.6.4-r0/packages-split/modemmanager/usr/lib/ModemManager/libmm-plugin-option-hso.so
NOTE: arm-next-linux-gnueabi-objdump -p /home/alad/yocto2.5/poky/build/tmp/work/armv7ahf-neon-next-linux-gnueabi/modemmanager/1.6.4-r0/packages-split/modemmanager/usr/lib/ModemManager/libmm-plugin-iridium.so
NOTE: arm-next-linux-gnueabi-objdump -p /home/alad/yocto2.5/poky/build/tmp/work/armv7ahf-neon-next-linux-gnueabi/modemmanager/1.6.4-r0/packages-split/modemmanager/usr/lib/ModemManager/libmm-plugin-option.so
NOTE: arm-next-linux-gnueabi-objdump -p /home/alad/yocto2.5/poky/build/tmp/work/armv7ahf-neon-next-linux-gnueabi/modemmanager/1.6.4-r0/packages-split/modemmanager/usr/lib/ModemManager/libmm-plugin-anydata.so
ERROR: QA Issue: modemmanager package is not obeying usrmerge distro feature. /lib should be relocated to /usr. [usrmerge]
NOTE: Checking Package: modemmanager-doc
NOTE: Checking Package: modemmanager-locale-uk
NOTE: Checking Package: modemmanager-dev
NOTE: Checking Package: modemmanager-locale-de
NOTE: Checking Package: modemmanager-dbg
NOTE: arm-next-linux-gnueabi-objdump -p /home/alad/yocto2.5/poky/build/tmp/work/armv7ahf-neon-next-linux-gnueabi/modemmanager/1.6.4-r0/packages-split/modemmanager-dbg/usr/sbin/.debug/ModemManager
NOTE: arm-next-linux-gnueabi-objdump -p /home/alad/yocto2.5/poky/build/tmp/work/armv7ahf-neon-next-linux-gnueabi/modemmanager/1.6.4-r0/packages-split/modemmanager-dbg/usr/bin/.debug/mmcli
NOTE: arm-next-linux-gnueabi-objdump -p /home/alad/yocto2.5/poky/build/tmp/work/armv7ahf-neon-next-linux-gnueabi/modemmanager/1.6.4-r0/packages-split/modemmanager-dbg/usr/lib/.debug/libmm-glib.so.0.3.0
NOTE: arm-next-linux-gnueabi-objdump -p /home/alad/yocto2.5/poky/build/tmp/work/armv7ahf-neon-next-linux-gnueabi/modemmanager/1.6.4-r0/packages-split/modemmanager-dbg/usr/lib/ModemManager/.debug/libmm-plugin-nokia-icera.so
NOTE: arm-next-linux-gnueabi-objdump -p /home/alad/yocto2.5/poky/build/tmp/work/armv7ahf-neon-next-linux-gnueabi/modemmanager/1.6.4-r0/packages-split/modemmanager-dbg/usr/lib/ModemManager/.debug/libmm-plugin-wavecom.so
NOTE: arm-next-linux-gnueabi-objdump -p /home/alad/yocto2.5/poky/build/tmp/work/armv7ahf-neon-next-linux-gnueabi/modemmanager/1.6.4-r0/packages-split/modemmanager-dbg/usr/lib/ModemManager/.debug/libmm-plugin-sierra.so
NOTE: arm-next-linux-gnueabi-objdump -p /home/alad/yocto2.5/poky/build/tmp/work/armv7ahf-neon-next-linux-gnueabi/modemmanager/1.6.4-r0/packages-split/modemmanager-dbg/usr/lib/ModemManager/.debug/libmm-plugin-generic.so
NOTE: arm-next-linux-gnueabi-objdump -p /home/alad/yocto2.5/poky/build/tmp/work/armv7ahf-neon-next-linux-gnueabi/modemmanager/1.6.4-r0/packages-split/modemmanager-dbg/usr/lib/ModemManager/.debug/libmm-plugin-telit.so
NOTE: arm-next-linux-gnueabi-objdump -p /home/alad/yocto2.5/poky/build/tmp/work/armv7ahf-neon-next-linux-gnueabi/modemmanager/1.6.4-r0/packages-split/modemmanager-dbg/usr/lib/ModemManager/.debug/libmm-plugin-pantech.so
NOTE: arm-next-linux-gnueabi-objdump -p /home/alad/yocto2.5/poky/build/tmp/work/armv7ahf-neon-next-linux-gnueabi/modemmanager/1.6.4-r0/packages-split/modemmanager-dbg/usr/lib/ModemManager/.debug/libmm-plugin-longcheer.so
NOTE: arm-next-linux-gnueabi-objdump -p /home/alad/yocto2.5/poky/build/tmp/work/armv7ahf-neon-next-linux-gnueabi/modemmanager/1.6.4-r0/packages-split/modemmanager-dbg/usr/lib/ModemManager/.debug/libmm-plugin-motorola.so
NOTE: arm-next-linux-gnueabi-objdump -p /home/alad/yocto2.5/poky/build/tmp/work/armv7ahf-neon-next-linux-gnueabi/modemmanager/1.6.4-r0/packages-split/modemmanager-dbg/usr/lib/ModemManager/.debug/libmm-plugin-nokia.so
NOTE: arm-next-linux-gnueabi-objdump -p /home/alad/yocto2.5/poky/build/tmp/work/armv7ahf-neon-next-linux-gnueabi/modemmanager/1.6.4-r0/packages-split/modemmanager-dbg/usr/lib/ModemManager/.debug/libmm-plugin-mtk.so
NOTE: arm-next-linux-gnueabi-objdump -p /home/alad/yocto2.5/poky/build/tmp/work/armv7ahf-neon-next-linux-gnueabi/modemmanager/1.6.4-r0/packages-split/modemmanager-dbg/usr/lib/ModemManager/.debug/libmm-plugin-cinterion.so
NOTE: arm-next-linux-gnueabi-objdump -p /home/alad/yocto2.5/poky/build/tmp/work/armv7ahf-neon-next-linux-gnueabi/modemmanager/1.6.4-r0/packages-split/modemmanager-dbg/usr/lib/ModemManager/.debug/libmm-plugin-dell.so
NOTE: arm-next-linux-gnueabi-objdump -p /home/alad/yocto2.5/poky/build/tmp/work/armv7ahf-neon-next-linux-gnueabi/modemmanager/1.6.4-r0/packages-split/modemmanager-dbg/usr/lib/ModemManager/.debug/libmm-plugin-simtech.so
NOTE: arm-next-linux-gnueabi-objdump -p /home/alad/yocto2.5/poky/build/tmp/work/armv7ahf-neon-next-linux-gnueabi/modemmanager/1.6.4-r0/packages-split/modemmanager-dbg/usr/lib/ModemManager/.debug/libmm-plugin-via.so
NOTE: arm-next-linux-gnueabi-objdump -p /home/alad/yocto2.5/poky/build/tmp/work/armv7ahf-neon-next-linux-gnueabi/modemmanager/1.6.4-r0/packages-split/modemmanager-dbg/usr/lib/ModemManager/.debug/libmm-plugin-x22x.so
NOTE: arm-next-linux-gnueabi-objdump -p /home/alad/yocto2.5/poky/build/tmp/work/armv7ahf-neon-next-linux-gnueabi/modemmanager/1.6.4-r0/packages-split/modemmanager-dbg/usr/lib/ModemManager/.debug/libmm-plugin-haier.so
NOTE: arm-next-linux-gnueabi-objdump -p /home/alad/yocto2.5/poky/build/tmp/work/armv7ahf-neon-next-linux-gnueabi/modemmanager/1.6.4-r0/packages-split/modemmanager-dbg/usr/lib/ModemManager/.debug/libmm-plugin-zte.so
NOTE: arm-next-linux-gnueabi-objdump -p /home/alad/yocto2.5/poky/build/tmp/work/armv7ahf-neon-next-linux-gnueabi/modemmanager/1.6.4-r0/packages-split/modemmanager-dbg/usr/lib/ModemManager/.debug/libmm-plugin-huawei.so
NOTE: arm-next-linux-gnueabi-objdump -p /home/alad/yocto2.5/poky/build/tmp/work/armv7ahf-neon-next-linux-gnueabi/modemmanager/1.6.4-r0/packages-split/modemmanager-dbg/usr/lib/ModemManager/.debug/libmm-plugin-novatel.so
NOTE: arm-next-linux-gnueabi-objdump -p /home/alad/yocto2.5/poky/build/tmp/work/armv7ahf-neon-next-linux-gnueabi/modemmanager/1.6.4-r0/packages-split/modemmanager-dbg/usr/lib/ModemManager/.debug/libmm-plugin-sierra-legacy.so
NOTE: arm-next-linux-gnueabi-objdump -p /home/alad/yocto2.5/poky/build/tmp/work/armv7ahf-neon-next-linux-gnueabi/modemmanager/1.6.4-r0/packages-split/modemmanager-dbg/usr/lib/ModemManager/.debug/libmm-plugin-ericsson-mbm.so
NOTE: arm-next-linux-gnueabi-objdump -p /home/alad/yocto2.5/poky/build/tmp/work/armv7ahf-neon-next-linux-gnueabi/modemmanager/1.6.4-r0/packages-split/modemmanager-dbg/usr/lib/ModemManager/.debug/libmm-plugin-thuraya.so
NOTE: arm-next-linux-gnueabi-objdump -p /home/alad/yocto2.5/poky/build/tmp/work/armv7ahf-neon-next-linux-gnueabi/modemmanager/1.6.4-r0/packages-split/modemmanager-dbg/usr/lib/ModemManager/.debug/libmm-plugin-novatel_lte.so
NOTE: arm-next-linux-gnueabi-objdump -p /home/alad/yocto2.5/poky/build/tmp/work/armv7ahf-neon-next-linux-gnueabi/modemmanager/1.6.4-r0/packages-split/modemmanager-dbg/usr/lib/ModemManager/.debug/libmm-plugin-samsung.so
NOTE: arm-next-linux-gnueabi-objdump -p /home/alad/yocto2.5/poky/build/tmp/work/armv7ahf-neon-next-linux-gnueabi/modemmanager/1.6.4-r0/packages-split/modemmanager-dbg/usr/lib/ModemManager/.debug/libmm-plugin-altair-lte.so
NOTE: arm-next-linux-gnueabi-objdump -p /home/alad/yocto2.5/poky/build/tmp/work/armv7ahf-neon-next-linux-gnueabi/modemmanager/1.6.4-r0/packages-split/modemmanager-dbg/usr/lib/ModemManager/.debug/libmm-plugin-linktop.so
NOTE: arm-next-linux-gnueabi-objdump -p /home/alad/yocto2.5/poky/build/tmp/work/armv7ahf-neon-next-linux-gnueabi/modemmanager/1.6.4-r0/packages-split/modemmanager-dbg/usr/lib/ModemManager/.debug/libmm-plugin-option-hso.so
NOTE: arm-next-linux-gnueabi-objdump -p /home/alad/yocto2.5/poky/build/tmp/work/armv7ahf-neon-next-linux-gnueabi/modemmanager/1.6.4-r0/packages-split/modemmanager-dbg/usr/lib/ModemManager/.debug/libmm-plugin-iridium.so
NOTE: arm-next-linux-gnueabi-objdump -p /home/alad/yocto2.5/poky/build/tmp/work/armv7ahf-neon-next-linux-gnueabi/modemmanager/1.6.4-r0/packages-split/modemmanager-dbg/usr/lib/ModemManager/.debug/libmm-plugin-option.so
NOTE: arm-next-linux-gnueabi-objdump -p /home/alad/yocto2.5/poky/build/tmp/work/armv7ahf-neon-next-linux-gnueabi/modemmanager/1.6.4-r0/packages-split/modemmanager-dbg/usr/lib/ModemManager/.debug/libmm-plugin-anydata.so
ERROR: QA run found fatal errors. Please consider fixing them.
DEBUG: Python function do_package_qa finished
ERROR: Function failed: do_package_qa
====
Recipe
SUMMARY = "ModemManager is a daemon controlling broadband devices/connections"
DESCRIPTION = "ModemManager is a DBus-activated daemon which controls mobile broadband (2G/3G/4G) devices and connections"
HOMEPAGE = "http://www.freedesktop.org/wiki/Software/ModemManager/"
LICENSE = "GPL-2.0 & LGPL-2.1"
LIC_FILES_CHKSUM = " \
file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
file://COPYING.LIB;md5=4fbd65380cdd255951079008b364516c \
"
inherit gnomebase gettext systemd vala gobject-introspection bash-completion
DEPENDS = "glib-2.0 libgudev dbus-glib intltool-native"
SRC_URI = "http://www.freedesktop.org/software/ModemManager/ModemManager-${PV}.tar.xz \
file://enum-conversion.patch \
"
SRC_URI[md5sum] = "06488186c7dd53f8104183b86f7a1568"
SRC_URI[sha256sum] = "cdd5b4cb1e4d7643643a28ccbfc4bb354bfa9cb89a77ea160ebdf7926171c668"
S = "${WORKDIR}/ModemManager-${PV}"
PACKAGECONFIG ??= "mbim qmi polkit \
${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)} \
"
PACKAGECONFIG[systemd] = "--with-systemdsystemunitdir=${systemd_unitdir}/system/,,"
PACKAGECONFIG[polkit] = "--with-polkit=yes,--with-polkit=no,polkit"
# Support WWAN modems and devices which speak the Mobile Interface Broadband Model (MBIM) protocol.
PACKAGECONFIG[mbim] = "--with-mbim,--enable-mbim=no,libmbim"
# Support WWAN modems and devices which speak the Qualcomm MSM Interface (QMI) protocol.
PACKAGECONFIG[qmi] = "--with-qmi,--without-qmi,libqmi"
FILES_${PN} += " \
${datadir}/icons \
${datadir}/polkit-1 \
${datadir}/dbus-1 \
${libdir}/ModemManager \
${systemd_unitdir}/system \
"
FILES_${PN}-dev += " \
${libdir}/ModemManager/*.la \
"
FILES_${PN}-staticdev += " \
${libdir}/ModemManager/*.a \
"
FILES_${PN}-dbg += "${libdir}/ModemManager/.debug"
SYSTEMD_SERVICE_${PN} = "ModemManager.service"
________________________________
The information in this email communication (inclusive of attachments) is confidential to 4RF Limited and the intended recipient(s). If you are not the intended recipient(s), please note that any use, disclosure, distribution or copying of this information or any part thereof is strictly prohibited and that the author accepts no liability for the consequences of any action taken on the basis of the information provided. If you have received this email in error, please notify the sender immediately by return email and then delete all instances of this email from your system. 4RF Limited will not accept responsibility for any consequences associated with the use of this email (including, but not limited to, damages sustained as a result of any viruses and/or any action or lack of action taken in reliance on it).
I've included usrmerge in DISTRO_FEATURES and I get below error during build. I'm not able to figure out if it's problem with the recipe or package_qa_check_usrmerge function in poky/meta/classes/insane.bbclass.
ERROR: modemmanager-1.6.4-r0 do_package_qa: QA Issue: modemmanager package is not obeying usrmerge distro feature. /lib should be relocated to /usr. [usrmerge]
ERROR: modemmanager-1.6.4-r0 do_package_qa: QA run found fatal errors. Please consider fixing them.
ERROR: modemmanager-1.6.4-r0 do_package_qa: Function failed: do_package_qa
ERROR: Logfile of failure stored in: /home/alad/yocto2.5/poky/build/tmp/work/armv7ahf-neon-next-linux-gnueabi/modemmanager/1.6.4-r0/temp/log.do_package_qa.122313
ERROR: Task (/home/alad/yocto2.5/meta-openembedded/meta-oe/recipes-connectivity/modemmanager/modemmanager_1.6.4.bb:do_package_qa) failed with exit code '1'
I'm including log.do_package_qa.122313 and ModemManager recipe below. Please advise.
DEBUG: Executing python function sstate_task_prefunc
DEBUG: Python function sstate_task_prefunc finished
DEBUG: Executing python function extend_recipe_sysroot
NOTE: Direct dependencies are ['/home/alad/yocto2.5/poky/meta/recipes-devtools/binutils/binutils-cross_2.30.bb:do_populate_sysroot', 'virtual:native:/home/alad/yocto2.5/poky/meta/recipes-devtools/pseudo/pseudo_git.bb:do_populate_sysroot']
NOTE: Installed into sysroot: []
NOTE: Skipping as already exists in sysroot: ['binutils-cross-arm', 'pseudo-native', 'bison-native', 'gnu-config-native', 'quilt-native', 'flex-native', 'texinfo-dummy-native', 'autoconf-native', 'zlib-native', 'automake-native', 'gettext-minimal-native', 'xz-native', 'libtool-native', 'm4-native']
DEBUG: Python function extend_recipe_sysroot finished
DEBUG: Executing python function do_package_qa
NOTE: DO PACKAGE QA
DEBUG: Executing python function read_subpackage_metadata
DEBUG: Python function read_subpackage_metadata finished
NOTE: Checking Package: modemmanager-bash-completion
NOTE: Checking Package: modemmanager-staticdev
NOTE: Checking Package: modemmanager
NOTE: arm-next-linux-gnueabi-objdump -p /home/alad/yocto2.5/poky/build/tmp/work/armv7ahf-neon-next-linux-gnueabi/modemmanager/1.6.4-r0/packages-split/modemmanager/usr/sbin/ModemManager
NOTE: arm-next-linux-gnueabi-objdump -p /home/alad/yocto2.5/poky/build/tmp/work/armv7ahf-neon-next-linux-gnueabi/modemmanager/1.6.4-r0/packages-split/modemmanager/usr/bin/mmcli
NOTE: arm-next-linux-gnueabi-objdump -p /home/alad/yocto2.5/poky/build/tmp/work/armv7ahf-neon-next-linux-gnueabi/modemmanager/1.6.4-r0/packages-split/modemmanager/usr/lib/libmm-glib.so.0.3.0
NOTE: arm-next-linux-gnueabi-objdump -p /home/alad/yocto2.5/poky/build/tmp/work/armv7ahf-neon-next-linux-gnueabi/modemmanager/1.6.4-r0/packages-split/modemmanager/usr/lib/ModemManager/libmm-plugin-nokia-icera.so
NOTE: arm-next-linux-gnueabi-objdump -p /home/alad/yocto2.5/poky/build/tmp/work/armv7ahf-neon-next-linux-gnueabi/modemmanager/1.6.4-r0/packages-split/modemmanager/usr/lib/ModemManager/libmm-plugin-wavecom.so
NOTE: arm-next-linux-gnueabi-objdump -p /home/alad/yocto2.5/poky/build/tmp/work/armv7ahf-neon-next-linux-gnueabi/modemmanager/1.6.4-r0/packages-split/modemmanager/usr/lib/ModemManager/libmm-plugin-sierra.so
NOTE: arm-next-linux-gnueabi-objdump -p /home/alad/yocto2.5/poky/build/tmp/work/armv7ahf-neon-next-linux-gnueabi/modemmanager/1.6.4-r0/packages-split/modemmanager/usr/lib/ModemManager/libmm-plugin-generic.so
NOTE: arm-next-linux-gnueabi-objdump -p /home/alad/yocto2.5/poky/build/tmp/work/armv7ahf-neon-next-linux-gnueabi/modemmanager/1.6.4-r0/packages-split/modemmanager/usr/lib/ModemManager/libmm-plugin-telit.so
NOTE: arm-next-linux-gnueabi-objdump -p /home/alad/yocto2.5/poky/build/tmp/work/armv7ahf-neon-next-linux-gnueabi/modemmanager/1.6.4-r0/packages-split/modemmanager/usr/lib/ModemManager/libmm-plugin-pantech.so
NOTE: arm-next-linux-gnueabi-objdump -p /home/alad/yocto2.5/poky/build/tmp/work/armv7ahf-neon-next-linux-gnueabi/modemmanager/1.6.4-r0/packages-split/modemmanager/usr/lib/ModemManager/libmm-plugin-longcheer.so
NOTE: arm-next-linux-gnueabi-objdump -p /home/alad/yocto2.5/poky/build/tmp/work/armv7ahf-neon-next-linux-gnueabi/modemmanager/1.6.4-r0/packages-split/modemmanager/usr/lib/ModemManager/libmm-plugin-motorola.so
NOTE: arm-next-linux-gnueabi-objdump -p /home/alad/yocto2.5/poky/build/tmp/work/armv7ahf-neon-next-linux-gnueabi/modemmanager/1.6.4-r0/packages-split/modemmanager/usr/lib/ModemManager/libmm-plugin-nokia.so
NOTE: arm-next-linux-gnueabi-objdump -p /home/alad/yocto2.5/poky/build/tmp/work/armv7ahf-neon-next-linux-gnueabi/modemmanager/1.6.4-r0/packages-split/modemmanager/usr/lib/ModemManager/libmm-plugin-mtk.so
NOTE: arm-next-linux-gnueabi-objdump -p /home/alad/yocto2.5/poky/build/tmp/work/armv7ahf-neon-next-linux-gnueabi/modemmanager/1.6.4-r0/packages-split/modemmanager/usr/lib/ModemManager/libmm-plugin-cinterion.so
NOTE: arm-next-linux-gnueabi-objdump -p /home/alad/yocto2.5/poky/build/tmp/work/armv7ahf-neon-next-linux-gnueabi/modemmanager/1.6.4-r0/packages-split/modemmanager/usr/lib/ModemManager/libmm-plugin-dell.so
NOTE: arm-next-linux-gnueabi-objdump -p /home/alad/yocto2.5/poky/build/tmp/work/armv7ahf-neon-next-linux-gnueabi/modemmanager/1.6.4-r0/packages-split/modemmanager/usr/lib/ModemManager/libmm-plugin-simtech.so
NOTE: arm-next-linux-gnueabi-objdump -p /home/alad/yocto2.5/poky/build/tmp/work/armv7ahf-neon-next-linux-gnueabi/modemmanager/1.6.4-r0/packages-split/modemmanager/usr/lib/ModemManager/libmm-plugin-via.so
NOTE: arm-next-linux-gnueabi-objdump -p /home/alad/yocto2.5/poky/build/tmp/work/armv7ahf-neon-next-linux-gnueabi/modemmanager/1.6.4-r0/packages-split/modemmanager/usr/lib/ModemManager/libmm-plugin-x22x.so
NOTE: arm-next-linux-gnueabi-objdump -p /home/alad/yocto2.5/poky/build/tmp/work/armv7ahf-neon-next-linux-gnueabi/modemmanager/1.6.4-r0/packages-split/modemmanager/usr/lib/ModemManager/libmm-plugin-haier.so
NOTE: arm-next-linux-gnueabi-objdump -p /home/alad/yocto2.5/poky/build/tmp/work/armv7ahf-neon-next-linux-gnueabi/modemmanager/1.6.4-r0/packages-split/modemmanager/usr/lib/ModemManager/libmm-plugin-zte.so
NOTE: arm-next-linux-gnueabi-objdump -p /home/alad/yocto2.5/poky/build/tmp/work/armv7ahf-neon-next-linux-gnueabi/modemmanager/1.6.4-r0/packages-split/modemmanager/usr/lib/ModemManager/libmm-plugin-huawei.so
NOTE: arm-next-linux-gnueabi-objdump -p /home/alad/yocto2.5/poky/build/tmp/work/armv7ahf-neon-next-linux-gnueabi/modemmanager/1.6.4-r0/packages-split/modemmanager/usr/lib/ModemManager/libmm-plugin-novatel.so
NOTE: arm-next-linux-gnueabi-objdump -p /home/alad/yocto2.5/poky/build/tmp/work/armv7ahf-neon-next-linux-gnueabi/modemmanager/1.6.4-r0/packages-split/modemmanager/usr/lib/ModemManager/libmm-plugin-sierra-legacy.so
NOTE: arm-next-linux-gnueabi-objdump -p /home/alad/yocto2.5/poky/build/tmp/work/armv7ahf-neon-next-linux-gnueabi/modemmanager/1.6.4-r0/packages-split/modemmanager/usr/lib/ModemManager/libmm-plugin-ericsson-mbm.so
NOTE: arm-next-linux-gnueabi-objdump -p /home/alad/yocto2.5/poky/build/tmp/work/armv7ahf-neon-next-linux-gnueabi/modemmanager/1.6.4-r0/packages-split/modemmanager/usr/lib/ModemManager/libmm-plugin-thuraya.so
NOTE: arm-next-linux-gnueabi-objdump -p /home/alad/yocto2.5/poky/build/tmp/work/armv7ahf-neon-next-linux-gnueabi/modemmanager/1.6.4-r0/packages-split/modemmanager/usr/lib/ModemManager/libmm-plugin-novatel_lte.so
NOTE: arm-next-linux-gnueabi-objdump -p /home/alad/yocto2.5/poky/build/tmp/work/armv7ahf-neon-next-linux-gnueabi/modemmanager/1.6.4-r0/packages-split/modemmanager/usr/lib/ModemManager/libmm-plugin-samsung.so
NOTE: arm-next-linux-gnueabi-objdump -p /home/alad/yocto2.5/poky/build/tmp/work/armv7ahf-neon-next-linux-gnueabi/modemmanager/1.6.4-r0/packages-split/modemmanager/usr/lib/ModemManager/libmm-plugin-altair-lte.so
NOTE: arm-next-linux-gnueabi-objdump -p /home/alad/yocto2.5/poky/build/tmp/work/armv7ahf-neon-next-linux-gnueabi/modemmanager/1.6.4-r0/packages-split/modemmanager/usr/lib/ModemManager/libmm-plugin-linktop.so
NOTE: arm-next-linux-gnueabi-objdump -p /home/alad/yocto2.5/poky/build/tmp/work/armv7ahf-neon-next-linux-gnueabi/modemmanager/1.6.4-r0/packages-split/modemmanager/usr/lib/ModemManager/libmm-plugin-option-hso.so
NOTE: arm-next-linux-gnueabi-objdump -p /home/alad/yocto2.5/poky/build/tmp/work/armv7ahf-neon-next-linux-gnueabi/modemmanager/1.6.4-r0/packages-split/modemmanager/usr/lib/ModemManager/libmm-plugin-iridium.so
NOTE: arm-next-linux-gnueabi-objdump -p /home/alad/yocto2.5/poky/build/tmp/work/armv7ahf-neon-next-linux-gnueabi/modemmanager/1.6.4-r0/packages-split/modemmanager/usr/lib/ModemManager/libmm-plugin-option.so
NOTE: arm-next-linux-gnueabi-objdump -p /home/alad/yocto2.5/poky/build/tmp/work/armv7ahf-neon-next-linux-gnueabi/modemmanager/1.6.4-r0/packages-split/modemmanager/usr/lib/ModemManager/libmm-plugin-anydata.so
ERROR: QA Issue: modemmanager package is not obeying usrmerge distro feature. /lib should be relocated to /usr. [usrmerge]
NOTE: Checking Package: modemmanager-doc
NOTE: Checking Package: modemmanager-locale-uk
NOTE: Checking Package: modemmanager-dev
NOTE: Checking Package: modemmanager-locale-de
NOTE: Checking Package: modemmanager-dbg
NOTE: arm-next-linux-gnueabi-objdump -p /home/alad/yocto2.5/poky/build/tmp/work/armv7ahf-neon-next-linux-gnueabi/modemmanager/1.6.4-r0/packages-split/modemmanager-dbg/usr/sbin/.debug/ModemManager
NOTE: arm-next-linux-gnueabi-objdump -p /home/alad/yocto2.5/poky/build/tmp/work/armv7ahf-neon-next-linux-gnueabi/modemmanager/1.6.4-r0/packages-split/modemmanager-dbg/usr/bin/.debug/mmcli
NOTE: arm-next-linux-gnueabi-objdump -p /home/alad/yocto2.5/poky/build/tmp/work/armv7ahf-neon-next-linux-gnueabi/modemmanager/1.6.4-r0/packages-split/modemmanager-dbg/usr/lib/.debug/libmm-glib.so.0.3.0
NOTE: arm-next-linux-gnueabi-objdump -p /home/alad/yocto2.5/poky/build/tmp/work/armv7ahf-neon-next-linux-gnueabi/modemmanager/1.6.4-r0/packages-split/modemmanager-dbg/usr/lib/ModemManager/.debug/libmm-plugin-nokia-icera.so
NOTE: arm-next-linux-gnueabi-objdump -p /home/alad/yocto2.5/poky/build/tmp/work/armv7ahf-neon-next-linux-gnueabi/modemmanager/1.6.4-r0/packages-split/modemmanager-dbg/usr/lib/ModemManager/.debug/libmm-plugin-wavecom.so
NOTE: arm-next-linux-gnueabi-objdump -p /home/alad/yocto2.5/poky/build/tmp/work/armv7ahf-neon-next-linux-gnueabi/modemmanager/1.6.4-r0/packages-split/modemmanager-dbg/usr/lib/ModemManager/.debug/libmm-plugin-sierra.so
NOTE: arm-next-linux-gnueabi-objdump -p /home/alad/yocto2.5/poky/build/tmp/work/armv7ahf-neon-next-linux-gnueabi/modemmanager/1.6.4-r0/packages-split/modemmanager-dbg/usr/lib/ModemManager/.debug/libmm-plugin-generic.so
NOTE: arm-next-linux-gnueabi-objdump -p /home/alad/yocto2.5/poky/build/tmp/work/armv7ahf-neon-next-linux-gnueabi/modemmanager/1.6.4-r0/packages-split/modemmanager-dbg/usr/lib/ModemManager/.debug/libmm-plugin-telit.so
NOTE: arm-next-linux-gnueabi-objdump -p /home/alad/yocto2.5/poky/build/tmp/work/armv7ahf-neon-next-linux-gnueabi/modemmanager/1.6.4-r0/packages-split/modemmanager-dbg/usr/lib/ModemManager/.debug/libmm-plugin-pantech.so
NOTE: arm-next-linux-gnueabi-objdump -p /home/alad/yocto2.5/poky/build/tmp/work/armv7ahf-neon-next-linux-gnueabi/modemmanager/1.6.4-r0/packages-split/modemmanager-dbg/usr/lib/ModemManager/.debug/libmm-plugin-longcheer.so
NOTE: arm-next-linux-gnueabi-objdump -p /home/alad/yocto2.5/poky/build/tmp/work/armv7ahf-neon-next-linux-gnueabi/modemmanager/1.6.4-r0/packages-split/modemmanager-dbg/usr/lib/ModemManager/.debug/libmm-plugin-motorola.so
NOTE: arm-next-linux-gnueabi-objdump -p /home/alad/yocto2.5/poky/build/tmp/work/armv7ahf-neon-next-linux-gnueabi/modemmanager/1.6.4-r0/packages-split/modemmanager-dbg/usr/lib/ModemManager/.debug/libmm-plugin-nokia.so
NOTE: arm-next-linux-gnueabi-objdump -p /home/alad/yocto2.5/poky/build/tmp/work/armv7ahf-neon-next-linux-gnueabi/modemmanager/1.6.4-r0/packages-split/modemmanager-dbg/usr/lib/ModemManager/.debug/libmm-plugin-mtk.so
NOTE: arm-next-linux-gnueabi-objdump -p /home/alad/yocto2.5/poky/build/tmp/work/armv7ahf-neon-next-linux-gnueabi/modemmanager/1.6.4-r0/packages-split/modemmanager-dbg/usr/lib/ModemManager/.debug/libmm-plugin-cinterion.so
NOTE: arm-next-linux-gnueabi-objdump -p /home/alad/yocto2.5/poky/build/tmp/work/armv7ahf-neon-next-linux-gnueabi/modemmanager/1.6.4-r0/packages-split/modemmanager-dbg/usr/lib/ModemManager/.debug/libmm-plugin-dell.so
NOTE: arm-next-linux-gnueabi-objdump -p /home/alad/yocto2.5/poky/build/tmp/work/armv7ahf-neon-next-linux-gnueabi/modemmanager/1.6.4-r0/packages-split/modemmanager-dbg/usr/lib/ModemManager/.debug/libmm-plugin-simtech.so
NOTE: arm-next-linux-gnueabi-objdump -p /home/alad/yocto2.5/poky/build/tmp/work/armv7ahf-neon-next-linux-gnueabi/modemmanager/1.6.4-r0/packages-split/modemmanager-dbg/usr/lib/ModemManager/.debug/libmm-plugin-via.so
NOTE: arm-next-linux-gnueabi-objdump -p /home/alad/yocto2.5/poky/build/tmp/work/armv7ahf-neon-next-linux-gnueabi/modemmanager/1.6.4-r0/packages-split/modemmanager-dbg/usr/lib/ModemManager/.debug/libmm-plugin-x22x.so
NOTE: arm-next-linux-gnueabi-objdump -p /home/alad/yocto2.5/poky/build/tmp/work/armv7ahf-neon-next-linux-gnueabi/modemmanager/1.6.4-r0/packages-split/modemmanager-dbg/usr/lib/ModemManager/.debug/libmm-plugin-haier.so
NOTE: arm-next-linux-gnueabi-objdump -p /home/alad/yocto2.5/poky/build/tmp/work/armv7ahf-neon-next-linux-gnueabi/modemmanager/1.6.4-r0/packages-split/modemmanager-dbg/usr/lib/ModemManager/.debug/libmm-plugin-zte.so
NOTE: arm-next-linux-gnueabi-objdump -p /home/alad/yocto2.5/poky/build/tmp/work/armv7ahf-neon-next-linux-gnueabi/modemmanager/1.6.4-r0/packages-split/modemmanager-dbg/usr/lib/ModemManager/.debug/libmm-plugin-huawei.so
NOTE: arm-next-linux-gnueabi-objdump -p /home/alad/yocto2.5/poky/build/tmp/work/armv7ahf-neon-next-linux-gnueabi/modemmanager/1.6.4-r0/packages-split/modemmanager-dbg/usr/lib/ModemManager/.debug/libmm-plugin-novatel.so
NOTE: arm-next-linux-gnueabi-objdump -p /home/alad/yocto2.5/poky/build/tmp/work/armv7ahf-neon-next-linux-gnueabi/modemmanager/1.6.4-r0/packages-split/modemmanager-dbg/usr/lib/ModemManager/.debug/libmm-plugin-sierra-legacy.so
NOTE: arm-next-linux-gnueabi-objdump -p /home/alad/yocto2.5/poky/build/tmp/work/armv7ahf-neon-next-linux-gnueabi/modemmanager/1.6.4-r0/packages-split/modemmanager-dbg/usr/lib/ModemManager/.debug/libmm-plugin-ericsson-mbm.so
NOTE: arm-next-linux-gnueabi-objdump -p /home/alad/yocto2.5/poky/build/tmp/work/armv7ahf-neon-next-linux-gnueabi/modemmanager/1.6.4-r0/packages-split/modemmanager-dbg/usr/lib/ModemManager/.debug/libmm-plugin-thuraya.so
NOTE: arm-next-linux-gnueabi-objdump -p /home/alad/yocto2.5/poky/build/tmp/work/armv7ahf-neon-next-linux-gnueabi/modemmanager/1.6.4-r0/packages-split/modemmanager-dbg/usr/lib/ModemManager/.debug/libmm-plugin-novatel_lte.so
NOTE: arm-next-linux-gnueabi-objdump -p /home/alad/yocto2.5/poky/build/tmp/work/armv7ahf-neon-next-linux-gnueabi/modemmanager/1.6.4-r0/packages-split/modemmanager-dbg/usr/lib/ModemManager/.debug/libmm-plugin-samsung.so
NOTE: arm-next-linux-gnueabi-objdump -p /home/alad/yocto2.5/poky/build/tmp/work/armv7ahf-neon-next-linux-gnueabi/modemmanager/1.6.4-r0/packages-split/modemmanager-dbg/usr/lib/ModemManager/.debug/libmm-plugin-altair-lte.so
NOTE: arm-next-linux-gnueabi-objdump -p /home/alad/yocto2.5/poky/build/tmp/work/armv7ahf-neon-next-linux-gnueabi/modemmanager/1.6.4-r0/packages-split/modemmanager-dbg/usr/lib/ModemManager/.debug/libmm-plugin-linktop.so
NOTE: arm-next-linux-gnueabi-objdump -p /home/alad/yocto2.5/poky/build/tmp/work/armv7ahf-neon-next-linux-gnueabi/modemmanager/1.6.4-r0/packages-split/modemmanager-dbg/usr/lib/ModemManager/.debug/libmm-plugin-option-hso.so
NOTE: arm-next-linux-gnueabi-objdump -p /home/alad/yocto2.5/poky/build/tmp/work/armv7ahf-neon-next-linux-gnueabi/modemmanager/1.6.4-r0/packages-split/modemmanager-dbg/usr/lib/ModemManager/.debug/libmm-plugin-iridium.so
NOTE: arm-next-linux-gnueabi-objdump -p /home/alad/yocto2.5/poky/build/tmp/work/armv7ahf-neon-next-linux-gnueabi/modemmanager/1.6.4-r0/packages-split/modemmanager-dbg/usr/lib/ModemManager/.debug/libmm-plugin-option.so
NOTE: arm-next-linux-gnueabi-objdump -p /home/alad/yocto2.5/poky/build/tmp/work/armv7ahf-neon-next-linux-gnueabi/modemmanager/1.6.4-r0/packages-split/modemmanager-dbg/usr/lib/ModemManager/.debug/libmm-plugin-anydata.so
ERROR: QA run found fatal errors. Please consider fixing them.
DEBUG: Python function do_package_qa finished
ERROR: Function failed: do_package_qa
====
Recipe
SUMMARY = "ModemManager is a daemon controlling broadband devices/connections"
DESCRIPTION = "ModemManager is a DBus-activated daemon which controls mobile broadband (2G/3G/4G) devices and connections"
HOMEPAGE = "http://www.freedesktop.org/wiki/Software/ModemManager/"
LICENSE = "GPL-2.0 & LGPL-2.1"
LIC_FILES_CHKSUM = " \
file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
file://COPYING.LIB;md5=4fbd65380cdd255951079008b364516c \
"
inherit gnomebase gettext systemd vala gobject-introspection bash-completion
DEPENDS = "glib-2.0 libgudev dbus-glib intltool-native"
SRC_URI = "http://www.freedesktop.org/software/ModemManager/ModemManager-${PV}.tar.xz \
file://enum-conversion.patch \
"
SRC_URI[md5sum] = "06488186c7dd53f8104183b86f7a1568"
SRC_URI[sha256sum] = "cdd5b4cb1e4d7643643a28ccbfc4bb354bfa9cb89a77ea160ebdf7926171c668"
S = "${WORKDIR}/ModemManager-${PV}"
PACKAGECONFIG ??= "mbim qmi polkit \
${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)} \
"
PACKAGECONFIG[systemd] = "--with-systemdsystemunitdir=${systemd_unitdir}/system/,,"
PACKAGECONFIG[polkit] = "--with-polkit=yes,--with-polkit=no,polkit"
# Support WWAN modems and devices which speak the Mobile Interface Broadband Model (MBIM) protocol.
PACKAGECONFIG[mbim] = "--with-mbim,--enable-mbim=no,libmbim"
# Support WWAN modems and devices which speak the Qualcomm MSM Interface (QMI) protocol.
PACKAGECONFIG[qmi] = "--with-qmi,--without-qmi,libqmi"
FILES_${PN} += " \
${datadir}/icons \
${datadir}/polkit-1 \
${datadir}/dbus-1 \
${libdir}/ModemManager \
${systemd_unitdir}/system \
"
FILES_${PN}-dev += " \
${libdir}/ModemManager/*.la \
"
FILES_${PN}-staticdev += " \
${libdir}/ModemManager/*.a \
"
FILES_${PN}-dbg += "${libdir}/ModemManager/.debug"
SYSTEMD_SERVICE_${PN} = "ModemManager.service"
________________________________
The information in this email communication (inclusive of attachments) is confidential to 4RF Limited and the intended recipient(s). If you are not the intended recipient(s), please note that any use, disclosure, distribution or copying of this information or any part thereof is strictly prohibited and that the author accepts no liability for the consequences of any action taken on the basis of the information provided. If you have received this email in error, please notify the sender immediately by return email and then delete all instances of this email from your system. 4RF Limited will not accept responsibility for any consequences associated with the use of this email (including, but not limited to, damages sustained as a result of any viruses and/or any action or lack of action taken in reliance on it).