#3512 Issue open: tools/run-in-docker-build.sh rubygem-ronn not found

Labels: enhancement, support / question, ReaR Project

gdha opened issue at 2025-08-16 14:40:

Requesting support or just a question

rubygem-ronn not available in SLE15?

Platform

Linux x64

Output

********** PATCHING registry.suse.com/suse/sle15             **********
[+] Building 115.5s (7/7) FINISHED                                                                                                                              docker:desktop-linux
 => [internal] load build definition from Dockerfile                                                                                                                            0.1s
 => => transferring dockerfile: 304B                                                                                                                                            0.0s
 => WARN: InvalidDefaultArgInFrom: Default value for ARG $IMAGE results in empty or invalid base image name (line 2)                                                            0.1s
 => [internal] load metadata for registry.suse.com/suse/sle15:latest                                                                                                            0.2s
 => [internal] load .dockerignore                                                                                                                                               0.0s
 => => transferring context: 2B                                                                                                                                                 0.0s
 => [internal] load build context                                                                                                                                               0.0s
 => => transferring context: 103B                                                                                                                                               0.0s
 => CACHED [1/3] FROM registry.suse.com/suse/sle15:latest@sha256:899fd0bc0987acbd83f93c61d4d59f065885fb29a2a1f53130f26d5ee64e039c                                               0.6s
 => => resolve registry.suse.com/suse/sle15:latest@sha256:899fd0bc0987acbd83f93c61d4d59f065885fb29a2a1f53130f26d5ee64e039c                                                      0.6s
 => [2/3] COPY run-in-docker-build.sh /run-in-docker-build.sh                                                                                                                   0.1s
 => ERROR [3/3] RUN /run-in-docker-build.sh                                                                                                                                   114.2s
------                                                                                                                                                                               
 > [3/3] RUN /run-in-docker-build.sh:                                                                                                                                                
0.473 + /run-in-docker-build.sh                                                                                                                                                      
0.484 Patching for SUSE                                                                                                                                                              
5.405                                                                                                                                                                                
5.405 The following 96 NEW packages are going to be installed:                                                                                                                       
5.406   attr bc binutils blog bzip2 cpp cpp7 dbus-1 dwz ethtool file gawk gcc gcc7 gettext-runtime gettext-tools git git-core glibc-devel glibc-locale glibc-locale-base iproute2 iputils kbd keyutils less libapparmor1 libasan4 libatomic1 libblogger2 libbpf1 libburn4 libcilkrts5 libctf-nobfd0 libctf0 libdbus-1-3 libdevmapper1_03 libevent-2_1-7 libexpat1 libgdbm4 libgomp1 libip4tc2 libisl15 libisoburn1 libisofs6 libitm1 libkmod2 liblsan0 liblz4-1 libmnl0 libmpc3 libmpfr6 libmpx2 libmpxwrappers2 libnfsidmap1 libparted0 libprocps8 libscg1_0 libschily1_0 libseccomp2 libsha1detectcoll1 libsystemd0 libtextstyle0 libtsan0 libubsan0 libwrap0 libxcrypt-devel libxtables12 linux-glibc-devel make mkisofs nfs-client pam-config parted patch perl perl-Error perl-Git pkg-config procps psmisc rpcbind rpm-build syslinux systemd systemd-default-settings systemd-default-settings-branding-SLE systemd-presets-branding-SLE systemd-presets-common-SUSE systemd-rpm-macros sysvinit-tools update-alternatives which xorriso xz zisofs-tools
5.406 
5.406 The following 96 packages are not supported by their vendor:
5.407   attr bc binutils blog bzip2 cpp cpp7 dbus-1 dwz ethtool file gawk gcc gcc7 gettext-runtime gettext-tools git git-core glibc-devel glibc-locale glibc-locale-base iproute2 iputils kbd keyutils less libapparmor1 libasan4 libatomic1 libblogger2 libbpf1 libburn4 libcilkrts5 libctf-nobfd0 libctf0 libdbus-1-3 libdevmapper1_03 libevent-2_1-7 libexpat1 libgdbm4 libgomp1 libip4tc2 libisl15 libisoburn1 libisofs6 libitm1 libkmod2 liblsan0 liblz4-1 libmnl0 libmpc3 libmpfr6 libmpx2 libmpxwrappers2 libnfsidmap1 libparted0 libprocps8 libscg1_0 libschily1_0 libseccomp2 libsha1detectcoll1 libsystemd0 libtextstyle0 libtsan0 libubsan0 libwrap0 libxcrypt-devel libxtables12 linux-glibc-devel make mkisofs nfs-client pam-config parted patch perl perl-Error perl-Git pkg-config procps psmisc rpcbind rpm-build syslinux systemd systemd-default-settings systemd-default-settings-branding-SLE systemd-presets-branding-SLE systemd-presets-common-SUSE systemd-rpm-macros sysvinit-tools update-alternatives which xorriso xz zisofs-tools
5.407 
5.407 96 new packages to install.
5.407 
5.407 Package download size:    82.7 MiB
5.407 
5.407 Package install size change:
5.407               |     513.5 MiB  required by packages that will be installed
5.407    513.5 MiB  |  -      0 B    released by packages that will be removed
5.407 
5.407 Backend:  classic_rpmtrans
5.407 Continue? [y/n/v/...? shows all options] (y): y
48.79 
106.9 
106.9 The following 8 NEW packages are going to be installed:
106.9   fdupes libruby2_5-2_5 libyaml-0-2 ruby-common ruby2.5 ruby2.5-rubygem-asciidoctor ruby2.5-rubygem-gem2rpm ruby2.5-stdlib
106.9 
106.9 The following 8 packages are not supported by their vendor:
106.9   fdupes libruby2_5-2_5 libyaml-0-2 ruby-common ruby2.5 ruby2.5-rubygem-asciidoctor ruby2.5-rubygem-gem2rpm ruby2.5-stdlib
106.9 
106.9 8 new packages to install.
106.9 
106.9 Package download size:     4.8 MiB
106.9 
106.9 Package install size change:
106.9               |      17.6 MiB  required by packages that will be installed
106.9     17.6 MiB  |  -      0 B    released by packages that will be removed
106.9 
106.9 Backend:  classic_rpmtrans
106.9 Continue? [y/n/v/...? shows all options] (y): y
109.0 
113.1 No provider of 'rubygem(ronn)' found.
113.7 Package 'ruby2.5-rubygem-ronn' not found.
113.7 ERROR: Failed to install rubygem-ronn
------

 2 warnings found (use docker --debug to expand):
 - InvalidDefaultArgInFrom: Default value for ARG $IMAGE results in empty or invalid base image name (line 2)
 - UndefinedVar: Usage of undefined variable '$IMAGE' (line 3)
Dockerfile:6
--------------------
   4 |     SHELL ["/bin/bash", "-xeuo", "pipefail", "-c"]
   5 |     COPY run-in-docker-build.sh /run-in-docker-build.sh
   6 | >>> RUN /run-in-docker-build.sh
   7 |     
--------------------
ERROR: failed to solve: process "/bin/bash -xeuo pipefail -c /run-in-docker-build.sh" did not complete successfully: exit code: 1

View build details: docker-desktop://dashboard/build/desktop-linux/desktop-linux/2bz9ndd5bpg4pe4gi9cnnfhr8
ERROR: Failed building registry.suse.com/suse/sle15
** SCRIPT RUN TIME 328 SECONDS **

Additional information

According https://packagehub.suse.com/packages/rubygem-ronn/ it should be available, but we do not find it in the docker image of sle15 via the run of tools/run-in-docker -- --patch.

Within the docker image opensuse/leap:15 it would find 'ronn' by the way.

jsmeix commented at 2025-09-01 16:02:

My offhanded blind guess is that the "zypper" message

No provider of 'rubygem(ronn)' found.

may indicate that inside the Docker container
an appropriate zypper repository could be missing
(I guess "provider" could mean "repository" here)
which provides the requested RPM.

I will have a closer look when time permits.
Currently there are security issues elsewhere
(not in ReaR) which have precedence.


[Export of Github issue for rear/rear.]