Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mock fails to build Leap 15.4 buildroot on Fedora 38 #1062

Closed
brianjmurrell opened this issue May 1, 2023 · 11 comments
Closed

mock fails to build Leap 15.4 buildroot on Fedora 38 #1062

brianjmurrell opened this issue May 1, 2023 · 11 comments
Labels
configs Issue in mock-core-configs package external This issue depends on issue tracked elsewhere

Comments

@brianjmurrell
Copy link
Contributor

Short description of the problem

When trying something even as simple as mock -r opensuse-leap-15.4-x86_64 --chroot id the buildroot fails to build.

Output of rpm -q mock

mock-3.5-2.fc38.noarch

Steps to reproduce issue

  1. podman run --privileged --rm -it fedora:38 (or whatever else means you want to utilize to be on Fedora 38)
  2. dnf -y install mock
  3. mock -r opensuse-leap-15.4-x86_64 --chroot id
  4. Fails with the following output:
INFO: mock.py version 3.5 starting (python version = 3.11.3, NVR = mock-3.5-2.fc38)...
Start(bootstrap): init plugins
INFO: selinux disabled
Finish(bootstrap): init plugins
Start: init plugins
INFO: selinux disabled
Finish: init plugins
INFO: Signal handler active
Start: run
Start(bootstrap): chroot init
INFO: calling preinit hooks
INFO: enabled root cache
INFO: enabled package manager cache
Start(bootstrap): cleaning package manager metadata
Finish(bootstrap): cleaning package manager metadata
INFO: enabled HW Info plugin
Mock Version: 3.5
INFO: Mock Version: 3.5
Start(bootstrap): dnf install
No matches found for the following disable plugin patterns: local, spacewalk, versionlock
openSUSE Leap 15.4 - x86_64 - OSS                                                                                                                           3.5 MB/s |  87 MB     00:24    
openSUSE Leap 15.4 - x86_64 - OSS - Updates                                                                                                                 398 kB/s | 758 kB     00:01    
openSUSE Leap 15.4 - x86_64 - Updates from SUSE Linux Enterprise                                                                                            4.0 MB/s | 149 MB     00:37    
openSUSE Leap 15.4 - x86_64 - Updates from Backports for SUSE Linux Enterprise                                                                              1.1 MB/s | 2.5 MB     00:02    
Dependencies resolved.
============================================================================================================================================================================================
 Package                                       Architecture                Version                                                      Repository                                     Size
============================================================================================================================================================================================
Installing:
 dnf                                           noarch                      4.10.0-bp154.2.65                                            opensuse-leap-oss                              76 k
 dnf-plugins-core                              noarch                      4.0.24-bp154.1.27                                            opensuse-leap-oss                              46 k
Installing dependencies:
 bash                                          x86_64                      4.4-150400.25.22                                             opensuse-leap-oss                             522 k
 bash-sh                                       x86_64                      4.4-150400.25.22                                             opensuse-leap-oss                              32 k
 coreutils                                     x86_64                      8.32-150400.7.5                                              opensuse-leap-oss                             1.0 M
 cracklib                                      x86_64                      2.9.7-11.6.1                                                 opensuse-leap-oss                              58 k
 cracklib-dict-full                            x86_64                      2.8.12-1.22                                                  opensuse-leap-oss                             3.1 M
 dbus-1                                        x86_64                      1.12.2-150400.18.5.1                                         opensuse-leap-sle-update                      249 k
 deltarpm                                      x86_64                      3.6.1-3.19                                                   opensuse-leap-oss                             212 k
 diffutils                                     x86_64                      3.6-4.3.1                                                    opensuse-leap-oss                             184 k
 dnf-data                                      noarch                      4.10.0-bp154.2.65                                            opensuse-leap-oss                              58 k
 file-magic                                    noarch                      5.32-7.14.1                                                  opensuse-leap-oss                             398 k
 filesystem                                    x86_64                      15.0-11.8.1                                                  opensuse-leap-oss                              64 k
 fillup                                        x86_64                      1.42-2.18                                                    opensuse-leap-oss                              25 k
 gio-branding-SLE                              noarch                      15-150400.27.2.1                                             opensuse-leap-sle-update                       18 k
 girepository-1_0                              x86_64                      1.70.0-150400.2.10                                           opensuse-leap-oss                             181 k
 glib2-tools                                   x86_64                      2.70.5-150400.3.8.1                                          opensuse-leap-sle-update                      201 k
 glibc                                         x86_64                      2.31-150300.46.1                                             opensuse-leap-sle-update                      1.7 M
 gpg2                                          x86_64                      2.2.27-150300.3.5.1                                          opensuse-leap-sle-update                      1.9 M
 grep                                          x86_64                      3.1-150000.4.6.1                                             opensuse-leap-sle-update                      308 k
 info                                          x86_64                      6.5-4.17                                                     opensuse-leap-oss                             173 k
 krb5                                          x86_64                      1.19.2-150400.3.3.1                                          opensuse-leap-sle-update                      633 k
 libacl1                                       x86_64                      2.2.52-4.3.1                                                 opensuse-leap-oss                              27 k
 libassuan0                                    x86_64                      2.5.5-150000.4.3.1                                           opensuse-leap-sle-update                       70 k
 libattr1                                      x86_64                      2.4.47-2.19                                                  opensuse-leap-oss                              26 k
 libaudit1                                     x86_64                      3.0.6-150400.2.13                                            opensuse-leap-oss                              59 k
 libblkid1                                     x86_64                      2.37.2-150400.8.14.1                                         opensuse-leap-sle-update                      179 k
 libbrotlicommon1                              x86_64                      1.0.7-3.3.1                                                  opensuse-leap-oss                              65 k
 libbrotlidec1                                 x86_64                      1.0.7-3.3.1                                                  opensuse-leap-oss                              30 k
 libbz2-1                                      x86_64                      1.0.8-150400.1.122                                           opensuse-leap-oss                              59 k
 libcap-ng0                                    x86_64                      0.7.9-4.37                                                   opensuse-leap-oss                              26 k
 libcap2                                       x86_64                      2.63-150400.1.7                                              opensuse-leap-oss                              40 k
 libcom_err2                                   x86_64                      1.46.4-150400.3.3.1                                          opensuse-leap-sle-update                       40 k
 libcomps0                                     x86_64                      0.1.18-bp154.1.62                                            opensuse-leap-oss                              70 k
 libcrack2                                     x86_64                      2.9.7-11.6.1                                                 opensuse-leap-oss                              21 k
 libcrypt1                                     x86_64                      4.4.15-150300.4.4.3                                          opensuse-leap-sle-update                      105 k
 libcurl4                                      x86_64                      7.79.1-150400.5.18.1                                         opensuse-leap-sle-update                      419 k
 libdbus-1-3                                   x86_64                      1.12.2-150400.18.5.1                                         opensuse-leap-sle-update                      151 k
 libdnf2                                       x86_64                      0.65.0-150400.2.6                                            opensuse-leap-oss                             967 k
 libdw1                                        x86_64                      0.185-150400.5.3.1                                           opensuse-leap-sle-update                      229 k
 libeconf0                                     x86_64                      0.4.6+git20220427.3016f4e-150400.3.3.1                       opensuse-leap-sle-update                       33 k
 libelf1                                       x86_64                      0.185-150400.5.3.1                                           opensuse-leap-sle-update                       68 k
 libexpat1                                     x86_64                      2.4.4-150400.3.12.1                                          opensuse-leap-sle-update                      112 k
 libffi7                                       x86_64                      3.2.1.git259-10.8                                            opensuse-leap-oss                              25 k
 libgcc_s1                                     x86_64                      12.2.1+git416-150000.1.7.1                                   opensuse-leap-sle-update                       62 k
 libgcrypt20                                   x86_64                      1.9.4-150400.6.8.1                                           opensuse-leap-sle-update                      475 k
 libgio-2_0-0                                  x86_64                      2.70.5-150400.3.8.1                                          opensuse-leap-sle-update                      688 k
 libgirepository-1_0-1                         x86_64                      1.70.0-150400.2.10                                           opensuse-leap-oss                             116 k
 libglib-2_0-0                                 x86_64                      2.70.5-150400.3.8.1                                          opensuse-leap-sle-update                      651 k
 libgmodule-2_0-0                              x86_64                      2.70.5-150400.3.8.1                                          opensuse-leap-sle-update                      110 k
 libgmp10                                      x86_64                      6.1.2-4.9.1                                                  opensuse-leap-oss                             272 k
 libgobject-2_0-0                              x86_64                      2.70.5-150400.3.8.1                                          opensuse-leap-sle-update                      232 k
 libgpg-error0                                 x86_64                      1.42-150400.1.101                                            opensuse-leap-oss                             158 k
 libgpgme11                                    x86_64                      1.16.0-150400.1.80                                           opensuse-leap-oss                             155 k
 libidn2-0                                     x86_64                      2.2.0-3.6.1                                                  opensuse-leap-oss                              52 k
 libjitterentropy3                             x86_64                      3.4.0-150000.1.9.1                                           opensuse-leap-sle-update                       25 k
 libjson-c3                                    x86_64                      0.13-3.3.1                                                   opensuse-leap-oss                              41 k
 libkeyutils1                                  x86_64                      1.6.3-5.6.1                                                  opensuse-leap-oss                              26 k
 libksba8                                      x86_64                      1.3.5-150000.4.6.1                                           opensuse-leap-sle-update                      104 k
 libldap-2_4-2                                 x86_64                      2.4.46-150200.14.11.2                                        opensuse-leap-sle-update                      168 k
 libldap-data                                  noarch                      2.4.46-150200.14.11.2                                        opensuse-leap-sle-update                       35 k
 liblua5_3-5                                   x86_64                      5.3.6-3.6.1                                                  opensuse-leap-oss                             101 k
 liblz4-1                                      x86_64                      1.9.3-150400.1.7                                             opensuse-leap-oss                              65 k
 liblzma5                                      x86_64                      5.2.3-150000.4.7.1                                           opensuse-leap-oss                             132 k
 libmagic1                                     x86_64                      5.32-7.14.1                                                  opensuse-leap-oss                              74 k
 libmodulemd2                                  x86_64                      2.13.0-150400.1.8                                            opensuse-leap-oss                             150 k
 libmount1                                     x86_64                      2.37.2-150400.8.14.1                                         opensuse-leap-sle-update                      194 k
 libncurses6                                   x86_64                      6.1-150000.5.12.1                                            opensuse-leap-sle-update                      404 k
 libnghttp2-14                                 x86_64                      1.40.0-6.1                                                   opensuse-leap-oss                             117 k
 libnpth0                                      x86_64                      1.5-2.11                                                     opensuse-leap-oss                              33 k
 libnsl2                                       x86_64                      1.2.0-2.44                                                   opensuse-leap-oss                              54 k
 libopenssl1_1                                 x86_64                      1.1.1l-150400.7.34.1                                         opensuse-leap-sle-update                      1.4 M
 libpcre1                                      x86_64                      8.45-150000.20.13.1                                          opensuse-leap-sle-update                      326 k
 libpopt0                                      x86_64                      1.16-3.22                                                    opensuse-leap-oss                              55 k
 libpsl5                                       x86_64                      0.20.1-150000.3.3.1                                          opensuse-leap-sle-update                       62 k
 libpython3_6m1_0                              x86_64                      3.6.15-150300.10.45.1                                        opensuse-leap-sle-update                      870 k
 libreadline7                                  x86_64                      7.0-150400.25.22                                             opensuse-leap-oss                             158 k
 librepo0                                      x86_64                      1.14.2-150400.1.10                                           opensuse-leap-oss                              81 k
 libsasl2-3                                    x86_64                      2.1.27-150300.4.6.1                                          opensuse-leap-oss                              58 k
 libselinux1                                   x86_64                      3.1-150400.1.69                                              opensuse-leap-oss                              78 k
 libsemanage1                                  x86_64                      3.1-150400.1.65                                              opensuse-leap-oss                              97 k
 libsepol1                                     x86_64                      3.1-150400.1.70                                              opensuse-leap-oss                             257 k
 libsmartcols1                                 x86_64                      2.37.2-150400.8.14.1                                         opensuse-leap-sle-update                      140 k
 libsqlite3-0                                  x86_64                      3.39.3-150000.3.20.1                                         opensuse-leap-sle-update                      633 k
 libssh-config                                 x86_64                      0.9.6-150400.1.5                                             opensuse-leap-oss                              20 k
 libssh4                                       x86_64                      0.9.6-150400.1.5                                             opensuse-leap-oss                             189 k
 libstdc++6                                    x86_64                      12.2.1+git416-150000.1.7.1                                   opensuse-leap-sle-update                      588 k
 libsystemd0                                   x86_64                      249.16-150400.8.25.7                                         opensuse-leap-sle-update                      548 k
 libtirpc-netconfig                            x86_64                      1.2.6-150300.3.17.1                                          opensuse-leap-sle-update                       24 k
 libtirpc3                                     x86_64                      1.2.6-150300.3.17.1                                          opensuse-leap-sle-update                      101 k
 libudev1                                      x86_64                      249.16-150400.8.25.7                                         opensuse-leap-sle-update                      312 k
 libunistring2                                 x86_64                      0.9.10-1.1                                                   opensuse-leap-oss                             365 k
 libusb-1_0-0                                  x86_64                      1.0.24-150400.3.3.1                                          opensuse-leap-sle-update                       70 k
 libverto1                                     x86_64                      0.2.6-3.20                                                   opensuse-leap-oss                              18 k
 libxml2-2                                     x86_64                      2.9.14-150400.5.16.1                                         opensuse-leap-sle-update                      605 k
 libyaml-0-2                                   x86_64                      0.1.7-1.17                                                   opensuse-leap-oss                              51 k
 libz1                                         x86_64                      1.2.11-150000.3.39.1                                         opensuse-leap-sle-update                       63 k
 libzck1                                       x86_64                      1.1.16-150400.3.2.1                                          opensuse-leap-sle-update                       43 k
 libzio1                                       x86_64                      1.06-2.20                                                    opensuse-leap-oss                              25 k
 libzstd1                                      x86_64                      1.5.0-150400.3.3.1                                           opensuse-leap-sle-update                      401 k
 login_defs                                    noarch                      4.8.1-150400.10.6.1                                          opensuse-leap-sle-update                       33 k
 pam                                           x86_64                      1.3.0-150000.6.61.1                                          opensuse-leap-sle-update                      438 k
 perl-base                                     x86_64                      5.26.1-150300.17.11.1                                        opensuse-leap-sle-update                      1.3 M
 permissions                                   x86_64                      20201225-150400.5.16.1                                       opensuse-leap-sle-update                       45 k
 pinentry                                      x86_64                      1.1.0-4.3.1                                                  opensuse-leap-oss                              95 k
 pkg-config                                    x86_64                      0.29.2-1.436                                                 opensuse-leap-oss                             232 k
 python3                                       x86_64                      3.6.15-150300.10.45.1                                        opensuse-leap-sle-update                       85 k
 python3-base                                  x86_64                      3.6.15-150300.10.45.1                                        opensuse-leap-sle-update                      7.5 M
 python3-curses                                x86_64                      3.6.15-150300.10.45.1                                        opensuse-leap-sle-update                       83 k
 python3-dbus-python                           x86_64                      1.2.16-6.3.1                                                 opensuse-leap-oss                             123 k
 python3-distro                                noarch                      1.5.0-3.5.1                                                  opensuse-leap-oss                              36 k
 python3-dnf                                   noarch                      4.10.0-bp154.2.65                                            opensuse-leap-oss                             200 k
 python3-dnf-plugins-core                      noarch                      4.0.24-bp154.1.27                                            opensuse-leap-oss                              58 k
 python3-gobject                               x86_64                      3.42.2-150400.3.3.2                                          opensuse-leap-sle-update                      398 k
 python3-gpg                                   x86_64                      1.16.0-150400.1.80                                           opensuse-leap-oss                             250 k
 python3-hawkey                                x86_64                      0.65.0-150400.2.6                                            opensuse-leap-oss                              95 k
 python3-libcomps                              x86_64                      0.1.18-bp154.1.62                                            opensuse-leap-oss                              42 k
 python3-libdnf                                x86_64                      0.65.0-150400.2.6                                            opensuse-leap-oss                             622 k
 python3-libmodulemd                           x86_64                      2.13.0-150400.1.8                                            opensuse-leap-oss                              15 k
 python3-python-dateutil                       noarch                      2.8.1-1.24                                                   opensuse-leap-oss                             312 k
 python3-rpm                                   x86_64                      4.14.3-150300.55.1                                           opensuse-leap-sle-update                       56 k
 python3-six                                   noarch                      1.14.0-12.1                                                  opensuse-leap-oss                              35 k
 rpm                                           x86_64                      4.14.3-150300.55.1                                           opensuse-leap-sle-update                      1.5 M
 rpm-config-SUSE                               noarch                      1-150400.14.3.1                                              opensuse-leap-sle-update                       25 k
 shadow                                        x86_64                      4.8.1-150400.10.6.1                                          opensuse-leap-sle-update                      611 k
 shared-mime-info                              x86_64                      2.1-150400.3.5                                               opensuse-leap-oss                             314 k
 system-user-root                              noarch                      20190513-3.3.1                                               opensuse-leap-oss                             9.0 k
 terminfo-base                                 x86_64                      6.1-150000.5.12.1                                            opensuse-leap-sle-update                      206 k
 typelib-1_0-Modulemd-2_0                      x86_64                      2.13.0-150400.1.8                                            opensuse-leap-oss                              24 k
 update-alternatives                           x86_64                      1.19.0.4-150000.4.4.1                                        opensuse-leap-sle-update                       43 k

Transaction Summary
============================================================================================================================================================================================
Install  130 Packages

Total download size: 41 M
Installed size: 138 M
Downloading Packages:
(1/130): bash-sh-4.4-150400.25.22.x86_64.rpm                                                                                                                 31 kB/s |  32 kB     00:01    
(2/130): coreutils-8.32-150400.7.5.x86_64.rpm                                                                                                               765 kB/s | 1.0 MB     00:01    
(3/130): cracklib-2.9.7-11.6.1.x86_64.rpm                                                                                                                   131 kB/s |  58 kB     00:00    
(4/130): bash-4.4-150400.25.22.x86_64.rpm                                                                                                                   312 kB/s | 522 kB     00:01    
(5/130): deltarpm-3.6.1-3.19.x86_64.rpm                                                                                                                     323 kB/s | 212 kB     00:00    
(6/130): diffutils-3.6-4.3.1.x86_64.rpm                                                                                                                     257 kB/s | 184 kB     00:00    
(7/130): dnf-4.10.0-bp154.2.65.noarch.rpm                                                                                                                   212 kB/s |  76 kB     00:00    
(8/130): cracklib-dict-full-2.8.12-1.22.x86_64.rpm                                                                                                          2.3 MB/s | 3.1 MB     00:01    
(9/130): dnf-data-4.10.0-bp154.2.65.noarch.rpm                                                                                                              149 kB/s |  58 kB     00:00    
(10/130): dnf-plugins-core-4.0.24-bp154.1.27.noarch.rpm                                                                                                     118 kB/s |  46 kB     00:00    
(11/130): file-magic-5.32-7.14.1.noarch.rpm                                                                                                                 744 kB/s | 398 kB     00:00    
(12/130): filesystem-15.0-11.8.1.x86_64.rpm                                                                                                                 145 kB/s |  64 kB     00:00    
(13/130): info-6.5-4.17.x86_64.rpm                                                                                                                          390 kB/s | 173 kB     00:00    
(14/130): girepository-1_0-1.70.0-150400.2.10.x86_64.rpm                                                                                                    321 kB/s | 181 kB     00:00    
(15/130): libacl1-2.2.52-4.3.1.x86_64.rpm                                                                                                                    64 kB/s |  27 kB     00:00    
(16/130): libattr1-2.4.47-2.19.x86_64.rpm                                                                                                                    79 kB/s |  26 kB     00:00    
(17/130): libaudit1-3.0.6-150400.2.13.x86_64.rpm                                                                                                            140 kB/s |  59 kB     00:00    
(18/130): libbrotlicommon1-1.0.7-3.3.1.x86_64.rpm                                                                                                            76 kB/s |  65 kB     00:00    
(19/130): libbrotlidec1-1.0.7-3.3.1.x86_64.rpm                                                                                                               57 kB/s |  30 kB     00:00    
(20/130): libbz2-1-1.0.8-150400.1.122.x86_64.rpm                                                                                                            111 kB/s |  59 kB     00:00    
(21/130): libcap-ng0-0.7.9-4.37.x86_64.rpm                                                                                                                   59 kB/s |  26 kB     00:00    
(22/130): libcap2-2.63-150400.1.7.x86_64.rpm                                                                                                                 86 kB/s |  40 kB     00:00    
(23/130): libcomps0-0.1.18-bp154.1.62.x86_64.rpm                                                                                                            126 kB/s |  70 kB     00:00    
(24/130): libcrack2-2.9.7-11.6.1.x86_64.rpm                                                                                                                  36 kB/s |  21 kB     00:00    
(25/130): libdnf2-0.65.0-150400.2.6.x86_64.rpm                                                                                                              1.1 MB/s | 967 kB     00:00    
(26/130): libffi7-3.2.1.git259-10.8.x86_64.rpm                                                                                                               43 kB/s |  25 kB     00:00    
(27/130): libgirepository-1_0-1-1.70.0-150400.2.10.x86_64.rpm                                                                                               221 kB/s | 116 kB     00:00    
(28/130): libgmp10-6.1.2-4.9.1.x86_64.rpm                                                                                                                   562 kB/s | 272 kB     00:00    
(29/130): libgpg-error0-1.42-150400.1.101.x86_64.rpm                                                                                                        390 kB/s | 158 kB     00:00    
(30/130): libgpgme11-1.16.0-150400.1.80.x86_64.rpm                                                                                                          315 kB/s | 155 kB     00:00    
(31/130): libidn2-0-2.2.0-3.6.1.x86_64.rpm                                                                                                                   94 kB/s |  52 kB     00:00    
(32/130): libjson-c3-0.13-3.3.1.x86_64.rpm                                                                                                                   93 kB/s |  41 kB     00:00    
[MIRROR] fillup-1.42-2.18.x86_64.rpm: Curl error (92): Stream error in the HTTP/2 framing layer for https://download.opensuse.org/distribution/leap/15.4/repo/oss/x86_64/fillup-1.42-2.18.x86_64.rpm [HTTP/2 stream 0 was not closed cleanly: PROTOCOL_ERROR (err 1)]
(33/130): libkeyutils1-1.6.3-5.6.1.x86_64.rpm                                                                                                                63 kB/s |  26 kB     00:00    
(34/130): liblua5_3-5-5.3.6-3.6.1.x86_64.rpm                                                                                                                178 kB/s | 101 kB     00:00    
(35/130): fillup-1.42-2.18.x86_64.rpm                                                                                                                       4.0 kB/s |  25 kB     00:06    
(36/130): liblz4-1-1.9.3-150400.1.7.x86_64.rpm                                                                                                              148 kB/s |  65 kB     00:00    
(37/130): liblzma5-5.2.3-150000.4.7.1.x86_64.rpm                                                                                                            353 kB/s | 132 kB     00:00    
(38/130): libmagic1-5.32-7.14.1.x86_64.rpm                                                                                                                  212 kB/s |  74 kB     00:00    
(39/130): libmodulemd2-2.13.0-150400.1.8.x86_64.rpm                                                                                                         356 kB/s | 150 kB     00:00    
(40/130): libnghttp2-14-1.40.0-6.1.x86_64.rpm                                                                                                               263 kB/s | 117 kB     00:00    
(41/130): libnpth0-1.5-2.11.x86_64.rpm                                                                                                                       91 kB/s |  33 kB     00:00    
(42/130): libnsl2-1.2.0-2.44.x86_64.rpm                                                                                                                     108 kB/s |  54 kB     00:00    
(43/130): libpopt0-1.16-3.22.x86_64.rpm                                                                                                                     140 kB/s |  55 kB     00:00    
(44/130): libreadline7-7.0-150400.25.22.x86_64.rpm                                                                                                          384 kB/s | 158 kB     00:00    
(45/130): librepo0-1.14.2-150400.1.10.x86_64.rpm                                                                                                            202 kB/s |  81 kB     00:00    
(46/130): libsasl2-3-2.1.27-150300.4.6.1.x86_64.rpm                                                                                                         151 kB/s |  58 kB     00:00    
(47/130): libselinux1-3.1-150400.1.69.x86_64.rpm                                                                                                            214 kB/s |  78 kB     00:00    
(48/130): libsemanage1-3.1-150400.1.65.x86_64.rpm                                                                                                           279 kB/s |  97 kB     00:00    
(49/130): libssh-config-0.9.6-150400.1.5.x86_64.rpm                                                                                                          66 kB/s |  20 kB     00:00    
(50/130): libsepol1-3.1-150400.1.70.x86_64.rpm                                                                                                              381 kB/s | 257 kB     00:00    
(51/130): libssh4-0.9.6-150400.1.5.x86_64.rpm                                                                                                               351 kB/s | 189 kB     00:00    
(52/130): libverto1-0.2.6-3.20.x86_64.rpm                                                                                                                    75 kB/s |  18 kB     00:00    
(53/130): libunistring2-0.9.10-1.1.x86_64.rpm                                                                                                               607 kB/s | 365 kB     00:00    
(54/130): libyaml-0-2-0.1.7-1.17.x86_64.rpm                                                                                                                 146 kB/s |  51 kB     00:00    
(55/130): libzio1-1.06-2.20.x86_64.rpm                                                                                                                       76 kB/s |  25 kB     00:00    
(56/130): pinentry-1.1.0-4.3.1.x86_64.rpm                                                                                                                   269 kB/s |  95 kB     00:00    
(57/130): pkg-config-0.29.2-1.436.x86_64.rpm                                                                                                                598 kB/s | 232 kB     00:00    
(58/130): python3-dbus-python-1.2.16-6.3.1.x86_64.rpm                                                                                                       337 kB/s | 123 kB     00:00    
(59/130): python3-distro-1.5.0-3.5.1.noarch.rpm                                                                                                             104 kB/s |  36 kB     00:00    
(60/130): python3-dnf-plugins-core-4.0.24-bp154.1.27.noarch.rpm                                                                                             169 kB/s |  58 kB     00:00    
(61/130): python3-dnf-4.10.0-bp154.2.65.noarch.rpm                                                                                                          449 kB/s | 200 kB     00:00    
(62/130): python3-gpg-1.16.0-150400.1.80.x86_64.rpm                                                                                                         529 kB/s | 250 kB     00:00    
(63/130): python3-hawkey-0.65.0-150400.2.6.x86_64.rpm                                                                                                       223 kB/s |  95 kB     00:00    
(64/130): python3-libcomps-0.1.18-bp154.1.62.x86_64.rpm                                                                                                      96 kB/s |  42 kB     00:00    
(65/130): python3-libmodulemd-2.13.0-150400.1.8.x86_64.rpm                                                                                                  128 kB/s |  15 kB     00:00    
(66/130): python3-libdnf-0.65.0-150400.2.6.x86_64.rpm                                                                                                       896 kB/s | 622 kB     00:00    
(67/130): python3-six-1.14.0-12.1.noarch.rpm                                                                                                                 86 kB/s |  35 kB     00:00    
(68/130): python3-python-dateutil-2.8.1-1.24.noarch.rpm                                                                                                     589 kB/s | 312 kB     00:00    
(69/130): system-user-root-20190513-3.3.1.noarch.rpm                                                                                                         74 kB/s | 9.0 kB     00:00    
(70/130): shared-mime-info-2.1-150400.3.5.x86_64.rpm                                                                                                        714 kB/s | 314 kB     00:00    
(71/130): typelib-1_0-Modulemd-2_0-2.13.0-150400.1.8.x86_64.rpm                                                                                              53 kB/s |  24 kB     00:00    
(72/130): dbus-1-1.12.2-150400.18.5.1.x86_64.rpm                                                                                                            645 kB/s | 249 kB     00:00    
(73/130): gio-branding-SLE-15-150400.27.2.1.noarch.rpm                                                                                                       73 kB/s |  18 kB     00:00    
(74/130): glib2-tools-2.70.5-150400.3.8.1.x86_64.rpm                                                                                                        283 kB/s | 201 kB     00:00    
(75/130): grep-3.1-150000.4.6.1.x86_64.rpm                                                                                                                  537 kB/s | 308 kB     00:00    
(76/130): gpg2-2.2.27-150300.3.5.1.x86_64.rpm                                                                                                               1.2 MB/s | 1.9 MB     00:01    
(77/130): glibc-2.31-150300.46.1.x86_64.rpm                                                                                                                 1.0 MB/s | 1.7 MB     00:01    
(78/130): krb5-1.19.2-150400.3.3.1.x86_64.rpm                                                                                                               1.0 MB/s | 633 kB     00:00    
(79/130): libassuan0-2.5.5-150000.4.3.1.x86_64.rpm                                                                                                          164 kB/s |  70 kB     00:00    
(80/130): libblkid1-2.37.2-150400.8.14.1.x86_64.rpm                                                                                                         436 kB/s | 179 kB     00:00    
(81/130): libcom_err2-1.46.4-150400.3.3.1.x86_64.rpm                                                                                                        116 kB/s |  40 kB     00:00    
(82/130): libcrypt1-4.4.15-150300.4.4.3.x86_64.rpm                                                                                                          310 kB/s | 105 kB     00:00    
(83/130): libcurl4-7.79.1-150400.5.18.1.x86_64.rpm                                                                                                          816 kB/s | 419 kB     00:00    
(84/130): libdbus-1-3-1.12.2-150400.18.5.1.x86_64.rpm                                                                                                       280 kB/s | 151 kB     00:00    
(85/130): libdw1-0.185-150400.5.3.1.x86_64.rpm                                                                                                              450 kB/s | 229 kB     00:00    
(86/130): libeconf0-0.4.6+git20220427.3016f4e-150400.3.3.1.x86_64.rpm                                                                                       102 kB/s |  33 kB     00:00    
(87/130): libelf1-0.185-150400.5.3.1.x86_64.rpm                                                                                                             162 kB/s |  68 kB     00:00    
(88/130): libgcc_s1-12.2.1+git416-150000.1.7.1.x86_64.rpm                                                                                                   137 kB/s |  62 kB     00:00    
(89/130): libexpat1-2.4.4-150400.3.12.1.x86_64.rpm                                                                                                          222 kB/s | 112 kB     00:00    
(90/130): libgcrypt20-1.9.4-150400.6.8.1.x86_64.rpm                                                                                                         731 kB/s | 475 kB     00:00    
(91/130): libgio-2_0-0-2.70.5-150400.3.8.1.x86_64.rpm                                                                                                       1.2 MB/s | 688 kB     00:00    
(92/130): libglib-2_0-0-2.70.5-150400.3.8.1.x86_64.rpm                                                                                                      913 kB/s | 651 kB     00:00    
(93/130): libgmodule-2_0-0-2.70.5-150400.3.8.1.x86_64.rpm                                                                                                   211 kB/s | 110 kB     00:00    
(94/130): libgobject-2_0-0-2.70.5-150400.3.8.1.x86_64.rpm                                                                                                   529 kB/s | 232 kB     00:00    
(95/130): libjitterentropy3-3.4.0-150000.1.9.1.x86_64.rpm                                                                                                    62 kB/s |  25 kB     00:00    
(96/130): libksba8-1.3.5-150000.4.6.1.x86_64.rpm                                                                                                            246 kB/s | 104 kB     00:00    
(97/130): libldap-data-2.4.46-150200.14.11.2.noarch.rpm                                                                                                      83 kB/s |  35 kB     00:00    
(98/130): libldap-2_4-2-2.4.46-150200.14.11.2.x86_64.rpm                                                                                                    274 kB/s | 168 kB     00:00    
(99/130): libmount1-2.37.2-150400.8.14.1.x86_64.rpm                                                                                                         509 kB/s | 194 kB     00:00    
(100/130): libncurses6-6.1-150000.5.12.1.x86_64.rpm                                                                                                         733 kB/s | 404 kB     00:00    
(101/130): libopenssl1_1-1.1.1l-150400.7.34.1.x86_64.rpm                                                                                                    1.7 MB/s | 1.4 MB     00:00    
(102/130): libpsl5-0.20.1-150000.3.3.1.x86_64.rpm                                                                                                           172 kB/s |  62 kB     00:00    
(103/130): libpcre1-8.45-150000.20.13.1.x86_64.rpm                                                                                                          434 kB/s | 326 kB     00:00    
(104/130): libsmartcols1-2.37.2-150400.8.14.1.x86_64.rpm                                                                                                    296 kB/s | 140 kB     00:00    
(105/130): libsqlite3-0-3.39.3-150000.3.20.1.x86_64.rpm                                                                                                     926 kB/s | 633 kB     00:00    
(106/130): libpython3_6m1_0-3.6.15-150300.10.45.1.x86_64.rpm                                                                                                1.0 MB/s | 870 kB     00:00    
(107/130): libstdc++6-12.2.1+git416-150000.1.7.1.x86_64.rpm                                                                                                 1.2 MB/s | 588 kB     00:00    
(108/130): libtirpc-netconfig-1.2.6-150300.3.17.1.x86_64.rpm                                                                                                 57 kB/s |  24 kB     00:00    
(109/130): libtirpc3-1.2.6-150300.3.17.1.x86_64.rpm                                                                                                         251 kB/s | 101 kB     00:00    
(110/130): libsystemd0-249.16-150400.8.25.7.x86_64.rpm                                                                                                      812 kB/s | 548 kB     00:00    
(111/130): libudev1-249.16-150400.8.25.7.x86_64.rpm                                                                                                         668 kB/s | 312 kB     00:00    
(112/130): libusb-1_0-0-1.0.24-150400.3.3.1.x86_64.rpm                                                                                                      192 kB/s |  70 kB     00:00    
(113/130): libxml2-2-2.9.14-150400.5.16.1.x86_64.rpm                                                                                                        994 kB/s | 605 kB     00:00    
(114/130): libz1-1.2.11-150000.3.39.1.x86_64.rpm                                                                                                            140 kB/s |  63 kB     00:00    
(115/130): libzck1-1.1.16-150400.3.2.1.x86_64.rpm                                                                                                            95 kB/s |  43 kB     00:00    
(116/130): login_defs-4.8.1-150400.10.6.1.noarch.rpm                                                                                                         81 kB/s |  33 kB     00:00    
(117/130): libzstd1-1.5.0-150400.3.3.1.x86_64.rpm                                                                                                           603 kB/s | 401 kB     00:00    
(118/130): pam-1.3.0-150000.6.61.1.x86_64.rpm                                                                                                               820 kB/s | 438 kB     00:00    
(119/130): python3-3.6.15-150300.10.45.1.x86_64.rpm                                                                                                         229 kB/s |  85 kB     00:00    
(120/130): permissions-20201225-150400.5.16.1.x86_64.rpm                                                                                                     78 kB/s |  45 kB     00:00    
(121/130): perl-base-5.26.1-150300.17.11.1.x86_64.rpm                                                                                                       1.5 MB/s | 1.3 MB     00:00    
(122/130): python3-curses-3.6.15-150300.10.45.1.x86_64.rpm                                                                                                  238 kB/s |  83 kB     00:00    
(123/130): python3-gobject-3.42.2-150400.3.3.2.x86_64.rpm                                                                                                   781 kB/s | 398 kB     00:00    
(124/130): python3-rpm-4.14.3-150300.55.1.x86_64.rpm                                                                                                        127 kB/s |  56 kB     00:00    
(125/130): rpm-config-SUSE-1-150400.14.3.1.noarch.rpm                                                                                                        62 kB/s |  25 kB     00:00    
(126/130): rpm-4.14.3-150300.55.1.x86_64.rpm                                                                                                                1.3 MB/s | 1.5 MB     00:01    
(127/130): shadow-4.8.1-150400.10.6.1.x86_64.rpm                                                                                                            843 kB/s | 611 kB     00:00    
(128/130): terminfo-base-6.1-150000.5.12.1.x86_64.rpm                                                                                                       369 kB/s | 206 kB     00:00    
(129/130): update-alternatives-1.19.0.4-150000.4.4.1.x86_64.rpm                                                                                              78 kB/s |  43 kB     00:00    
(130/130): python3-base-3.6.15-150300.10.45.1.x86_64.rpm                                                                                                    2.0 MB/s | 7.5 MB     00:03    
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                                                                       1.5 MB/s |  41 MB     00:26     
openSUSE Leap 15.4 - x86_64 - OSS                                                                                                                           965 kB/s | 988  B     00:00    
Importing GPG key 0x3DBDC284:
 Userid     : "openSUSE Project Signing Key <[email protected]>"
 Fingerprint: 22C0 7BA5 3417 8CD0 2EFE 22AA B88B 2FD4 3DBD C284
 From       : /usr/share/distribution-gpg-keys/opensuse/RPM-GPG-KEY-openSUSE
Key imported successfully
openSUSE Leap 15.4 - x86_64 - OSS                                                                                                                           1.1 MB/s | 1.1 kB     00:00    
Importing GPG key 0x65176565:
 Userid     : "openSUSE:Backports OBS Project <openSUSE:[email protected]>"
 Fingerprint: 637B 32FF 3D83 F07A 7AE1 C40A 9C21 4D40 6517 6565
 From       : /usr/share/distribution-gpg-keys/opensuse/RPM-GPG-KEY-openSUSE-Backports
Key imported successfully
openSUSE Leap 15.4 - x86_64 - OSS                                                                                                                           915 kB/s | 937  B     00:00    
Importing GPG key 0x39DB7C82:
 Userid     : "SuSE Package Signing Key <[email protected]>"
 Fingerprint: FEAB 5025 39D8 46DB 2C09 61CA 70AF 9E81 39DB 7C82
 From       : /usr/share/distribution-gpg-keys/suse/RPM-GPG-KEY-SuSE-SLE-15
Key imported successfully
Problem opening package cracklib-dict-full-2.8.12-1.22.x86_64.rpm
Problem opening package deltarpm-3.6.1-3.19.x86_64.rpm
Problem opening package diffutils-3.6-4.3.1.x86_64.rpm
Problem opening package fillup-1.42-2.18.x86_64.rpm
Problem opening package info-6.5-4.17.x86_64.rpm
Problem opening package libacl1-2.2.52-4.3.1.x86_64.rpm
Problem opening package libattr1-2.4.47-2.19.x86_64.rpm
Problem opening package libcap-ng0-0.7.9-4.37.x86_64.rpm
Problem opening package libffi7-3.2.1.git259-10.8.x86_64.rpm
Problem opening package libnpth0-1.5-2.11.x86_64.rpm
Problem opening package libnsl2-1.2.0-2.44.x86_64.rpm
Problem opening package libpopt0-1.16-3.22.x86_64.rpm
Problem opening package libverto1-0.2.6-3.20.x86_64.rpm
Problem opening package libyaml-0-2-0.1.7-1.17.x86_64.rpm
Problem opening package libzio1-1.06-2.20.x86_64.rpm
Problem opening package pinentry-1.1.0-4.3.1.x86_64.rpm
Problem opening package pkg-config-0.29.2-1.436.x86_64.rpm
Problem opening package system-user-root-20190513-3.3.1.noarch.rpm
Error: GPG check FAILED
WARNING: Dnf command failed, retrying, attempt #2, sleeping 20s
^CERROR: Exiting on user interrupt, <CTRL>-C

Do not forget to mention full commandline with the mock command you executed.

Any additional notes

Output of `mock --debug-config`

This shouldn't really be necessary as the above reproducer is very straightfoward and should reproduce easily. Morever, trying to include this output makes the comment here exceed GitHub's maximum comment size of 65535 bytes. If this info is found to be actually necessary, I can add it in a subsequent comment upon request.

This is no doubt more fallout from F38's update to rpm to use Sequoia, but nonetheless, mock is not working on F38 with Leap 15.4.

I have not been able to suss out thus far what it is about the key for the failed packages that RPM on F38 is unhappy about.

Maybe this is just another case of rpm-software-management/distribution-gpg-keys#91 but I have not been able to confirm that yet. It seems quite involved getting to the bottom of these GPG key issues that are now newly being flagged by RpmSequoia.

@brianjmurrell
Copy link
Contributor Author

Somewhat related, I think: https://bugzilla.redhat.com/show_bug.cgi?id=2192374 FWIW.

@praiskup
Copy link
Member

error: Verifying a signature using certificate FEAB502539D846DB2C0961CA70AF9E8139DB7C82 (SuSE Package Signing Key <[email protected]>):
  Certificate 70AF9E8139DB7C82 invalid: policy violation
      because: No binding signature at time 2018-05-25T18:14:58Z

@brianjmurrell
Copy link
Contributor Author

@praiskup Yep. rpm-software-management/rpm-sequoia#46. I was told elsewhere that I need to stay on F37 if I want to build Leap 15.4 packages with mock.

@praiskup
Copy link
Member

So do we want to gpgcheck=0 for openSUSE now? It appears they are not able to fix the keys.

@brianjmurrell
Copy link
Contributor Author

So do we want to gpgcheck=0 for openSUSE now? It appears they are not able to fix the keys.

That seems pretty dangerous. How do we know we are not getting malware infected RPMs which could infect the RPMs we are asking mock to build?

Is it even clear that this is a problem with SUSE's keys or is that rpm-sequoia is not allowing for a perfectly valid GPG signing use-case?

@praiskup
Copy link
Member

That seems pretty dangerous.

Yes, but keeping the chroots broken is not good for CI systems.

perfectly valid GPG signing use-case?

hmmm, I did not understand it this way actually :-) but anyway...

Any other way than rollback to F37 in Fedora Copr (pretty much a non-option really)?

@brianjmurrell
Copy link
Contributor Author

Yes, but keeping the chroots broken is not good for CI systems.

Completely agreed. Our CI system broke when this rolled out and we had to scramble to fix it.

Any other way than rollback to F37 in Fedora Copr (pretty much a non-option really)?

Not other than rpm-sequoia getting fixed AFAIU. I can't say I know GPG intricately enough to know for sure, but rpm-software-management/rpm-sequoia#47 says it fixes rpm-software-management/rpm-sequoia#46. It just doesn't seem to be going anywhere and I was told I was being "too demanding" asking if this whole mess could get resolved so I stopped pursuing it. I was also told that I just need to be satisfied with Fedora 37 as a mock build platform until this whole mess is fixed. I just hope that happens before F37 becomes EOL and unsupported.

So, no. I know of no other way to fix this other than to stick with F37.

But I also think it's a pretty serious issue/change to just stop checking RPM signatures in a public CI system that people would otherwise believe to be securely checking RPMs being used in it. It changes the entire trust model of software built in COPR. Well, I guess limited to Leap 15.4 builds. But still, it's pretty serious to change the trust model of even just one platform so that people building for that platform don't really know that the trust model has been compromised/weakened.

I do wonder how many other distributions this issue affects -- distributions that are managing their keys such as SUSE does. I wouldn't have the foggiest as we only build for RH/EL clones and SUSE distros. But given the number of RPM based distros out there, I would have to imagine that some others are affected. Or is SUSE seriously the only single outlier in how they are managing their package signing keys?

Might be interesting if somebody created a simple hello world RPM building project and built it on every supported distro on COPR and see which ones break.

@praiskup
Copy link
Member

One way around this is to use the bootstrap image feature:

$ mock --use-bootstrap-image -r opensuse-leap-15.4-x86_64 ...

@praiskup
Copy link
Member

Also see the #1101 proposal.

@praiskup
Copy link
Member

praiskup commented Jun 13, 2023

Bootstrap image feature was enabled in Fedora Copr for openSUSE Leap 15.3 and 15.4. Tested.

@praiskup
Copy link
Member

This is resolved. Leap 15.4 and 15.5 seem to install and build fine with Mock 5.5 on Fedora.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
configs Issue in mock-core-configs package external This issue depends on issue tracked elsewhere
Projects
None yet
Development

No branches or pull requests

2 participants