Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 488238 - net-libs/libnm-qt-0.9.0.1 does not compile with USE="-modemmanager"
Summary: net-libs/libnm-qt-0.9.0.1 does not compile with USE="-modemmanager"
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 486812
  Show dependency tree
 
Reported: 2013-10-16 15:13 UTC by Andrés Becerra Sandoval
Modified: 2013-10-16 18:39 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info output (info.txt,5.22 KB, text/plain)
2013-10-16 15:13 UTC, Andrés Becerra Sandoval
Details
build.log (build.log,226.42 KB, text/plain)
2013-10-16 15:14 UTC, Andrés Becerra Sandoval
Details
part of upstream patch from master branch (libnm-qt-607b9338.patch,842 bytes, patch)
2013-10-16 18:26 UTC, Bartosz Brachaczek
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.
+