Version 4 (modified by markemer (Mark Anderson), 3 weeks ago) (diff) |
---|
macOS Sequoia Problems
General Issues
First of all, please read Migration.
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 (. (CLTs should probably be avoided for now, see below.) You also have to agree to the license by running xcode-select --install
)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 C++ compiler in the Command Line Tools for Xcode 16 appears to be broken on Sequoia; it does not look in the correct place for C++ headers. The majority of ports that contain C++ code will likely fail to build as a result.
The workaround is to use the compiler in the Xcode app. Either not installing the CLTs in the first place, or deleting /Library/Developer/CommandLineTools
if they are already installed, will force MacPorts to use Xcode instead.
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 macos_deployment_target
to 14 or below.
Current Tickets: 70758, 70756, 70709
Tickets for Broken Ports
- #70468
- php74 @7.4.33: Undefined symbols _res_9_dn_expand, _res_9_dn_skipname, _res_9_init, _res_9_search,
- #70710
- gcc13 @13.3.0: error: non-private labels cannot appear between .cfi_startproc / .cfi_endproc pairs
- #70720
- sox @14.4.2_4 Fails to build on macOS Sequoia 15 RC
- #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'?
- #70752
- FAudio @24.09 build failure
- #70753
- samba3 @3.6.25_4: configure failure
- #70755
- lrzsz @0.12.20_4: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int
- #70765
- libssh2 @1.11.0 cannot compile against libressl
- #70792
- qt6-qtimageformats @6.7.2: ISO C++ forbids forward references to 'enum' types
- #70795
- boost171 @1.71.0_8+no_single+no_static+python310: error: integer value -1 is outside the valid range of values [0, 3] for the enumeration type 'udt_builtin_mixture_enum' [-Wenum-constexpr-conversion]
- #70808
- openjdk18 @18.0.2.1_0+release+server fails to build on macOS Sequoia 15
- #70833
- wezterm @20240203-110809-5046fc22: error[E0282]: type annotations needed for `Box<_>`
- #70841
- bcv @2.2: error: assigning to 'char *' from 'const char *' discards qualifiers
- #70842
- lfortran port fails to compile
- #70843
- rexx port build failure: -Wincompatible-function-pointer-types
- #70850
- qt5-qtwebengine @5.15.16_2 : converts to incompatible function type on sequoia
- #70882
- Linking errors after installing ffmpeg, ffmpeg7
- #70888
- blender: Error: Unable to deduce MP Clang version from /usr/bin/clang
- #70889
- oath-toolkit @2.6.7: error: call to undeclared library function 'realloc' with type 'void *(void *, unsigned long)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
- #70909
- rogue @5.4.4_3: incomplete definition of type 'struct _win_st'
- #70923
- tepl @5.0.1_5: clang: error: unknown argument: '-export-symbols
- #70939
- building julia fails for x86_64 on macOS 15 (Xcode 16): error: non-private labels cannot appear between .cfi_startproc / .cfi_endproc pairs
- #70941
- sane-backends @1.2.1: error: static declaration of 'send' follows non-static declaration
- #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
- libpeas @1.32.0: failure to build on macOS Sequoia
- #70987
- php73, php74, php80, php81: Segmentation fault when generating phar.php
- #71013
- qt6: Update to future 6.8.0 to support macOS 15.
- #71014
- nxcomp @3.5.99.22_1: error: invalid operands to binary expression ('__bind<int &, sockaddr *&, unsigned int &>' and 'int')
- #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
- #71057
- xgalaga @2.1.1.0: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
- #71058
- gwenhywfar4: error: incompatible function pointer types
- #71062
- mariadb-10.2 @10.2.44: error: assigning to 'xmlErrorPtr' (aka '_xmlError *') from 'const xmlError *' (aka 'const _xmlError *') discards qualifiers