From mboxrd@z Thu Jan 1 00:00:00 1970 From: "pelzflorian (Florian Pelz)" Subject: bug#36498: modem["ttyUSB0"]: error starting PPP: Could not find "pppd" binary Date: Thu, 4 Jul 2019 18:08:55 +0200 Message-ID: <20190704160854.xaitrx6t2bjthi7a@pelzflorian.localdomain> References: <20190704144632.g4vzhkwekdf7q54e@pelzflorian.localdomain> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="te4iovu54jodt5e5" Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:44353) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hj4IC-0000MJ-2Q for bug-guix@gnu.org; Thu, 04 Jul 2019 12:09:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hj4IA-0002l8-Nd for bug-guix@gnu.org; Thu, 04 Jul 2019 12:09:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:42956) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hj4IA-0002kt-JO for bug-guix@gnu.org; Thu, 04 Jul 2019 12:09:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hj4IA-0003rB-DA for bug-guix@gnu.org; Thu, 04 Jul 2019 12:09:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: Content-Disposition: inline In-Reply-To: <20190704144632.g4vzhkwekdf7q54e@pelzflorian.localdomain> List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: Adam Mazurkiewicz Cc: 36498@debbugs.gnu.org, help-guix@gnu.org --te4iovu54jodt5e5 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit On Thu, Jul 04, 2019 at 04:46:32PM +0200, pelzflorian (Florian Pelz) wrote: > I suppose the attached patch could help. It builds, but I could not > test. > > Adam, could you try it? Just follow the Guix manual’s instructions on > Contributing and `git am the-attached-patch`. > Only if ./pre-inst-env guix system reconfigure with the patch before is not sufficient, could you try the one attached here instead? (git reset --hard master, then git am this-new-patch and reconfigure.) Regards, Florian --te4iovu54jodt5e5 Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="0001-gnu-network-manager-Add-ppp-input-configure-flag-and.patch" >From 6eea4f17af471a85dd89adce3acb895fc0fd341f Mon Sep 17 00:00:00 2001 From: Florian Pelz Date: Thu, 4 Jul 2019 17:56:34 +0200 Subject: [PATCH] gnu: network-manager: Add ppp input, configure flag and substitute to use it. * gnu/packages/gnome.scm (network-manager): Add them. --- gnu/packages/gnome.scm | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm index 2820be0022..9ab0d15df6 100644 --- a/gnu/packages/gnome.scm +++ b/gnu/packages/gnome.scm @@ -5313,6 +5313,9 @@ users.") (("systemd") "elogind")) (substitute* "./src/nm-logging.c" (("systemd") "elogind")) + (substitute* "src/ppp/nm-ppp-manager.c" + (("nm_utils_find_helper \\(\"pppd\".*") + "PPPD_PATH;")) #t)))) (build-system gnu-build-system) (outputs '("out" @@ -5322,7 +5325,9 @@ users.") (let ((out (assoc-ref %outputs "out")) (doc (assoc-ref %outputs "doc")) (dhclient (string-append (assoc-ref %build-inputs "isc-dhcp") - "/sbin/dhclient"))) + "/sbin/dhclient")) + (pppd (string-append (assoc-ref %build-inputs "ppp") + "/sbin/pppd"))) (list "--with-systemd-logind=yes" ;In Guix System, this is provided by elogind. "--with-consolekit=no" "--with-crypto=gnutls" @@ -5335,7 +5340,8 @@ users.") out "/etc/dbus-1/system.d") (string-append "--with-html-dir=" doc "/share/gtk-doc/html") - (string-append "--with-dhclient=" dhclient))) + (string-append "--with-dhclient=" dhclient) + (string-append "--with-pppd=" pppd))) #:phases (modify-phases %standard-phases (add-before 'configure 'pre-configure @@ -5395,6 +5401,7 @@ users.") ("libxslt" ,libxslt) ("libxml2" ,libxml2) ("pkg-config" ,pkg-config) + ("ppp" ,ppp) ;; For testing. ("python" ,python-wrapper) ("python-dbus" ,python-dbus) -- 2.22.0 --te4iovu54jodt5e5--