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

#61383
xemacs @21.4.22: *** PANIC *** Configure tests are not working - compiler is broken.
#61529
moria @5.5.2_5: implicit declaration of functions
#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
#66716
ManOpen @2.6_2: /usr/bin/gm4:stdin:1744: ERROR: end of file in string
#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.'
#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
#68044
gimp2: configuration failure on Ventura 13.5.1 ARM
#68057
wren-cli @0.3.0: error: call to undeclared function 'uv__idna_toascii'
#68160
perl5.22: Executable requires at least macOS 12.0, but is being run on macOS 10.16, and so is exiting
#68190
Fail to install Krusader on Ventura 13.5.1 (22G90)
#68443
aewan @1.0.01_1: error: implicit declaration of function 'filedlg_show' is invalid in C99
#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
#68630
bazel @6.4.0: error: builtin __has_trivial_destructor is deprecated; use __is_trivially_destructible instead
#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
#69193
gimp2 @2.10.36_1+python27: ld: Undefined symbols: Imf_3_1::Chromaticities::Chromaticities

#66097
freeglut fails to build under Ventura
#66156
llvm-10 @10.0.1_3+emulated_tls arm64 build fails on macOS Ventura
#66168
mariadb-10.1 fails to build on macOS Ventura 13.0 (MacBook Pro M1)
#66172
FileZilla @3.51.0 Failed to be built on macOS 13.0 Ventura
#66360
I cannot install i386-elf-gcc on macos 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
#66955
Kyua fails to build on Ventura
#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

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