On Fri, 5 Jun 2026 06:01:49 GMT, Yasumasa Suenaga <[email protected]> wrote:

> I saw following error when I tried to build devkit with dnf5 on Fedora 44:
> 
> 
> echo filesystem kernel-headers glibc glibc-devel cups-libs cups-devel libX11 
> libX11-devel libxcb xorg-x11-proto-devel alsa-lib alsa-lib-devel libXext 
> libXext-devel libXtst libXtst-devel libXrender libXrender-devel libXrandr 
> libXrandr-devel freetype freetype-devel libXt libXt-devel libSM libSM-devel 
> libICE libICE-devel libXi libXi-devel libXau libXau-devel libgcc zlib 
> zlib-devel libffi libffi-devel fontconfig fontconfig-devel 
> systemtap-sdt-devel | \
>     xargs dnf download --disablerepo='*' --repofrompath 
> base,https://yum.oracle.com/repo/OracleLinux/OL6/4/base/x86_64 --enablerepo 
> base --resolve --archlist x86_64,noarch,i386,i686 --forcearch x86_64 
> --installroot 
> /usr/src/jdk/build/devkit/x86_64-linux-gnu/x86_64-linux-gnu/dnf-dummy-install-root
>  --releasever 6 --destdir 
> /usr/src/jdk/build/devkit/download/rpms/x86_64-linux-gnu-OL-6
> Unknown argument "--archlist" for command "download". Add "--help" for more 
> information about the arguments.
> 
> 
> We should use multiple `--arch` rather than `--archlist`. `--arch` also works 
> on older dnf.
> 
> ---------
> - [x] I confirm that I make this contribution in accordance with the [OpenJDK 
> Interim AI Policy](https://openjdk.org/legal/ai).

This pull request has now been integrated.

Changeset: a0c8f7cb
Author:    Yasumasa Suenaga <[email protected]>
URL:       
https://git.openjdk.org/jdk/commit/a0c8f7cb3640bf4f44e5e366641d30c477eef81e
Stats:     2 lines in 1 file changed: 0 ins; 0 del; 2 mod

8385988: Linux devkits does not work with dnf5

Reviewed-by: erikj

-------------

PR: https://git.openjdk.org/jdk/pull/31394

Reply via email to