Bug#980559: angelscript: FTBFS on arm64: test error

2021-10-14 Thread Reiner Herrmann
On Thu, Oct 14, 2021 at 05:46:30PM +0200, Reiner Herrmann wrote:
> I was able to fix it by including arm64 in the "buggy archs" list
> in debian/rules (see below).

FTR I tested my change based on 2.35.1+ds-1 (not -2).


signature.asc
Description: PGP signature


Bug#980559: angelscript: FTBFS on arm64: test error

2021-10-14 Thread Reiner Herrmann
Hi Boyuan,

I was able to reproduce the build error while compiling the tests
on my Raspberry Pi 4.

I was able to fix it by including arm64 in the "buggy archs" list
in debian/rules (see below).

Kind regards,
  Reiner

--- angelscript-2.35.1+ds/debian/rules  2021-10-06 14:09:19.0 +
+++ angelscript-2.35.1+ds/debian/rules  2021-10-06 14:09:19.0 +
@@ -13,7 +13,7 @@
 export VERSION := $(shell echo '$(DEB_VERSION_UPSTREAM)' | sed -e 's/\+.*//')
 
 # buggy archs
-ifneq (,$(filter $(DEB_HOST_ARCH), armhf mips64el sparc64 x32))
+ifneq (,$(filter $(DEB_HOST_ARCH), armhf arm64 mips64el sparc64 x32))
   DEB_CXXFLAGS_MAINT_APPEND += -DAS_MAX_PORTABILITY
 endif
 



signature.asc
Description: PGP signature


Bug#980559: angelscript: FTBFS on arm64: test error

2021-10-06 Thread Fabio Pedretti
angelscript 2.35.1 was released and has at least 2 arm64 fixes:
https://www.angelcode.com/angelscript/changes.php

Can you try upgrading Debian angelscript package to 2.35.1 and see if
this fixes arm64 build?

Note that angelscript with arm64 build is needed by supertuxkart, see
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=995771

Thanks.



Bug#980559: angelscript: FTBFS on arm64: test error

2021-01-20 Thread Boyuan Yang
Source: angelscript
Version: 2.35.0+ds-1
Severity: important

The build error can be found at
https://buildd.debian.org/status/fetch.php?pkg=angelscript=arm64=2.35.0%2Bds-1=1609936575=0
:

   debian/rules override_dh_auto_test-arch
make[1]: Entering directory '/<>'
CPPFLAGS="-Wdate-time -D_FORTIFY_SOURCE=2 -I../angelscript/include"
LDFLAGS="-Wl,-z,relro -Wl,-z,now  -Wl,-rpath,../../../angelscript/lib -
L../angelscript/lib" /usr/bin/make -C samples test
make[2]: Entering directory '/<>/samples'
mkdir -p tutorial/bin
g++ -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-
strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -
D_FORTIFY_SOURCE=2 -I../angelscript/include -D_LINUX_ -DAS_DEBIAN_LIB -
o tutorial/bin/tutorial tutorial/source/main.cpp -Wl,-z,relro -Wl,-
z,now  -Wl,-rpath,../../../angelscript/lib -L../angelscript/lib -
langelscript-addon -langelscript
/usr/bin/ld: ../angelscript/lib/libangelscript.so: undefined reference
to `AngelScript::CallSystemFunctionNative(AngelScript::asCContext*,
AngelScript::asCScriptFunction*, void*, unsigned int*, void*, unsigned
long&, void*)'
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:29: tutorial/bin/tutorial] Error 1
make[2]: Leaving directory '/<>/samples'
make[1]: *** [debian/rules:35: override_dh_auto_test-arch] Error 2
make[1]: Leaving directory '/<>'
make: *** [debian/rules:22: binary-arch] Error 2
dpkg-buildpackage: error: debian/rules binary-arch subprocess returned
exit status 2

-- 
Thanks,
Boyuan Yang


signature.asc
Description: This is a digitally signed message part