kmos asked me to take a look at the net/telegram-purple build failure [1]
on sparc64.  This also occurs in mips64 [2] and macppc (marked broken):

assertion "get_int () == TLS_SCHEMA_V2" failed: file "generate.c", line 2831, 
function "parse_tlo_file"

It's obviously an endianness issue:

get_int () returns 0xe29b2f3a
TLS_SCHEMA_V2 is   0x3a2f9be2

This will take a non-trivial effort to fix, so mark it as
NOT_FOR_ARCHS = ${BE_ARCHS}.

[1]: 
http://build-failures.rhaalovely.net/sparc64/2020-03-21/net/telegram-purple.log
[2]: 
http://build-failures.rhaalovely.net/mips64/2020-03-08/net/telegram-purple.log

Index: Makefile
===================================================================
RCS file: /cvs/ports/net/telegram-purple/Makefile,v
retrieving revision 1.6
diff -u -p -r1.6 Makefile
--- Makefile    12 Jul 2019 20:48:50 -0000      1.6
+++ Makefile    25 Mar 2020 09:47:26 -0000
@@ -1,6 +1,7 @@
 # $OpenBSD: Makefile,v 1.6 2019/07/12 20:48:50 sthen Exp $
 
-BROKEN-powerpc =       assertion "get_int () == TLS_SCHEMA_V2" failed: file 
"generate.c", line 2831, function "parse_tlo_file"
+# assertion "get_int () == TLS_SCHEMA_V2" failed: file "generate.c", line 
2831, function "parse_tlo_file"
+NOT_FOR_ARCHS =                ${BE_ARCHS}
 
 V =                    1.3.1
 REVISION =             2

Reply via email to