Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8313701

GHA: RISC-V should use the official repository for bootstrap

XMLWordPrintable

    • b10

        RISC-V GHA fail debootstrap like:

        ```
        I: Configuring libc-bin...
        I: Unpacking the base system...
        W: Failure trying to run: chroot "/home/runner/work/jdk/jdk/sysroot" dpkg --force-overwrite --force-confold --skip-same-version --install /var/cache/apt/archives/systemd-dev_254~rc3-1_all.deb /var/cache/apt/archives/dmsetup_2%3a1.02.185-2_riscv64.deb /var/cache/apt/archives/libapparmor1_3.0.8-3_riscv64.deb /var/cache/apt/archives/libargon2-1_0~20190702+dfsg-3_riscv64.deb /var/cache/apt/archives/libatomic1_13.1.0-9_riscv64.deb /var/cache/apt/archives/libcryptsetup12_2%3a2.6.1-4_riscv64.deb /var/cache/apt/archives/libdevmapper1.02.1_2%3a1.02.185-2_riscv64.deb /var/cache/apt/archives/libfdisk1_2.38.1-6_riscv64.deb /var/cache/apt/archives/libip4tc2_1.8.9-2_riscv64.deb /var/cache/apt/archives/libjson-c5_0.16-2_riscv64.deb /var/cache/apt/archives/libkmod2_30+20230519-1_riscv64.deb /var/cache/apt/archives/libseccomp2_2.5.4-1+b3_riscv64.deb /var/cache/apt/archives/libsystemd-shared_254~rc3-3_riscv64.deb /var/cache/apt/archives/systemd_254~rc3-3_riscv64.deb
        W: See /home/runner/work/jdk/jdk/sysroot/debootstrap/debootstrap.log for details (possibly the package systemd is at fault)
        ```

        I can reproduce it locally, and it fails with:

        ```
        dpkg: dependency problems prevent configuration of systemd:
         systemd depends on systemd-dev (>= 254~rc3-3); however:
          Version of systemd-dev on system is 254~rc3-1.

        dpkg: error processing package systemd (--install):
         dependency problems - leaving unconfigured

        ```

              shade Aleksey Shipilev
              shade Aleksey Shipilev
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: