Comment 6 for bug 1958484

Revision history for this message
ethan.hsieh (ethan.hsieh) wrote :

@Łukasz

I uploaded debdiff for jammy.
When I built the test package for jammy, I got the following error messages.
So, I created a patch called build-with-std-gnu++17.patch to fix build failure.

Here is the error message when building the package without -std=gnu++17:
/<<PKGBUILDDIR>>/tools/Vitis-AI-Runtime/VART/xir/include/xir/util/any.hpp:28:2: error: #error "must enable c++17"
   28 | #error "must enable c++17"
      | ^~~~~
In file included from /<<PKGBUILDDIR>>/tools/Vitis-AI-Runtime/VART/xir/include/xir/tensor/tensor.hpp:22,
                 from /<<PKGBUILDDIR>>/tools/Vitis-AI-Runtime/VART/xir/src/xir/util/internal_util.hpp:28,
                 from /<<PKGBUILDDIR>>/tools/Vitis-AI-Runtime/VART/xir/src/xir/util/internal_util.cpp:17:
/<<PKGBUILDDIR>>/tools/Vitis-AI-Runtime/VART/xir/include/xir/attrs/attrs.hpp:109:22: error: ‘any’ in namespace ‘xir’ does not name a type
  109 | virtual const xir::any& get_attr(const std::string& key) const = 0;