Issue Description: pva-algos-lib-2.7.0-aarch64-linux-1.0.4.deb provided through NGC has incorrect control file.
# dpkg -i /data/pva-algos-lib-2.7.0-aarch64-linux-1.0.4.deb
dpkg: error processing archive /data/pva-algos-lib-2.7.0-aarch64-linux-1.0.4.deb (--install):
package architecture (amd64) does not match system (arm64)
Errors were encountered while processing:
/data/pva-algos-lib-2.7.0-aarch64-linux-1.0.4.deb
I repacked the deb and modified the control file to say arm64. It installs fine now. I also verified that libraries and sample binary in the package was for aarch64.
Also noted that the package name in the control file was set to cupva-algos-gen2-l4t and has a couple spelling errors.
Given this package includes binary and source, it seems better to distribute a binary package for the target and a src package separately so it’s more clear. Or if the intention is that we must build from source, then only release the source package for cross compiling. Why have an amd64 package containing arm64 compiled library plus source code that must be installed on amd64? Is there official documentation somewhere for this?
Looks like what you’re compiling are some tests and no the library itself which is not what we were looking for anyway.
Here’s the library file in the package and it’s aarch64:
# file libpvaalgos.so.1.0.4
libpvaalgos.so.1.0.4: ELF 64-bit LSB shared object, ARM aarch64, version 1 (GNU/Linux), dynamically linked, BuildID[sha1]=4c732e2ed52599668af630a38eab499430245c45, not stripped