Package: bazel-bootstrap Version: 3.5.1+ds-2 Severity: normal X-Debbugs-Cc: mic...@lebihan.pl
Dear Maintainer, Building anything unsing Bazel in debspawn or sbuild fails. Never had such issues with those tools building any other packages, so I think that this is an issue with Bazel. Here is a minimal example package: https://lebihan.pl/files/cpp-tutorial-stage1.tar.xz This is the relevant log from debspawn: make[1]: Entering directory '/srv/build/cpp-tutorial-stage1-1' bazel build //main:hello-world FATAL: mkdir('/nonexistent/.cache/bazel/_bazel_builder'): (error: 13): Permission denied make[1]: *** [debian/rules:7: override_dh_auto_build] Error 36 make[1]: Leaving directory '/srv/build/cpp-tutorial-stage1-1' make: *** [debian/rules:4: binary] Error 2 dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2 Command `dpkg-buildpackage --changes-option=-DDistribution=sid` failed. This is the relevant log from sbuild: make[1]: Entering directory '/<<PKGBUILDDIR>>' bazel build //main:hello-world FATAL: mkdir('/sbuild-nonexistent/.cache/bazel/_bazel_michel'): (error: 13): Permission denied make[1]: *** [debian/rules:7: override_dh_auto_build] Error 36 make[1]: Leaving directory '/<<PKGBUILDDIR>>' make: *** [debian/rules:4: binary] Error 2 dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2 Michel Le Bihan -- System Information: Debian Release: bullseye/sid APT prefers testing APT policy: (700, 'testing'), (650, 'unstable'), (600, 'experimental'), (500, 'unstable-debug'), (500, 'stable') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 5.9.0-5-amd64 (SMP w/4 CPU threads) Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages bazel-bootstrap depends on: ii bazel-bootstrap-data 3.5.1+ds-2 ii build-essential 12.9 ii libc6 2.31-9 ii libchecker-framework-java 3.0.1+ds2-2 ii libdiffutils-java 4.0-1 ii liberror-prone-java 2.4.0-1 ii libgcc-s1 10.2.1-3 ii libgeronimo-annotation-1.3-spec-java 1.0-1.1 ii libgoogle-api-client-java 1.27.1-1 ii libgoogle-auth-java 0.18.0-1 ii libgoogle-auto-common-java 0.10-2 ii libgoogle-auto-service-java 1.0~rc7-2 ii libgoogle-auto-value-java 1.7.2-2 ii libgoogle-flogger-java 0.5.1-3 ii libgrpc++1 1.30.2-2+b3 ii libgrpc-java 1.26.0+ds-1 ii libgrpc10 1.30.2-2+b3 ii libopencensus-java 0.24.0-1 ii libprotobuf23 3.12.3-2+b2 ii libprotoc23 3.12.3-2+b2 ii libstdc++6 10.2.1-3 ii openjdk-11-jdk-headless 11.0.10+8-1 ii protobuf-compiler-grpc-java-plugin 1.26.0+ds-1 ii python3 3.9.1-1 ii unzip 6.0-25 ii zlib1g 1:1.2.11.dfsg-2 ii zlib1g-dev 1:1.2.11.dfsg-2 bazel-bootstrap recommends no packages. bazel-bootstrap suggests no packages. -- no debconf information