Version 1 (modified by jmroot (Joshua Root), 14 months ago) (diff) |
---|
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
- #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.
- #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
- #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
- #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
- #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
- #68476
- cog @0.8.0: error: implicit declaration of function 'setup_setting_widget' is invalid in C99
- #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
- #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()
- #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
- #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
- #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"
- #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
- #69852
- macports libusb for qdmr not compiled for arm64
- #69865
- gtk3 @3.24.41_1+universal+x11: ninja: error: unknown target 'CC=/usr/bin/clang -arch arm64'
- #69933
- qt5-qtwebkit @5.9.2: error: no member named 'wtf_ceil' in namespace 'std'; did you mean simply 'wtf_ceil'?
- #69969
- stellarium fail to build on Darwin Kernel Version 23.4.0 / Sonoma 14.4.1
- #69994
- gnubg @1.05.002: command-line works but no GUI is displayed
- #70296
- sigil crashes on arm64 trying to open an ePub if built with libunwind active
- #70326
- Libunwind causes gcc13, gcc14 build failures
- #70355
- arm-none-eabi-gdb @13.1: error: integer value -1 is outside the valid range of values [0, 15] for this enumeration type
- #70468
- php74 @7.4.33: Undefined symbols _res_9_dn_expand, _res_9_dn_skipname, _res_9_init, _res_9_search,
- #70474
- geos2 @2.2.3: error: assigning to 'char *' from 'const char *' discards qualifiers
- #70504
- links @2.30 does not build on macOS Sonoma 14.5 because of configure: error: No graphics drivers found.
- #70718
- Port re-flex installs only static library
- #70750
- C++ headers are not found after updating to CLTs version 16.0
- #71025
- php74-odbc, php80-odbc: error: incompatible function pointer types
- #71034
- screen @5.0.0: cannot show colors and misses load and seconds view
- #71221
- Testing p5.34-fcgi fails because FCGI::Client is not installed
- #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.13_0+release+server: Build fails on x86_64 Sonoma 14.7 undefined symbols
- #70053
- hdf5 +gcc12+openmpi failed to configure in a MacBook Pro with Apple M3 Max and Sonoma 14.5
- #70491
- Segmentation fault in installing KDevelop on MacOS Sonoma
- #70502
- ccl: clang-9.0 dependency hinders installation on Sonoma 14.5 x86_64
- #70809
- Installer stuck on Running Package Scripts on macOS Sonoma 14.7
- #70890
- openjdk21 @21.0.3_1+release+server : build fails on Sonoma 14.7 with "xattr: [Errno 13] Permission" denied error
- #71024
- gegl @0.4.48_2+quartz+vala fails to build on Sonoma 14.7
- #71213
- zenity creates white on white windows on OSX 15.1 sonoma