New comment by sgn on void-packages repository https://github.com/void-linux/void-packages/issues/22139#issuecomment-631167258 Comment: Working on it, I think a hook is no-good. There's other places reference to `$XBPS_CROSS_BASE`, I still need to inspect `$DESTDIR`to find the leftover. A warning if `grep -q "$XBPS_CROSS_BASE" "$PKGDESTDIR"` maybe better? Thanks for the list anyway.