Fedora package: missing the make dependency

Lejia Chen monsoon.cl at gmail.com
Tue Aug 7 16:41:56 CEST 2018


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 at 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 at xxx ~]$ sudo ip link add dev wg0 type wireguard
RTNETLINK answers: Operation not supported

[xx at 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 at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.zx2c4.com/pipermail/wireguard/attachments/20180807/86ad82d2/attachment.html>


More information about the WireGuard mailing list