cd /usr/ports/ports-mgmt/synth Run make ===> License ISCL accepted by the user ===> synth-1.69 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by synth-1.69 for building ===> Extracting for synth-1.69 => SHA256 Checksum OK for jrmarino-synth-v1.69_GH0.tar.gz. ===> Patching for synth-1.69 ===> synth-1.69 depends on file: /usr/local/lib/libncurses.a - found ===> synth-1.69 depends on file: /usr/local/lib/gnat/ini_file_manager.gpr - found ===> synth-1.69 depends on file: /usr/local/lib/gnat/adacurses.gpr - found ===> synth-1.69 depends on file: /usr/local/gcc6-aux/bin/ada - found ===> Configuring for synth-1.69 ===> Building for synth-1.69 (cd /usr/ports/ports-mgmt/synth/work/synth-1.69/src && /usr/bin/env NCURSES_LINK=static PATH=/usr/local/gcc6-aux/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/root/bin ADA_PROJECT_PATH=/usr/local/lib/gnat XDG_DATA_HOME=/usr/ports/ports-mgmt/synth/work XDG_CONFIG_HOME=/usr/ports/ports-mgmt/synth/work HOME=/usr/ports/ports-mgmt/synth/work NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local LOCALBASE=/usr/local LIBDIR="/usr/lib" CC="ada" CFLAGS="-O2 -pipe -fno-omit-frame-pointer -march=native -fstack-protector -fno-strict-aliasing" CPP="cpp" CPPFLAGS="" LDFLAGS=" -fstack-protector" LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -fno-omit-frame-pointer -march=native -fstack-protector -fno-strict-aliasing " MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install -m 555" BSD_INSTALL_LIB="install -m 0644" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" gcc -c unix_core.c -o ../build/unix_core.o) In file included from unix_core.c:13:0: /usr/local/gcc6-aux/lib/gcc/x86_64-aux-freebsd11.0/6.3.1/include-fixed/sys/types.h:266:9: error: unknown type name '__vm_ooffset_t' typedef __vm_ooffset_t vm_ooffset_t; ^~~~~~~~~~~~~~ /usr/local/gcc6-aux/lib/gcc/x86_64-aux-freebsd11.0/6.3.1/include-fixed/sys/types.h:268:9: error: unknown type name '__vm_pindex_t' typedef __vm_pindex_t vm_pindex_t; ^~~~~~~~~~~~~ *** Error code 1 Stop. make: stopped in /usr/ports/ports-mgmt/synth Please let me know if I can be of further assistance debugging this. Thank you.
@Lacey Did this port version build on previous FreeBSD versions? If so, what was the last FreeBSD version that it was successfully built on. If not, what was the last (or currently installed version) of synth that successfully built?
The last version of synth that worked for me was 1.68 on FreeBSD 11. Once I upgraded to FreeBSD 11.1, 1.68 started having problems. I tried 1.69 in the hopes that the latest version fixed some sort of bug. I did a few of hours of troubleshooting (interesting way to spend a bit of vacation time), and it looks like synth didn't force a rebuild of lang/gcc6-aux, which had older definitions in the types.h header. Once lang/gcc6-aux was fully and completely rebuilt, and reinstalled with pkg upgrade -f lang/gcc6-aux, the resulting header was updated, and synth started building again just fine. I'm not sure why synth didn't force a rebuild of all of the packages when upgrading from 11.0-RELEASE to 11.1-RC1 (or any of the in-between BETA and RC versions).
11.1-RELEASE and the problem persist with v1.69, and with v1.70 (just out).
CORRECTION: 11.1-RELEASE and the problem persist with v1.69, but v1.70 is just out. However I had to delete the old gcc6-aux package to install it, and so I do not have how to test it anymore.
I can confirm the same problem on 11.1-RELEASE i386. Same error when building v1.70. I haven't rebuilt lang/gcc6-aux yet; it was previously built under 11.0-RELEASE.
I just created PR 221111 to fix the underlying problem in lang/gcc6-aux. It should fix the problem with building synth. https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=221111
*** Bug 221138 has been marked as a duplicate of this bug. ***
Fixed with more recent gcc6-aux