On Fri, Mar 19, 2021 at 06:41:35PM +0100, Christian Boltz wrote: > Hello, > > Am Freitag, 5. März 2021, 13:07:45 CET schrieb Helmut Grohne: > > 4. Then it uses AC_CHECK_FILE to locate a header. Bad idea. > > AC_CHECK_FILE is for host files, not for build files. Please use > > test -e instead.
https://gitlab.com/apparmor/apparmor/-/merge_requests/728 was merged quickly. > > 6. The configure script assumes that $PYTHON-config is right. > > Unfortunately, the Python interpreter is not usually prefixed with > > a triplet whereas the -config tool is. Thus we get the build > > architecture python-config here, but we should use the host one. > > AC_PATH_TOOL is required here. https://gitlab.com/apparmor/apparmor/-/merge_requests/729 is just reported. > These two fixes (both in the added cross.patch) affect upstream code, > and I'd guess that they are not Debian-specific. This is correct. These two changes really are meant to be upstreamed and should help other cross build distributions. Helmut