When I try to auto-detect package dependencies during packaging with my 
debootstrap sysroot used for cross-compilation, I encounter an issue.

I assign the DPKG DB using the '--admindir' option, but the library paths found 
by dpkg-shlibdeps are absolute paths that include my jail sysroot.
For example:
Path found: /srv/chroot/arm64/usr/lib/aarch64-linux-gnu/libgpiod.so.2
Path expected in the DPKG DB: /usr/lib/aarch64-linux-gnu/libgpiod.so.2
The '--admindir' argument creates the expectation that dpkg-shlibdeps could 
infer the correct sysroot corresponding to those libraries.
Regards.






Reply via email to