Your message dated Sat, 13 Jan 2024 13:04:35 +0000
with message-id <[email protected]>
and subject line Bug#1010218: fixed in armnn 23.08-4
has caused the Debian Bug report #1010218,
regarding armnn FTCBFS: multiple reasons
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
1010218: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1010218
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: armnn
Version: 20.08-10
Tags: patch
User: [email protected]
Usertags: cross-satisfiability ftcbfs
armnn fails to cross build from source for a fair number of reasons. The
majority of them are issues with Build-Depends. Beyond that, setup.py
needs to be told to perform a cross build and it needs to avoid
importing the cross built extension module. Please consider applying the
attached patch.
Helmut
--- armnn-20.08/debian/changelog
+++ armnn-20.08/debian/changelog
@@ -1,3 +1,16 @@
+armnn (20.08-10.1) UNRELEASED; urgency=medium
+
+ * Non-maintainer upload.
+ * Fix FTCBFS: (Closes: #-1)
+ + Multiarchify python Build-Depends.
+ + Drop python3-all as it only builds for the default python.
+ + Annotate python3-numpy build dependency with :native.
+ + Export cross compilation variables for setup.py
+ + Let dpkg's architecture.mk initialize architecture variables.
+ + Patch setup.py to avoid importing the cross built _pyarmnn_version.
+
+ -- Helmut Grohne <[email protected]> Tue, 26 Apr 2022 17:28:39 +0200
+
armnn (20.08-10) unstable; urgency=medium
* Build with gcc-11 (Closes: #983969)
--- armnn-20.08/debian/control
+++ armnn-20.08/debian/control
@@ -8,8 +8,8 @@
libboost-log-dev (>= 1.64), libboost-program-options-dev (>= 1.64),
cmake, debhelper-compat (= 12), valgrind, libflatbuffers-dev,
libarm-compute-dev [arm64 armhf],
- swig (>= 4.0.1-5), dh-python, python3-all, python3-setuptools,
- python3-dev, python3-numpy, xxd, flatbuffers-compiler, chrpath
+ swig (>= 4.0.1-5), dh-python, python3-setuptools,
+ libpython3-dev, python3-dev:any, python3-numpy:native, xxd,
flatbuffers-compiler, chrpath
Standards-Version: 4.5.0
Vcs-Git: https://salsa.debian.org/deeplearning-team/armnn.git
Vcs-Browser: https://salsa.debian.org/deeplearning-team/armnn
--- armnn-20.08/debian/patches/cross.patch
+++ armnn-20.08/debian/patches/cross.patch
@@ -0,0 +1,21 @@
+--- a/python/pyarmnn/setup.py
++++ b/python/pyarmnn/setup.py
+@@ -29,9 +29,6 @@
+ INCLUDE_ENV_NAME = "ARMNN_INCLUDE"
+
+
+-def check_armnn_version(*args):
+- pass
+-
+ __current_dir = os.path.dirname(os.path.realpath(__file__))
+
+ exec(open(os.path.join(__current_dir, 'src', 'pyarmnn', '_version.py'),
encoding="utf-8").read())
+@@ -63,8 +60,6 @@
+
+ if ext.name == 'pyarmnn._generated._pyarmnn_version':
+ sys.path.append(os.path.abspath(os.path.join(self.build_lib,
str(Path(ext._file_name).parent))))
+- from _pyarmnn_version import GetVersion
+- check_armnn_version(GetVersion(), __arm_ml_version__)
+
+ def copy_extensions_to_source(self):
+
--- armnn-20.08/debian/patches/series
+++ armnn-20.08/debian/patches/series
@@ -13,3 +13,4 @@
disable-unittests-that-can-cause-intermi
set-error-tests-by-name.patch
fix-gcc11-ftbfs.patch
+cross.patch
--- armnn-20.08/debian/rules
+++ armnn-20.08/debian/rules
@@ -1,4 +1,5 @@
#!/usr/bin/make -f
+include /usr/share/dpkg/architecture.mk
# See debhelper(7) (uncomment to enable)
# output every command that modifies files on the build system.
export DH_VERBOSE = 1
@@ -24,6 +25,8 @@
PYTHON_INCLUDE_DIR=$(shell python3 -c "from distutils.sysconfig import
get_python_inc; print(get_python_inc())")
PYTHON_LIBRARY=$(shell python3 -c "import distutils.sysconfig as sysconfig;
print(sysconfig.get_config_var('LIBDIR'))")
+export _PYTHON_SYSCONFIGDATA_NAME=_sysconfigdata__${DEB_HOST_MULTIARCH}
+export _PYTHON_HOST_PLATFORM=${DEB_HOST_ARCH_OS}-$(if $(filter
amd64,${DEB_HOST_ARCH}),x86_64,${DEB_HOST_ARCH})
export DH_VERBOSE=1
%:
--- End Message ---
--- Begin Message ---
Source: armnn
Source-Version: 23.08-4
Done: Emanuele Rocca <[email protected]>
We believe that the bug you reported is fixed in the latest version of
armnn, 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 [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Emanuele Rocca <[email protected]> (supplier of updated armnn 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 [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Sat, 13 Jan 2024 12:34:44 +0100
Source: armnn
Architecture: source
Version: 23.08-4
Distribution: unstable
Urgency: medium
Maintainer: Francis Murtagh <[email protected]>
Changed-By: Emanuele Rocca <[email protected]>
Closes: 1010218
Changes:
armnn (23.08-4) unstable; urgency=medium
.
[ Helmut Grohne ]
* Fix FTCBFS: (Closes: #1010218)
- Multiarchify python Build-Depends.
- Drop python3-all as it only builds for the default python.
- Annotate python3-numpy build dependency with :native.
- Export cross compilation variables for setup.py
- Let dpkg's architecture.mk initialize architecture variables.
- Patch setup.py to avoid importing the cross built _pyarmnn_version.
.
[ Emanuele Rocca ]
* Add debian/salsa-ci.yml with SALSA_CI_DISABLE_BUILD_PACKAGE_ARM64: 0 to
build on arm64.
Checksums-Sha1:
d141354df4e2ed19df57d0a807a159d1865fb74f 3454 armnn_23.08-4.dsc
4d44f1de732d05ee35713018d13423c91c81345a 29944 armnn_23.08-4.debian.tar.xz
Checksums-Sha256:
23aeedc5ed29bcf12abc611f38c3d65d112eb332e5235f00d26a21920633d099 3454
armnn_23.08-4.dsc
579f8c1ad7dcaf47fa94802a7e5fd7913679c051f74741b177495515e7d8498b 29944
armnn_23.08-4.debian.tar.xz
Files:
8bc9b40d809a98d9299c3728bf3ba8eb 3454 devel optional armnn_23.08-4.dsc
b4ee3928eb22057305a5694cc6824a61 29944 devel optional
armnn_23.08-4.debian.tar.xz
-----BEGIN PGP SIGNATURE-----
iQJDBAEBCAAtFiEElUWWlhkoHBf/rFiR1QhaB1D9t6MFAmWiheQPHGVtYUBkZWJp
YW4ub3JnAAoJENUIWgdQ/bejVyUP/1/UPvN/bC/zIAd55HmPYei5Cre8zcdKNHMa
e0PVhPLHxWa0c3nT87ExTnmGGSkF9AJs7go0y/XqL+Cdu2yXBBGbhWJpA6HQ3/Aa
dIVg4z/9AktYyhFJvWrUPbhXIpxUdAcQaH6NdI3ord0JBpXWBMAcQuQrdPgZwi72
UBRTQWJbrWJ/9Kx6AnuqN7+D9gTZDfzbdmIy5pxF3jJUIqhDlyGBt3rtSK1e8kP7
sAu3QYJ4ZrQyfC9WA+63U1ZjVeO/EesrB9BdR8V+QDo5jUUlZ+PFFCuaGnV3ILsh
Gkob/8Skim8BEpGI4Bwfp7njH7kJEyrbTlUtZ0jHuqkjTYtzwD3eL1WtH65oB7+L
V1CJZx3H8w3syU/qSEAtKp65Zp8tQL7jAnns+x8/UZjU/52pXJEHwQGab1C9sSHY
nfY+3gjsu9GPgNO39xajqoPJqinLrNbLcrsjsVwgobb5Hi7BXV7iLvIl9g1/8frt
f/ymPZjFvKH9JUQ+0seCC+dgSMMBftA6ZTgJaHi7q7aznm3R5GJyfUabnm02og4Y
yu4eJ7e8NAribQvec+4Tn/yHa4SRDRDv3QRcB/lKLiUVJZboVcqlltWd6D/t1dqJ
GmOswforY5P4IDQQ021d+nMxgaP6G4xZutOgQAsmXsbdb735L6c3VPKYL72P3uVQ
G5BOM4lG
=LWJ3
-----END PGP SIGNATURE-----
--- End Message ---