wiki:SonomaProblems

macOS Sonoma Problems

General Issues

First of all, please read Migration.

Updating MacPorts Base

MacPorts must be re-installed in a version configured for macOS 14 Sonoma.

Ensure you have Xcode 15.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). 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 Sonoma. 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.
#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
#68277
dosbox-staging @0.80.1: error: call to undeclared function 'select'; ISO C99 and later do not support implicit function declarations
#68282
ghc-prebuilt configure: error: Failed to compile test program
#68289
mpv does not start because of codesigning issues
#68294
parmetis-20230326_0+mpich.darwin_23.arm6 configure fails
#68296
scalapack-2.2.0_1+gfortran+mpich+openblas configure fails arm64
#68297
libgcc-devel @12-20221229_0+stdlib_flag: ld: Assertion failed: (resultIndex < sectData.atoms.size()), function findAtom, file Relocations.cpp, line 1336
#68323
gdb @13.1+multiarch: crash when LC_MESSAGES is undefined
#68359
py27-numpy @1.16.6_3+gfortran+openblas: ld: duplicate LC_RPATH '/opt/local/lib/libgcc' in '/opt/local/lib/libopenblas-r1.dylib'
#68363
soxr @0.1.3_0 build problem
#68368
fpc @3.2.2: ld: pointer not 4-byte aligned at __DATA_CONST+0x9A6, fix alignment or disable chained fixups
#68386
djvulibre: build fails for 'divuextract', due to numerous undefined symbols; possible xcode 15 issue
#68388
lal @7.0.0_7 Fails to build
#68400
esmf @8.5.0: ld: duplicate LC_RPATH '/opt/local/lib/libgcc' in '/opt/local/lib/libnetcdff.7.dylib'
#68402
OpenBLAS @0.3.24: failed to destroot
#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
#68486
libfido2 @1.13.0: error: use of undeclared identifier 'kIOMainPortDefault'
#68500
gtk-gnutella does not launch on Sonoma
#68511
mozjs102 fails on Sonoma: ERROR: Failed to find an adequate linker
#68530
scribus-devel: move to 1.7.x and Qt6 or introduce a new scribus-upstream
#68567
py39-grpcio @1.48.4_5 build failure
#68615
MenuMeters @1.1.6.1: error: a function declaration without a prototype is deprecated in all versions of C
#68626
ffcall @2.4_0: error: "Don't know how to make memory pages executable."
#68632
Failed to configure scotch
#68639
reduce @20211019_0: error: ld: symbol(s) not found for architecture arm64
#68659
mips-elf-gcc @3.4.6_0: fails to build due to implicit declaration of abort()
#68666
ipe @7.2.11: error: no member named 'button' in 'QTabletEvent'
#68694
xercesc3 @3.2.4_2+universal: Undefined symbols
#68698
librsvg @2.56.3_0: SSL peer certificate or SSH remote key was not OK (SSL certificate problem: unable to get local issuer certificate)
#68701
R opportunistically links to libunwind
#68705
webkit2-gtk @2.28.2: config.rb: in `<top (required)>': undefined method `exists?' for File:Class (NoMethodError)
#68712
SuiteSparse_SPQR fails at linking stage on Sonoma ARM64 XCode 15
#68751
xfig @3.2.9: fig2dev invoked through xfig->Export does not find gs
#68759
agrep @2.04: implicit function declarations
#68790
qt5-qtcreator: move to a newer llvm which is supported on newer macOS versions
#68794
py311-numpy @1.26.1_1+gcc12: ERROR: Problem encountered: No BLAS library detected!
#68808
py-scikit-hep-awkward: ModuleNotFoundError: No module named 'awkward_array'
#68814
editorconfig-core-c @0.12.6: Could not create output directory .../build/doc/man
#68815
clang-devel-20230925-f5cb9cb5_0+analyzer: CMake Error: failed to create symbolic link '.../outline_atomic_ldclr2_4.S': File exists
#68817
php81-fpm: crashes constantly
#68830
R-rgl broken on Sonoma
#68854
libxfce4ui @4.16.1: Couldn't find include 'Libxfce4util-1.0.gir'
#68870
arm-none-eabi-gdb wants to build for x86_64 on Apple Silicon
#68894
aubio @0.4.9: python: command not found
#68959
cook fails to build: error: redefinition of 'iswprint' etc.
#68974
gnupg2 @2.4.3.1: error: implicit declaration of function 'libusb_error_name' is invalid in C99
#69001
polyml @5.9_1: ld: LINKEDIT overlap of start of LINKEDIT and symbol table
#69059
py310-pyqt4 fails to build on Sonoma, installs only docs
#69157
encfs @1.9.5_2: fails to compile on Sonoma: NullCipher.cpp:81:36: error: no matching constructor for initialization of 'std::shared_ptr<AbstractCipherKey>'
#69247
clamav: org.macports.freshclam launch daemon issues
#69287
polymake @4.11: bundled extension libnormaliz ... failed
#69461
scribus-devel: does not run on Sonoma aarch64
#69491
tomcat-native @1.2.35: compilation/build issues for tomcat-native on MacOS Sonoma 14.4, build failure
#69526
R @4.3.3+aqua-gcc12+builtin_lapack+cairo+gcc13+openmp+tcltk-x11: error: unknown type name 'CFAttributedStringRef'
#69631
gcc-devel does not build on Sonoma: error: call to undeclared function 'dup2'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
#69632
gcc10-bootstrap does not work on 14.4.1: error: missing ')' after "__has_attribute"
#69714
singular @4.3.2p10 build fails
#69726
gerris @0.9.2-20131206_5: configure: error: Pointers cannot be stored in doubles on this architecture
#69733
libgcc11 @11.4.0: Hangs at patch phase
#69794
clang-12 @12.0.1: error: unknown type name '__sanitizer_XDR'; did you mean '__sanitizer_tm'?
#69832
phonon-qt5: please update the port so that it builds on Sonoma

#68528
MariaDB installation problem on Sonoma
#68582
vigra @1.11.1_20 build failure on Sonoma (arm64)
#68693
postgresql13 @13.13_0+universal destroot failure on macOS Sonoma 14.1.1
#68831
aquaterm @1.1.1_0 fails to build on M1 MacBook Pro (2020) Sonoma 14.1.2
#68832
py311-future: fails to install on M3 MacBook Pro (2023) Sonoma 14.1.2
#68845
openjdk11 +client fails to build @libjsig.dylib - Sonoma (x86_64)
#68986
Yabai 6.01 not working on Sonoma 14.2.x Silicon
#69203
msodbcsql17 @17.10.2.1_2 has broken linking on Sonoma 14.3 M3 with Arm64 and Universal options
#69261
valgrind-macos-devel 3.22.0-r2023-10-29_0 fails to configure on macOS Sonoma 14.3
#69406
build shared-mime-info for deployment target 10.14 fails on macOS Sonoma
#69498
scamp @2.0.4: Processing of port scamp failed on MacOS Sonoma Apple Silicon M3
#69817
openjdk17 @17.0.11_1+release+server: Build fails on x86_64 Sonoma 14.4.1 undefined symbols

Last modified 7 months ago Last modified on Sep 27, 2023, 4:48:19 AM