macOS Monterey Problems
General Issues
First of all, please read Migration.
Updating MacPorts Base
MacPorts must be re-installed in a version configured for macOS 12 Monterey.
Ensure you have Xcode 13.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
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.
Tickets for Broken Ports
- #59316
- osxfuse @3.8.3: Assertion 'common_is_variable DEFAULT_SDK_10_15_ARCHITECURES' failed
- #61383
- xemacs @21.4.22: *** PANIC *** Configure tests are not working - compiler is broken.
- #61529
- moria @5.5.2_5: implicit declaration of functions
- #61606
- mozjs60: ERROR: virtualenv is not compatible with this system or executable
- #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'
- #62636
- tightvnc @1.3.10_2: implicit declaration of function 'vncDecryptPasswdFromFile2' is invalid in C99
- #63221
- cctools @949.0.1+llvm10: error: implicit declaration of function 'CLS_GETINFO' is invalid in C99
- #63761
- gdb: Failed to destroot gdb: no files matched glob pattern "g*"
- #63799
- easytag @2.4.3: configure: error: could not determine id3lib version
- #63883
- Update list of expected undeclared symbols for macOS 12
- #63884
- mariadb-10.6 @10.6: Configuration logfiles contain indications of -Wimplicit-function-declaration
- #63911
- qemu @6.1.0_0 - Configuration logfiles contain indications of -Wimplicit-function-declaration
- #63928
- xcb @2.4_3 configure fails
- #64000
- ecCodes @2.23.0_0+gfortran: Error: Symbol 'kindofint' at (1) has no IMPLICIT type
- #64046
- py27-ngl @1.3.0b1_2: error: implicit declaration of function 'c_cssgrid' is invalid in C99
- #64073
- apache2 @2.4.51_2: Monterey sandbox read denial of php81-apache2handler
- #64075
- gcc8 @8.5.0 (lang) does not build
- #64133
- emacs-app-devel @20211112 crashes MacBook on macOS Monterey, version 12.0.1
- #64134
- emacs-devel @20211112 does not become operable on macOS Monterey, version 12.0.1
- #64249
- git gui opens a window with no usable content
- #64414
- mariadb-10.3 crashes on macOS Monterey
- #64703
- umbrello: display flickers and using code import wizard results in null pointer read attempt
- #64764
- git contents has an non-existent folder/file - share/git-gui/lib/Git Gui.app/Contents/MacOS/Wish
- #64812
- mldonkey v 3.1.6 don't install
- #65087
- libcryptopp @8.6.0+universal: Undefined symbols
- #65302
- darktable/inkscape/gimp: unable to access user files, when run via app bundle on big sur or monterey
- #65379
- kgraphviewer fails to build
- #65459
- findutils @4.9.0+universal: Failed to destroot findutils: gupdatedb differs
- #65535
- rtl-sdr @20220115-5e73f90f rtl_tcp does not listen on specified port
- #65584
- asymptote 2.70_3 fails to build under macOS Monterey 12.5 on M1
- #65785
- boost: install fails with +openmpi: bootstrap compilation fails for `b2`
- #65850
- libgcc-devel @13-20220911: build fails for macOS 12.6 and Xcode 14
- #65892
- gtk3: windows displayed as all black, for x11 install
- #65983
- yabai @5.0.1: error: property 'safeAreaInsets' not found on object of type 'NSScreen *'
- #66131
- octave: unable to access user folder Documents, on macOS 12.6.1
- #66211
- gv @3.7.4 does not launch because symbol _yylex is not found in flat namespace
- #66372
- qjackctl @0.6.2_0: audio input does not work on macOS 12
- #66733
- mpich-default @4.0.3: Configuration logfiles contain indications of -Wimplicit-function-declaration
- #66735
- at-spi2-core @ 2.38.0_0+universal: configure failure on Monterey (Apple M1 Max)
- #66855
- emacs @28.2_1 uses on macOS Monterey a deprecated ld switch: -no_pie
- #67051
- arch @1.3.5: error: implicit declaration of function
- #67783
- ghemical @3.0.0: segmentation fault on launch
- #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
- #68627
- gdb @13.2_0+multiarch: Building in 12.7 arm machine builds for intel
- #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
- #69591
- xprobe2 @0.3.0: error: expected unqualified-id
- #70281
- mpv @0.38.0: crash upon dropping URL
- #70474
- geos2 @2.2.3: error: assigning to 'char *' from 'const char *' discards qualifiers
- #71006
- qsynth: Issues with MIDI Bank select
- #71162
- xar @1.8.0.501_0: error: implicit declaration of function 'xar_prop_get_expect_notnull' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
- #71230
- flang-19: omp_lib support is missing
- #63701
- jd-gui: build failure on Monterey with openjdk11 provided by MP
- #63880
- gnome-internet-radio-locator @3.0.0_1 (gnome) fails to run on macOS Monterey 12.0.1 in MacPorts 2.7.1
- #64726
- R @4.1.2_1: Build fails on Intel iMac, Monterey 12.2.1, Xcode 13.2.1, SDK 12
- #64762
- esorepo gcc8, gcc9 Monterey
- #65032
- openjdk18: Wrong "Port notes" : Give a wrong path to VM for shell for JDK18 on macOS Monterey M1
- #65586
- libssh @ 0.9.6 +kerberos5+universal: linker error - build failure on Monterey 12.5
- #66086
- QLMarkdown fails to build on MacOS Monterey
- #66320
- hdhomerun_gui keeps wanting to rebuild on Monterey 12.6.1
- #67134
- vsftpd @3.0.5 (net) fails on connection, apparently due setrlimit() syscall with undefined argument in Monterey