id,summary,reporter,owner,description,type,status,priority,milestone,component,version,resolution,keywords,cc,port 61194,"xterm @359_0 fails to build on macOS 10.15.6 / Xcode 12.0: undefined symbol ""_tgetent"" in resize.o",ned-deily,jeremyhu,"My MacPorts installation uses a non-default installation prefix so all ports have to be built from source. Trying to upgrade to the current xterm @359_0 (on macOS 10.15.6 with Xcode and CLT 12.0) fails with: {{{ [...] :info:build /usr/bin/clang -I. -I. -DHAVE_CONFIG_H -I/opt/macports/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -D_DARWIN_C_SOURCE -DFUNCPROTO=15 -DOSMAJORVERSION=19 -DOSMINORVERSION=6 -I/opt/macports/include/ossp -I/opt/macports/include/freetype2 -I/opt/macports/include/libpng16 -I/opt/macports/include/ossp -I/opt/macports/include/freetype2 -I/opt/macports/include/ossp -I/opt/macports/include/libpng16 -DDEFCLASS=\""XTerm\"" -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -arch x86_64 -Qunused-arguments -c ./Tekproc.c :info:build /bin/sh ./plink.sh /usr/bin/clang -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -arch x86_64 -Qunused-arguments -L/opt/macports/lib -Wl,-headerpad_max_install_names -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -arch x86_64 -o resize resize.o version.o xstrings.o -lXft -L/opt/macports/lib -lfontconfig -lfreetype -lXext -lutil -lXaw7 -L/opt/macports/lib -lXmu -lXinerama -lXpm -L/opt/macports/lib -lXt -lX11 -lSM -lICE :info:build testing if -lXft is needed :info:build ...yes :info:build testing if -lfontconfig is needed :info:build ...yes :info:build testing if -lfreetype is needed :info:build ...yes :info:build testing if -lXext is needed :info:build ...yes :info:build testing if -lutil is needed :info:build ...yes :info:build testing if -lXaw7 is needed :info:build ...yes :info:build testing if -lXmu is needed :info:build ...yes :info:build testing if -lXinerama is needed :info:build ...yes :info:build testing if -lXpm is needed :info:build ...yes :info:build testing if -lXt is needed :info:build ...yes :info:build testing if -lX11 is needed :info:build ...yes :info:build testing if -lSM is needed :info:build ...yes :info:build testing if -lICE is needed :info:build ...yes :info:build Undefined symbols for architecture x86_64: :info:build ""_tgetent"", referenced from: :info:build _main in resize.o :info:build ld: symbol(s) not found for architecture x86_64 :info:build clang: error: linker command failed with exit code 1 (use -v to see invocation) :info:build make: *** [resize] Error 1 }}} ",defect,assigned,Normal,,ports,,,,,xterm