==> Building on u ==> Ensuring required PGP keys are present...  -> Checking for 71A1D0EFCFEB6281FD0437C93D5919B448457EE0... ==> Checking for remote environment... ==> Syncing package to remote host... sending incremental file list ./ PKGBUILD 1,678 100% 0.00kB/s 0:00:00 1,678 100% 0.00kB/s 0:00:00 (xfr#1, to-chk=2/4) bazel-5.1.0-1.log 350 100% 341.80kB/s 0:00:00 350 100% 341.80kB/s 0:00:00 (xfr#2, to-chk=1/4) grpc_rename_gettid.patch 700 21% 683.59kB/s 0:00:00 3,303 100% 3.15MB/s 0:00:00 (xfr#3, to-chk=0/4) sent 1,241 bytes received 130 bytes 2,742.00 bytes/sec total size is 5,319 speedup is 3.88 ==> Applying RISC-V patches... sending incremental file list ./ 01-fix-invalid-jni_md-select.patch 700 89% 0.00kB/s 0:00:00 784 100% 82.03kB/s 0:00:00 (xfr#1, to-chk=3/5) 02-use-riscv64-jdk.patch 700 31% 683.59kB/s 0:00:00 2,235 100% 2.13MB/s 0:00:00 (xfr#2, to-chk=2/5) 03-set-default-nojdk.patch 355 100% 346.68kB/s 0:00:00 355 100% 346.68kB/s 0:00:00 (xfr#3, to-chk=1/5) riscv64.patch 1,737 100% 1.66MB/s 0:00:00 1,737 100% 1.66MB/s 0:00:00 (xfr#4, to-chk=0/5) sent 1,130 bytes received 155 bytes 2,570.00 bytes/sec total size is 5,111 speedup is 3.98 patching file PKGBUILD ==> Patching arch to riscv64... ==> Running extra-riscv64-build -- -d /home/felix/packages/riscv64-pkg-cache:/var/cache/pacman/pkg -l felix1 on remote host... [?25l:: Synchronizing package databases... core downloading... extra downloading... community downloading... :: Starting full system upgrade... there is nothing to do [?25h==> Building in chroot for [extra] (riscv64)... ==> Synchronizing chroot copy [/var/lib/archbuild/extra-riscv64/root] -> [felix1]...done ==> Making package: bazel 5.1.0-1 (Fri Apr 1 01:59:37 2022) ==> Retrieving sources...  -> Downloading bazel-5.1.0-dist.zip... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 657 100 657 0 0 979 0 --:--:-- --:--:-- --:--:-- 980 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0 0 225M 0 319k 0 0 104k 0 0:36:42 0:00:03 0:36:39 149k 0 225M 0 2159k 0 0 550k 0 0:06:58 0:00:03 0:06:55 717k 3 225M 3 7303k 0 0 1488k 0 0:02:34 0:00:04 0:02:30 1829k 5 225M 5 13.0M 0 0 2253k 0 0:01:42 0:00:05 0:01:37 2664k 8 225M 8 19.1M 0 0 2778k 0 0:01:22 0:00:07 0:01:15 3845k 10 225M 10 24.0M 0 0 3101k 0 0:01:14 0:00:07 0:01:07 4967k 13 225M 13 30.4M 0 0 3412k 0 0:01:07 0:00:09 0:00:58 5572k 15 225M 15 35.1M 0 0 3609k 0 0:01:03 0:00:09 0:00:54 5659k 17 225M 17 40.4M 0 0 3793k 0 0:01:00 0:00:10 0:00:50 5631k 20 225M 20 46.3M 0 0 3974k 0 0:00:57 0:00:11 0:00:46 5689k 23 225M 23 52.3M 0 0 4102k 0 0:00:56 0:00:13 0:00:43 5661k 25 225M 25 57.2M 0 0 4187k 0 0:00:55 0:00:13 0:00:42 5639k 27 225M 27 62.7M 0 0 4295k 0 0:00:53 0:00:14 0:00:39 5672k 30 225M 30 69.2M 0 0 4411k 0 0:00:52 0:00:16 0:00:36 5728k 33 225M 33 74.8M 0 0 4498k 0 0:00:51 0:00:17 0:00:34 5729k 35 225M 35 80.9M 0 0 4596k 0 0:00:50 0:00:18 0:00:32 5897k 38 225M 38 85.8M 0 0 4649k 0 0:00:49 0:00:18 0:00:31 5962k 40 225M 40 91.2M 0 0 4687k 0 0:00:49 0:00:19 0:00:30 5863k 42 225M 42 96.4M 0 0 4720k 0 0:00:48 0:00:20 0:00:28 5740k 45 225M 45 101M 0 0 4745k 0 0:00:48 0:00:21 0:00:27 5610k 47 225M 47 106M 0 0 4775k 0 0:00:48 0:00:22 0:00:26 5436k 50 225M 50 113M 0 0 4812k 0 0:00:47 0:00:24 0:00:23 5412k 52 225M 52 117M 0 0 4837k 0 0:00:47 0:00:24 0:00:23 5441k 54 225M 54 123M 0 0 4858k 0 0:00:47 0:00:25 0:00:22 5425k 57 225M 57 128M 0 0 4891k 0 0:00:47 0:00:26 0:00:21 5528k 59 225M 59 134M 0 0 4919k 0 0:00:46 0:00:28 0:00:18 5556k 61 225M 61 139M 0 0 4932k 0 0:00:46 0:00:28 0:00:18 5520k 64 225M 64 145M 0 0 4955k 0 0:00:46 0:00:30 0:00:16 5520k 66 225M 66 150M 0 0 4970k 0 0:00:46 0:00:30 0:00:16 5554k 69 225M 69 155M 0 0 4984k 0 0:00:46 0:00:31 0:00:15 5480k 71 225M 71 161M 0 0 5014k 0 0:00:45 0:00:33 0:00:12 5552k 74 225M 74 168M 0 0 5062k 0 0:00:45 0:00:34 0:00:11 5802k 77 225M 77 173M 0 0 5073k 0 0:00:45 0:00:35 0:00:10 5793k 80 225M 80 180M 0 0 5117k 0 0:00:45 0:00:36 0:00:09 6022k 82 225M 82 186M 0 0 5147k 0 0:00:44 0:00:37 0:00:07 6171k 85 225M 85 192M 0 0 5186k 0 0:00:44 0:00:38 0:00:06 6334k 88 225M 88 198M 0 0 5221k 0 0:00:44 0:00:38 0:00:06 6334k 91 225M 91 205M 0 0 5256k 0 0:00:43 0:00:39 0:00:04 6542k 94 225M 94 211M 0 0 5273k 0 0:00:43 0:00:41 0:00:02 6380k 96 225M 96 217M 0 0 5294k 0 0:00:43 0:00:41 0:00:02 6405k 99 225M 99 223M 0 0 5327k 0 0:00:43 0:00:42 0:00:01 6401k 100 225M 100 225M 0 0 5331k 0 0:00:43 0:00:43 --:--:-- 6330k  -> Downloading bazel-5.1.0-dist.zip.sig... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 661 100 661 0 0 1114 0 --:--:-- --:--:-- --:--:-- 1114 100 566 100 566 0 0 449 0 0:00:01 0:00:01 --:--:-- 449  -> Found 01-fix-invalid-jni_md-select.patch  -> Found 02-use-riscv64-jdk.patch  -> Found 03-set-default-nojdk.patch ==> Validating source files with sha512sums... bazel-5.1.0-dist.zip ... Passed bazel-5.1.0-dist.zip.sig ... Skipped 01-fix-invalid-jni_md-select.patch ... Passed 02-use-riscv64-jdk.patch ... Passed 03-set-default-nojdk.patch ... Passed ==> Verifying source file signatures with gpg... bazel-5.1.0-dist.zip ... Passed ==> Making package: bazel 5.1.0-1 (Fri 01 Apr 2022 02:01:39 AM EEST) ==> Checking runtime dependencies... ==> Installing missing dependencies... [?25lresolving dependencies... looking for conflicting packages... warning: dependency cycle detected: warning: harfbuzz will be installed before its freetype2 dependency Package (19) New Version Net Change Download Size extra/freetype2 2.11.1-1 1.44 MiB extra/giflib 5.2.1-2 0.22 MiB extra/graphite 1:1.3.14-1 0.16 MiB extra/harfbuzz 4.2.0-1 5.43 MiB extra/hicolor-icon-theme 0.17-2 0.05 MiB extra/java-environment-common 3-3 0.00 MiB extra/java-runtime-common 3-3 0.01 MiB extra/jre11-openjdk 11.0.15.u3-1 0.47 MiB 0.19 MiB extra/jre11-openjdk-headless 11.0.15.u3-1 137.67 MiB 32.11 MiB extra/lcms2 2.13.1-1 0.58 MiB extra/libjpeg-turbo 2.1.3-1 1.37 MiB extra/libnet 1:1.1.6-1 0.28 MiB extra/libpng 1.6.37-3 0.46 MiB extra/libtiff 4.3.0-2 2.59 MiB 0.84 MiB core/nspr 4.33-1 0.68 MiB core/nss 3.76.1-1 4.01 MiB 1.50 MiB extra/jdk11-openjdk 11.0.15.u3-1 79.88 MiB 69.82 MiB extra/unzip 6.0-18 0.26 MiB extra/zip 3.0-10 0.47 MiB 0.16 MiB Total Download Size: 104.61 MiB Total Installed Size: 236.04 MiB :: Proceed with installation? [Y/n] :: Retrieving packages... jdk11-openjdk-11.0.15.u3-1-riscv64 downloading... jre11-openjdk-headless-11.0.15.u3-1-riscv64 downloading... nss-3.76.1-1-riscv64 downloading... libtiff-4.3.0-2-riscv64 downloading... jre11-openjdk-11.0.15.u3-1-riscv64 downloading... zip-3.0-10-riscv64 downloading... checking keyring... checking package integrity... loading package files... checking for file conflicts... :: Processing package changes... installing java-runtime-common... For the complete set of Java binaries to be available in your PATH, you need to re-login or source /etc/profile.d/jre.sh Please note that this package does not support forcing JAVA_HOME as former package java-common did installing nspr... installing nss... installing libjpeg-turbo... Optional dependencies for libjpeg-turbo java-runtime>11: for TurboJPEG Java wrapper installing libtiff... Optional dependencies for libtiff freeglut: for using tiffgt installing lcms2... installing libnet... installing libpng... installing graphite... installing harfbuzz... Optional dependencies for harfbuzz cairo: hb-view program chafa: hb-view program installing freetype2... installing jre11-openjdk-headless... Optional dependencies for jre11-openjdk-headless java-rhino: for some JavaScript support installing giflib... installing jre11-openjdk... when you use a non-reparenting window manager, set _JAVA_AWT_WM_NONREPARENTING=1 in /etc/profile.d/jre.sh Optional dependencies for jre11-openjdk alsa-lib: for basic sound support gtk2: for the Gtk+ 2 look and feel - desktop usage gtk3: for the Gtk+ 3 look and feel - desktop usage installing java-environment-common... installing hicolor-icon-theme... installing jdk11-openjdk... installing zip... installing unzip... [?25h==> Checking buildtime dependencies... ==> Installing missing dependencies... [?25lresolving dependencies... looking for conflicting packages... Package (7) New Version Net Change core/libnsl 2.0.0-2 0.06 MiB extra/perl-error 0.17029-3 0.04 MiB extra/perl-mailtools 2.21-5 0.11 MiB extra/perl-timedate 2.33-3 0.08 MiB extra/git 2.35.1-1 29.55 MiB extra/protobuf 3.19.4-1 7.73 MiB core/python 3.10.1-2 79.11 MiB Total Installed Size: 116.68 MiB :: Proceed with installation? [Y/n] checking keyring... checking package integrity... loading package files... checking for file conflicts... :: Processing package changes... installing perl-error... installing perl-timedate... installing perl-mailtools... installing git... Optional dependencies for git tk: gitk and git gui perl-libwww: git svn perl-term-readkey: git svn and interactive.singlekey setting perl-io-socket-ssl: git send-email TLS support perl-authen-sasl: git send-email TLS support perl-mediawiki-api: git mediawiki support perl-datetime-format-iso8601: git mediawiki support perl-lwp-protocol-https: git mediawiki https support perl-cgi: gitweb (web interface) support python: git svn & git p4 [pending] subversion: git svn org.freedesktop.secrets: keyring credential helper libsecret: libsecret credential helper [installed] installing protobuf... installing libnsl... installing python... Optional dependencies for python python-setuptools python-pip sqlite [installed] mpdecimal: for decimal xz: for lzma [installed] tk: for tkinter :: Running post-transaction hooks... (1/1) Warn about old perl modules [?25h==> Retrieving sources...  -> Found bazel-5.1.0-dist.zip  -> Found bazel-5.1.0-dist.zip.sig  -> Found 01-fix-invalid-jni_md-select.patch  -> Found 02-use-riscv64-jdk.patch  -> Found 03-set-default-nojdk.patch ==> WARNING: Skipping all source file integrity checks. ==> Extracting sources...  -> Extracting bazel-5.1.0-dist.zip with bsdtar ==> Starting prepare()... patching file tools/jdk/BUILD.tools patching file src/main/java/com/google/devtools/build/lib/bazel/rules/java/jdk.WORKSPACE patching file src/main/java/com/google/devtools/build/lib/bazel/rules/java/jdk.WORKSPACE.tmpl patching file tools/jdk/BUILD.tools Hunk #1 succeeded at 448 (offset 1 line). patching file src/BUILD Hunk #1 succeeded at 382 (offset 6 lines). ==> Starting build()... Building Bazel from scratch...... Building Bazel with Bazel. .FATAL: crashed due to an internal error. Printing stack trace: java.lang.IllegalArgumentException: Error while unpacking builtins_bzl zip resource file at com.google.devtools.build.lib.analysis.ConfiguredRuleClassProvider$Builder.unpackBuiltinsBzlZipResource(ConfiguredRuleClassProvider.java:501) at com.google.devtools.build.lib.analysis.ConfiguredRuleClassProvider$Builder.build(ConfiguredRuleClassProvider.java:522) at com.google.devtools.build.lib.runtime.BlazeRuntime$Builder.build(BlazeRuntime.java:1512) at com.google.devtools.build.lib.runtime.BlazeRuntime.newRuntime(BlazeRuntime.java:1298) at com.google.devtools.build.lib.runtime.BlazeRuntime.batchMain(BlazeRuntime.java:925) at com.google.devtools.build.lib.runtime.BlazeRuntime.main(BlazeRuntime.java:762) at com.google.devtools.build.lib.bazel.Bazel.main(Bazel.java:87) Caused by: java.util.zip.ZipException: invalid entry CRC (expected 0x4ccad457 but got 0x553c3f06) at java.base/java.util.zip.ZipInputStream.read(ZipInputStream.java:224) at java.base/java.io.FilterInputStream.read(FilterInputStream.java:107) at com.google.common.io.ByteStreams.copy(ByteStreams.java:109) at com.google.devtools.build.lib.analysis.ConfiguredRuleClassProvider$Builder.unpackBuiltinsBzlZipResource(ConfiguredRuleClassProvider.java:496) ... 6 more ERROR: Could not build Bazel ==> ERROR: A failure occurred in build().  Aborting... ==> ERROR: Build failed, check /var/lib/archbuild/extra-riscv64/felix1/build receiving incremental file list bazel-5.1.0-1-riscv64-build.log bazel-5.1.0-1-riscv64-prepare.log sent 62 bytes received 917 bytes 1,958.00 bytes/sec total size is 1,861 speedup is 1.90