wireguard.lists.zx2c4.com archive mirror
 help / color / mirror / Atom feed
* Fedora package: missing the make dependency
@ 2018-08-07 14:41 Lejia Chen
  2018-08-10  2:16 ` Jason A. Donenfeld
  0 siblings, 1 reply; 3+ messages in thread
From: Lejia Chen @ 2018-08-07 14:41 UTC (permalink / raw)
  To: wireguard

[-- 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 --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-08-10  9:37 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-08-07 14:41 Fedora package: missing the make dependency Lejia Chen
2018-08-10  2:16 ` Jason A. Donenfeld
2018-08-10  9:49   ` Lejia Chen

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).