Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 725522

Summary: net-misc/modemmanager does not install mm-common-helpers.h when LIBMM_GLIB_COMPILATION is set
Product: Gentoo Linux Reporter: Edward Kigwana <edwardwwgk>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED NEEDINFO    
Severity: normal CC: jstein
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Edward Kigwana 2020-05-26 19:58:28 UTC
When libmm-glib is build per https://gitlab.freedesktop.org/NetworkManager/ModemManager/-/blob/master/libmm-glib/Makefile.am#L103 mm-common-helpers.h is missing from list as thus is not installed ://gitlab.freedesktop.org/NetworkManager/ModemManager/-/blob/master/libmm-glib/Makefile.am#L121

I discovered this by linking to libmm-glib with LIBMM_GLIB_COMPILATION defined. I get the following error:

/usr/include/libmm-glib/libmm-glib.h:59:11: fatal error: mm-common-helpers.h: No such file or directory

For an example build log see https://725168.bugs.gentoo.org/attachment.cgi?id=641518 which shows libmm-glib is build with LIBMM_GLIB_COMPILATION defined
Comment 1 Jonas Stein gentoo-dev 2020-05-31 17:14:48 UTC
Thank you for the report. We need to have all information at hand before ticket assignment. That is why I ask you to 
* attach the logs and 
* paste the emerge info 
as described on https://wiki.gentoo.org/wiki/Attach_the_logs_to_the_bug_ticket
Please reopen this ticket (Status:UNCONFIRMED) afterwards.