macOS Sequoia Problems
General Issues
First of all, please read Migration.
Check the status of Sequoia builders here if you prefer to install prebuilt binaries. It can take several weeks after a new MacOS release before builders are working for both x86_64 and arm64.
Updating MacPorts Base
MacPorts must be installed in a version configured for macOS 15 Sequoia. If you update from an older OS version, you need to run port migrate to reinstall MacPorts base and installed ports that are not OS-independent (see link above).
Ensure you have Xcode 16.0 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). (See below for a potential problem when upgrading from older CLT versions.) 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
Compiling C++ fails
The installer for the Command Line Tools for Xcode 16 does not delete a directory that was installed by some older versions of the CLTs, which unfortunately causes clang++ to look in the wrong place for C++ headers. The majority of ports that contain C++ code will fail to build as a result.
The fix is to delete the stray directory if it exists: sudo rm -rf /Library/Developer/CommandLineTools/usr/include/c++
Then clean the ports that failed to build, and try again.
Ticket: #70750
Trace mode not working
Building ports in trace mode (i.e. with the -t option) will fail on Apple Silicon systems running Sequoia. This appears to be due to new security features in Ventura+. This issue is being followed in Ticket: #66358
Rosetta 2
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.
ScreenCaptureKit Requirement with macOS 15 SDK
Anything that dies with an error:
error: '<SomeCGGraphicsFunction>' is unavailable: obsoleted in macOS 15.0 - Please use ScreenCaptureKit instead.
Needs to set macosx_deployment_target to 14 or below.
Workaround for most ports:
if {${os.platform} eq "darwin" && [vercmp ${macosx_deployment_target} >= 15.0]} {
macosx_deployment_target 14.0
}
Current Tickets: 70758, 70756, 70709, 70774, 71103
Tickets for Broken Ports
- #62820
- bmon @4.0: error: use of undeclared identifier 'unused'
- #68759
- agrep @2.04: implicit function declarations
- #70468
- php74 @7.4.33: Undefined symbols _res_9_dn_expand, _res_9_dn_skipname, _res_9_init, _res_9_search,
- #70750
- C++ headers are not found after updating to CLTs version 16.0
- #70751
- collada-dom @2.4.0_1: error: unknown type name 'zipFile'; did you mean 'zip_file'?
- #70753
- samba3 @3.6.25_4: configure failure on macOS 15.x/Xcode 16.x
- #70765
- libssh2 @1.11.0 cannot compile against libressl
- #70808
- openjdk18 @18.0.2.1_0+release+server fails to build on macOS Sequoia 15
- #70812
- ossp-uuid @1.6.2 +universal: error: call to undeclared function '__VA_COPY_USE_yes'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
- #70841
- bcv @2.2: error: assigning to 'char *' from 'const char *' discards qualifiers
- #70843
- rexx port build failure: -Wincompatible-function-pointer-types
- #70882
- OpenCore Legacy Patcher 2.0.2 installs misversioned CoreImage framework wrapper on macOS 15 on Macs using 3802-based GPUs
- #70888
- blender: Error: Unable to deduce MP Clang version from /usr/bin/clang
- #70956
- Togl-2.0 @2.0: error: incompatible function pointer types assigning to 'void (*)(Tk_Window, Tk_ClassProcs *, ClientData)' (aka 'void (*)(struct Tk_Window_ *, struct Tk_ClassProcs *, void *)') from 'void (*const)(Tk_Window, const Tk_ClassProcs *, ClientData)' (aka 'void (*const)(struct Tk_Window_ *, const struct Tk_ClassProcs *, void *)') [-Wincompatible-function-pointer-types]
- #70972
- flite @2.2_0 fails to link on macOS sequioa
- #70976
- libpeas1 @1.32.0: failure to build on macOS Sequoia
- #71019
- gnupg2 @2.4.5_0+openldap+pinentry_mac linking fails on macOS Sequoia arm64
- #71023
- mpich-clang13 @4.2.2: error: _Float16 is not supported on this target
- #71025
- php74-odbc, php80-odbc: error: incompatible function pointer types
- #71047
- emacs-app @29.4_1+imagemagick+nativecomp+rsvg+treesitter: Failed to activate
- #71058
- gwenhywfar4: error: incompatible function pointer types
- #71090
- kicad @7.0.11: error: implicit instantiation of undefined template 'std::char_traits<unsigned short>'
- #71091
- libxmi @1.2: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
- #71092
- tecla @1.6.3: error: incompatible function pointer types passing 'TputsRetType (TputsArgType)' (aka 'void (int)') to parameter of type 'int (*)(int)' [-Wincompatible-function-pointer-types]
- #71094
- tectonic @0.14.1: error[E0282]: type annotations needed for `Box<_>`
- #71119
- ruby33: error: something wrong with LDFLAGS
- #71133
- scheme48 @1.9.2: error: Unable to determine bits per byte, see config.log for details
- #71134
- swi-prolog @9.2.7: tex:main source_sink `tex(main)' does not exist
- #71135
- ucblogo @6.2.4: error: incompatible function pointer types passing 'void (void)' to parameter of type 'void (*)(int)' [-Wincompatible-function-pointer-types]
- #71150
- py311-wxpython-4.0: error: 'CGDisplayCreateImage' is unavailable: obsoleted in macOS 15.0 - Please use ScreenCaptureKit
- #71160
- openjdk-17 @17.0.13_0+release+server: Build failure - command failed
- #71169
- tree-sitter-yaml @0.5.0_0 build fails on Sequoia arm64
- #71269
- valgrind-macos-devel @3.22.0-r2023-10-29: configure: error: Valgrind works on Darwin 10.x-23.x (Mac OS X 10.6-10.11 and macOS 10.12-14.0)
- #71365
- mumps @5.7.3_0+gfortran+mpich+openblas rev-upgrade fails due to self-conflict
- #71383
- gle-graphics @4.2.5_4 build failure
- #71386
- py-py2app: Wrong path to Carbon framework
- #71423
- qt5-qtbase @5.15.15_0: ASSERT failure in QMacVersion: "Could not find any version load command"
- #71481
- portaudio @20240308-88ab584e +universal Undefined symbols for architecture x86_64
- #71492
- traceroute @1.4a12: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
- #71512
- Platypus 5.4.1 fails to build on 15.1.1
- #71517
- kermit @9.0.302: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
- #71580
- MacVim @9.1.release180 build error
- #71596
- py312-pytorch @2.3.0_0+mps build fails on MacOS Sequoia 15.2 on M3 MacBook Pro
- #71668
- libffi @3.4.6: Build failure on arm64, configure detects x86_64
- #71702
- mariadb-10.11 install fails on Sequoia 15.2
- #71718
- php71 @7.1.33_5+libedit: error: too few arguments to function call, expected 3, have 2
- #71783
- xcircuit @3.10.30_3: error: call to undeclared function 'XDefineCursor'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
- #71802
- mmencode: implicit int errors
- #71817
- edencommon: Undefined boost::filesystem symbols
- #71894
- xar: @1.8.0.501: error: implicit declaration of function 'xar_prop_get_expect_notnull' is invalid in C99
- #71898
- gnuplot 6 +wxwidgets: in Sequoia, set term wxt does not work
- #71905
- gimp3-devel +quartz: error: 'CGWindowListCreateImage' is unavailable: obsoleted in macOS 15.0 - Please use ScreenCaptureKit instead.
- #71969
- db47 @4.7.25: patch fails on Ventura and later
- #72071
- bash50 @5.0.18: error: expected identifier or '('
- #72124
- emacs @30.1: error: incomplete definition of type 'struct dynarray_header'
- #72184
- herbstluftwm @0.6.2 fails to build on osx sequoia
- #72321
- dconf @0.26.1: incompatible function pointer types
- #72356
- lha @20211125_0: header.c:71:13: error: parameter 'len' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
- #72427
- libgcc14: error: '_Alignof' was not declared in this scope
- #72500
- ccl @1.12.2 does not build with clang 17 under Sequoia on arm64 with Xcode 16.3
- #72583
- emacs-app @30.1_1+nativecomp+rsvg+treesitter launches multiple bash processes that do not terminate
- #72693
- gdb @15.1+multiarch: fails to build on macOS 15.5 with XCode 16.4
- #72786
- pingus: Unable to fetch (git password requested)
- #72822
- daemontools @0.76: error: call to undeclared function 'lockf'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
- #72848
- mips-elf-gcc: build failure
- #72889
- aom @3.12.1_0: arm64 Sequoia 15.6.1: C++ versions less than C++14 are not supported
- #72894
- py-ansible: ansible-vault requires the cryptography library in order to function
- #72897
- gtk-sharp2: int conversion errors
- #72973
- game-porting-toolkit: Building game-porting-toolkit requires the MacOSX13.sdk to be present
- #72978
- swi-prolog @9.2.9: error: called object type 'int' is not a function or function pointer
- #73187
- falcon @0.9.6.8: error: non-constant-expression cannot be narrowed from type 'GType' (aka 'unsigned long') to 'Falcon::int64' (aka 'long long') in initializer list [-Wc++11-narrowing]
- #73283
- bash @5.3.3 segmentation faults
- #70862
- batik port: MacOS Sequoia; install via source build fails
- #71052
- llvm-19 @19.1.1: possibly rpath-related problems on macOS Sequoia
- #71130
- segfault building gd2 on Mac OS Sequoia
- #71416
- volk 2.5.0: Broken on Sequoia / clang 16.0.0
- #71434
- ftgl @2.4.0_1 does not build on macOS 15.1 Sequoia
- #71722
- libt3config @1.0.0+universal: sequoia 15.2: reporting error in configure: libtool not working for C.
- #72118
- tree-sitter-cmake install fails on Sequoia 15.3.1
- #72119
- gstreamer1-gst-plugins-bad @1.24.9_2+faac fails to build on Sequoia arm64
- #72123
- dbusmenu-qt build failure on MacOS Sequoia
- #72137
- xplot fails to configure on mac sequoia 15.3.1
- #72251
- glib2 2.78 failed to compile on MacOS X Sequoia
- #72411
- Cannot build "sword" on macOS Sequoia 15.4
- #72563
- samba4 @4.22.1+universal: crashes on startup on Sequoia 15.5
- #72594
- qgis3: GRASS Plugin fails to load in macOS Sequoia 15.5 despite proper installation
- #72673
- easytag: Unable to install On Sequoia 15.5
- #73179
- clang-16 @16.0.6_8+analyzer failed build on macOS Sequoia 15.7.1 x86_64
- #73297
- Bug Report: rev-upgrade incorrectly marks esmf as broken on macOS Sequoia due to @rpath load commands
