WireGuard Archive on lore.kernel.org
 help / color / 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 --]

<div dir="ltr">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.<div><br></div><div>```</div><div>[xx@xxx ~]$ sudo dnf install wireguard-dkms wireguard-tools<br></div><div><div>  Installing       : wireguard-dkms-1:0.0.20180802-1.fc28.noarch                  13/14 </div><div>  Running scriptlet: wireguard-dkms-1:0.0.20180802-1.fc28.noarch                  13/14 </div><div>warning: %post(wireguard-dkms-1:0.0.20180802-1.fc28.noarch) scriptlet failed, exit status 10</div><div>Non-fatal POSTIN scriptlet failure in rpm package wireguard-dkms</div><div>Non-fatal POSTIN scriptlet failure in rpm package wireguard-dkms</div><div>  Installing       : wireguard-tools-1:0.0.20180802-1.fc28.x86_64                 14/14 </div><div>  Running scriptlet: wireguard-tools-1:0.0.20180802-1.fc28.x86_64                 14/14 </div></div><div>...</div><div><br></div><div><div>[xx@xxx ~]$ sudo ip link add dev wg0 type wireguard</div><div>RTNETLINK answers: Operation not supported</div></div><div><br></div><div><div>[xx@xxx ~]$ sudo dkms build -m wireguard -v 0.0.20180802</div><div><br></div><div>Kernel preparation unnecessary for this kernel.  Skipping...</div><div><br></div><div>Building module:</div><div>cleaning build area...(bad exit status: 127)</div><div>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)</div><div>Error! Bad return status for module build on kernel: 4.17.11-200.fc28.x86_64 (x86_64)</div><div>Consult /var/lib/dkms/wireguard/0.0.20180802/build/make.log for more information.</div><div>[xx@xxx~]$ cat /var/lib/dkms/wireguard/0.0.20180802/build/make.log</div><div>DKMS make.log for wireguard-0.0.20180802 for kernel 4.17.11-200.fc28.x86_64 (x86_64)</div><div>Tue Aug  7 22:07:45 JST 2018</div><div>/usr/sbin/dkms: line 74: make: command not found</div></div><div>```</div><div><br></div><div>After I install the make dependency by hand and reinstall WireGuard packages, anything works fine.</div><div>Should the Fedora WireGuard packages add the make dependency? (I have no experience in maintaining package.)</div><div>If no needed, feel free to ignore this email.</div><div><br></div><div>Thanks.</div></div>

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

* Re: Fedora package: missing the make dependency
  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
  0 siblings, 1 reply; 3+ messages in thread
From: Jason A. Donenfeld @ 2018-08-10  2:16 UTC (permalink / raw)
  To: monsoon.cl; +Cc: WireGuard mailing list

That's pretty strange. Are you using rawhide or something where maybe
they've temporarily broken the devel packages?

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

* Re: Fedora package: missing the make dependency
  2018-08-10  2:16 ` Jason A. Donenfeld
@ 2018-08-10  9:49   ` Lejia Chen
  0 siblings, 0 replies; 3+ messages in thread
From: Lejia Chen @ 2018-08-10  9:49 UTC (permalink / raw)
  To: Jason A. Donenfeld; +Cc: WireGuard mailing list

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

I am sure I am using Fedora Server 28 (not rawhide).
I installed a same version (Fedora Server 28 x64, with the default software
selection) on VirtualBox just now, updated all dependencies (sudo dnf
update), and then installed Wireguard. Same problem occurred.

On Fri, Aug 10, 2018 at 10:17 AM Jason A. Donenfeld <Jason@zx2c4.com> wrote:

> That's pretty strange. Are you using rawhide or something where maybe
> they've temporarily broken the devel packages?
>

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

<div dir="ltr"><div><span style="font-size:13px">I am sure I am using Fedora Server 28 (not rawhide).</span></div><div><span style="font-size:13px">I installed a same version (Fedora Server 28 x64, with the default software selection) on VirtualBox just now, updated all dependencies (sudo dnf update), and then installed Wireguard. Same problem occurred.</span></div></div><br><div class="gmail_quote"><div dir="ltr">On Fri, Aug 10, 2018 at 10:17 AM Jason A. Donenfeld &lt;<a href="mailto:Jason@zx2c4.com">Jason@zx2c4.com</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">That&#39;s pretty strange. Are you using rawhide or something where maybe<br>
they&#39;ve temporarily broken the devel packages?<br>
</blockquote></div>

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

end of thread, back to index

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

WireGuard Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/wireguard/0 wireguard/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 wireguard wireguard/ https://lore.kernel.org/wireguard \
		wireguard@lists.zx2c4.com zx2c4-wireguard@archiver.kernel.org
	public-inbox-index wireguard


Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/com.zx2c4.lists.wireguard


AGPL code for this site: git clone https://public-inbox.org/ public-inbox