[Bug 1958484] Re: Add Python support for Vitis AI v1.3.2 package in focal

ethan.hsieh 1958484 at bugs.launchpad.net
Thu Jan 20 11:02:28 UTC 2022


@Ł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;


** Patch added: "jammy.debdiff"
   https://bugs.launchpad.net/ubuntu/+source/vitis-ai/+bug/1958484/+attachment/5555800/+files/jammy.debdiff

-- 
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1958484

Title:
  Add Python support for Vitis AI v1.3.2 package in focal

Status in vitis-ai package in Ubuntu:
  New

Bug description:
  [Impact]

   * Xilinx wants to add python support for Vitis AI v1.3.2 package

  The following files will be added after applying the patch for python support.
  /usr/lib/python3/dist-packages/runner.py
  /usr/lib/python3/dist-packages/vart.cpython-38-aarch64-linux-gnu.so
  /usr/lib/python3/dist-packages/xir.cpython-38-aarch64-linux-gnu.so

   * Xilinx doesn't intend to support v1.3.2 package in Jammy. Vitis AI
  package in Jammy will be upgraded to newer version with python
  support. So, the patch for python support won't be applied to jammy.

  [Test Plan]

   * Xilinx will perform validation of these packages

  [Where problems could occur]

   * This is a low-risk SRU as python libraries do not exist on focal
  yet, so in theory no current user would be affected

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/vitis-ai/+bug/1958484/+subscriptions




More information about the Ubuntu-sponsors mailing list