wireguard.lists.zx2c4.com archive mirror
 help / color / mirror / Atom feed
From: Lejia Chen <monsoon.cl@gmail.com>
To: wireguard@lists.zx2c4.com
Subject: Fedora package: missing the make dependency
Date: Tue, 7 Aug 2018 23:41:56 +0900	[thread overview]
Message-ID: <CAPyEcbmfaLgZ0z=9CKgYapQEzohovw9RxkEX3MKRhhXUawD+FA@mail.gmail.com> (raw)

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

Today I reinstalled my Fedora server (Fedora 28 x64), found the
make dependency is missed in current Fedora WireGuard packages resulting in
failing to use Wireguard.

```
[xx@xxx ~]$ sudo dnf install wireguard-dkms wireguard-tools
  Installing       : wireguard-dkms-1:0.0.20180802-1.fc28.noarch
      13/14
  Running scriptlet: wireguard-dkms-1:0.0.20180802-1.fc28.noarch
      13/14
warning: %post(wireguard-dkms-1:0.0.20180802-1.fc28.noarch) scriptlet
failed, exit status 10
Non-fatal POSTIN scriptlet failure in rpm package wireguard-dkms
Non-fatal POSTIN scriptlet failure in rpm package wireguard-dkms
  Installing       : wireguard-tools-1:0.0.20180802-1.fc28.x86_64
       14/14
  Running scriptlet: wireguard-tools-1:0.0.20180802-1.fc28.x86_64
       14/14
...

[xx@xxx ~]$ sudo ip link add dev wg0 type wireguard
RTNETLINK answers: Operation not supported

[xx@xxx ~]$ sudo dkms build -m wireguard -v 0.0.20180802

Kernel preparation unnecessary for this kernel.  Skipping...

Building module:
cleaning build area...(bad exit status: 127)
make -j1 KERNELRELEASE=4.17.11-200.fc28.x86_64 -C
/lib/modules/4.17.11-200.fc28.x86_64/build
M=/var/lib/dkms/wireguard/0.0.20180802/build...(bad exit status: 127)
Error! Bad return status for module build on kernel:
4.17.11-200.fc28.x86_64 (x86_64)
Consult /var/lib/dkms/wireguard/0.0.20180802/build/make.log for more
information.
[xx@xxx~]$ cat /var/lib/dkms/wireguard/0.0.20180802/build/make.log
DKMS make.log for wireguard-0.0.20180802 for kernel 4.17.11-200.fc28.x86_64
(x86_64)
Tue Aug  7 22:07:45 JST 2018
/usr/sbin/dkms: line 74: make: command not found
```

After I install the make dependency by hand and reinstall WireGuard
packages, anything works fine.
Should the Fedora WireGuard packages add the make dependency? (I have no
experience in maintaining package.)
If no needed, feel free to ignore this email.

Thanks.

[-- Attachment #2: Type: text/html, Size: 2417 bytes --]

             reply	other threads:[~2018-08-07 14:31 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-08-07 14:41 Lejia Chen [this message]
2018-08-10  2:16 ` Fedora package: missing the make dependency Jason A. Donenfeld
2018-08-10  9:49   ` Lejia Chen

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='CAPyEcbmfaLgZ0z=9CKgYapQEzohovw9RxkEX3MKRhhXUawD+FA@mail.gmail.com' \
    --to=monsoon.cl@gmail.com \
    --cc=wireguard@lists.zx2c4.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.
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 NNTP newsgroup(s).