New comment by newbluemoon on void-packages repository https://github.com/void-linux/void-packages/issues/11426#issuecomment-489365964 Comment: Hmm, maybe I’m not getting something, but in `/usr/bin/g-ir-scanner` ``` #!/usr/bin/env bash # Check if we are running in an xbps-src environment and run the wrapper if that # is the case. if [ -n "$XBPS_CROSS_BASE" -a -n "$XBPS_TARGET_MACHINE" -a -n "$XBPS_VERSION" ]; then # This prevents g-ir-scanner from writing cache data to $HOME export GI_SCANNER_DISABLE_CACHE=1 exec /usr/bin/g-ir-scanner.wrapped \ --use-binary-wrapper=/usr/bin/g-ir-scanner-qemuwrapper \ --use-ldd-wrapper=/usr/bin/g-ir-scanner-lddwrapper \ --add-include-path=${XBPS_CROSS_BASE}/usr/share/gir-1.0 \ --add-include-path=${XBPS_CROSS_BASE}/usr/lib/gir-1.0 \ "${@//-I\/usr\/include/-I${XBPS_CROSS_BASE}\/usr\/include}" fi exec /usr/bin/g-ir-scanner.wrapped "$@" ``` shouldn’t the last line belong to the ‘else’ branch of the if clause? Else there are two `exec`s in the cross case. Same with `g-ir-compiler`.