all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "pelzflorian (Florian Pelz)" <pelzflorian@pelzflorian.de>
To: Adam Mazurkiewicz <trzczy@gmail.com>
Cc: 36498@debbugs.gnu.org, help-guix@gnu.org
Subject: bug#36498: modem["ttyUSB0"]: error starting PPP: Could not find "pppd" binary
Date: Thu, 4 Jul 2019 18:08:55 +0200	[thread overview]
Message-ID: <20190704160854.xaitrx6t2bjthi7a@pelzflorian.localdomain> (raw)
In-Reply-To: <20190704144632.g4vzhkwekdf7q54e@pelzflorian.localdomain>

[-- Attachment #1: Type: text/plain, Size: 508 bytes --]

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

[-- Attachment #2: 0001-gnu-network-manager-Add-ppp-input-configure-flag-and.patch --]
[-- Type: text/plain, Size: 2314 bytes --]

From 6eea4f17af471a85dd89adce3acb895fc0fd341f Mon Sep 17 00:00:00 2001
From: Florian Pelz <pelzflorian@pelzflorian.de>
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


  reply	other threads:[~2019-07-04 16:09 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-07-04 13:48 modem["ttyUSB0"]: error starting PPP: Could not find "pppd" binary Adam Mazurkiewicz
2019-07-04 14:46 ` pelzflorian (Florian Pelz)
2019-07-04 16:08   ` pelzflorian (Florian Pelz) [this message]
2019-07-05  3:24     ` bug#36498: " pelzflorian (Florian Pelz)
2019-07-05  3:24     ` pelzflorian (Florian Pelz)
2019-07-06  4:01       ` Adam Mazurkiewicz
2019-07-06  4:07         ` Adam Mazurkiewicz
2019-07-06 10:46           ` pelzflorian (Florian Pelz)
2019-07-06 13:02             ` pelzflorian (Florian Pelz)
2019-07-07 18:55               ` Adam Mazurkiewicz
2019-07-07 20:28                 ` pelzflorian (Florian Pelz)
     [not found]                   ` <CALStFoEi2HkU-hib0C_iYfZygwowyyD5Hv=magCfNpwGctL8-A@mail.gmail.com>
2019-07-12 19:13                     ` Adam Mazurkiewicz
2019-07-12 20:14                       ` pelzflorian (Florian Pelz)
2019-07-13  7:19                         ` pelzflorian (Florian Pelz)
2019-08-11 20:38                           ` Adam Mazurkiewicz
2019-07-06 10:46           ` pelzflorian (Florian Pelz)

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190704160854.xaitrx6t2bjthi7a@pelzflorian.localdomain \
    --to=pelzflorian@pelzflorian.de \
    --cc=36498@debbugs.gnu.org \
    --cc=help-guix@gnu.org \
    --cc=trzczy@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.