After 0.87.1 version of sbuild BUILD_PATH value is no more random by
default. It is better for reproducibility but breaks concurrent builds
because this path got removed during cleanup stage.
To keep sbuild choose a random build location (just like it is in older
package versions) set the empty string to build-path option.
More details can be found in sbuild commit:
14cc3a41f7eed7d9bd62e3c443d077b0f345cb24
This fixes Isar building on Trixie hosts.
Signed-off-by: Anton Mikanovich <
ami...@ilbers.de>
---
meta/classes/dpkg.bbclass | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta/classes/dpkg.bbclass b/meta/classes/dpkg.bbclass
index 64404103..0e5a495d 100644
--- a/meta/classes/dpkg.bbclass
+++ b/meta/classes/dpkg.bbclass
@@ -124,7 +124,7 @@ dpkg_runbuild() {
--finished-build-commands="rm -f ${deb_dir}/sbuild-build-depends-main-dummy_*.deb" \
--finished-build-commands="find ${deb_dir} -maxdepth 1 -type f -name '*.deb' -print -exec cp ${CP_FLAGS} -t ${ext_deb_dir}/ {} +" \
--finished-build-commands="cp /var/log/dpkg.log ${ext_root}/dpkg_partial.log" \
- --build-dir=${WORKDIR} --dist="${DEBDISTRONAME}" ${DSC_FILE}
+ --build-path="" --build-dir=${WORKDIR} --dist="${DEBDISTRONAME}" ${DSC_FILE}
sbuild_dpkg_log_export "${WORKDIR}/rootfs/dpkg_partial.log"
deb_dl_dir_export "${WORKDIR}/rootfs" "${distro}"
--
2.34.1