Can't get synth to build anything C compiler cannot create executables

If i got to a port i can do make install clean ok and it builds but using synth always fails. I'm using /xports but same error with /usr/ports. I can't get synth to install anything no matter what. it used to work then somehow I broke it.

Code:
--------------------------------------------------------------------------------
--  Phase: configure
--------------------------------------------------------------------------------
sh: cc: not found
make: "/xports/Mk/Uses/compiler.mk" line 86: warning: "cc --version" returned non-zero status
make: "/xports/Mk/Uses/compiler.mk" line 134: warning: "c++ -### /dev/null 2>&1" returned non-zero status
===>  Configuring for libffi-3.4.8
configure: loading site script /xports/Templates/config.site
checking build system type... amd64-portbld-freebsd14.2
checking host system type... amd64-portbld-freebsd14.2
checking target system type... amd64-portbld-freebsd14.2
continue configure in default builddir "./amd64-portbld-freebsd14.2"
....exec /bin/sh .././configure "--srcdir=.." "--enable-builddir=amd64-portbld-freebsd14.2" "freebsd14.2"
configure: loading site script /xports/Templates/config.site
checking build system type... amd64-portbld-freebsd14.2
checking host system type... amd64-portbld-freebsd14.2
checking target system type... amd64-portbld-freebsd14.2
checking for gsed... sed
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a race-free mkdir -p... (cached) /bin/mkdir -p
checking for gawk... (cached) /usr/bin/awk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking for gcc... cc
checking whether the C compiler works... no
configure: error: in `/construction/xports/devel/libffi/work/libffi-3.4.8/amd64-portbld-freebsd14.2':
configure: error: C compiler cannot create executables
See `config.log' for more details
===>  Script "configure" failed unexpectedly.
Please report the problem to kbowling@FreeBSD.org [maintainer] and attach the
"/construction/xports/devel/libffi/work/libffi-3.4.8/config.log" including
the output of the failure of your make command. Also, it might be a good idea
to provide an overview of all packages installed on your system (e.g. a
/usr/local/sbin/pkg-static info -g -Ea).
*** Error code 1

Stop.
make: stopped in /xports/devel/libffi



--------------------------------------------------
--  Environment
--------------------------------------------------
UNAME_r=14.2-SYNTH
UNAME_m=amd64
UNAME_p=amd64
UNAME_v=FreeBSD 14.2-SYNTH
UNAME_s=FreeBSD
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin
SSL_NO_VERIFY_PEER=1
TERM=dumb
PKG_CACHEDIR=/var/cache/pkg8
PKG_DBDIR=/var/db/pkg8
PORTSDIR=/xports
LANG=C
HOME=/root
USER=root

echo $CC /usr/local/bin/clang

clang -v
clang version 15.0.7
Target: x86_64-portbld-freebsd14.2
Thread model: posix
InstalledDir: /usr/local/bin


/usr/local/sbin/pkg-static info -g -Ea:

Imath-3.1.12                   C++/Python lib of 2D/3D vector, matrix, math ops for computer graphics
abseil-20250127.0              Abseil Common Libraries (C++)
alsa-lib-1.2.13                ALSA compatibility library
aom-3.12.0                     AV1 reference encoder/decoder
autoconf-2.72                  Generate configure scripts and related files
autoconf-switch-20220527       Wrapper script to switch between autoconf versions
automake-1.17                  GNU Standards-compliant Makefile generator
binutils-2.44,1                GNU binary tools
brotli-1.1.0,1                 Generic-purpose lossless compression algorithm
cairo-1.18.2,3                 Vector graphics library with cross-device output support
cmake-core-3.31.6              Cross-platform Makefile generator
dav1d-1.5.1                    Small and fast AV1 decoder
dbus-1.16.2_2,1                Message bus system for inter-application communication
docbook-1.5                    Meta-port for the different versions of the DocBook DTD
docbook-sgml-4.5_1             DocBook SGML DTD
docbook-xml-5.0_3              DocBook XML DTD
docbook-xsl-1.79.1_1,1         XSL DocBook stylesheets
duktape-lib-2.7.0              Embeddable Javascript engine (shared lib)
evdev-proto-5.8                Input event device header files
expat-2.7.1                    XML 1.0 parser written in C
fftw3-3.3.10_5                 Fast C routines to compute the Discrete Fourier Transform
fftw3-float-3.3.10_5           Fast Discrete Fourier Transform (Single Precision C Routines)
flac-1.5.0,1                   Free lossless audio codec
fontconfig-2.15.0_3,1          XML-based font configuration API for X Windows
freetype2-2.13.3               Free and portable TrueType font rendering engine
fribidi-1.0.16                 Free Implementation of the Unicode Bidirectional Algorithm
gawk-5.3.1                     GNU version of AWK scripting language
gcc-13_5                       Meta-port for the default version of the GNU Compiler Collection
gcc13-13.3.0_2                 GNU Compiler Collection 13
gdbm-1.24                      GNU database manager
gettext-runtime-0.23.1         GNU gettext runtime libraries and programs
giflib-5.2.2                   Tools and library routines for working with GIF images
glib-2.84.1,2                  Some useful routines of C programming (current stable version)
glib-bootstrap-2.84.1,2        Some useful routines of C programming (current stable version)
glm-1.0.1,1                    C++ mathematics library for software based on the OpenGL GLSL
gmake-4.4.1                    GNU version of 'make' utility
gmp-6.3.0                      Free library for arbitrary precision arithmetic
gnome_subr-1.0                 Common startup and shutdown subroutines used by GNOME scripts
gobject-introspection-1.84.0,1 Generate interface introspection data for GObject libraries
gobject-introspection-bootstrap-1.84.0,1 Generate interface introspection data for GObject libraries
graphite2-1.3.14               Rendering capabilities for complex non-Roman writing systems
gtk-doc-1.33.2_3               Code documentation system, originally for GTK
harfbuzz-10.3.0                OpenType text shaping engine
hicolor-icon-theme-0.18        High-color icon theme shell from the FreeDesktop project
highway-1.2.0                  Performance-portable, length-agnostic SIMD with runtime dispatch
hwdata-0.394,1                 Database of IDs used in PCI, PNP and USB devices
icu-76.1,1                     International Components for Unicode (from IBM)
indexinfo-0.3.1_1              Utility to regenerate the GNU info page index
iso8879-1986_3                 Character entity sets from ISO 8879:1986 (SGML)
itstool-2.0.7_1                Make XML documents translatable through po files
jbigkit-2.1_3                  Lossless compression for bi-level images such as scanned pages, faxes
jpeg-turbo-3.1.0               SIMD-accelerated JPEG codec which replaces libjpeg
jsoncpp-1.9.6_1                JSON reader and writer library for C++
lame-3.100_5                   Fast MP3 encoder kit
lcms2-2.17                     Accurate, fast, and small-footprint color management engine
lerc-4.0.0                     C++ library for Limited Error Raster Compression
libICE-1.1.1,1                 Inter Client Exchange library for X11
libSM-1.2.6,1                  Session Management library for X11
libX11-1.8.12,1                X11 library
libXau-1.0.11                  Authentication Protocol library for X11
libXcomposite-0.4.6_1,1        X Composite extension library
libXcursor-1.2.2               X client-side cursor loading library
libXdamage-1.1.6               X Damage extension library
libXdmcp-1.1.5                 X Display Manager Control Protocol library
libXext-1.3.6,1                X11 Extension library
libXfixes-6.0.1                X Fixes extension library
libXft-2.3.8                   Client-sided font API for X applications
libXi-1.8.1,1                  X Input extension library
libXinerama-1.1.5,1            X11 Xinerama library
libXrandr-1.5.4                X Resize and Rotate extension library
libXrender-0.9.12              X Render extension library
libXt-1.3.0,1                  X Toolkit library
libXtst-1.2.4                  X Test extension
libXv-1.0.12_1,1               X Video Extension library
libdaemon-0.14_1               Lightweight C library that eases the writing of UNIX daemons
libdatrie-0.2.13_2             Double-array trie implementation library
libdeflate-1.22                Fast, whole-buffer DEFLATE-based compression library
libdrm-2.4.123,1               Direct Rendering Manager library and headers
libedit-3.1.20250104,1         Command line editor library
libepoll-shim-0.0.20240608     Small epoll implementation using kqueue
libepoxy-1.5.10                Library to handle OpenGL function pointer management
libevdev-1.13.2                Linux Event Device library
libevent-2.1.12                API for executing callback functions on events or timeouts
libffi-3.4.6                   Foreign Function Interface
libfontenc-1.1.8               The fontenc Library
libgcrypt-1.11.0               General purpose cryptographic library based on the code from GnuPG
libglvnd-1.7.0                 GL Vendor-Neutral Dispatch library
libgpg-error-1.51              Common error values for all GnuPG components
libiconv-1.17_1                Character set conversion library
libidn2-2.3.8                  Implementation of IDNA2008 internationalized domain names
libinotify-20240724            Kevent based inotify compatible library
libltdl-2.5.4                  System independent dlopen wrapper
liblz4-1.10.0,1                LZ4 compression library, lossless and very fast
libogg-1.3.5,4                 Ogg bitstream library
libpaper-1.1.28_1              Library providing routines for paper size management
libpci-3.13.0                  PCI configuration space I/O made easy
libpciaccess-0.18.1_1          Generic PCI access library
libsamplerate-0.2.2_1          Secret Rabbit Code: a Sample Rate Converter for audio
libsass-3.6.6                  C/C++ implementation of a Sass compiler
libsigc++-2.12.1               Callback Framework for C++
libsndfile-1.2.2_2             Reading and writing files containing sampled sound (like WAV or AIFF)
libsoxr-0.1.3_3                High quality, one-dimensional sample-rate conversion library
libsysinfo-0.0.3_3             GNU libc's sysinfo port for FreeBSD
libtasn1-4.20.0_1              ASN.1 structure parser library
libthai-0.1.29_1               Thai language support library
libtool-2.5.4                  Generic shared library support script
libudev-devd-0.6.0             libudev-compatible interface for devd
libunibreak-6.1,1              Implementation of the line and word breaking algorithm for Unicode
libunistring-1.3               Unicode string library
libunwind-20240221_2           Generic stack unwinding library
libuv-1.50.0                   Multi-platform support library with a focus on asynchronous I/O
libv4l-1.23.0_5                Video4Linux library
libvdpau-1.5                   VDPAU wrapper and tracing library
libvorbis-1.3.7_2,3            Audio compression codec library
libvpx-1.15.0                  VP8/VP9 reference encoder/decoder
libx264-0.164.3095             H.264/MPEG-4 AVC Video Encoding (Library)
libxcb-1.17.0                  The X protocol C-language Binding (XCB) library
libxcvt-0.1.3                  Calculate VESA CVT mode lines
libxkbcommon-1.8.1_2           Keymap handling library for toolkits and window systems
libxkbfile-1.1.3               XKB file library
libxml2-2.11.9                 XML parser library for GNOME
libxshmfence-1.3.2             Shared memory 'SyncFence' synchronization primitive
libxslt-1.1.42                 XML stylesheet transformation library
libyaml-0.2.5                  YAML 1.1 parser and emitter written in C
llvm15-15.0.7_10               LLVM and Clang
llvm20-20.1.3                  LLVM and Clang
lua53-5.3.6_1                  Powerful, efficient, lightweight, embeddable scripting language
lua54-5.4.7                    Powerful, efficient, lightweight, embeddable scripting language
lzo2-2.10_1                    Portable speedy, lossless data compression library
m4-1.4.19_1,1                  GNU M4
mpc-1.3.1_1                    Library of complex numbers with arbitrarily high precision
mpdecimal-4.0.0                C/C++ arbitrary precision decimal floating point libraries
mpfr-4.2.2,1                   Library for multiple-precision floating-point computations
mpg123-1.32.10                 Command-line player for MPEG Layer 1, 2, and 3 audio files
nettle-3.10.1                  Low-level cryptographic library
nlohmann-json-3.12.0           JSON library for Modern C++
nspr-4.36                      Platform-neutral API for system level and libc like functions
nss-3.110                      Libraries to support development of security-enabled applications
opencl-clang-llvm15-15.0.0     Clang wrapper to compile OpenCL C kernels to SPIR-V modules
openexr-3.3.3                  High dynamic-range (HDR) image file format
opus-1.5.2                     IETF audio codec
orc-0.4.40                     Library and toolset to operate arrays of data
pango-1.56.1                   Open-source framework for the layout and rendering of i18n text
pciids-20250309                Database of all known IDs used in PCI devices
pcre2-10.45                    Perl Compatible Regular Expressions library, version 2
perl5-5.36.3_2                 Practical Extraction and Report Language
pixman-0.44.2                  Low-level pixel manipulation library
pkg-2.1.0                      Package manager
pkgconf-2.3.0,1                Utility to help to configure compiler and linker flags
png-1.6.47                     Library for manipulating PNG images
py311-Babel-2.17.0_1           Collection of tools for internationalizing Python applications
py311-CommonMark-0.9.1_2       Python parser for the CommonMark Markdown spec
py311-Jinja2-3.1.6             Fast and easy to use stand-alone template engine
py311-alabaster-0.7.16         Modified Kr Sphinx theme
py311-build-1.2.2_2            PEP517 package builder
py311-calver-2025.4.2          Setuptools extension for CalVer package versions
py311-certifi-2025.1.31        Mozilla SSL certificates
py311-charset-normalizer-3.4.1_1 Real First Universal Charset Detector
py311-cython-0.29.37_2         Compiler for Writing C Extensions for the Python Language
py311-docutils-0.21.2,1        Python Documentation Utilities
py311-flit-core-3.12.0         Distribution-building parts of Flit
py311-future-0.18.3_1          Clean single-source support for Python 3 and 2
py311-gi-docgen-2024.1_1       Documentation generator for GObject-based libraries
py311-hatchling-1.27.0         Modern, extensible Python build backend
py311-idna-3.10                Internationalized Domain Names in Applications (IDNA)
py311-imagesize-1.4.1_1        Get image size from png/jpeg/jpeg2000/gif file
py311-installer-0.7.0          Library for installing Python wheels
py311-libxml2-2.11.9_1         Python interface for XML parser library for GNOME
py311-lxml-4.9.3_1             Pythonic binding for the libxml2 and libxslt libraries
py311-markdown-3.6             Python implementation of Markdown
py311-markdown-it-py-3.0.0     Python port of markdown-it
py311-markupsafe-2.1.5_1       Implements XML/HTML/XHTML Markup safe string for Python
py311-mdit-py-plugins-0.4.2    Collection of plugins for markdown-it-py
py311-mdurl-0.1.2_2            Markdown URL utilities
py311-myst-parser-4.0.1        Extended commonmark compliant parser with bridges to docutils & sphinx
py311-packaging-24.2           Core utilities for Python packages
py311-pathspec-0.12.1          Utility library for pattern matching of file paths
py311-pexpect-4.9.0_1          Python module for controlling interactive programs in pseudo-terminal
py311-pip-23.3.2_4             Tool for installing and managing Python packages
py311-pluggy-1.5.0             Plugin and hook calling mechanisms for Python
py311-ptyprocess-0.7.0_1       Run a subprocess in a pseudo terminal
py311-pygments-2.19.1          Syntax highlighter written in Python
py311-pyproject-hooks-1.2.0    Wrappers to call pyproject.toml-based build backend hooks
py311-pysocks-1.7.1_1          Python SOCKS module
py311-pystemmer-2.0.1_1        Snowball Stemming Algorithms for Information Retrieval
py311-pyyaml-6.0.1_1           Python YAML parser
py311-recommonmark-0.5.0_3     CommonMark bridge for docutils and Sphinx
py311-requests-2.32.3          Python HTTP for Humans
py311-setuptools-63.1.0_3      Python packages installer
py311-setuptools-scm-8.0.4_1   Setuptools plugin to manage your versions by scm tags
py311-smartypants-2.0.1_1      Translate plain ASCII punctuation into smart typographic HTML
py311-snowballstemmer-2.2.0_1  Snowball stemming library collection for Python
py311-sphinx-5.3.0_3,1         Python documentation generator
py311-sphinx-markdown-tables-0.0.17_1,1 Sphinx extension for rendering tables written in markdown
py311-sphinxcontrib-applehelp-2.0.0 Extension which outputs Apple help books
py311-sphinxcontrib-devhelp-2.0.0 Sphinx extension which outputs Devhelp document
py311-sphinxcontrib-htmlhelp-2.1.0 Sphinx extension which renders HTML help files
py311-sphinxcontrib-jsmath-1.0.1_1 Sphinx extension which renders display math in HTML via JavaScript
py311-sphinxcontrib-qthelp-2.0.0 Sphinx extension which outputs QtHelp document
py311-sphinxcontrib-serializinghtml-2.0.0 Sphinx extension which outputs serialized HTML files (json and pickle)
py311-toml-0.10.2_1            Python library for parsing and creating TOML
py311-trove-classifiers-2025.3.19.19 Canonical source for classifiers on PyPI
py311-typing-extensions-4.13.1 Backported and Experimental Type Hints for Python 3.5+
py311-typogrify-2.1.0          Filters to enhance web typography, including support for Django and Jinja template
s
py311-urllib3-1.26.20,1        HTTP library with thread-safe connection pooling, file post, and more
py311-wheel-0.45.1             Built-package format for Python
python311-3.11.11              Interpreted object-oriented programming language
readline-8.2.13_2              Library for editing command lines as they are typed
rhash-1.4.4_1                  Utility and library for computing and checking of file hashes
sassc-3.6.2                    Wrapper around libsass
sdocbook-xml-1.1_2,2           "Simplified" DocBook XML DTD
shaderc-2025.1                 GLSL/HLSL to SPIR-V shader compiler
sndio-1.10.0                   Small audio and MIDI framework from the OpenBSD project
speexdsp-1.2.1                 Audio compression format designed for speech
spirv-llvm-translator-llvm15-15.0.11 Bi-directional translation between SPIR-V and LLVM IR
sqlite3-3.46.1_1,1             SQL database engine in a C library
svt-av1-3.0.2                  Scalable AV1 encoder
swig-4.2.1                     Generate wrappers for calling C/C++ code from other languages
swig40-4.0.2                   Generate wrappers for calling C/C++ code from other languages
tcl86-8.6.16_2                 Tool Command Language
tiff-4.7.0                     Tools and library routines for working with TIFF images
vmaf-3.0.0                     Perceptual video quality assessment based on multi-method fusion
wayland-1.23.1                 Core Wayland window system code and protocol
wayland-logout-1.4_1           Simple logout on Wayland
wayland-protocols-1.41         Wayland protocols
webp-1.5.0                     Google WebP image format conversion tool
webrtc-audio-processing-1.3_1  AudioProcessing module from WebRTC project
wf-config-0.9.0                Library for managing configuration files, written for wayfire
x265-3.6_1                     H.265/High Efficiency Video Coding (HEVC) format
xkeyboard-config-2.41_4        X Keyboard Configuration Database
xmlcatmgr-2.2_4                SGML and XML catalog manager
xmlcharent-0.3_2               XML character entities
xorgproto-2024.1               X Window System unified protocol definitions
xxhash-0.8.3                   Extremely fast non-cryptographic hash algorithm
yelp-tools-42.0_1              Utilities to help manage documentation for Yelp and the web
yelp-xsl-42.0_1                DocBook XSLT stylesheets for yelp
zstd-1.5.7                     Fast real-time compression algorithm
 
Back
Top