Package: armnn Version: 20.08 Severity: serious Tags: upstream ftbfs patch Justification: fails to build from source (but built successfully in the past)
The package fails to build with gcc 12, currently in sid and bookworm. It does build fine with gcc 10 in bullseye. The issue has been fixed upstream: https://github.com/ARM-software/armnn/issues/643 This is the patch: https://github.com/ARM-software/armnn/commit/85edad42b8b76e76c5d969e4bc380b0e8a845c9b.patch Here is an excerpt from the build failure on the amd64 buildd x86-ubc-02: In file included from /<<PKGBUILDDIR>>/src/backends/reference/workloads/ElementwiseFunction.cpp:9: /<<PKGBUILDDIR>>/src/backends/reference/workloads/Minimum.hpp:12:30: error: ‘template<class _Arg1, class _Arg2, class _Result> struct std::binary_function’ is deprecated [-Werror=deprecated-declarations] 12 | struct minimum : public std::binary_function<T, T, T> | ^~~~~~~~~~~~~~~ [...] cc1plus: all warnings being treated as errors See https://buildd.debian.org/status/logs.php?pkg=armnn&ver=20.08-10%2Bb1&suite=sid