Hi everyone,
my question might be a bit odd, I hope this is the right place.
I try to compile opnsense on freebsd for the aarch64 architecture ( https://github.com/opnsense/tools/issues/290 )and one of the ports that is built automatically is icinga2. The problem is: the build of incinga2 fails with this error:
/bin/sh /usr/obj/usr/ports/devel/gdb/work-py38/gdb-12.1/gdb/../mkinstalldirs target/.deps
/bin/sh /usr/obj/usr/ports/devel/gdb/work-py38/gdb-12.1/gdb/../mkinstalldirs nat/.deps
mkdir python
mkdir python/.deps
mkdir nat
mkdir nat/.deps
mkdir target
mkdir target/.deps
GEN stamp-version
CXX x86-tdep.o
CXX xcoffread.o
CXX windows-tdep.o
GEN xml-builtin.c
CXX xml-support.o
CXX xml-syscall.o
CXX xml-tdesc.o
CXX xstormy16-tdep.o
CXX xtensa-config.o
CXX xtensa-linux-tdep.o
CXX xtensa-tdep.o
CXX z80-tdep.o
GEN init.c
CXX kgdb-main.o
CXX gdb.o
CXX aarch32-tdep.o
CXX aarch64-fbsd-kern.o
CXX aarch64-fbsd-nat.o
CXX aarch64-fbsd-tdep.o
CXX aarch64-linux-tdep.o
CXX aarch64-nat.o
/usr/obj/usr/ports/devel/gdb/work-py38/gdb-12.1/gdb/aarch64-fbsd-nat.c:79:31: error: no member named 'debug_regs_probed' in 'aarch64_fbsd_na
t_target'
bool aarch64_fbsd_nat_target::debug_regs_probed;
~~~~~~~~~~~~~~~~~~~~~~~~~^
1 error generated.
gmake[3]: *** [Makefile:1666: aarch64-fbsd-nat.o] Error 1
gmake[3]: *** Waiting for unfinished jobs....
gmake[3]: Leaving directory '/usr/obj/usr/ports/devel/gdb/work-py38/.build/gdb'
gmake[2]: *** [Makefile:10434: all-gdb] Error 2
gmake[2]: Leaving directory '/usr/obj/usr/ports/devel/gdb/work-py38/.build'
gmake[1]: *** [Makefile:1000: all] Error 2
gmake[1]: Leaving directory '/usr/obj/usr/ports/devel/gdb/work-py38/.build'
[20220519091806] ===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1
Stop.
make: stopped in /usr/ports/devel/gdb
Creating repository in /usr/obj/usr/tools/config/22.1/OpenSSL:aarch64/.pkg-new/: 100%
Packing files for repository: 100%
>>> Running build step: clean
>>> Passing arguments: packages
>>> Removing packages set
>>> Creating package mirror set for 22.1.7_93-OpenSSL-aarch64... done
-rw-r--r-- 1 root wheel 179M May 19 11:18 packages-22.1.7_93-OpenSSL-aarch64.tar
>>> ERROR: The build encountered fatal issues!
>>> Aborted version 12.1 for devel/gdb
*** Error code 1
Stop.
make: stopped in /usr/tools
I made sure to run both “make ports-icinga2” and “make MAKE_JOBS_UNSAFE=yes ports-icinga2” and they both end up with the same error (above)
Is this the right place to ask this question?
If so: what could I do about this error?
kind regards,
Johannes