Development discussion of WireGuard
 help / color / mirror / Atom feed
* DKMS build problem on Pinephone with UBports (xenial)
@ 2020-02-22 19:58 Jaron Kent-Dobias
  2020-02-23 15:46 ` Jason A. Donenfeld
  0 siblings, 1 reply; 2+ messages in thread
From: Jaron Kent-Dobias @ 2020-02-22 19:58 UTC (permalink / raw)
  To: WireGuard mailing list

Hello,

Installing the wireguard-dkms package (0.0.20200215-0ppa1~16.04) on a
Pinephone running UBports (xenial with custom repositories) results in a
DKMS build error. The shell output and make.log are below. Seems like a
syntax error in a build script, not sure if this belongs here or downstream.

Jaron

> phablet@ubuntu-phablet ~ % sudo apt install wireguard-dkms
> Reading package lists... Done
> Building dependency tree       
> Reading state information... Done
> Recommended packages:
>   wireguard
> The following NEW packages will be installed:
>   wireguard-dkms
> 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
> Need to get 259 kB of archives.
> After this operation, 1,765 kB of additional disk space will be used.
> Get:1 http://ppa.launchpad.net/wireguard/wireguard/ubuntu xenial/main arm64 wireguard-dkms all 0.0.20200215-0ppa1~16.04 [259 kB] 
> Fetched 259 kB in 0s (279 kB/s)         
> Selecting previously unselected package wireguard-dkms.
> (Reading database ... 83056 files and directories currently installed.)
> Preparing to unpack .../wireguard-dkms_0.0.20200215-0ppa1~16.04_all.deb ...
> Unpacking wireguard-dkms (0.0.20200215-0ppa1~16.04) ...
> Setting up wireguard-dkms (0.0.20200215-0ppa1~16.04) ...
> Loading new wireguard-0.0.20200215 DKMS files...
> First Installation: checking all kernels...
> Building only for 5.4.0-pine64
> Building initial module for 5.4.0-pine64
> Error! Bad return status for module build on kernel: 5.4.0-pine64 (aarch64)
> Consult /var/lib/dkms/wireguard/0.0.20200215/build/make.log for more information.
> W: No sandbox user '_apt' on the system, can not drop privileges
>   11.03s user 4.14s system 83% cpu 18.115 total

> DKMS make.log for wireguard-0.0.20200215 for kernel 5.4.0-pine64 (aarch64)
> Sat Feb 22 19:47:26 UTC 2020
> make: Entering directory '/usr/src/linux-headers-5.4.0-pine64'
>   AR      /var/lib/dkms/wireguard/0.0.20200215/build/built-in.a
>   CC [M]  /var/lib/dkms/wireguard/0.0.20200215/build/main.o
> scripts/basic/fixdep: 1: scripts/basic/fixdep: Syntax error: ")" unexpected
> scripts/Makefile.build:265: recipe for target '/var/lib/dkms/wireguard/0.0.20200215/build/main.o' failed
> make[1]: *** [/var/lib/dkms/wireguard/0.0.20200215/build/main.o] Error 2
> make[1]: *** Deleting file '/var/lib/dkms/wireguard/0.0.20200215/build/main.o'
> Makefile:1652: recipe for target '/var/lib/dkms/wireguard/0.0.20200215/build' failed
> make: *** [/var/lib/dkms/wireguard/0.0.20200215/build] Error 2
> make: Leaving directory '/usr/src/linux-headers-5.4.0-pine64'
_______________________________________________
WireGuard mailing list
WireGuard@lists.zx2c4.com
https://lists.zx2c4.com/mailman/listinfo/wireguard

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

* Re: DKMS build problem on Pinephone with UBports (xenial)
  2020-02-22 19:58 DKMS build problem on Pinephone with UBports (xenial) Jaron Kent-Dobias
@ 2020-02-23 15:46 ` Jason A. Donenfeld
  0 siblings, 0 replies; 2+ messages in thread
From: Jason A. Donenfeld @ 2020-02-23 15:46 UTC (permalink / raw)
  To: Jaron Kent-Dobias; +Cc: WireGuard mailing list

Looks like the tools in the headers package were built for the wrong
arch. Might want to ask the distro package maintainer.
_______________________________________________
WireGuard mailing list
WireGuard@lists.zx2c4.com
https://lists.zx2c4.com/mailman/listinfo/wireguard

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

end of thread, other threads:[~2020-02-23 15:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-02-22 19:58 DKMS build problem on Pinephone with UBports (xenial) Jaron Kent-Dobias
2020-02-23 15:46 ` Jason A. Donenfeld

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