Hello,
We are using ptxdist 2022.07 and are building 2 packages, libimxvpuapi2 and
libimxdmabuffer.
libimxvpuapi2 depends on libimxdmabuffer and accordingly libimxvpuapi2.in
selects libimxdmabuffer.
The libimxvpuapi2 build fails during config. The config file shows
Checking for 'libimxdmabuffer >= 0.9.0'
['/home/rich/imx6_3D104X_fsl6/Grayhill-iMX6/platform-3D50_std/sysroot-cross/bin/pkg-config',
'--cflags', '--libs', 'libimxdmabuffer', '>=', '0.9.0']
err: pkg-config: warning: blocking 'libimxdmabuffer': not selected by
'libimxvpuapi2'
So pkg-config-wrapper is blocking the libimxdmabuffer package. The code that
does this in pkg-config-wrapper is:
for pkg in ${pkgs}; do
if [[ ! " ${whitelist} " =~ " ${pkg} " && ! "${pkg}" =~
'-uninstalled' ]]; then
echo "$(basename ${0}): warning: blocking '${pkg}': not selected
by '${PKGCONFIG_WHITELIST_SRC}'" >&${ERROR_FD}
exit 1
fi
done
We can get rid of the issue by commenting out the code above in
pkg-config-wrapper but it seems that then breaks some other packages.
Libimxdmabuffer is version 1.1.2. Both packages are using waf to build.
What could be going wrong?
Rich OGrady