Package: bazel-bootstrap / 4.2.3+ds-11
Metadata
Package | Version | Patches format |
---|---|---|
bazel-bootstrap | 4.2.3+ds-11 | 3.0 (quilt) |
Patch series
view the series filePatch | File delta | Description |
---|---|---|
mock_repos.patch | (download) |
mock_repos/bazel_skydoc/BUILD |
1 1 + 0 - 0 ! |
create mock repositories to prevent packaging binary archives Workaround created for Debian by upstream to prevent packaging archive files in Debian "source." This recreates only the portions of those .zip and .tar.gz files that are required for building Bazel on Debian. |
remove_javac.patch | (download) |
src/java_tools/buildjar/java/com/google/devtools/build/buildjar/BUILD |
2 0 + 2 - 0 ! |
remove references to javac The Debian build uses the local javac. |
remove_license_deps.patch | (download) |
src/main/java/com/google/devtools/build/lib/runtime/commands/license/BUILD |
9 3 + 6 - 0 ! |
remove license dependencies For third-party software that is not bundled in the Debian source tarball. |
WORKSPACE.patch | (download) |
WORKSPACE |
44 0 + 44 - 0 ! |
debian-specific fixes in workspace file Bazel needs to download some dependencies just to properly parse the WORKSPACE file. We comment some load statements so that it wont download the things we dont need for building Bazel binary. Also, remove @io_bazel reference that was causing ccache failures. |
package_before_making_self extracting.patch | (download) |
compile.sh |
12 7 + 5 - 0 ! |
install into proper debian packaging directory |
env_python3.patch | (download) |
src/main/java/com/google/devtools/build/lib/bazel/rules/python/BazelPythonSemantics.java |
4 2 + 2 - 0 ! |
update source code for python 3 Python 2 reached End-of-Life in January 2020. This patch completely removes Python 2 support per release team guidance. |
add trust_install_base option.patch | (download) |
src/main/cpp/blaze.cc |
65 56 + 9 - 0 ! |
add --trust_install_base option This will allow Bazel client to run individually without the appended zip archive, which is a requirement for Debian installation. |
allow install base symlinks.patch | (download) |
src/main/java/com/google/devtools/build/lib/exec/BinTools.java |
1 1 + 0 - 0 ! |
accept symlinks in install base |
fix privacy issues.patch | (download) |
site/_includes/footer.html |
4 2 + 2 - 0 ! |
correct privacy issues flagged by lintian |
build bash_completion.patch | (download) |
scripts/BUILD |
4 2 + 2 - 0 ! |
build bash completion file |
rename daemonize.patch | (download) |
src/main/tools/BUILD |
2 1 + 1 - 0 ! |
rename daemonize.c to daemonize.cc The .c extension was preventing it from receiving build hardening flags. |
change sysmtem rc file location.patch | (download) |
src/main/cpp/BUILD |
2 1 + 1 - 0 ! |
change system rc file location Prevent config file conflicts with user Bazel installations. |
remove android rules.patch | (download) |
scripts/bootstrap/compile.sh |
2 1 + 1 - 0 ! |
remove android rules Temporary fix for unavailability of Android packages in Debian Testing |
enable debian junit4.patch | (download) |
third_party/BUILD |
3 2 + 1 - 0 ! |
enable junit4 use in debian builds |
support mips64el and riscv64.patch | (download) |
mock_repos/platforms/cpu/BUILD |
10 10 + 0 - 0 ! |
support mips64el and riscv64 architectures |
add_toolchain_support_for_mips64.patch | (download) |
scripts/bootstrap/bootstrap.sh |
2 1 + 1 - 0 ! |
add toolchain support for the mips64el architecture |
increase_heap_size_for_javac.patch | (download) |
tools/build_rules/java_rules_skylark.bzl |
2 1 + 1 - 0 ! |
increase heap size for javac |
add_toolchain_support_for_riscv64.patch | (download) |
src/conditions/BUILD |
6 6 + 0 - 0 ! |
add toolchain support for the riscv64 architecture Based on the mips64el toolchain patch by Yun Peng |
add_verbose_for_java_compilation.patch | (download) |
scripts/bootstrap/compile.sh |
4 2 + 2 - 0 ! |
add verbose flag to prevent javac build timeouts |
verbose bash completion generation.patch | (download) |
scripts/generate_bash_completion.sh |
1 1 + 0 - 0 ! |
add verbose debug info to bash completion creation Also increase timeout to prevent failures on slow build machines. |
add_include_for_limits.patch | (download) |
third_party/ijar/mapped_file_unix.cc |
3 2 + 1 - 0 ! |
add include for <limits> to allow correct build of ijar binaries Also add include for <stdexcept> to allow proper builds on non-amd64 systems |
fix_bashisms.patch | (download) |
combine_distfiles_to_tar.sh |
2 1 + 1 - 0 ! |
fix bashisms First file fixed from upstream, second and third files fixed in Debian because they were eliminated upstream in tags 6.0.0-pre.20220310.1 and 5.0.0. |
fix_longlines.patch | (download) |
CHANGELOG.md |
14 13 + 1 - 0 ! |
fix long lines CHANGELONG.md -- Forwarded upstream at below URL build-javascript -- Removed in Bazel v6 test-encyclopedia.html -- Removed in Bazel v6 LICENSE.txt -- Removed in Bazel v6 |
debian_rxjava.patch | (download) |
third_party/BUILD |
6 4 + 2 - 0 ! |
patch to use debian "reactive_streams" and "rxjava3" |
remove_skylib.patch | (download) |
src/conditions/BUILD |
22 1 + 21 - 0 ! |
patch to remove dependency on "bazel_skylib" Currently causing build failures in bazel-bootstrap. Full bazel package will depend on bazel-skylib package, avoiding build failures. |
allow_builds_using_bazel_source.patch | (download) |
tools/distributions/debian/debian_java.BUILD |
8 4 + 4 - 0 ! |
allow external software to build using bazel source code Use "@io_bazel//" instead of "//" to reference Bazel packages |
openjdk 17_add opens.patch | (download) |
scripts/bootstrap/compile.sh |
2 2 + 0 - 0 ! |
add required `--add-opens` server jvm args with non-embedded jdk Since the Bazel server requires JDK 11 or higher to run, the `--add-opens` server JVM arg for `java.lang` can now be added unconditionally, which ensures support with JDK 17+. Also removes the additional opens for `java.nio`, which was only needed to silence a protobuf warning that has since been fixed upstream. . Olek Wojnar modified upstream commit for Debian. |
JDK 13_fix.patch | (download) |
src/java_tools/buildjar/java/com/google/devtools/build/buildjar/VanillaJavaBuilder.java |
2 1 + 1 - 0 ! |
jdk 13 introduced a source compatibility issue Quote from the Java release notes: The addition of newFileSystem(Path, Map<String, ?>) creates a source (but not binary) compatibility issue for code that has been using the existing 2-arg newFileSystem(Path, ClassLoader) and specifying the class loader as null. [...] To avoid the ambiguous reference, this code needs to be modified to cast the second parameter to java.lang.ClassLoader. |
fix_JDK 16_test_failures.patch | (download) |
src/test/shell/bazel/bazel_java_tools_test.sh |
2 1 + 1 - 0 ! |
rename "useparalleloldgc" to enable jdk 16+ builds Builds with the local toolchain fail when it is using OpenJDK 16, because UseParallelOldGC option was deprecated in JEP 366 and then subsequently removed in https://hg.openjdk.java.net/jdk/jdk/rev/62a003539b0c. |
grpc absl_synchronization.patch | (download) |
tools/distributions/debian/debian_cc.BUILD |
2 1 + 1 - 0 ! |
modified patch from ubuntu to fix grpc-related ftbfs Thanks to Gianfranco Costamagna for the original patch: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1027112#23 Patch slimmed down by Olek to only add the one missing linker flag. |
exclude_build_data.patch | (download) |
src/java_tools/singlejar/java/com/google/devtools/build/singlejar/SingleJar.java |
2 1 + 1 - 0 ! |
remove internal timestamps to ensure reproducible builds |
fix install_base_key generation.patch | (download) |
src/BUILD |
5 1 + 4 - 0 ! |
fix non-reproducible generation of the install_base_key file The checksum does not properly include these files. This will hopefully be fixed in future versions of Bazel. |
javax.annotations.patch | (download) |
tools/distributions/debian/debian_java.BUILD |
6 3 + 3 - 0 ! |
fix for javax.annotations Switch to geronimo-annotation-1.3-spec. Do not require libtomcat9-java. Bug-Debian: https://bugs.debian.org/1035995 |
handle_synthetic_method_parameters_entries_that_dont_have_names.patch | (download) |
third_party/ijar/classfile.cc |
5 3 + 2 - 0 ! |
handle synthetic method parameters entries that don't have names > If the value of the name_index item is zero, then this parameters element indicates a formal parameter with no name. https://docs.oracle.com/javase/specs/jvms/se20/html/jvms-4.html#jvms-4.7.24 |
add_toolchain_support_for_loongarch64.patch | (download) |
mock_repos/platforms/cpu/BUILD |
5 5 + 0 - 0 ! |
add toolchain support for the loongarch64 architecture |
debian_commons_io.patch | (download) |
third_party/BUILD |
6 4 + 2 - 0 ! |
enable commons_codec and commons_io in debian builds |