macOS Ventura Problems

General Issues

First of all, please read Migration.

Xcode 14.1

Xcode 14.1 has now been released, and is the minimum required version on macOS Ventura.

Apple did not release Xcode 14.1 at the same time as macOS Ventura as intended, but earlier versions do not provide the macOS 13 Ventura SDK. In the time between the release of Ventura and the final release of Xcode 14.1, users had to install the Xcode 14.1 release candidate from Apple's developer site.

Updating MacPorts Base

MacPorts must be re-installed in a version configured for macOS 13 Ventura.

Ensure you have Xcode 14.1 or greater installed and selected (e.g. sudo xcode-select -s /Applications/, and that you have the command line tools installed (xcode-select --install). You also have to agree to the license by running sudo xcodebuild -license.

There have been reports that the -license option might not be sufficient alone, and following command might be required to agree to the license: sudo xcodebuild -runFirstLaunch

Trace mode not working

Building ports in trace mode (i.e. with the -t option) will fail on Ventura. This appears to be due to new security features in Ventura+. This issue is being followed in Ticket: #66358

Rosetta 2 and build_arch

MacPorts defaults to building for the architecture that it is running as. If you have a universal MacPorts installation on an Apple Silicon Mac, and you run it from a terminal emulator that is not a native arm64 binary, MacPorts will end up being run as x86_64, and will build ports accordingly, which can be unexpected. This can be corrected by explicitly setting build_arch arm64 in macports.conf, or by using a native terminal emulator.

A number of MacPorts portfiles and MacPorts base assume that arm64 Macs will have Rosetta 2 installed; you will likely run into issues if you have not installed it. Note that Rosetta 2 is not installed by default, or when running x86_64 binaries from the command line — you must open an application that has only x86_64 code in it to get the prompt to install Rosetta 2, or run softwareupdate --install-rosetta in a terminal window.

Tickets for Broken Ports

xemacs @21.4.22: *** PANIC *** Configure tests are not working - compiler is broken.
moria @5.5.2_5: implicit declaration of functions
clang-7.0, clang-8.0: error: invalid application of 'sizeof' to an incomplete type 'struct stat64'
cctools @949.0.1+llvm10: error: implicit declaration of function 'CLS_GETINFO' is invalid in C99
py39-tensorflow failed - macos Ventura 13.0.1
gstreamer1-gst-plugins-good +qt: build failure on macOS 13
vulkan-validationlayers @ error: no member named 'kInstBufferOOBEnable' in namespace 'spvtools'
djview color mismatch on Ventura M1 Pro
ManOpen @2.6_2: /usr/bin/gm4:stdin:1744: ERROR: end of file in string
arch @1.3.5: error: implicit declaration of function
kcalc @4.14.3_3: Assertion failure in -[NSNib initWithContentsOfURL:], NSNib.m:65, Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Deprecated in 10.8.'
akregator (and other kdepim4 apps) crash on launch
apache2 @2.4.57_0+preforkmpm: Background item on Ventura 13.3.1
beekeeper-studio @1.11.6: node-pre-gyp ERR! build error
py27-pynacl @1.4.0: distutils.errors.DistutilsError: Could not find suitable distribution for Requirement.parse('wheel')
gtk3 @3.24.38 +quartz: Undefined symbols for architecture x86_64
py310-pytorch @2.0.0_2: error: unknown token in expression
logisim-evolution @3.8.0: build fails on macOS Ventura 13.5 arm64 aarch64
xfconf @4.16.0 failed to compile on Ventura arm64, and a potential workaround
gimp2: configuration failure on Ventura 13.5.1 ARM
wren-cli @0.3.0: error: call to undeclared function 'uv__idna_toascii'
perl5.22: Executable requires at least macOS 12.0, but is being run on macOS 10.16, and so is exiting
Fail to install Krusader on Ventura 13.5.1 (22G90)
aewan @1.0.01_1: error: implicit declaration of function 'filedlg_show' is invalid in C99
cog @0.8.0: error: implicit declaration of function 'setup_setting_widget' is invalid in C99
scribus-devel: move to 1.7.x and Qt6 or introduce a new scribus-upstream
bazel @6.4.0: error: builtin __has_trivial_destructor is deprecated; use __is_trivially_destructible instead
mips-elf-gcc @3.4.6_0: fails to build due to implicit declaration of abort()
agrep @2.04: implicit function declarations
aubio @0.4.9: python: command not found
gnupg2 @ error: implicit declaration of function 'libusb_error_name' is invalid in C99
gimp2 @2.10.36_1+python27: ld: Undefined symbols: Imf_3_1::Chromaticities::Chromaticities

freeglut fails to build under Ventura
llvm-10 @10.0.1_3+emulated_tls arm64 build fails on macOS Ventura
mariadb-10.1 fails to build on macOS Ventura 13.0 (MacBook Pro M1)
FileZilla @3.51.0 Failed to be built on macOS 13.0 Ventura
I cannot install i386-elf-gcc on macos ventura
Okular installation not working in Ventura13.0.1(arm64)
LibreOffice fails to configure on install in macOS Ventura (13.1) because it can't find the correct macOS SDK.
openntpd not working with Ventura 13.2 on Mac M2
Kyua fails to build on Ventura
php82-fpm access denied to a file by System Policy of macOS Ventura
libgcc12 @12.3.0: Fails to build on Ventura 13.3.1 (a)
ffmpeg and ghostscript ports fail to build due to "too many open files" error, Ventura 13.4
parallel-netcdf @1.10.0_0+mpich build failure on macOS Ventura 13.4.1
emacs @29.1_1 on Mac OS X ventura 13.4.1 cannot install magit
Inkscape does not run on Ventura 13.5.1.
Uninstalling failed QGIS3 installation via MacPorts on macOS Ventura 13.3.1
TeXShop @5.22_0 fails to build on Ventura 13.6.1

Last modified 5 months ago Last modified on Sep 27, 2023, 4:49:11 AM