On Mon, Mar 20, 2023 at 08:50:01AM -0600, Kurt Mosiejczuk wrote:
> http://build-failures.rhaalovely.net/sparc64/2023-03-18/net/weechat,-lua.log

weechat has no FLAVORS, so unless I'm missing something, this failed
MULTI_PACKAGES was just the first to be built and it means all weechat
packages are unavailable on sparc64, no?

> /usr/obj/ports/weechat-3.8/weechat-3.8/tests/unit/core/test-core-utf8.cpp:492:
>  error: \u007f is not a valid universal character

These are the errors, there are more warnings, but they are all in tests.
Disabling tests packages fine, without PLIST or WANTLIB change on sparc64.

I can 'pkg_add weechat' and start it on sparc64 with this, but otherwise
don't use it;  should it make release?


diff --git a/net/weechat/Makefile b/net/weechat/Makefile
index 1d9fc36ee1c..a43fa1deac5 100644
--- a/net/weechat/Makefile
+++ b/net/weechat/Makefile
@@ -85,6 +87,10 @@ MODCMAKE_LDFLAGS =           -L${LOCALBASE}/lib
 CONFIGURE_ENV=         CFLAGS="${CFLAGS} -fdeclspec"
 .endif
 
+.if ${MACHINE_ARCH} == sparc64
+CONFIGURE_ARGS+=       -DENABLE_TESTS=OFF
+.endif
+
 pre-configure:
        rm -f ${WRKSRC}/cmake/{FindLua,FindRuby,FindTCL}.cmake
 

Reply via email to