Created attachment 185597 [details] Build log Building this port on PowerPC fails with an undefined reference: [121/150] : && /usr/bin/cc -O2 -pipe -fno-strict-aliasing -fvisibility=hidden -Wno-deprecated -Wall -Wextra -Winit-self -Wmissing-include-dirs -Wunused -Wno-div-by-zero -Wundef -Wpointer-arith -Werror=return-type -Wformat -Wformat-security -O2 -pipe -fno-strict-aliasing src/test/CMakeFiles/stow.dir/stow.c.o -o src/test/stow -Wl,-rpath,/usr/ports/devel/libical/work/libical-2.0.0/lib:/usr/local/lib lib/libicalvcal.so.2.0.0 lib/libicalss_cxx.so.2.0.0 lib/libicalss.so.2.0.0 lib/libical_cxx.so.2.0.0 lib/libical.so.2.0.0 /usr/local/lib/libicuuc.so /usr/local/lib/libicui18n.so -pthread && : FAILED: src/test/stow : && /usr/bin/cc -O2 -pipe -fno-strict-aliasing -fvisibility=hidden -Wno-deprecated -Wall -Wextra -Winit-self -Wmissing-include-dirs -Wunused -Wno-div-by-zero -Wundef -Wpointer-arith -Werror=return-type -Wformat -Wformat-security -O2 -pipe -fno-strict-aliasing src/test/CMakeFiles/stow.dir/stow.c.o -o src/test/stow -Wl,-rpath,/usr/ports/devel/libical/work/libical-2.0.0/lib:/usr/local/lib lib/libicalvcal.so.2.0.0 lib/libicalss_cxx.so.2.0.0 lib/libicalss.so.2.0.0 lib/libical_cxx.so.2.0.0 lib/libical.so.2.0.0 /usr/local/lib/libicuuc.so /usr/local/lib/libicui18n.so -pthread && : /usr/local/lib/libicuuc.so: undefined reference to `__cxa_throw_bad_array_new_length@CXXABI_1.3.8' ninja: build stopped: subcommand failed. *** Error code 1
All ports depending on ICU need to be built with a C++11 compiler.
Created attachment 191724 [details] patch to compile libical with compiler:c++11-lib Try the attached patch.
A commit references this bug: Author: truckman Date: Thu Mar 22 23:32:43 UTC 2018 New revision: 465324 URL: https://svnweb.freebsd.org/changeset/ports/465324 Log: USES+=compiler:c++11-lib to unbreak devel/libical build on PowerPC and other arches where gcc is the base compiler. No PORTREVISION bump because this is a no-op on arches with clang as the base compiler, and it unbreaks the build on the rest. PR: 221642, 215770 Reported by: Robin <solence AT zoho.eu> Changes: head/devel/libical/Makefile
Should be fixed by r465324, but I can't test on PowerPC. Please reopen if it is still broken.