Debian Bug report logs - #980559
angelscript: FTBFS on arm64: test error

version graph

Package: src:angelscript; Maintainer for src:angelscript is Yangfl <mmyangfl@gmail.com>;

Reported by: Boyuan Yang <byang@debian.org>

Date: Wed, 20 Jan 2021 14:57:02 UTC

Severity: important

Tags: patch

Found in version angelscript/2.35.0+ds-1

Fixed in version angelscript/2.35.1+ds-3

Done: Yangfl <mmyangfl@gmail.com>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Yangfl <mmyangfl@gmail.com>:
Bug#980559; Package src:angelscript. (Wed, 20 Jan 2021 14:57:04 GMT) (full text, mbox, link).


Acknowledgement sent to Boyuan Yang <byang@debian.org>:
New Bug report received and forwarded. Copy sent to Yangfl <mmyangfl@gmail.com>. (Wed, 20 Jan 2021 14:57:04 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Boyuan Yang <byang@debian.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: angelscript: FTBFS on arm64: test error
Date: Wed, 20 Jan 2021 09:55:32 -0500
[Message part 1 (text/plain, inline)]
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&arch=arm64&ver=2.35.0%2Bds-1&stamp=1609936575&raw=0
:

   debian/rules override_dh_auto_test-arch
make[1]: Entering directory '/<<PKGBUILDDIR>>'
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 '/<<PKGBUILDDIR>>/samples'
mkdir -p tutorial/bin
g++ -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -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 '/<<PKGBUILDDIR>>/samples'
make[1]: *** [debian/rules:35: override_dh_auto_test-arch] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
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 (application/pgp-signature, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org, Yangfl <mmyangfl@gmail.com>:
Bug#980559; Package src:angelscript. (Wed, 06 Oct 2021 11:45:04 GMT) (full text, mbox, link).


Acknowledgement sent to Fabio Pedretti <pedretti.fabio@gmail.com>:
Extra info received and forwarded to list. Copy sent to Yangfl <mmyangfl@gmail.com>. (Wed, 06 Oct 2021 11:45:04 GMT) (full text, mbox, link).


Message #10 received at 980559@bugs.debian.org (full text, mbox, reply):

From: Fabio Pedretti <pedretti.fabio@gmail.com>
To: 980559@bugs.debian.org
Subject: angelscript: FTBFS on arm64: test error
Date: Wed, 6 Oct 2021 13:41:51 +0200
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.



Information forwarded to debian-bugs-dist@lists.debian.org, Yangfl <mmyangfl@gmail.com>:
Bug#980559; Package src:angelscript. (Thu, 14 Oct 2021 15:51:03 GMT) (full text, mbox, link).


Acknowledgement sent to Reiner Herrmann <reiner@reiner-h.de>:
Extra info received and forwarded to list. Copy sent to Yangfl <mmyangfl@gmail.com>. (Thu, 14 Oct 2021 15:51:03 GMT) (full text, mbox, link).


Message #15 received at 980559@bugs.debian.org (full text, mbox, reply):

From: Reiner Herrmann <reiner@reiner-h.de>
To: 980559@bugs.debian.org
Subject: Re: angelscript: FTBFS on arm64: test error
Date: Thu, 14 Oct 2021 17:46:30 +0200
[Message part 1 (text/plain, inline)]
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.000000000 +0000
+++ angelscript-2.35.1+ds/debian/rules	2021-10-06 14:09:19.000000000 +0000
@@ -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 (application/pgp-signature, inline)]

Added tag(s) patch. Request was from Reiner Herrmann <reiner@reiner-h.de> to control@bugs.debian.org. (Thu, 14 Oct 2021 15:57:02 GMT) (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, Yangfl <mmyangfl@gmail.com>:
Bug#980559; Package src:angelscript. (Thu, 14 Oct 2021 21:06:02 GMT) (full text, mbox, link).


Acknowledgement sent to Reiner Herrmann <reiner@reiner-h.de>:
Extra info received and forwarded to list. Copy sent to Yangfl <mmyangfl@gmail.com>. (Thu, 14 Oct 2021 21:06:02 GMT) (full text, mbox, link).


Message #22 received at 980559@bugs.debian.org (full text, mbox, reply):

From: Reiner Herrmann <reiner@reiner-h.de>
To: 980559@bugs.debian.org
Subject: Re: Bug#980559: angelscript: FTBFS on arm64: test error
Date: Thu, 14 Oct 2021 23:03:02 +0200
[Message part 1 (text/plain, inline)]
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 (application/pgp-signature, inline)]

Reply sent to Yangfl <mmyangfl@gmail.com>:
You have taken responsibility. (Fri, 22 Oct 2021 16:21:09 GMT) (full text, mbox, link).


Notification sent to Boyuan Yang <byang@debian.org>:
Bug acknowledged by developer. (Fri, 22 Oct 2021 16:21:09 GMT) (full text, mbox, link).


Message #27 received at 980559-close@bugs.debian.org (full text, mbox, reply):

From: Debian FTP Masters <ftpmaster@ftp-master.debian.org>
To: 980559-close@bugs.debian.org
Subject: Bug#980559: fixed in angelscript 2.35.1+ds-3
Date: Fri, 22 Oct 2021 16:18:28 +0000
Source: angelscript
Source-Version: 2.35.1+ds-3
Done: Yangfl <mmyangfl@gmail.com>

We believe that the bug you reported is fixed in the latest version of
angelscript, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 980559@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Yangfl <mmyangfl@gmail.com> (supplier of updated angelscript package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Fri, 22 Oct 2021 00:29:21 +0800
Source: angelscript
Architecture: source
Version: 2.35.1+ds-3
Distribution: unstable
Urgency: medium
Maintainer: Yangfl <mmyangfl@gmail.com>
Changed-By: Yangfl <mmyangfl@gmail.com>
Closes: 980559
Changes:
 angelscript (2.35.1+ds-3) unstable; urgency=medium
 .
   * Fix FTBFS on arm64 (Closes: #980559)
Checksums-Sha1:
 95bfab3b32fdd4eeadb455971a4005bb017a576f 2227 angelscript_2.35.1+ds-3.dsc
 bd2bd7f39dd143db334ef457f9ea3f160d584551 515060 angelscript_2.35.1+ds.orig.tar.xz
 0ceee8b1b4a231e513d0de9925544f0fe389e892 193412 angelscript_2.35.1+ds-3.debian.tar.xz
 58b6d651660a43ec215a739768c098aa596aea7a 8218 angelscript_2.35.1+ds-3_amd64.buildinfo
Checksums-Sha256:
 1a603f07edd246ce369b8b459cf0ebb92c56f179580a147431bb43e7fdffeeea 2227 angelscript_2.35.1+ds-3.dsc
 74a966d50c3342f204b4311f3c040d6255cc5753d19716f285a19ee693ceeb91 515060 angelscript_2.35.1+ds.orig.tar.xz
 73f6e626ab4d338bb65f18dcc6f23b6d7b3d57026f9679224d393fc2a51a05fe 193412 angelscript_2.35.1+ds-3.debian.tar.xz
 31af2db00db6f18cd1674bce5a81b0a82a7d911cc74f53e5631a854b5a880bee 8218 angelscript_2.35.1+ds-3_amd64.buildinfo
Files:
 78f48d0dfa6f7fd748e0d51d76219191 2227 libs optional angelscript_2.35.1+ds-3.dsc
 8f0fa16934617e1e1b33967216ef2fe7 515060 libs optional angelscript_2.35.1+ds.orig.tar.xz
 d0ac438d5f7319d829adddf194164073 193412 libs optional angelscript_2.35.1+ds-3.debian.tar.xz
 30db9c9e603fb5d1d054827976bec1b0 8218 libs optional angelscript_2.35.1+ds-3_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEfncpR22H1vEdkazLwpPntGGCWs4FAmFy2XIACgkQwpPntGGC
Ws40zQ//dDOxVsoOMeFMwYWjLRgxc0MKNZzw9vFJIf03njbJyNWwpPB1e95wiFK7
tsaBqOsvQ6fVh01kg8K2j1nnP9V3ohwAtBQDkOuvCrpfLrK/0DicaiChTqlph4dy
3txS2iIyILYVgUVf20K329n7BjvUpmn3B0+Gq09yccgWI3xod6FtEhDUkCzbKCVG
fdDwKkqdsIsGyFGwg7Gwl3enuCwGxl/Mqs2G+fJL/hXHV6nTVrLBN9ENTwvZvYqG
eCCdSPvvwkGKkax7SxM1rl6Cw6fkG5TRaZMHtmNj8iLY93Us7QJakWhLdPAwYuzx
5wHF84Rh2cbjchX48LwcDP7xSMP9AFrAJJ2sPXjeMTNlgF66lmf+fXVl6U4Kh1Nf
8QjWaKgQtAFLD4EBOXwhPIy7IQG4mLSA3ErqOcsABqpGkcAERb8bYivlMe0FkLnO
dVZ89uj20nuINF9uX2mZT5vx2XfHMcO25mIfllt/8obtXXyHFmpLwlPMveflaHGw
EjUUpEE4utteCWgNzXTwxb2nGYqqrC3+Vjv7feChn/oo17xFypOrS0Qo/3AM4r6f
3jsQhw9VJtdQBrMJpLZn6DoeO88Ip9Wn+4p1R/izusDebOznOuOhXIbtbAc1vDkX
yLf5YUxh4M59HEp/l6cIvvS5KCiYqxmBz9etgk/I3Kx5bQHFl+M=
=FHYN
-----END PGP SIGNATURE-----




Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Mon, 22 Nov 2021 07:27:35 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Mon Jul 15 13:35:15 2024; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.