wiki:BigSurProblems

macOS Big Sur Problems

General Issues

First of all, please read Migration.

Updating MacPorts Base

MacPorts must be re-installed in a version configured for macOS 11 Big Sur.

Ensure you have Xcode 12.2 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

Install macOS SDK 11 manually in case of problems

Some users who upgraded from earlier versions of macOS reported, that xcode-select --install didn't gave proper results (didn't install neither Xcode, nor the SDK required) and first the installation of Xcode from AppStore and then the installation of Command-line tools for Xcode 12.2 was required from Apple Developer site, as described here: https://www.macports.org/install.php .

Symptoms that your system requires manual installation: console message about missing SDK (Warning: The macOS 11.x SDK does not appear to be installed. Ports may not build correctly. Warning: You can install it as part of the Xcode Command Line Tools package by running xcode-select --install'.`) or a message about C compiler being unable to create executables in build logs.

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 is often unexpected. This can be corrected by explicitly setting build_arch arm64 in macports.conf, or by using a native terminal emulator.

Rebuilding from source

Some port problems can be worked around by instructing MacPorts to build the port on your machine from source, rather than using the prebuilt version. For example, this might be the case if the version of the macOS SDK used on our build machine is different from the one on your machine. Instead of running sudo port install, try running sudo port -s install. If that fixes the problem, please report it to us so that it can be fixed properly.

Tickets for Broken Ports

#57174
cotvnc wont compile
#58480
chasen-base @2.3.3: clang: error: unknown argument: '-syslibroot'
#60988
php73-apache2handler @7.3.16_1: error: too few arguments to function call, expected 3, have 2
#61231
molden: error: implicit declaration of function
#61261
grace @5.1.25: configure: error: M*tif has not been found
#61356
w3m, w3m-devel: error: redefinition of 'sys_errlist' with a different type: 'char **' vs 'const char *const []'
#61383
xemacs @21.4.22: *** PANIC *** Configure tests are not working - compiler is broken.
#61422
stack @2.5.1_0 build fails on Big Sur 11.1 Beta / Xcode 12.3 Beta
#61472
"./restore_ports.tcl myports.txt" fails on Big Sur without giving a single hint (what the problem might be, where I could look up details, ...)
#61483
neon @0.30.2: configure failure due to implicit declaration of functions
#61486
fluxbox @1.3.7_1 does not compile on macOS Big Sur, Version 11.0.1, because "src/FbTk/FbTime.cc:64:10: error: redefinition of '_mono'"
#61498
dialog @1.3: configure: error: No curses header-files found
#61526
libzzip @0.13.71 can be built with Python 3
#61529
moria @5.5.2_5 fails to build on Big Sur
#61530
dblatex @0.3.11_1 can be built with Python 3
#61545
python38 +universal fails to build on Big Sur (Apple Silicon Mac)
#61550
neovim fails to compile on Big Sur with Apple Silicon
#61556
Error: Failed to build tf: command execution failed
#61564
libelf @0.8.13.2: implicit declaration of function
#61568
pinentry-mac @0.9.4 has still problems to build on Big Sur
#61570
Ifeffit: Build error on MacPorts 2.6.4 on Big Sur
#61583
py38-graph-tool @2.33_0 +openmp Build Failure
#61588
p5.28-wx: Build error on MacPorts 2.6.4 on Big Sur
#61590
alpine @2.23: error: implicit declaration of function 'time' is invalid in C99
#61598
nut @2.7.4: Undefined symbols
#61601
p5-crypt-gcrypt @1.26: Can't link/include C library 'gcrypt', aborting.
#61602
p5-crypt-des @2.07: error: implicit declaration of function 'perl_des_expand_key' is invalid in C99
#61604
p5-authen-smb @0.91: error: implicit declaration of function 'SMB_Init' is invalid in C99
#61605
p5-digest-nilsimsa @0.06: error: implicit declaration of function 'clear' is invalid in C99
#61607
p5-html-strip @2.10: error: implicit declaration of function 'utf8_char_width' is invalid in C99
#61610
p5-inline-python @0.5.6: error: implicit declaration of function 'initperl' is invalid in C99
#61611
p5-ipe 0.3.1: error: implicit declaration of function 'train_bntree' is invalid in C99
#61614
p5-math-longdouble @0.22: error: implicitly declaring library function 'finite'
#61615
p5-net-nfdump @1.25: error: implicit declaration of function 'ff2_lex' is invalid in C99
#61616
p5-net-rawip @0.25: Could not load the pcap library
#61617
p5-sdl @2.548: error: implicit declaration of function '_calc_offset' is invalid in C99
#61618
p5-string-ediff @0.09: error: implicit declaration of function 'ediff' is invalid in C99
#61619
p5-term-gnuplot @0.903.809.60: error: implicit declaration of function 'test_term' is invalid in C99
#61622
p5-www-curl @4.17: error: #endif without #if
#61631
torsocks: error: implicit declaration of gethostbyaddr_r is invalid in C99
#61692
gromacs: clang: error: invalid version number in '-mmacosx-version-min=11.0'
#61710
gtk2-murrine @0.98.2: error: implicit declaration of function 'murrine_rc_style_register_types' is invalid in C99
#61720
gwyddion: Undefined symbols for architecture x86_64
#61744
bacula @9.4.4 +console_bat : does not build on macOS 11.0.1 (bigsur)
#61765
gwenhywfar4 @4.20.2 does not build on Big Sur
#61800
graphviz-gui @2.40.1_2: error: could not write entitlements file
#61802
dfu-programmer @0.7.2: error: implicitly declaring library function 'malloc' with type 'void *(unsigned long)'
#61823
py38-reportlab 3.5.46_0: missing #include <string.h>
#61838
geda-gaf linker error
#61842
opendx @4.4.4_10: y.tab.c:1107:16: error: implicit declaration of function '_dxfcclex' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
#61863
geos @3.9.0: Configuration logfiles contain indications of -Wimplicit-function-declaration
#61877
clisp @2.49.92: configure: error: C compiler cannot create executables
#61883
libgcc7: build failure
#61927
gtkglext+quartz build fails on big sur due to gdk_drawable_get_size and gdk_draw_pixbuf
#61942
esound @0.2.41: error: implicit declaration of function 'clean_exit' is invalid in C99
#61958
Build of python38 @3.8.7 fails on intel Big Sur, macOS 11.1, somehow…
#61968
tuntaposx @20150118_0: error: : 'ifnet_attach_protocol' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated
#61972
clang-8.0:build fails on BigSur: error: invalid application of 'sizeof' to an incomplete type 'struct stat64'
#61973
Pallet @1.1_1: Failed to open log store at /Users/macports/Library/Developer/Xcode/DerivedData/Pallet-hhxzvjfjvrmndgcreaswdfqwvhbd/Logs/Build
#62013
gtime +universal: error: redefinition of '_OSSwapInt64'
#62027
qt5-qtwebkit fails to build on Big Sur 11.1 with Apple silicon
#62029
libgcc7: build failure
#62053
Successfully build 'Frescobaldi', but failed to run it on Big Sur
#62070
mpif90-openmpi-gcc10 fails to link FORTRAN program
#62114
postgis3 @3.0.3: configure failure: could not find GDAL headers
#62124
gcc9 @9.3.0_4 gfortran fails with "ld: library not found for -lSystem" in Big Sur
#62138
octave not pointed at correct gcc (gcc-devel)
#62176
wxLua @2.8.12.3 crashes
#62200
py39-pyglet on new mac M1: import pyglet.window fails
#62210
ruby24 doesn't support the arm64 architecture
#62216
db53: error: Support for FCNTL mutexes was removed in BDB 4.8.
#62219
netperf @2.7.0: error: implicit declaration of function 'read' is invalid in C99
#62224
libcryptopp @8.4.0_0+universal build fails on Big Sur
#62236
plantuml @1.2020.11: Unsupported major.minor version 52.0
#62247
anacron @2.3_3: error: implicitly declaring library function 'abort'
#62251
beecrypt @4.2.1_5: error: implicit declaration of function 'swapu32' is invalid in C99
#62254
MPlayer @1.3.0_7: build error: 'QuickTime/QuickTime.h' file not found
#62299
remake @4.2.1-dbg-1.4_1: error: Somebody has to work out how to handle if getimeofday is not around
#62304
sudosh @1.6.3: error: implicit declaration of function 'gettimeofday' is invalid in C99
#62307
gnuregex @0.12_2: error: implicit declaration of function 'free' is invalid in C99
#62336
chgrep @1.2.4_1: error: implicit declaration of function 'err_msg' is invalid in C99
#62344
sgrep2 @1.94a: error: implicitly declaring library function 'strcmp'
#62348
wxWidgets broken on macOS BigSur due to XCode 12 issue

#61445
Java version not detected on macOS Big Sur 11.0.1
#61471
virt-manager fails to load shared library on Big Sur
#61523
subversion-perlbindings-5.28 package fail to install on Big Sur
#61546
avr-gdb fails to build on macOS 11 Big Sur
#61612
xorg-libx11 @1.7.0 variant +docs does not build on El Capitan, OK on Big Sur (Java problem?)
#61639
iverilog @10.3_0 fails to build on Big Sur
#61755
auto-multiple choice fails to build on Big Sur
#61789
qt4-mac @4.8.7_10 (aqua): Fails to build on Big Sur w/ arm64 architecture
#61845
shibboleth port not building on at least Big Sur
#61849
gobject-introspection: Configure failure on Big Sur 11.1 and Xcode 12.3
#61896
emacs{-app,}-devel +nativecomp: runtime native compilation fails on Big Sur 11.1
#61933
wxmaxima crashes on macOS Big Sur v11k - conflicting wxWidget libs
#61989
libp11 does not compile under Big Sur
#61996
qemu hvf support on Big Sur requires signing security entitlement
#62018
fltk-config --cxxflags returns invalid value on macOS Big Sur 11.1
#62123
bind9 @9.16.11 compile errors on Big Sur and El Capitan
#62131
py38-tensorflow does not build on big sur
#62184
gcc-devel on big sur Apple Silicon w/ xcode 12.4 fails to assemble pc-relative literal loads
#62226
osxfuse fails to build on Big Sur (under condition of "Warning: The macOS 11.2 SDK does not appear to be installed.")
#62234
cloog fails to build on MacOS Big Sur
#62259
ninja @1.10.2_0+universal build issues on Big Sur Intel
#62312
Big Sur 11.2 - vtk does not configure

Last modified 5 weeks ago Last modified on Jan 21, 2021, 12:07:58 AM