wiki:MontereyProblems

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
#61606
mozjs60: ERROR: virtualenv is not compatible with this system or executable
#61631
torsocks @2.3.0: error: implicit declaration of gethostbyaddr_r is invalid in C99
#61696
transcode: error: implicit declaration of function 'audio_resample_close' is invalid in C99
#62445
hugin-app @2019.2.0_3 fails to build due to implicit declaration
#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
#63242
gperftools port installs a version of tcmalloc that segfaults on macOS Monterey
#63673
go-1.4 @1.4.3_1 fails to build on monterey 12.0.1 x86_64
#63752
sbcl @2.1.10: mmap: Cannot allocate memory
#63761
gdb: Failed to destroot gdb: no files matched glob pattern "g*"
#63792
valgrind-macos-devel: error: Valgrind works on Darwin 10.x-20.x (Mac OS X 10.6-10.11 and macOS 10.12-11.0)
#63799
easytag @2.4.3: configure: error: could not determine id3lib version
#63806
sbcl @2.1.10 +fancy: Cannot build on macOS 12.0.1 with Xcode 13.1
#63811
acpica @20210930: ld: unaligned pointer(s) for architecture arm64
#63846
apache2 @2.4.52: error: implicit declaration of function 'ERR_GET_FUNC' is invalid in C99
#63861
screen @4.8.0_1: Configuration logfiles contain indications of -Wimplicit-function-declaration
#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
#63967
gmpc @11.8.16_5: error: implicit declaration of function 'main_window_add_status_icon' is invalid in C99
#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
#64126
qt ports: Please use known_fail yes in ports that are known to fail
#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
#64135
grep +universal: configure: error: Cannot find a type to use in place of socklen_t
#64152
Clang-11 uses on macOS Monterey, Version 12.0.1, C header files Xcode 13, i.e. macOS' Clang 13
#64197
nvi @1.81.6_6 build failure: implicit declaration of function 'conv_enc'
#64248
sbcl: Build failure
#64249
git gui opens a window with no usable content
#64271
Crystal lang port fails to build from source on Apple M1 based MacBook Pro running macOS Monterey v12.1
#64414
mariadb-10.3 crashes on macOS Monterey
#64420
argyll @2.2.1_1: error: implicit declaration of function 'execvp' is invalid in C99
#64621
sbcl: build hangs on 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
#64884
py-pyqt5-scintilla @2.13.2 fails to build under macos 12.3 using Xcode 13.3
#64927
qwt-qt5 @6.1.6_0: Could not resolve SDK path for 'macosx 12' using --show-sdk-path
#64931
yabai @3.3.10: error: unknown type name 'CGError'; did you mean 'NSError'?
#65087
libcryptopp @8.6.0+universal: Undefined symbols
#65088
mumps @5.3.1: undefined symbols
#65206
darktable - port processing fails due to dependency on rav1e install and cargo-c build
#65225
antlr @2.7.7_3 fails to build on macOS 12: "Unable to locate a Java Runtime."
#65302
darktable/inkscape/gimp: unable to access user files, when run via app bundle on big sur or monterey
#65379
kgraphviewer fails to build
#65410
py-pyqt5: fails to find the appropriate SDK for Big Sur and Monterey
#65459
findutils @4.9.0+universal: Failed to destroot findutils: gupdatedb differs
#65477
iaito @5.7.0_2 +python310: Error: Failed to build iaito: command execution failed
#65535
rtl-sdr @20220115-5e73f90f rtl_tcp does not listen on specified port
#65581
eet @1.7.10 cannot be built on intel Monterey and PPC Tiger
#65584
asymptote 2.70_3 fails to build under macOS Monterey 12.5 on M1

#63701
jd-gui: build failure on Monterey with openjdk11 provided by MP
#63731
sbcl @2.1.9 +fancy severe memory leak while building on Monterey
#63877
qt5-qtwebkit fails to build with Xcode 13.1 Big Sur and Monterey 12.0.1
#63880
gnome-internet-radio-locator @3.0.0_1 (gnome) fails to run on macOS Monterey 12.0.1 in MacPorts 2.7.1
#64211
emacs-app-devel 20211112 fail on Monterey - config of libgccjit fails
#64562
"libgcc9 cannot be built while libunwind-headers is active." when migrating from Big Sur to Monterey
#64636
ipmitool @1.8.18.20210622_1 fails to build on Monterey/M1
#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
#65281
tiff @4.4.0 configure failure on Mac OS M1 Monterey
#65323
ccache configure failure on Mac OS Monterey M1
#65420
vtk @8.2.0_11 +python39 : fails to build on arm/Monterey
#65586
libssh @ 0.9.6 +kerberos5+universal: linker error - build failure on Monterey 12.5
#65608
webkit-gtk @2.4.11 build fails on Monterey
#65653
mpd @0.23.8: builds failing for all macOS releases prior to monterey

Last modified 10 months ago Last modified on Oct 26, 2021, 7:33:40 PM