Build fail on OpenBSD 6.5 amd64

Ulrich Kalloch ulli at noc23.de
Mon Sep 23 14:18:40 CEST 2019


Hello @ all

the build script -> https://xn--4db.cc/IKuBc62Z fails on OpenBSD 6.5

The Output :


foo# ./install.sh    
[+] Preparing build directory in /usr/src/wireguard
[+] Installing dependencies
quirks-3.124 signed on 2019-09-22T21:00:10Z
[+] Fetching latest versions
Trying 147.75.105.169...
Requesting https://build.wireguard.com/distros.txt
1978 bytes received in 0.00 seconds (12.69 MB/s)
[+] Fetching and unpacking archives
Trying 147.75.77.251...
Requesting
https://git.zx2c4.com/WireGuard/snapshot/WireGuard-0.0.20190913.tar.xz
330788 bytes received in 1.55 seconds (208.92 KB/s)
Trying 147.75.77.251...
Requesting
https://git.zx2c4.com/wireguard-go/snapshot/wireguard-go-0.0.20190908.tar.xz
79212 bytes received in 0.51 seconds (150.46 KB/s)
[+] Building wg(8) and wg-quick(8) tools
gmake: Entering directory
'/usr/src/wireguard/WireGuard-0.0.20190913/src/tools'
  CC      /usr/src/wireguard/WireGuard-0.0.20190913/src/tools/wg.o
  CC      /usr/src/wireguard/WireGuard-0.0.20190913/src/tools/set.o
  CC      /usr/src/wireguard/WireGuard-0.0.20190913/src/tools/mnlg.o
  CC      /usr/src/wireguard/WireGuard-0.0.20190913/src/tools/pubkey.o
  CC      /usr/src/wireguard/WireGuard-0.0.20190913/src/tools/showconf.o
  CC      /usr/src/wireguard/WireGuard-0.0.20190913/src/tools/genkey.o
  CC      /usr/src/wireguard/WireGuard-0.0.20190913/src/tools/setconf.o
  CC      /usr/src/wireguard/WireGuard-0.0.20190913/src/tools/curve25519.o
wg.c:6:10: fatal error: 'stddef.h' file not found
#include <stddef.h>
         ^~~~~~~~~~
set.c:6:10: fatal error: 'stdio.h' file not found
#include <stdio.h>
         ^~~~~~~~~
1 error generated.
1 error generated.
showconf.c:6:10: fatal error: 'arpa/inet.h' file not found
#include <arpa/inet.h>
         ^~~~~~~~~~~~~
genkey.c:6:10: fatal error: 'errno.h' file not found
#include <errno.h>
         ^~~~~~~~~
pubkey.c:6:10: fatal error: 'errno.h' file not found
#include <errno.h>
         ^~~~~~~~~
1 error generated.
1 error generated.
setconf.c:6:10: fatal error: 'stddef.h' file not found
#include <stddef.h>
         ^~~~~~~~~~
1 error generated.
In file included from curve25519.c:6:
./curve25519.h:9:10: fatal error: 'stdint.h' file not found
1 error#include <stdint.h> generated
.
         ^~~~~~~~~~
1 error generated.
gmake: *** [<builtin>: set.o] Error 1
gmake: *** Waiting for unfinished jobs....
gmake: *** [<builtin>: wg.o] Error 1
gmake: *** [<builtin>: pubkey.o] Error 1
gmake: *** [<builtin>: curve25519.o] Error 1
gmake: *** [<builtin>: setconf.o] Error 1
gmake: *** [<builtin>: genkey.o] Error 1
gmake: *** [<builtin>: showconf.o] Error 1
gmake: Leaving directory
'/usr/src/wireguard/WireGuard-0.0.20190913/src/tools'
[+] Cleaning up build directory
foo#


The System is a Plain OpenBSD with this Packages.total 212
drwxr-xr-x  53 root  wheel  1536 Sep 23 14:05 .
drwxr-xr-x   7 root  wheel   512 Sep 23 11:49 ..
drwxr-xr-x   2 root  wheel   512 Sep 23 12:05 acx-firmware-1.4p5
drwxr-xr-x   2 root  wheel   512 Sep 23 12:05 amdgpu-firmware-20181218
drwxr-xr-x   2 root  wheel   512 Sep 23 12:05 athn-firmware-1.1p4
drwxr-xr-x   2 root  wheel   512 Sep 23 14:05 bash-5.0.3
drwxr-xr-x   2 root  wheel   512 Sep 23 12:05 bwfm-firmware-20171125
drwxr-xr-x   2 root  wheel   512 Sep 23 12:05 bwi-firmware-1.4p4
drwxr-xr-x   2 root  wheel   512 Sep 23 14:03 bzip2-1.0.6p10
drwxr-xr-x   2 root  wheel   512 Sep 23 14:05 curl-7.64.1p1
drwxr-xr-x   2 root  wheel   512 Sep 23 14:05 cvsps-2.1p2
drwxr-xr-x   2 root  wheel   512 Sep 23 11:51 desktop-file-utils-0.23p10
drwxr-xr-x   2 root  wheel   512 Sep 23 14:05 gettext-0.19.8.1p3
drwxr-xr-x   2 root  wheel   512 Sep 23 14:05 git-2.21.0
drwxr-xr-x   2 root  wheel   512 Sep 23 11:51 glib2-2.58.3p9
drwxr-xr-x   2 root  wheel   512 Sep 23 14:05 gmake-4.2.1p0
drwxr-xr-x   2 root  wheel   512 Sep 23 14:05 go-1.12.1
drwxr-xr-x   2 root  wheel   512 Sep 23 11:51 htop-2.2.0p8
drwxr-xr-x   2 root  wheel   512 Sep 23 11:41 intel-firmware-20190514p0v0
drwxr-xr-x   2 root  wheel   512 Sep 23 12:05 inteldrm-firmware-20181218
drwxr-xr-x   2 root  wheel   512 Sep 23 12:05 ipw-firmware-1.3p2
drwxr-xr-x   2 root  wheel   512 Sep 23 12:05 iwi-firmware-3.1p2
drwxr-xr-x   2 root  wheel   512 Sep 23 12:05 iwm-firmware-0.20170105
drwxr-xr-x   2 root  wheel   512 Sep 23 12:05 iwn-firmware-5.11p1
drwxr-xr-x   2 root  wheel   512 Sep 23 11:51 libffi-3.2.1p5
drwxr-xr-x   2 root  wheel   512 Sep 23 14:05 libiconv-1.14p3
drwxr-xr-x   2 root  wheel   512 Sep 23 14:03 libidn2-2.0.0p0
drwxr-xr-x   2 root  wheel   512 Sep 23 14:03 libpsl-0.20.2
drwxr-xr-x   2 root  wheel   512 Sep 23 14:03 libunistring-0.9.7
drwxr-xr-x   2 root  wheel   512 Sep 23 12:05 malo-firmware-1.4p4
drwxr-xr-x   2 root  wheel   512 Sep 23 11:51 nano-4.0
drwxr-xr-x   2 root  wheel   512 Sep 23 14:05 nghttp2-1.37.0
drwxr-xr-x   2 root  wheel   512 Sep 23 11:51 nload-0.7.4p4
drwxr-xr-x   2 root  wheel   512 Sep 23 12:05 otus-firmware-1.0p1
drwxr-xr-x   2 root  wheel   512 Sep 23 14:05 p5-Error-0.17025
drwxr-xr-x   2 root  wheel   512 Sep 23 11:51 pcre-8.41p2
drwxr-xr-x   2 root  wheel   512 Sep 23 14:03 pcre2-10.32
drwxr-xr-x   2 root  wheel   512 Sep 23 12:05 pgt-firmware-1.2p4
drwxr-xr-x   2 root  wheel   512 Sep 23 11:51 python-3.6.8p0
drwxr-xr-x   2 root  wheel   512 Sep 23 11:51 quirks-3.124
drwxr-xr-x   2 root  wheel   512 Sep 23 11:41 radeondrm-firmware-20181218
drwxr-xr-x   2 root  wheel   512 Sep 23 12:05 rsu-firmware-1.2p1
drwxr-xr-x   2 root  wheel   512 Sep 23 14:05 rsync-3.1.3
drwxr-xr-x   2 root  wheel   512 Sep 23 12:05 rtwn-firmware-20180103
drwxr-xr-x   2 root  wheel   512 Sep 23 11:51 sqlite3-3.27.2p0
drwxr-xr-x   2 root  wheel   512 Sep 23 12:05 uath-firmware-2.0p1
drwxr-xr-x   2 root  wheel   512 Sep 23 12:05 upgt-firmware-1.1p4
drwxr-xr-x   2 root  wheel   512 Sep 23 12:05 urtwn-firmware-20180103
drwxr-xr-x   2 root  wheel   512 Sep 23 12:05 uvideo-firmware-1.2p2
drwxr-xr-x   2 root  wheel   512 Sep 23 11:41 vmm-firmware-1.11.0p1
drwxr-xr-x   2 root  wheel   512 Sep 23 14:03 wget-1.20.3
drwxr-xr-x   2 root  wheel   512 Sep 23 12:05 wpi-firmware-3.2p1
drwxr-xr-x   2 root  wheel   512 Sep 23 11:51 xz-5.2.4

Regards

Ulli

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0x44BE4EB74E7625C8.asc
Type: application/pgp-keys
Size: 3923 bytes
Desc: not available
URL: <http://lists.zx2c4.com/pipermail/wireguard/attachments/20190923/65d536c0/attachment-0001.key>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://lists.zx2c4.com/pipermail/wireguard/attachments/20190923/65d536c0/attachment-0001.asc>


More information about the WireGuard mailing list