FreeBSD 114amd64 11.4-RELEASE-p13 I am unable to build the latest version of "lang/go". It is probably due to the fact that I am stuck on FreeBSD 11.4-RELEASE-p13; however, I just wanted to confirm that fact.
ERROR MESSAGE:
===> Building for go-1.17.2,1
<stdin>:8:17: error: use of undeclared identifier 'SYS_freebsd11_mknod'
return syscall(SYS_freebsd11_mknod, "", 0, 0) < 0 && errno ==
ENOSYS; ^
1 error generated.
*** Error code 1
Stop.
make: stopped in /usr/ports/lang/go
A similar problem exists with the "graphics/mesa-libs" port.
../src/util/build_id.c:42:4: error: unknown type name 'Elf_Nhdr'
ElfW(Nhdr) nhdr;
^
../src/util/build_id.c:38:20: note: expanded from macro 'ElfW'
#define ElfW(type) Elf_##type
^
<scratch space>:108:1: note: expanded from here
Elf_Nhdr
^
../src/util/build_id.c:91:33: error: use of undeclared identifier 'Elf_Nhdr'
size_t offset = sizeof(ElfW(Nhdr)) +
^
../src/util/build_id.c:38:20: note: expanded from macro 'ElfW'
#define ElfW(type) Elf_##type
^
<scratch space>:109:1: note: expanded from here
Elf_Nhdr
^
2 errors generated.
ninja: build stopped: subcommand failed.
*** Error code 1
Stop.
make: stopped in /usr/ports/graphics/mesa-libs
--
Carmel
pgp071fvUE5fu.pgp
Description: OpenPGP digital signature
