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

Bug 488238

Summary: net-libs/libnm-qt-0.9.0.1 does not compile with USE="-modemmanager"
Product: Gentoo Linux Reporter: Andrés Becerra Sandoval <andres.becerra>
Component: [OLD] KDEAssignee: Gentoo KDE team <kde>
Status: RESOLVED FIXED    
Severity: normal CC: b.brachaczek
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 486812    
Attachments: emerge --info output
build.log
part of upstream patch from master branch

Description Andrés Becerra Sandoval 2013-10-16 15:13:34 UTC
Created attachment 361046 [details]
emerge --info output

I get this error compiling libnm-qt-0.9.0.1:

/usr/lib/gcc/x86_64-pc-linux-gnu/4.8.1/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lModemManagerQt
collect2: error: ld returned 1 exit status


But, If I set USE="modemmanager", this pulls package net-libs/libmm-qt and that allows me to compile libnm-qt.

Maybe the libnm-qt dependency must be mandatory?
Comment 1 Andrés Becerra Sandoval 2013-10-16 15:14:55 UTC
Created attachment 361048 [details]
build.log
Comment 2 Johannes Huber (RETIRED) gentoo-dev 2013-10-16 17:40:50 UTC
(In reply to Andrés Becerra Sandoval from comment #0)

> Maybe the libnm-qt dependency must be mandatory?

This have to be a mistake in the upstream build system files, i have to investigate it.
Comment 3 Bartosz Brachaczek 2013-10-16 18:26:07 UTC
Created attachment 361062 [details, diff]
part of upstream patch from master branch

Commit 607b9338 in master branch contains needed change. The 0.9 branch in upstream git is still affected, though, so they probably need to be notified about it.
Comment 4 Johannes Huber (RETIRED) gentoo-dev 2013-10-16 18:39:10 UTC
Thank you all. This is fixed in cvs now. Please sync in some hours to get the changes.

+  16 Oct 2013; Johannes Huber <johu@gentoo.org>
+  +files/libnm-qt-0.9.0.1-libmm-optional.patch, libnm-qt-0.9.0.1.ebuild:
+  Backport upstream patch spotted by Bartosz Brachaczek
+  <b.brachaczek@gmail.com>. Fixes build with USE="-modemmanager" and net-libs
+  /libmm-qt not installed, bug #488238.
+