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

Bug 476170

Summary: net-misc/networkmanager breaks with net-misc/dhcpcd >= 6
Product: Gentoo Linux Reporter: Arun Raghavan (RETIRED) <ford_prefect>
Component: [OLD] GNOMEAssignee: Gentoo Linux Gnome Desktop Team <gnome>
Status: RESOLVED FIXED    
Severity: normal CC: alexandre.guimaraes, b.brachaczek, granger.damien, harrisl, marduk, steffen.weber, tomwij, tsdh
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://bugzilla.gnome.org/show_bug.cgi?id=704281
Whiteboard:
Package list:
Runtime testing required: ---

Description Arun Raghavan (RETIRED) gentoo-dev 2013-07-08 12:56:40 UTC
NetworkManager has checks the output of dhcpcd --version in configure.ac and checks if it is version 4 or 5 (presumably as a >= 4.x check). This breaks with current dhcpcd 6.x in unstable. Extending the NM check by adding a '6' to the list of versions makes things work again.
Comment 1 Paolo 2013-07-15 11:57:51 UTC
I also confirm this bug! Downgrading dhcpcd to version 5.99.7 solved my problem!
Comment 2 Pacho Ramos gentoo-dev 2013-07-15 18:14:19 UTC
*** Bug 476874 has been marked as a duplicate of this bug. ***
Comment 3 Pacho Ramos gentoo-dev 2013-07-15 18:33:24 UTC
+*networkmanager-0.9.8.2-r2 (15 Jul 2013)
+
+  15 Jul 2013; Pacho Ramos <pacho@gentoo.org> +networkmanager-0.9.8.2-r2.ebuild,
+  -files/0001-core-runtime-detect-logind-and-ConsoleKit-3.patch,
+  -networkmanager-0.9.8.2-r1.ebuild:
+  Revision bump dropping runtime detect of logind as we won't be able to support
+  logind without systemd being running, and this keeps us more close to upstream
+  (preventing us from hitting any hypothetical problems that could arise from it
+  until accepted by upstream). Also force dhcpcd < 6 until upstream confirms
+  updating configure check is enough to properly work with newer versions.
+


Will wait a bit for upstream's opinion, maybe they should simply check for > 4 versions instead of forcing people to add every new version to the configure check :/
Comment 4 Tassilo Horn 2013-07-16 06:31:15 UTC
FWIW, adding the 6 to the check makes NetworkManager work again.  It also successfully obtains IPs for my network devices, so it seems to work just fine also with dhcpcd version 6.

But I agree, it's probably better to wait for the upstream's opinion.
Comment 5 Pacho Ramos gentoo-dev 2013-07-16 20:59:16 UTC
*** Bug 476886 has been marked as a duplicate of this bug. ***
Comment 6 Alexandre Rostovtsev (RETIRED) gentoo-dev 2013-07-20 00:24:02 UTC
*** Bug 477434 has been marked as a duplicate of this bug. ***
Comment 7 Pacho Ramos gentoo-dev 2013-07-20 07:14:48 UTC
  19 Jul 2013; Jonathan Callen <abcd@gentoo.org>
  networkmanager-0.9.8.2-r3.ebuild:
  Fix the deps for >=dhcpcd-6 support

*networkmanager-0.9.8.2-r3 (19 Jul 2013)

  19 Jul 2013; Jonathan Callen <abcd@gentoo.org>
  +files/networkmanager-0.9.8.2-allow-new-dhcpcd.patch,
  +networkmanager-0.9.8.2-r3.ebuild, networkmanager-0.9.8.2-r2.ebuild:
  Add missing eutils inherits; add patch and bump to allow building against
  dhcpcd 6.x (previously silently failed to use dhcpcd, but still compiled and
  installed)