[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1033046: unblock: arm-compute-library/20.08+dfsg-7



Package: release.debian.org
Severity: normal
User: release.debian.org@packages.debian.org
Usertags: unblock

Please unblock package arm-compute-library.

[ Reason ]
Fix RC bug in bookworm, the package fails to build from source due to
missing include directives: https://bugs.debian.org/1032041

[ Checklist ]
  [x] all changes are documented in the d/changelog
  [x] I reviewed all changes and I approve them
  [x] attach debdiff against the package in testing

unblock arm-compute-library/20.08+dfsg-7

Thanks,
  Emanuele

diff -Nru arm-compute-library-20.08+dfsg/debian/changelog arm-compute-library-20.08+dfsg/debian/changelog
--- arm-compute-library-20.08+dfsg/debian/changelog	2020-11-06 01:30:42.000000000 +0100
+++ arm-compute-library-20.08+dfsg/debian/changelog	2023-03-03 14:31:21.000000000 +0100
@@ -1,3 +1,17 @@
+arm-compute-library (20.08+dfsg-7) unstable; urgency=medium
+
+  * Actually include d/patches/missing-includes.patch, all changes to d/patches
+    got removed by dgit.
+
+ -- Emanuele Rocca <ema@debian.org>  Fri, 03 Mar 2023 14:31:21 +0100
+
+arm-compute-library (20.08+dfsg-6) unstable; urgency=medium
+
+  * Add d/patches/missing-includes.patch to fix FTBFS (Closes: #1032041)
+  * Add myself to Uploaders with Wookey's permission.
+
+ -- Emanuele Rocca <ema@debian.org>  Fri, 03 Mar 2023 14:12:26 +0100
+
 arm-compute-library (20.08+dfsg-5) unstable; urgency=medium
 
   * Re-release as source-only upload
diff -Nru arm-compute-library-20.08+dfsg/debian/control arm-compute-library-20.08+dfsg/debian/control
--- arm-compute-library-20.08+dfsg/debian/control	2020-11-06 01:30:42.000000000 +0100
+++ arm-compute-library-20.08+dfsg/debian/control	2023-03-03 14:16:04.000000000 +0100
@@ -2,7 +2,7 @@
 Section: libs
 Priority: optional
 Maintainer: Compute Library Team <developer-compute@arm.com>
-Uploaders: Georgios Pinitas <georgios.pinitas@arm.com>,
+Uploaders: Georgios Pinitas <georgios.pinitas@arm.com>, Emanuele Rocca <ema@debian.org>
 Standards-Version: 4.5.0
 Homepage: https://github.com/ARM-software/ComputeLibrary
 Vcs-git: https://salsa.debian.org/wookey/arm-compute-library
diff -Nru arm-compute-library-20.08+dfsg/debian/patches/missing-includes.patch arm-compute-library-20.08+dfsg/debian/patches/missing-includes.patch
--- arm-compute-library-20.08+dfsg/debian/patches/missing-includes.patch	1970-01-01 01:00:00.000000000 +0100
+++ arm-compute-library-20.08+dfsg/debian/patches/missing-includes.patch	2023-03-03 14:30:48.000000000 +0100
@@ -0,0 +1,136 @@
+From: Emanuele Rocca <ema@debian.org>
+Date: Fri, 03 Mar 2023 14:14:18 +0100
+Subject: add missing includes to fix https://bugs.debian.org/1032041
+
+Index: arm-compute-library-20.08+dfsg/arm_compute/core/ITensorPack.h
+===================================================================
+--- arm-compute-library-20.08+dfsg.orig/arm_compute/core/ITensorPack.h
++++ arm-compute-library-20.08+dfsg/arm_compute/core/ITensorPack.h
+@@ -25,6 +25,7 @@
+ #define ARM_COMPUTE_ITENSORPACK_H
+ 
+ #include <cstdint>
++#include <cstddef>
+ #include <map>
+ 
+ namespace arm_compute
+Index: arm-compute-library-20.08+dfsg/src/core/NEON/kernels/arm_gemm/mergeresults.cpp
+===================================================================
+--- arm-compute-library-20.08+dfsg.orig/src/core/NEON/kernels/arm_gemm/mergeresults.cpp
++++ arm-compute-library-20.08+dfsg/src/core/NEON/kernels/arm_gemm/mergeresults.cpp
+@@ -25,6 +25,7 @@
+ /* As some of the merges need these headers, but are all included in the
+  * arm_gemm namespace, put these headers here.  */
+ #include <algorithm>
++#include <limits>
+ 
+ #include <arm_neon.h>
+ 
+Index: arm-compute-library-20.08+dfsg/src/core/NEON/kernels/arm_gemm/kernels/a64_hybrid_fp32_mla_16x4/generic.cpp
+===================================================================
+--- arm-compute-library-20.08+dfsg.orig/src/core/NEON/kernels/arm_gemm/kernels/a64_hybrid_fp32_mla_16x4/generic.cpp
++++ arm-compute-library-20.08+dfsg/src/core/NEON/kernels/arm_gemm/kernels/a64_hybrid_fp32_mla_16x4/generic.cpp
+@@ -24,6 +24,7 @@
+ #ifdef __aarch64__
+ 
+ #include <algorithm>
++#include <limits>
+ 
+ #include "arm_gemm.hpp"
+ 
+Index: arm-compute-library-20.08+dfsg/src/core/NEON/kernels/arm_gemm/kernels/a64_hybrid_fp32_mla_16x4/a55.cpp
+===================================================================
+--- arm-compute-library-20.08+dfsg.orig/src/core/NEON/kernels/arm_gemm/kernels/a64_hybrid_fp32_mla_16x4/a55.cpp
++++ arm-compute-library-20.08+dfsg/src/core/NEON/kernels/arm_gemm/kernels/a64_hybrid_fp32_mla_16x4/a55.cpp
+@@ -24,6 +24,7 @@
+ #ifdef __aarch64__
+ 
+ #include <algorithm>
++#include <limits>
+ 
+ #include "arm_gemm.hpp"
+ 
+Index: arm-compute-library-20.08+dfsg/src/core/NEON/kernels/arm_gemm/kernels/a64_hybrid_fp32_mla_16x4/x1.cpp
+===================================================================
+--- arm-compute-library-20.08+dfsg.orig/src/core/NEON/kernels/arm_gemm/kernels/a64_hybrid_fp32_mla_16x4/x1.cpp
++++ arm-compute-library-20.08+dfsg/src/core/NEON/kernels/arm_gemm/kernels/a64_hybrid_fp32_mla_16x4/x1.cpp
+@@ -24,6 +24,7 @@
+ #ifdef __aarch64__
+ 
+ #include <algorithm>
++#include <limits>
+ 
+ #include "arm_gemm.hpp"
+ 
+Index: arm-compute-library-20.08+dfsg/src/core/NEON/kernels/arm_gemm/kernels/a64_hybrid_fp32_mla_4x8/generic.cpp
+===================================================================
+--- arm-compute-library-20.08+dfsg.orig/src/core/NEON/kernels/arm_gemm/kernels/a64_hybrid_fp32_mla_4x8/generic.cpp
++++ arm-compute-library-20.08+dfsg/src/core/NEON/kernels/arm_gemm/kernels/a64_hybrid_fp32_mla_4x8/generic.cpp
+@@ -24,6 +24,7 @@
+ #ifdef __aarch64__
+ 
+ #include <algorithm>
++#include <limits>
+ 
+ #include "arm_gemm.hpp"
+ 
+Index: arm-compute-library-20.08+dfsg/src/core/NEON/kernels/arm_gemm/kernels/a64_smallK_hybrid_fp32_mla_4x8/generic.cpp
+===================================================================
+--- arm-compute-library-20.08+dfsg.orig/src/core/NEON/kernels/arm_gemm/kernels/a64_smallK_hybrid_fp32_mla_4x8/generic.cpp
++++ arm-compute-library-20.08+dfsg/src/core/NEON/kernels/arm_gemm/kernels/a64_smallK_hybrid_fp32_mla_4x8/generic.cpp
+@@ -24,6 +24,7 @@
+ #ifdef __aarch64__
+ 
+ #include <algorithm>
++#include <limits>
+ 
+ #include "arm_gemm.hpp"
+ 
+Index: arm-compute-library-20.08+dfsg/src/core/NEON/kernels/arm_gemm/kernels/a64_smallK_hybrid_fp32_mla_4x6/generic.cpp
+===================================================================
+--- arm-compute-library-20.08+dfsg.orig/src/core/NEON/kernels/arm_gemm/kernels/a64_smallK_hybrid_fp32_mla_4x6/generic.cpp
++++ arm-compute-library-20.08+dfsg/src/core/NEON/kernels/arm_gemm/kernels/a64_smallK_hybrid_fp32_mla_4x6/generic.cpp
+@@ -24,6 +24,7 @@
+ #ifdef __aarch64__
+ 
+ #include <algorithm>
++#include <limits>
+ 
+ #include "arm_gemm.hpp"
+ 
+Index: arm-compute-library-20.08+dfsg/include/libnpy/npy.hpp
+===================================================================
+--- arm-compute-library-20.08+dfsg.orig/include/libnpy/npy.hpp
++++ arm-compute-library-20.08+dfsg/include/libnpy/npy.hpp
+@@ -35,6 +35,7 @@
+ #include <algorithm>
+ #include <regex>
+ #include <unordered_map>
++#include <iterator>
+ 
+ 
+ namespace npy {
+Index: arm-compute-library-20.08+dfsg/utils/command_line/CommandLineParser.h
+===================================================================
+--- arm-compute-library-20.08+dfsg.orig/utils/command_line/CommandLineParser.h
++++ arm-compute-library-20.08+dfsg/utils/command_line/CommandLineParser.h
+@@ -28,6 +28,7 @@
+ #include "arm_compute/core/utils/misc/Utility.h"
+ #include "support/MemorySupport.h"
+ 
++#include <cstring>
+ #include <iostream>
+ #include <map>
+ #include <memory>
+Index: arm-compute-library-20.08+dfsg/support/MemorySupport.h
+===================================================================
+--- arm-compute-library-20.08+dfsg.orig/support/MemorySupport.h
++++ arm-compute-library-20.08+dfsg/support/MemorySupport.h
+@@ -24,6 +24,7 @@
+ #ifndef ARM_COMPUTE_SUPPORT_MEMORYSUPPORT
+ #define ARM_COMPUTE_SUPPORT_MEMORYSUPPORT
+ 
++#include <cstdint>
+ #include <memory>
+ 
+ namespace arm_compute
diff -Nru arm-compute-library-20.08+dfsg/debian/patches/series arm-compute-library-20.08+dfsg/debian/patches/series
--- arm-compute-library-20.08+dfsg/debian/patches/series	1970-01-01 01:00:00.000000000 +0100
+++ arm-compute-library-20.08+dfsg/debian/patches/series	2023-03-03 14:30:48.000000000 +0100
@@ -0,0 +1 @@
+missing-includes.patch

Reply to: