← Back to team overview

bazel-team team mailing list archive

Bug#979305: bazel-bootstrap: fails to clean after build: rm: cannot remove 'output': Is a directory


Package: bazel-bootstrap
Version: 3.5.1+ds-2~exp1
Severity: serious
Tags: ftbfs
Justification: fails to build from source (but built successfully in the past)


bazel-bootstrap fails to build twice in a row since it does not properly
clean after the first (and successful) build:

 debian/rules clean
dh clean --with python3
        rm -f debian/bazel-bootstrap-data.debhelper.log debian/bazel-bootstrap.debhelper.log
   debian/rules override_dh_auto_clean
make[1]: Entering directory '/build/bazel-bootstrap-3.5.1+ds'
        install -d /build/bazel-bootstrap-3.5.1\+ds/debian/.debhelper/generated/_source/home
rm -rf derived
rm -f output
rm: cannot remove 'output': Is a directory
make[1]: *** [debian/rules:62: override_dh_auto_clean] Error 1
make[1]: Leaving directory '/build/bazel-bootstrap-3.5.1+ds'
make: *** [debian/rules:53: clean] Error 2


Attachment: bazel-bootstrap_3.5.1+ds-2~exp1_twice.log.gz
Description: application/gzip