Your message dated Wed, 23 Apr 2025 15:05:47 +0000
with message-id <e1u7bfx-00dpaj...@fasolo.debian.org>
and subject line Bug#1103803: fixed in onednn 3.7.2+ds-2
has caused the Debian Bug report #1103803,
regarding onednn FTCBFS for arm64 on amd64: build vs host confusion
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 ow...@bugs.debian.org
immediately.)
--
1103803: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1103803
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: onednn
Version: 3.7.2+ds-1
Tags: patch
User: debian-cr...@lists.debian.org
Usertags: ftcbfs
onednnn fails to cross build from source for arm64 on amd64, because it
confuses build and host architecture and thus gets architecture-specific
parameters wrong. I'm attaching a patch to fix that.
Helmut
diff --minimal -Nru onednn-3.7.2+ds/debian/changelog
onednn-3.7.2+ds/debian/changelog
--- onednn-3.7.2+ds/debian/changelog 2025-04-07 18:02:17.000000000 +0200
+++ onednn-3.7.2+ds/debian/changelog 2025-04-21 14:07:20.000000000 +0200
@@ -1,3 +1,10 @@
+onednn (3.7.2+ds-1.1) UNRELEASED; urgency=medium
+
+ * Non-maintainer upload.
+ * Fix FTCBFS: fix build vs host confusion. (closes: #-1)
+
+ -- Helmut Grohne <hel...@subdivi.de> Mon, 21 Apr 2025 14:07:20 +0200
+
onednn (3.7.2+ds-1) unstable; urgency=medium
* New upstream version 3.7.2+ds.
diff --minimal -Nru onednn-3.7.2+ds/debian/rules onednn-3.7.2+ds/debian/rules
--- onednn-3.7.2+ds/debian/rules 2025-01-24 09:51:07.000000000 +0100
+++ onednn-3.7.2+ds/debian/rules 2025-04-21 14:07:18.000000000 +0200
@@ -10,14 +10,14 @@
BUILD_TEST=OFF
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
# too slow on rv64, takes hours (#1080206)
-ifneq ($(DEB_BUILD_ARCH), riscv64)
+ifneq ($(DEB_HOST_ARCH), riscv64)
BUILD_TEST=ON
endif
endif
# ukernel is only implemented (and used by PyTorch) on amd64
BUILD_UKERNEL=OFF
-ifeq ($(DEB_BUILD_ARCH), amd64)
+ifeq ($(DEB_HOST_ARCH), amd64)
BUILD_UKERNEL=ON
endif
@@ -34,15 +34,15 @@
-DDNNL_EXPERIMENTAL_UKERNEL=${BUILD_UKERNEL} \
-DDNNL_BUILD_TESTS=${BUILD_TEST} \
-DONEDNN_ARCH_OPT_FLAGS="" \
- $(if $(filter
riscv64,$(DEB_BUILD_ARCH)),-DONEDNN_CPU_RUNTIME=SEQ -DDNNL_TARGET_ARCH=RV64,)
+ $(if $(filter
riscv64,$(DEB_HOST_ARCH)),-DONEDNN_CPU_RUNTIME=SEQ -DDNNL_TARGET_ARCH=RV64,)
override_dh_auto_test:
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
-ifeq ($(DEB_BUILD_ARCH), s390x)
+ifeq ($(DEB_HOST_ARCH), s390x)
# fails on some bf16 cases
dh_auto_test || true
-else ifeq ($(DEB_BUILD_ARCH), riscv64)
+else ifeq ($(DEB_HOST_ARCH), riscv64)
# disabled
true
else
--- End Message ---
--- Begin Message ---
Source: onednn
Source-Version: 3.7.2+ds-2
Done: Shengqi Chen <ha...@debian.org>
We believe that the bug you reported is fixed in the latest version of
onednn, 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 1103...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Shengqi Chen <ha...@debian.org> (supplier of updated onednn 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 ftpmas...@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Wed, 23 Apr 2025 21:08:33 +0800
Source: onednn
Architecture: source
Version: 3.7.2+ds-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Deep Learning Team <debian...@lists.debian.org>
Changed-By: Shengqi Chen <ha...@debian.org>
Closes: 1103803
Changes:
onednn (3.7.2+ds-2) unstable; urgency=medium
.
[ Helmut Grohne ]
* Fix FTCBFS: fix build vs host confusion (Closes: #1103803)
.
[ Shengqi Chen ]
* d/patches: cherry-pick patches from upstream version 3.7.3
Checksums-Sha1:
8a2e1f90df9a988146a8b0a9fc410ebcf9a6e07e 2297 onednn_3.7.2+ds-2.dsc
c6994bb5540e243b6ccb00c17e01fffa30cd6444 18720 onednn_3.7.2+ds-2.debian.tar.xz
a416384523524d496ed1e2eb2d89aaaa2cd2f2e9 7568 onednn_3.7.2+ds-2_amd64.buildinfo
Checksums-Sha256:
440b9c25665d6cb75d251ffd6477b2694a668423c496d355c0afde58b410337a 2297
onednn_3.7.2+ds-2.dsc
db6b5144773b4f5b152a0138cba74af39124d59285975db7f2c220e992dcd2d4 18720
onednn_3.7.2+ds-2.debian.tar.xz
650d9536f55ecec0f35a79e494b808d64353a1acb4480abc1543071aed77fb8f 7568
onednn_3.7.2+ds-2_amd64.buildinfo
Files:
d4656d8ba37f7d32b07365557a737436 2297 science optional onednn_3.7.2+ds-2.dsc
571e1ec15367ea56addd4033db02dac0 18720 science optional
onednn_3.7.2+ds-2.debian.tar.xz
094cc2b0f04b2ce1833c72a675048289 7568 science optional
onednn_3.7.2+ds-2_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEE+Fg++qmpHzqjSzySzhGnsHs6uUYFAmgI+k8ACgkQzhGnsHs6
uUYGfRAAtF4pH//Ao5Im3H3T2WGjVjc3CC0wRQvJ3myruaHpbV/ttOfWbRO9phka
aV2+h0t5wSwJGkUit6byH0FITayTKaVAxRAXSMeZ04O6+eoX2YXCC59lAql3uOPF
UUo8l68hF4WjueuVPsrNMBOzlvz3uxEK8CnImx1Mf4ltrJP+e1drULkitsnNSgX1
H/FCgcaJzI+exGy/pbL6vo6zlXWvVyfNFJAcaHktyXteeuJ1FBIhBfRfK1/E3So8
ZWD3HlWQPgbhfcsGhk0f4OSd3WYsJudtxSc7UOHoRCLWCd5CCHy1P2WD66MWQJxA
V/ZWrG6zRzqS1yX6e0DgWmSD+mWYWZgWfjUZEAq+jIoIBNnTD79Ab7wJjWg6vHgB
hvIWiEPSqyhRBAw5CZ0yvDhW2uJ3y9gdz4oVvlWlsvDAJExqVXMiKFnx8aNeora8
MqhvmGa6+gVJTm7r2ojHLxA9acj7/G/b1BY7a5ZG40HFzW1Gldhfkq9SFse9mQOq
bR8nVF81Zs4jyBysEfqJ6X4ITPzwlbFVxOQtK5y8FjvsqUo2/qqsEbwJTz/B7Yth
rv1S7Jx41XEW0eUpzzpprbSOfKr8fwBNzN2oyPMB2zwX/BDsQJzlXYtczlGXUYjY
oHRtDxr8/ve+UdccJTzCKNFyOPom2sr4cGNuqkEwicRtZrBeHmA=
=fXe/
-----END PGP SIGNATURE-----
pgpagXi1Sipod.pgp
Description: PGP signature
--- End Message ---