Hi, In the current powerpc bulk, icinga2's core cannot be built:
> lib/base/CMakeFiles/base.dir/utility.cpp.o: > In function `icinga::Utility::QueueAsyncCallback(std::function<void ()()> > const&, icinga::SchedulerPolicy)': > utility.cpp:(.text+0x3cd0): undefined reference to `__atomic_fetch_add_8' (^ and many more) It builds fine [0] once the usual powerpc/hppa atomic block is added. I did not remove the related BROKEN-hppa, because i don't have the hardware to test, but the reason is very probably wrong, due to the move to __atomic* builtins with this new version. REVISION bump is unneeded, this version never built on powerpc. Comments/feedback are welcome! Charlène. [0] https://bin.charlenew.xyz/icinga.log Index: Makefile =================================================================== RCS file: /cvs/ports/net/icinga/core2/Makefile,v retrieving revision 1.97 diff -u -p -u -p -r1.97 Makefile --- Makefile 28 Dec 2019 15:59:30 -0000 1.97 +++ Makefile 19 Jan 2020 19:44:38 -0000 @@ -80,6 +80,12 @@ CONFIGURE_ARGS += \ -DICINGA2_PLUGINDIR=${LOCALBASE}/libexec/nagios \ -DHAVE_LIBEXECINFO=OFF +# Fix "undefined reference to `__atomic_fetch_sub_8'" +.if ${MACHINE_ARCH:Mpowerpc} || ${MACHINE_ARCH:Mhppa} +WANTLIB += atomic +CONFIGURE_ENV += LDFLAGS="${LDFLAGS} -latomic" +.endif + post-install: mv ${WRKINST}${SYSCONFDIR}/icinga2/* ${PREFIX}/share/examples/icinga2/ rmdir ${WRKINST}${LOCALSTATEDIR}/run/icinga2{/cmd,}