I failed to mention that I had been receiving this message every time I installed a port:
"The macOS 12 SDK does not appear to be installed. Ports may not build correctly." And because many ports are building and installing regardless, I ignored that message. Mistake. Got gd2 fixed by repairing the package receipt issue for the command line tools mentioned here: https://trac.macports.org/wiki/ProblemHotlist#reinstall-clt Lesson: never ignore obvious warning messages... Looks like everything is healthy again now, ffmpeg/gd2 installed. On Thu, 30 Jun 2022 at 15:43, Ryan Schmidt <ryandes...@macports.org> wrote: > On Jun 28, 2022, at 22:27, Balthasar Indermuehle wrote: > > > I'm doing a completely clean macports install on MacOS Monterey with > Xcode 13.4.1 so I can run ffmpeg. > > > > The installation however fails on compiling gd2 after successfully > building a dozen or so dependent packages prior to the step it fails. > > > > > /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_gd2/gd2/work/libgd-2.3.3/config.log > > > > contains > > > > configure: exit 77 > > > > as the last entry - file is 415 lines long. > > > > sudo xcode-select -p shows > > /Applications/Xcode.app/Contents/Developer > > > > and xcode starts as per normal. > > > > not sure where to even start looking - any help greatly appreciated. > > If the same happens when you clean the port and try again, please file a > ticket in the issue tracker and attach the main.log and config.log files to > it. > > >