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

GHA: Drop libfreetype6-dev transitional package in favor of libfreetype-dev

    XMLWordPrintable

Details

    • b12

    Backports

      Description

        Current GHA bootstraps fail for some arches with the incompatibility between libfreetype-dev and libfreetype6-dev:

        ```
        I: Configuring libc-bin...
        I: Configuring ca-certificates...
        W: Failure while configuring base packages. This will be re-attempted up to five times.
        W: See /home/runner/work/jdk/jdk/sysroot/debootstrap/debootstrap.log for details (possibly the package libfreetype6-dev:riscv64 is at fault)
        ```

        If you reproduce it locally, then dpkg would say it fails with version conflict between libfreetype6-dev and libfreetype-dev:

        ```
        dpkg: error processing package libfreetype6-dev:riscv64 (--configure):
         dependency problems - leaving unconfigured
        Errors were encountered while processing:
         libfreetype6-dev:riscv64
        dpkg: dependency problems prevent configuration of libfreetype6-dev:riscv64:
         libfreetype6-dev:riscv64 depends on libfreetype-dev (= 2.13.0+dfsg-1); however:
          Version of libfreetype-dev:riscv64 on system is 2.13.1+dfsg-1.
        ```

        In both sid, bullseye and jammy, libfreetype6-dev is a transitional package:
          https://packages.debian.org/bullseye/libfreetype6-dev
          https://packages.debian.org/sid/libfreetype6-dev
          https://packages.ubuntu.com/jammy/libfreetype6-dev

        There is therefore no reason to ask for libfreetype6-dev instead of libfreetype-dev directly.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                  Created:
                  Updated:
                  Resolved: