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
#61696
transcode: error: implicit declaration of function 'audio_resample_close' is invalid in C99
#62234
cloog: error: implicit declaration of function 'isl_set_copy_basic_set' is invalid in C99
#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
#63678
mdbtools @1.0.0: error: implicit declaration of function 'mdb_set_repid_fmt' is invalid in C99
#63697
libgcc9 @9.4.0: Undefined symbols for architecture x86_64
#63717
vecLibFort @0.4.2_0: error: conflicting types for 'sdsdot_'
#63730
python27: importing ctypes fails on Monterey / Arm64
#63748
xsel 1.2.0 fails to build on macOS 12.0.1
#63752
sbcl @2.1.10: mmap: Cannot allocate memory
#63761
gdb: Failed to destroot gdb: no files matched glob pattern "g*"
#63762
pinentry-mac dawrin_21 isn't available
#63778
gcc10: Error: configuring for an unreleased macOS version x86_64-apple-darwin21
#63780
Failed to build libgcc11 on mac M1
#63782
python38 @3.8.12 has a problem when using venv: ImportError: dynamic module does not define module export function (PyInit__posixsubprocess)
#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
#63805
qt5-qtbase @5.15.2_2 fails to install on macOS Monterey
#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
#63814
py-numpy: missed runtime dependency on macOS Monterey M1
#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
#63863
ghostscript @9.54.0_1+x11 - Warning: reinplace s|/usr/bin/perl|/opt/local/bin/perl| didn't change anything
#63881
gingerblue @2.0.1: gtk_entry_get_text: assertion 'GTK_IS_ENTRY (entry)' failed
#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
#64041
[M1 Monterey] Trying to replace gcc-devel with gcc11: py39-numpy+gcc11+openblas fails
#64042
py39-poppler-qt5 @0.75.0_1: sip: Unable to find file "QtCore/QtCoremod.sip"
#64046
py27-ngl @1.3.0b1_2: error: implicit declaration of function 'c_cssgrid' is invalid in C99
#64059
mono will not install on macOS 12 on M1 hardware
#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

#63677
libgcc11 11.2.0_1 fails to build on Monterey
#63701
jd-gui: build failure on Monterey with openjdk11 provided by MP
#63702
rust @1.56.0_2 failure to destroot on M1 / Monterey
#63712
qt5 broken on Monterey
#63725
qt5-qtwebengine @5.15.2 build error on Monterey
#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
#64122
Sphinx build fails on Monterey with Apple Sillicon

Last modified 5 weeks ago Last modified on Oct 26, 2021, 7:33:40 PM