unofficial mirror of bug-guix@gnu.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: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CALStFoHipnP88FwY+9yyemVec2vOXvgGUzhF7ivLQ+w2fHzDnQ@mail.gmail.com>
2019-07-04 14:46 ` modem["ttyUSB0"]: error starting PPP: Could not find "pppd" binary pelzflorian (Florian Pelz)
2019-07-04 16:08   ` pelzflorian (Florian Pelz) [this message]
2019-07-05  3:24     ` bug#36498: " pelzflorian (Florian Pelz)
     [not found]     ` <20190705032405.ep5dojl57kz7gjsa@pelzflorian.localdomain>
     [not found]       ` <CALStFoFKVRNnYr6G-rFxF1YgC1uVBUBeoKuk3vqdayFc7Y1-pQ@mail.gmail.com>
     [not found]         ` <CALStFoGWmvrUK=H7BifT427vtr5qPyJ-EaLUUPKzJ9p5EYTt8g@mail.gmail.com>
2019-07-06 10:46           ` pelzflorian (Florian Pelz)
     [not found]           ` <20190706104604.pvopw2ogc5cok2gh@pelzflorian.localdomain>
2019-07-06 13:02             ` 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

  List information: https://guix.gnu.org/

* 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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).