wiki:VenturaProblems

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/Xcode.app/Contents/Developer), 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

#49129
HandBrakeCLI @0.10.0: configure.py: error: invalid xcconfig: osx1011.x86_64
#61383
xemacs @21.4.22: *** PANIC *** Configure tests are not working - compiler is broken.
#61529
moria @5.5.2_5: implicit declaration of functions
#61653
gimp-gap @2.6.0, gimp-gap-devel @2.7.0-20191012: error: implicit declaration of function
#61696
transcode @1.1.7: error: implicit declaration of function 'audio_resample_close' is invalid in C99
#61972
clang-7.0, clang-8.0: error: invalid application of 'sizeof' to an incomplete type 'struct stat64'
#63221
cctools @949.0.1+llvm10: error: implicit declaration of function 'CLS_GETINFO' is invalid in C99
#66357
py39-tensorflow failed - macos Ventura 13.0.1
#66423
gstreamer1-gst-plugins-good +qt: build failure on macOS 13
#66608
vulkan-validationlayers @1.3.236.0_0: error: no member named 'kInstBufferOOBEnable' in namespace 'spvtools'
#66683
djview color mismatch on Ventura M1 Pro
#67051
arch @1.3.5: error: implicit declaration of function
#67061
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.'
#67106
git: destroot fails "The domain/default pair of (.../Git Gui.app/Contents/Info, CFBundleExecutable) does not exist"
#67143
akregator (and other kdepim4 apps) crash on launch
#67249
apache2 @2.4.57_0+preforkmpm: Background item on Ventura 13.3.1
#67385
beekeeper-studio @1.11.6: node-pre-gyp ERR! build error
#67613
py27-pynacl @1.4.0: distutils.errors.DistutilsError: Could not find suitable distribution for Requirement.parse('wheel')
#67675
gtk3 @3.24.38 +quartz: Undefined symbols for architecture x86_64
#67770
py310-pytorch @2.0.0_2: error: unknown token in expression
#67839
logisim-evolution @3.8.0: build fails on macOS Ventura 13.5 arm64 aarch64
#67892
xfconf @4.16.0 failed to compile on Ventura arm64, and a potential workaround
#68160
perl5.22: Executable requires at least macOS 12.0, but is being run on macOS 10.16, and so is exiting
#68476
cog @0.8.0: error: implicit declaration of function 'setup_setting_widget' is invalid in C99
#68530
scribus-devel: move to 1.7.x and Qt6 or introduce a new scribus-upstream
#68659
mips-elf-gcc @3.4.6_0: fails to build due to implicit declaration of abort()
#68759
agrep @2.04: implicit function declarations
#68894
aubio @0.4.9: python: command not found
#68974
gnupg2 @2.4.3.1: error: implicit declaration of function 'libusb_error_name' is invalid in C99
#69733
libgcc11 @11.4.0: Hangs at patch phase
#70474
geos2 @2.2.3: error: assigning to 'char *' from 'const char *' discards qualifiers
#71053
clang @19.1.1_0+analyzer: can't find standard headers
#71195
tiledb @2.26.0: Undefined symbols "std::exception_ptr::__from_native_exception_pointer(void*)"

#66097
freeglut fails to build under Ventura
#66156
llvm-10 @10.0.1_3+emulated_tls arm64 build fails on macOS Ventura
#66172
FileZilla @3.51.0 Failed to be built on macOS 13.0 Ventura
#66407
Okular installation not working in Ventura13.0.1(arm64)
#66534
LibreOffice fails to configure on install in macOS Ventura (13.1) because it can't find the correct macOS SDK.
#66893
openntpd not working with Ventura 13.2 on Mac M2
#67142
php82-fpm access denied to a file by System Policy of macOS Ventura
#67424
libgcc12 @12.3.0: Fails to build on Ventura 13.3.1 (a)
#67523
ffmpeg and ghostscript ports fail to build due to "too many open files" error, Ventura 13.4
#67726
parallel-netcdf @1.10.0_0+mpich build failure on macOS Ventura 13.4.1
#67987
emacs @29.1_1 on Mac OS X ventura 13.4.1 cannot install magit
#68191
Inkscape does not run on Ventura 13.5.1.
#68411
Uninstalling failed QGIS3 installation via MacPorts on macOS Ventura 13.3.1
#68729
TeXShop @5.22_0 fails to build on Ventura 13.6.1
#69581
ssh-askpass-mac fails to build on macOS 13 (Ventura) for Intel
#69953
libgcc-devel-14-20240303 does not install on Apple M1 Mac with Ventura 13.6.6
#70585
py310-pyqt5-webengine upgrade broken on port version 2.10.1 on Ventura 13.6.7

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