Bug 32230 - Needed updates : mock-core-configs srpm to 39-1 , mock-mageia-config srpm to9 ; and mock srpm to 5.1 inside Mageia9 and Cauldron
Summary: Needed updates : mock-core-configs srpm to 39-1 , mock-mageia-config srpm to9...
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 9
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: QA Team
QA Contact:
URL:
Whiteboard: MGA9-64-OK MGA9-32-OK
Keywords: advisory, validated_update
Depends on:
Blocks:
 
Reported: 2023-09-02 15:27 CEST by Philippe Didier
Modified: 2023-09-27 18:33 CEST (History)
8 users (show)

See Also:
Source RPM: mock-core-configs, mock-mageia-configs, mock
CVE:
Status comment: corrected UPSTREAM update needed to latest versions


Attachments
spec used to build mock 5.1.1 (7.08 KB, text/plain)
2023-09-20 20:21 CEST, katnatek
Details

Description Philippe Didier 2023-09-02 15:27:37 CEST
Hi
I tried to use mock to rebuild a rpm for Mageia9

There's a problem with mock-mageia-configs.rpm :
The cfg files exist for 
Mageia-7
Mageia-8
Mageia-cauldron

but not for Mageia-9
Comment 1 Philippe Didier 2023-09-02 15:36:07 CEST
Sorry !

little correction :
indeed there are links for Mageia-9 pointing to Mageia-cauldron
but no real cfg files for Mageia-9
Philippe Didier 2023-09-02 15:50:46 CEST

Source RPM: mock-mageia-configs => mock-core-configs

Comment 2 Philippe Didier 2023-09-02 15:55:43 CEST
the problem is in mock-core-configs

I corrected it on my computer in etc/mock/ by removing the links for mageia-9*.cfg files pointing to cauldron 
and creating new files for mageia-9 (following the model of mageia-8*.cfg files)

I won't touch to the source and let it to its maintainer
Comment 3 David GEIGER 2023-09-02 17:25:33 CEST
Should be fixed in next mock-core-configs-39-1.mga10 update!

CC: (none) => geiger.david68210

Comment 4 Philippe Didier 2023-09-02 17:54:09 CEST
Hi David
Thanks for looking at this

But you certainly mean :
mock-core-configs-39-1.mga9 update 

and not mock-core-configs-39-1.mga10 update

;-)
Comment 5 Lewis Smith 2023-09-02 21:00:17 CEST
Once again, assigning to you DavidG as you are already dealing with this. For which thanks!

Assignee: bugsquad => geiger.david68210

Comment 6 katnatek 2023-09-05 20:15:33 CEST
@neal sorry to bother you, but this could be the cause that https://copr.fedorainfracloud.org still not provide chroots for mageia 9 ?

CC: (none) => ngompa13

katnatek 2023-09-05 20:34:25 CEST

CC: (none) => j.alberto.vc

Comment 7 katnatek 2023-09-07 20:40:08 CEST
Please fix this on Mageia 9
Comment 8 David GEIGER 2023-09-09 06:12:26 CEST
Once there is a new upstream release I'll fix it properly for mga9!
katnatek 2023-09-09 19:28:32 CEST

Summary: missing all etc/mock/mageia-9*. cfg files => all mock config files etc/mock/mageia-9*. cfg still are for cauldron

katnatek 2023-09-09 19:30:19 CEST

See Also: (none) => https://github.com/rpm-software-management/mock/issues/1211
Status comment: (none) => UPSTREAM

Comment 9 David GEIGER 2023-09-17 09:38:16 CEST
Assingning to QA,

Packages in 9/Core/Updates_testing:
======================
mock-core-configs-39.1-1.mga9.noarch.rpm
mock-mageia-configs-9-1.mga9.noarch.rpm

Frpm SRPMS:
mock-core-configs-39.1-1.mga9.src.rpm
mock-mageia-configs-9-1.mga9.src.rpm

Assignee: geiger.david68210 => qa-bugs

Comment 10 Philippe Didier 2023-09-17 14:46:58 CEST
Hi
I got a problem trying to install this updates :
can't install mock-core-configs-39.1-1.mga9.noarch.rpm
 distribution-gpg-keys[>= 1.85] not satisfied

and of course
mock-mageia-configs-9-1.mga9.noarch.rpm 
needs  mock-core-configs-39.1-1.mga9.noarch.rpm to be installed !
Comment 11 Philippe Didier 2023-09-17 15:08:37 CEST
NB out of topic

To test these rpms I had to use a workaround because of a little bug in rpmdrake :
https://bugs.mageia.org/show_bug.cgi?id=32299
Comment 12 Dave Hodgins 2023-09-17 17:50:09 CEST
In reply to comment 10 ...

[root@x9v ~]# urpmi --test mock-core-configs mock-mageia-configs
To satisfy dependencies, the following packages are going to be installed:
(test only, installation will not be actually done)
  Package                        Version      Release       Arch    
(medium "QA Testing (64-bit)")
  mock-core-configs              39.1         1.mga9        noarch  
  mock-mageia-configs            9            1.mga9        noarch  
(medium "Core Release (distrib1)")
  createrepo_c                   0.20.1       1.mga9        x86_64  
  distribution-gpg-keys          1.89         1.mga9        noarch  
  lib64createrepo_c0             0.20.1       1.mga9        x86_64  
  lib64drpm0                     0.5.1        2.mga9        x86_64  
  mock                           3.5          1.mga9        noarch  
  mock-filesystem                3.5          1.mga9        noarch  
  pigz                           2.7          1.mga9        x86_64  
  procenv                        0.60         2.mga9        x86_64  (recommended)
  python3-jinja2                 3.1.2        1.mga9        noarch  
  python3-pyroute2               0.7.2        2.mga9        noarch  
  python3-templated-dictionary   1.1          6.mga9        noarch  
  qemu-user-static               7.2.0        9.mga9        x86_64  (recommended)
  qemu-user-static-aarch64       7.2.0        9.mga9        x86_64  (recommended)
  qemu-user-static-alpha         7.2.0        9.mga9        x86_64  (recommended)
  qemu-user-static-arm           7.2.0        9.mga9        x86_64  (recommended)
  qemu-user-static-cris          7.2.0        9.mga9        x86_64  (recommended)
  qemu-user-static-hexagon       7.2.0        9.mga9        x86_64  (recommended)
  qemu-user-static-hppa          7.2.0        9.mga9        x86_64  (recommended)
  qemu-user-static-loongarch64   7.2.0        9.mga9        x86_64  (recommended)
  qemu-user-static-m68k          7.2.0        9.mga9        x86_64  (recommended)
  qemu-user-static-microblaze    7.2.0        9.mga9        x86_64  (recommended)
  qemu-user-static-mips          7.2.0        9.mga9        x86_64  (recommended)
  qemu-user-static-nios2         7.2.0        9.mga9        x86_64  (recommended)
  qemu-user-static-or1k          7.2.0        9.mga9        x86_64  (recommended)
  qemu-user-static-ppc           7.2.0        9.mga9        x86_64  (recommended)
  qemu-user-static-riscv         7.2.0        9.mga9        x86_64  (recommended)
  qemu-user-static-s390x         7.2.0        9.mga9        x86_64  (recommended)
  qemu-user-static-sh4           7.2.0        9.mga9        x86_64  (recommended)
  qemu-user-static-sparc         7.2.0        9.mga9        x86_64  (recommended)
  qemu-user-static-x86           7.2.0        9.mga9        x86_64  (recommended)
  qemu-user-static-xtensa        7.2.0        9.mga9        x86_64  (recommended)
  yum-utils                      4.3.1        1.mga9        noarch  (recommended)
160MB of additional disk space will be used.
32MB of packages will be retrieved.
Proceed with the installation of the 34 packages? (Y/n) y
<snip downloading>
Preparing...                     #########################################################################################################################################################################################################
Installation is possible

This is using the princeton mirror. What mirror are you using?

CC: (none) => davidwhodgins

Comment 13 Philippe Didier 2023-09-17 20:36:24 CEST
Hi Dave

As mock had already been installed all the dependencies were already installed
(To use it for Mageia9 I have had to manually modify some files in /etc/mock/)

Not able to use rpmdrake to use the updates-testing repos I downloaded 
mock-core-configs-39.1-1.mga9.noarch.rpm
and
mock-mageia-configs-9-1.mga9.noarch.rpm 
From http distrib coffee
https://distrib-coffee.ipsl.jussieu.fr/pub/linux/Mageia/distrib/9/x86_64/media/core/updates_testing/

I copied them in a local directory and added this local repo in rpmdrake with the distrib key 
Then try to install them

That's how I fall to this message :
can't install mock-core-configs-39.1-1.mga9.noarch.rpm
 distribution-gpg-keys[>= 1.85] not satisfied
Comment 14 katnatek 2023-09-17 21:00:26 CEST
Enable core updates testing, and make

LC_ALL=C urpmi --test mock-core-configs mock-mageia-configs
The following package has to be removed for others to be upgraded:
urpmi-debuginfo-install-12.1-7.mga9.noarch
 (due to conflicts with dnf-utils)
(test only, removal will not be actually done) (y/N) y
To satisfy dependencies, the following packages are going to be installed:
(test only, installation will not be actually done)
  Package                        Version      Release       Arch    
(medium "Core Release")
  distribution-gpg-keys          1.89         1.mga9        noarch  
  mock                           3.5          1.mga9        noarch  
  mock-filesystem                3.5          1.mga9        noarch  
  pigz                           2.7          1.mga9        x86_64  
  procenv                        0.60         2.mga9        x86_64  (recommended)
  python3-babel                  2.10.3       1.mga9        noarch  
  python3-jinja2                 3.1.2        1.mga9        noarch  
  python3-markupsafe             2.1.1        1.mga9        x86_64  
  python3-pyroute2               0.7.2        2.mga9        noarch  
  python3-pytz                   2023.3       1.mga9        noarch  
  python3-templated-dictionary   1.1          6.mga9        noarch  
  yum                            4.14.0       1.mga9        noarch  (recommended)
  yum-utils                      4.3.1        1.mga9        noarch  (recommended)
(medium "Core Updates Testing")
  mock-core-configs              39.1         1.mga9        noarch  
  mock-mageia-configs            9            1.mga9        noarch  
  qemu-user-static               7.2.5        1.mga9        x86_64  (recommended)
  qemu-user-static-aarch64       7.2.5        1.mga9        x86_64  (recommended)
  qemu-user-static-alpha         7.2.5        1.mga9        x86_64  (recommended)
  qemu-user-static-arm           7.2.5        1.mga9        x86_64  (recommended)
  qemu-user-static-cris          7.2.5        1.mga9        x86_64  (recommended)
  qemu-user-static-hexagon       7.2.5        1.mga9        x86_64  (recommended)
  qemu-user-static-hppa          7.2.5        1.mga9        x86_64  (recommended)
  qemu-user-static-loongarch64   7.2.5        1.mga9        x86_64  (recommended)
  qemu-user-static-m68k          7.2.5        1.mga9        x86_64  (recommended)
  qemu-user-static-microblaze    7.2.5        1.mga9        x86_64  (recommended)
  qemu-user-static-mips          7.2.5        1.mga9        x86_64  (recommended)
  qemu-user-static-nios2         7.2.5        1.mga9        x86_64  (recommended)
  qemu-user-static-or1k          7.2.5        1.mga9        x86_64  (recommended)
  qemu-user-static-ppc           7.2.5        1.mga9        x86_64  (recommended)
  qemu-user-static-riscv         7.2.5        1.mga9        x86_64  (recommended)
  qemu-user-static-s390x         7.2.5        1.mga9        x86_64  (recommended)
  qemu-user-static-sh4           7.2.5        1.mga9        x86_64  (recommended)
  qemu-user-static-sparc         7.2.5        1.mga9        x86_64  (recommended)
  qemu-user-static-x86           7.2.5        1.mga9        x86_64  (recommended)
  qemu-user-static-xtensa        7.2.5        1.mga9        x86_64  (recommended)
190MB of additional disk space will be used.
38MB of packages will be retrieved.
Proceed with the installation of the 35 packages? (Y/n) y


    https://mirror.math.princeton.edu/pub/mageia/distrib/9/x86_64/media/core/release/mock-filesystem-3.5-1.mga9.noarch.rpm
    https://mirror.math.princeton.edu/pub/mageia/distrib/9/x86_64/media/core/release/python3-pyroute2-0.7.2-2.mga9.noarch.rpm       
    https://mirror.math.princeton.edu/pub/mageia/distrib/9/x86_64/media/core/release/mock-3.5-1.mga9.noarch.rpm                     
    https://mirror.math.princeton.edu/pub/mageia/distrib/9/x86_64/media/core/release/yum-utils-4.3.1-1.mga9.noarch.rpm              
    https://mirror.math.princeton.edu/pub/mageia/distrib/9/x86_64/media/core/release/python3-babel-2.10.3-1.mga9.noarch.rpm         
    https://mirror.math.princeton.edu/pub/mageia/distrib/9/x86_64/media/core/release/python3-markupsafe-2.1.1-1.mga9.x86_64.rpm     
    https://mirror.math.princeton.edu/pub/mageia/distrib/9/x86_64/media/core/release/procenv-0.60-2.mga9.x86_64.rpm                 
    https://mirror.math.princeton.edu/pub/mageia/distrib/9/x86_64/media/core/release/yum-4.14.0-1.mga9.noarch.rpm                   
    https://mirror.math.princeton.edu/pub/mageia/distrib/9/x86_64/media/core/release/python3-pytz-2023.3-1.mga9.noarch.rpm          
    https://mirror.math.princeton.edu/pub/mageia/distrib/9/x86_64/media/core/release/python3-jinja2-3.1.2-1.mga9.noarch.rpm         
    https://mirror.math.princeton.edu/pub/mageia/distrib/9/x86_64/media/core/release/python3-templated-dictionary-1.1-6.mga9.noarch.rpm
    https://mirror.math.princeton.edu/pub/mageia/distrib/9/x86_64/media/core/release/pigz-2.7-1.mga9.x86_64.rpm                     
    https://mirror.math.princeton.edu/pub/mageia/distrib/9/x86_64/media/core/release/distribution-gpg-keys-1.89-1.mga9.noarch.rpm   
    https://mirror.math.princeton.edu/pub/mageia/distrib/9/x86_64/media/core/updates_testing/mock-core-configs-39.1-1.mga9.noarch.rpm
    https://mirror.math.princeton.edu/pub/mageia/distrib/9/x86_64/media/core/updates_testing/qemu-user-static-x86-7.2.5-1.mga9.x86_64.rpm
    https://mirror.math.princeton.edu/pub/mageia/distrib/9/x86_64/media/core/updates_testing/qemu-user-static-s390x-7.2.5-1.mga9.x86_64.rpm
    https://mirror.math.princeton.edu/pub/mageia/distrib/9/x86_64/media/core/updates_testing/qemu-user-static-sh4-7.2.5-1.mga9.x86_64.rpm
    https://mirror.math.princeton.edu/pub/mageia/distrib/9/x86_64/media/core/updates_testing/qemu-user-static-sparc-7.2.5-1.mga9.x86_64.rpm
    https://mirror.math.princeton.edu/pub/mageia/distrib/9/x86_64/media/core/updates_testing/qemu-user-static-loongarch64-7.2.5-1.mga9.x86_64.rpm
    https://mirror.math.princeton.edu/pub/mageia/distrib/9/x86_64/media/core/updates_testing/qemu-user-static-or1k-7.2.5-1.mga9.x86_64.rpm
    https://mirror.math.princeton.edu/pub/mageia/distrib/9/x86_64/media/core/updates_testing/mock-mageia-configs-9-1.mga9.noarch.rpm
    https://mirror.math.princeton.edu/pub/mageia/distrib/9/x86_64/media/core/updates_testing/qemu-user-static-alpha-7.2.5-1.mga9.x86_64.rpm
    https://mirror.math.princeton.edu/pub/mageia/distrib/9/x86_64/media/core/updates_testing/qemu-user-static-ppc-7.2.5-1.mga9.x86_64.rpm
    https://mirror.math.princeton.edu/pub/mageia/distrib/9/x86_64/media/core/updates_testing/qemu-user-static-m68k-7.2.5-1.mga9.x86_64.rpm
    https://mirror.math.princeton.edu/pub/mageia/distrib/9/x86_64/media/core/updates_testing/qemu-user-static-microblaze-7.2.5-1.mga9.x86_64.rpm
    https://mirror.math.princeton.edu/pub/mageia/distrib/9/x86_64/media/core/updates_testing/qemu-user-static-hexagon-7.2.5-1.mga9.x86_64.rpm
    https://mirror.math.princeton.edu/pub/mageia/distrib/9/x86_64/media/core/updates_testing/qemu-user-static-arm-7.2.5-1.mga9.x86_64.rpm
    https://mirror.math.princeton.edu/pub/mageia/distrib/9/x86_64/media/core/updates_testing/qemu-user-static-mips-7.2.5-1.mga9.x86_64.rpm
    https://mirror.math.princeton.edu/pub/mageia/distrib/9/x86_64/media/core/updates_testing/qemu-user-static-7.2.5-1.mga9.x86_64.rpm
    https://mirror.math.princeton.edu/pub/mageia/distrib/9/x86_64/media/core/updates_testing/qemu-user-static-nios2-7.2.5-1.mga9.x86_64.rpm
    https://mirror.math.princeton.edu/pub/mageia/distrib/9/x86_64/media/core/updates_testing/qemu-user-static-hppa-7.2.5-1.mga9.x86_64.rpm
    https://mirror.math.princeton.edu/pub/mageia/distrib/9/x86_64/media/core/updates_testing/qemu-user-static-aarch64-7.2.5-1.mga9.x86_64.rpm
    https://mirror.math.princeton.edu/pub/mageia/distrib/9/x86_64/media/core/updates_testing/qemu-user-static-cris-7.2.5-1.mga9.x86_64.rpm
    https://mirror.math.princeton.edu/pub/mageia/distrib/9/x86_64/media/core/updates_testing/qemu-user-static-xtensa-7.2.5-1.mga9.x86_64.rpm
    https://mirror.math.princeton.edu/pub/mageia/distrib/9/x86_64/media/core/updates_testing/qemu-user-static-riscv-7.2.5-1.mga9.x86_64.rpm
installing mock-filesystem-3.5-1.mga9.noarch.rpm python3-pyroute2-0.7.2-2.mga9.noarch.rpm mock-3.5-1.mga9.noarch.rpm yum-utils-4.3.1-1.mga9.noarch.rpm python3-markupsafe-2.1.1-1.mga9.x86_64.rpm python3-babel-2.10.3-1.mga9.noarch.rpm qemu-user-static-riscv-7.2.5-1.mga9.x86_64.rpm yum-4.14.0-1.mga9.noarch.rpm qemu-user-static-cris-7.2.5-1.mga9.x86_64.rpm qemu-user-static-xtensa-7.2.5-1.mga9.x86_64.rpm qemu-user-static-nios2-7.2.5-1.mga9.x86_64.rpm qemu-user-static-hppa-7.2.5-1.mga9.x86_64.rpm qemu-user-static-aarch64-7.2.5-1.mga9.x86_64.rpm python3-jinja2-3.1.2-1.mga9.noarch.rpm pigz-2.7-1.mga9.x86_64.rpm qemu-user-static-7.2.5-1.mga9.x86_64.rpm qemu-user-static-mips-7.2.5-1.mga9.x86_64.rpm qemu-user-static-arm-7.2.5-1.mga9.x86_64.rpm qemu-user-static-hexagon-7.2.5-1.mga9.x86_64.rpm qemu-user-static-m68k-7.2.5-1.mga9.x86_64.rpm qemu-user-static-microblaze-7.2.5-1.mga9.x86_64.rpm qemu-user-static-ppc-7.2.5-1.mga9.x86_64.rpm mock-mageia-configs-9-1.mga9.noarch.rpm qemu-user-static-or1k-7.2.5-1.mga9.x86_64.rpm procenv-0.60-2.mga9.x86_64.rpm qemu-user-static-alpha-7.2.5-1.mga9.x86_64.rpm python3-pytz-2023.3-1.mga9.noarch.rpm qemu-user-static-sparc-7.2.5-1.mga9.x86_64.rpm qemu-user-static-loongarch64-7.2.5-1.mga9.x86_64.rpm qemu-user-static-s390x-7.2.5-1.mga9.x86_64.rpm qemu-user-static-sh4-7.2.5-1.mga9.x86_64.rpm python3-templated-dictionary-1.1-6.mga9.noarch.rpm qemu-user-static-x86-7.2.5-1.mga9.x86_64.rpm mock-core-configs-39.1-1.mga9.noarch.rpm distribution-gpg-keys-1.89-1.mga9.noarch.rpm from /var/cache/urpmi/rpms
Preparing...                     ##################################################################################################
Installation is possible

Note the conflict in first line
The following package has to be removed for others to be upgraded:
urpmi-debuginfo-install-12.1-7.mga9.noarch
 (due to conflicts with dnf-utils)

I check the files inside  mock-core-configs and mock-mageia-configs looks like the info for mageia 9 is the right one
Comment 15 Dave Hodgins 2023-09-17 21:32:58 CEST
(In reply to Philippe Didier from comment #13)
<snip>
> Not able to use rpmdrake to use the updates-testing repos I downloaded 

There are two ways to install packages from the testing repos without
downloading them individually.

Using qarepo (recommended). Copy/paste the list of rpm packages from the
bug report, and then qarepo downloads thost packages and updates or creates
a local update repo with just those updates.

Using rpmdrake after using Using "drakrpm-edit-media --expert" to change
the updates flag for the updates testing repos. That or manually edit
/etc/urpmi/urpmi.cfg to add the update tag for each of the testing repos.
It's not recommended for normal testing as it will miss cases where a new
package or new version of a package that is also in updates testing is
required, but not listed in the advisory, so won't be included when the
update is pushed to the updates repo. Packages in the updates repo MUST
not require packages in the testing repo. It's due to that happening
several times in the past that the qarepo package was created.
Comment 16 Dave Hodgins 2023-09-17 21:56:49 CEST
Ok, I see the problem. Same on m8.
# urpmi dnf-utils
The following package has to be removed for others to be upgraded:
urpmi-debuginfo-install-10.1-5.1.mga8.noarch

dnf-utils is a provides of yum-utils.

Summary     : Yum-utils CLI compatibility layer
Description :
As a Yum-utils CLI compatibility layer, supplies in CLI shims for
debuginfo-install, groups-manager, repograph, package-cleanup, repoclosure,
repomanage, repoquery, reposync, repotrack, repodiff, builddep, config-manager,
debug, and download that use new implementations using DNF.

So either add yum-utils to /etc/urpmi/skip.lst or uninstall
urpmi-debuginfo-install

Each system can only have one of yum-utils or urpmi-debuginfo-install, not both.
Comment 17 katnatek 2023-09-18 01:22:44 CEST
(In reply to Dave Hodgins from comment #16)
> Ok, I see the problem. Same on m8.
> # urpmi dnf-utils
> The following package has to be removed for others to be upgraded:
> urpmi-debuginfo-install-10.1-5.1.mga8.noarch
> 
> dnf-utils is a provides of yum-utils.
> 
> Summary     : Yum-utils CLI compatibility layer
> Description :
> As a Yum-utils CLI compatibility layer, supplies in CLI shims for
> debuginfo-install, groups-manager, repograph, package-cleanup, repoclosure,
> repomanage, repoquery, reposync, repotrack, repodiff, builddep,
> config-manager,
> debug, and download that use new implementations using DNF.
> 
> So either add yum-utils to /etc/urpmi/skip.lst or uninstall
> urpmi-debuginfo-install
> 
> Each system can only have one of yum-utils or urpmi-debuginfo-install, not
> both.

Then can ignore the conflict, just make the test for help to close this, i don't really use mock directly but use fedora's copr that use mock in the background
Comment 18 Philippe Didier 2023-09-18 13:34:03 CEST
Sorry for all the noise

I finally managed to install the 2 updated mock configs rpms

(downloaded and copied in a local directory which has been correctly added as local repo in rpmdrake allowing to use it for updates)

the problem of missing gpg key came from a bug between the chair and the computer
:-(

The update functions as it must
in /etc/mock now we have cfg for Mageia9 and really for Mageia9 (not linked to cauldron)
and now appear cfg for Mageia10 linked to cauldron that didn't exist before

The two updates may be VALIDATED :

Packages in 9/Core/Updates_testing:
======================
mock-core-configs-39.1-1.mga9.noarch.rpm
mock-mageia-configs-9-1.mga9.noarch.rpm

Frpm SRPMS:
mock-core-configs-39.1-1.mga9.src.rpm
mock-mageia-configs-9-1.mga9.src.rpm

Mock can now build packages for Mageia9 without the workaround that I had to use
(editing manually correct cfg files for Mageia9 in /etc/mock/ )
Comment 19 Philippe Didier 2023-09-18 15:47:59 CEST
NOT VALIDATED!!!

Something is not understandable


 when trying to use mock for Mageia9 or Mageia8, or even cauldron mock can't create 
/var/lib/mock/mageia-8-x86_64/root/builddir/
or
/var/lib/mock/mageia-9-x86_64/root/builddir/
or
/var/lib/mock/mageia-cauldron-x86_64/root/builddir/


following the model of
/var/lib/mock/mageia-8-x86_64-bootstrap/root/builddir/
or
/var/lib/mock/mageia-9-x86_64-bootstrap/root/builddir/
or
/var/lib/mock/mageia-cauldron-x86_64-bootstrap/root/builddir/


I found that there's a missing line in in this updated mock-core-configs-39.1-1.mga9.noarch.rpm
for
mageia-branched.tpl
and
mageia-cauldron.tpl

the following line has disappeared
config_opts['useradd'] = '/usr/sbin/useradd -o -m -u {{chrootuid}} -g {{chrootgid}} -d {{chroothome}} {{chrootuser}}'

when it existed in previous version
Comment 20 Philippe Didier 2023-09-18 15:48:53 CEST
Is this missing line the culprit ?
Comment 21 Philippe Didier 2023-09-18 15:51:11 CEST
NB 
reverting back to the version from core mocks work again
Comment 22 Philippe Didier 2023-09-18 16:27:58 CEST
As I told in
https://bugs.mageia.org/show_bug.cgi?id=32230#c2

the only thing to change for a working mock was to
 in etc/mock/  remove the links for mageia-9*.cfg files pointing to cauldron 
and create new files for mageia-9 (following the model of mageia-8*.cfg files)

for example create mageia-9-x86_64.cfg with this content
"
config_opts['releasever'] = '9'
config_opts['target_arch'] = 'x86_64'
config_opts['legal_host_arches'] = ('x86_64',)

include('templates/mageia-branched.tpl')
"


what have been done upstream in mageia-branched.tpl 
https://github.com/rpm-software-management/mock/commit/039145c165ee54f7075de3f555257f353e86ddeb
prevents mock to work
Comment 23 Dave Hodgins 2023-09-18 20:23:01 CEST
For "The following package has to be removed for others to be upgraded:
urpmi-debuginfo-install-12.1-7.mga9.noarch
 (due to conflicts with dnf-utils)"
the choice is to allow it to uninstall urpmi-debuginfo-install, or to
refuse the install of the packages. At that point the user can add
dnf-utils and yum-utils to /etc/urpmi/skip list and redo the package install
or uninstall urpmi-debuginfo-install and then redo it.

The conflict doesn't mean their is a problem in the packages, just that the
user has to make choices.

Systems should be using either urpmi or dnf, not mixing them. It seems that
mock requires using dnf, so people who want to use mock should not be using
urpmi, which also means urpmi-debuginfo-install should not be used, or even
installed.
Comment 24 Philippe Didier 2023-09-18 22:27:41 CEST
(In reply to Dave Hodgins from comment #23)
> For "The following package has to be removed for others to be upgraded:
> urpmi-debuginfo-install-12.1-7.mga9.noarch
>  (due to conflicts with dnf-utils)"
> the choice is to allow it to uninstall urpmi-debuginfo-install, or to
> refuse the install of the packages. At that point the user can add
> dnf-utils and yum-utils to /etc/urpmi/skip list and redo the package install
> or uninstall urpmi-debuginfo-install and then redo it.
> 
> The conflict doesn't mean their is a problem in the packages, just that the
> user has to make choices.
> 
> Systems should be using either urpmi or dnf, not mixing them. It seems that
> mock requires using dnf, so people who want to use mock should not be using
> urpmi, which also means urpmi-debuginfo-install should not be used, or even
> installed.

Hi Dave

I have now actually no problem to install the rpms from updates-testing

1) fortunately I finally could install
mock-core-configs-39.1-1.mga9.noarch.rpm
mock-mageia-configs-9-1.mga9.noarch.rpm
downloading them from https://distrib-coffee.ipsl.jussieu.fr/pub/linux/Mageia/distrib/9/x86_64/media/core/updates_testing/
copying them in a local directory

adding this local repo to rpmdrake

That's how I could test them and discovered that mock doesn't work anymore neither for Mageia7 nor for Mageia8 nor for Mageia9 nor for cauldron !!!

2) then I uninstalled 
mock-core-configs-39.1-1.mga9.noarch.rpm
mock-mageia-configs-9-1.mga9.noarch.rpm
and mock

I disabled my local repo in rpmdrake
and installed from downloading them from https://distrib-coffee.ipsl.jussieu.fr/pub/linux/Mageia/distrib/9/x86_64/media/core/release/
mock
mock-core-configs-38.4-1.mga9.noarch.rpm
mock-mageia-configs-8-2.mga9.noarch.rpm

test them : mock works but only building for cauldron Mageia7 Mageia8
no way to build something for mageia9 with mock

3) I did what I explain in https://bugs.mageia.org/show_bug.cgi?id=32230#c22
with this modified *.cfg file 
I can build for Mageia9

4) I compared 
mageia-branched.tpl
and
mageia-cauldron.tpl
inside
 mock-core-configs-39.1-1.mga9.noarch.rpm
and
mock-core-configs-38.4-1.mga9.noarch.rpm

I discovered that a missing line in the new version prevented to create :
/var/lib/mock/mageia-8-x86_64/root/builddir/
or
/var/lib/mock/mageia-9-x86_64/root/builddir/
or
/var/lib/mock/mageia-cauldron-x86_64/root/builddir/

 this missing line in mageia-branched.tpl and in mageia-cauldron.tpl is :
config_opts['useradd'] = '/usr/sbin/useradd -o -m -u {{chrootuid}} -g {{chrootgid}} -d {{chroothome}} {{chrootuser}}'

That is coherent with the message sent by mock about this command failing when I use the rpms from updates-testing :
'/usr/sbin/useradd -o -m -u {{chrootuid}} -g {{chrootgid}} -d {{chroothome}} {{chrootuser}}'

(of course mock uses indeed my own {chrootuid} {chrootgid} {chroothome} {chrootuser}
as variables

TO CONCLUDE
THE UPDATE CAN'T BE VALIDATED AS IT IS

two solution 
a) maybe inform UPSTREAM that the suppressed line in mageia-branched.tpl and in mageia-cauldron.tpl prevent the use of mock for Mageia9 and wait for the correction

b) else add a patch to revert this suppression and add 
config_opts['useradd'] = '/usr/sbin/useradd -o -m -u {{chrootuid}} -g {{chrootgid}} -d {{chroothome}} {{chrootuser}}'
in the right place in the source
Comment 25 katnatek 2023-09-19 01:18:30 CEST
(In reply to Philippe Didier from comment #22)
> As I told in
> https://bugs.mageia.org/show_bug.cgi?id=32230#c2
> 
> the only thing to change for a working mock was to
>  in etc/mock/  remove the links for mageia-9*.cfg files pointing to cauldron 
> and create new files for mageia-9 (following the model of mageia-8*.cfg
> files)
> 
> for example create mageia-9-x86_64.cfg with this content
> "
> config_opts['releasever'] = '9'
> config_opts['target_arch'] = 'x86_64'
> config_opts['legal_host_arches'] = ('x86_64',)
> 
> include('templates/mageia-branched.tpl')
> "
> 
> 
> what have been done upstream in mageia-branched.tpl 
> https://github.com/rpm-software-management/mock/commit/
> 039145c165ee54f7075de3f555257f353e86ddeb
> prevents mock to work

It works if you add your user to mock group ,close and start session again or reboot ?

I understand that upstream decide to remove the extra configs https://github.com/rpm-software-management/mock/pull/1052#issuecomment-1505283197
Comment 26 katnatek 2023-09-19 01:25:08 CEST
(In reply to katnatek from comment #25)
> (In reply to Philippe Didier from comment #22)

> It works if you add your user to mock group ,close and start session again
> or reboot ?
> 
> I understand that upstream decide to remove the extra configs
> https://github.com/rpm-software-management/mock/pull/1052#issuecomment-
> 1505283197

https://rpm-software-management.github.io/mock/#setup
Comment 27 Philippe Didier 2023-09-19 11:24:20 CEST
Hi katnatek

Thanks for your messages

Indeed, I have been using mock for years, and of course my user is added in mock group ( before providing rpms or updated rpms for Cauldron and Mageia7 and Mageia8 I build them locally and test them locally)

Mock worked perfectly until I use it inside Mageia9 :
I have had to use this workaround https://bugs.mageia.org/show_bug.cgi?id=32230#c2

David waited for a correction from UPSTREAM before providing this updates
mock-core-configs-39.1-1.mga9.noarch.rpm
mock-mageia-configs-9-1.mga9.noarch.rpm

Unfortunately these updates from upstream bring also the modification brought by this commit :
https://github.com/rpm-software-management/mock/commit/039145c165ee54f7075de3f555257f353e86ddeb

removing this line :
config_opts['useradd'] = '/usr/sbin/useradd -o -m -u {{chrootuid}} -g {{chrootgid}} -d {{chroothome}} {{chrootuser}}'

Without this line mock can't work anymore

NB perhaps this commit from UPSTREAM is intended to work with mock 4.0 and not mock 3.5 
would it be necessary to update mock too to 4.0 to verify if mock works without this line
Comment 28 Philippe Didier 2023-09-19 11:51:16 CEST
PS 
the explanation of this commit
https://github.com/rpm-software-management/mock/commit/039145c165ee54f7075de3f555257f353e86ddeb

is not clear : it refers to a previous commit but not precising which one :
the previous one
https://github.com/rpm-software-management/mock/commit/c0e5b85beaae6226047119f4754ebc8a8565aae6
 only replaced a n by a N in the line that the later suppressed !
Comment 29 katnatek 2023-09-19 17:55:09 CEST
(In reply to Philippe Didier from comment #28)
> PS 
> the explanation of this commit
> https://github.com/rpm-software-management/mock/commit/
> 039145c165ee54f7075de3f555257f353e86ddeb
> 
> is not clear : it refers to a previous commit but not precising which one :
> the previous one
> https://github.com/rpm-software-management/mock/commit/
> c0e5b85beaae6226047119f4754ebc8a8565aae6
>  only replaced a n by a N in the line that the later suppressed !

i not sure but i see in the test make in this bug mock is in 3.5 version and upstream has eve released a bugfix release of version 5.1 https://rpm-software-management.github.io/mock/Release-Notes-5.1.1
katnatek 2023-09-19 18:08:42 CEST

Source RPM: mock-core-configs => mock-core-configs,mock

Comment 30 Philippe Didier 2023-09-19 20:14:09 CEST
That's what I wondered in
https://bugs.mageia.org/show_bug.cgi?id=32230#c27

NB perhaps this commit from UPSTREAM is intended to work with mock 4.0 and not mock 3.5 
would it be necessary to update mock too to 4.0 to verify if mock works without this line



Need to test the triple updates :
mock-core-configs-39.1-1.mga9.noarch.rpm
mock-mageia-configs-9-1.mga9.noarch.rpm
and mock >= 4.0
Comment 31 katnatek 2023-09-20 00:47:49 CEST
(In reply to Philippe Didier from comment #30)
Please reinstall the update testing packages from mageia

Download and install all this packages
https://ftp.blogdrake.net/RPMS/tmp/python3-backoff-2.2.1-0.1bdk_mga9.noarch.rpm
https://ftp.blogdrake.net/RPMS/tmp/mock-5.1.1-0.1bdk_mga9.noarch.rpm
https://ftp.blogdrake.net/RPMS/tmp/mock-filesystem-5.1.1-0.1bdk_mga9.noarch.rpm

Test again, lets see if works because at build of mock one test fail but the packages finish without issues

======================================================== test session starts ========================================================
platform linux -- Python 3.10.11, pytest-7.1.3, pluggy-1.0.0
rootdir: /home/katnatek/rpm/BUILD/mock-5.1.1-1
collected 16 items                                                                                                                  

tests/test_buildroot.py .                                                                                                     [  6%]
tests/test_config_templates.py ..x...                                                                                         [ 43%]
tests/test_package_manager.py .........                                                                                       [100%]

=================================================== 15 passed, 1 xfailed in 4.18s ===================================================
Comment 32 Philippe Didier 2023-09-20 09:59:12 CEST
(In reply to katnatek from comment #31)
> (In reply to Philippe Didier from comment #30)
> Please reinstall the update testing packages from mageia
> 
> Download and install all this packages
> https://ftp.blogdrake.net/RPMS/tmp/python3-backoff-2.2.1-0.1bdk_mga9.noarch.
> rpm
> https://ftp.blogdrake.net/RPMS/tmp/mock-5.1.1-0.1bdk_mga9.noarch.rpm
> https://ftp.blogdrake.net/RPMS/tmp/mock-filesystem-5.1.1-0.1bdk_mga9.noarch.
> rpm
> 
> Test again, lets see if works because at build of mock one test fail but the
> packages finish without issues
> 
> ======================================================== test session starts
> ========================================================
> platform linux -- Python 3.10.11, pytest-7.1.3, pluggy-1.0.0
> rootdir: /home/katnatek/rpm/BUILD/mock-5.1.1-1
> collected 16 items                                                          
> 
> 
> tests/test_buildroot.py .                                                   
> [  6%]
> tests/test_config_templates.py ..x...                                       
> [ 43%]
> tests/test_package_manager.py .........                                     
> [100%]
> 
> =================================================== 15 passed, 1 xfailed in
> 4.18s ===================================================


Hi

I did install
https://ftp.blogdrake.net/RPMS/tmp/python3-backoff-2.2.1-0.1bdk_mga9.noarch.rpm
https://ftp.blogdrake.net/RPMS/tmp/mock-5.1.1-0.1bdk_mga9.noarch.rpm
https://ftp.blogdrake.net/RPMS/tmp/mock-filesystem-5.1.1-0.1bdk_mga9.noarch.rpm

besides 
mock-core-configs-39.1-1.mga9.noarch.rpm
mock-mageia-configs-9-1.mga9.noarch.rpm
from Mageia9/core/updates-testing/

NB
I installed those 5 packages updating the rpms from Mageia9/core/release


It's OK now
mock can be used correctly :
 when trying to use mock for Mageia9 or Mageia8, or even cauldron mock creates 
/var/lib/mock/mageia-8-x86_64/root/builddir/
or
/var/lib/mock/mageia-9-x86_64/root/builddir/
or
/var/lib/mock/mageia-cauldron-x86_64/root/builddir/


I can now VALIDATE
mock-core-configs-39.1-1.mga9.noarch.rpm
mock-mageia-configs-9-1.mga9.noarch.rpm
which create the correct Mageia9*.cfg files
ONLY IF YOU USE
mock-5.1.1-0.1bdk_mga9.noarch
mock-filesystem-5.1.1-0.1bdk_mga9.noarch
python3-backoff-2.2.1-0.1bdk_mga9.noarch
that katnatek provided

@ katnatek
if David Geiger and Wally are OK for this  you may submit

mock-5.1.1-0.1bdk_mga9.noarch
mock-filesystem-5.1.1-0.1bdk_mga9.noarch
python3-backoff-2.2.1-0.1bdk_mga9.noarch

for Cauldron and for Mageia9 updates-testing

or at list provide to  David and Wally the specs for
 mock-5.1.1 and 
python3-backoff-2.2.1 
by attaching their specs to this bug report
So that they submit this themselves
Philippe Didier 2023-09-20 11:12:59 CEST

Summary: all mock config files etc/mock/mageia-9*. cfg still are for cauldron => Needed updates : mock-core-configs srpm to 39-1 , mock-mageia-config srpm to9 ; and mock srpm to 5.1 inside Mageia9 and Cauldron

Philippe Didier 2023-09-20 11:15:07 CEST

Status comment: UPSTREAM => corrected UPSTREAM update needed to latest versions

Comment 33 katnatek 2023-09-20 20:16:59 CEST
(In reply to Philippe Didier from comment #32)
> 
> @ katnatek
> if David Geiger and Wally are OK for this  you may submit
> 
I'm not official packager so i assign again this to daviv who maybe is already on it because the python package i backported is packaged for him

> mock-5.1.1-0.1bdk_mga9.noarch
> mock-filesystem-5.1.1-0.1bdk_mga9.noarch
> python3-backoff-2.2.1-0.1bdk_mga9.noarch
> 
> for Cauldron and for Mageia9 updates-testing
> 
> or at list provide to  David and Wally the specs for
>  mock-5.1.1 and 
> python3-backoff-2.2.1 
> by attaching their specs to this bug report
> So that they submit this themselves

I could attach the spec or diff but i not sure if is diff old new or diff new old

Assignee: qa-bugs => geiger.david68210

Comment 34 katnatek 2023-09-20 20:21:40 CEST
Created attachment 14002 [details]
spec used to build mock 5.1.1
Comment 35 Philippe Didier 2023-09-21 09:52:18 CEST
I have just seen that David has updated the spec for mock to 5.1 inside the svn on sunday september 17th

But this has not been submitted to the BS 
neither for Cauldron/core/release 
nor for Mageia9/core/updates-testing
(mock srpm is always 3.5-1 version in Cauldron...)

@ David
Please submit mock to the BS so that we really can test it with a real Mageia9 rpm
Comment 36 David GEIGER 2023-09-21 22:15:53 CEST
New updated list:

Packages in 9/Core/Updates_testing:
======================
mock-core-configs-39.1-1.mga9.noarch.rpm
mock-mageia-configs-9-1.mga9.noarch.rpm
mock-filesystem-5.1.1-1.mga9.noarch.rpm
mock-lvm-5.1.1-1.mga9.noarch.rpm
mock-scm-5.1.1-1.mga9.noarch.rpm
mock-5.1.1-1.mga9.noarch.rpm

Frpm SRPMS:
mock-core-configs-39.1-1.mga9.src.rpm
mock-mageia-configs-9-1.mga9.src.rpm
mock-5.1.1-1.mga9.src.rpm
Comment 37 David GEIGER 2023-09-21 22:24:56 CEST
hmmm! forgot one (python-backoff)


Packages in 9/Core/Updates_testing:
======================
mock-core-configs-39.1-1.mga9.noarch.rpm
mock-mageia-configs-9-1.mga9.noarch.rpm
mock-filesystem-5.1.1-1.mga9.noarch.rpm
mock-lvm-5.1.1-1.mga9.noarch.rpm
mock-scm-5.1.1-1.mga9.noarch.rpm
mock-5.1.1-1.mga9.noarch.rpm
python3-backoff-2.2.1-1.mga9.noarch.rpm

Frpm SRPMS:
mock-core-configs-39.1-1.mga9.src.rpm
mock-mageia-configs-9-1.mga9.src.rpm
mock-5.1.1-1.mga9.src.rpm
python-backoff-2.2.1-1.mga9.noarch.rpm
Comment 38 katnatek 2023-09-22 00:05:34 CEST
(In reply to David GEIGER from comment #37)
> hmmm! forgot one (python-backoff)
> 
> 
> Packages in 9/Core/Updates_testing:
> ======================
> mock-core-configs-39.1-1.mga9.noarch.rpm
> mock-mageia-configs-9-1.mga9.noarch.rpm
> mock-filesystem-5.1.1-1.mga9.noarch.rpm
> mock-lvm-5.1.1-1.mga9.noarch.rpm
> mock-scm-5.1.1-1.mga9.noarch.rpm
> mock-5.1.1-1.mga9.noarch.rpm
> python3-backoff-2.2.1-1.mga9.noarch.rpm
> 
> Frpm SRPMS:
> mock-core-configs-39.1-1.mga9.src.rpm
> mock-mageia-configs-9-1.mga9.src.rpm
> mock-5.1.1-1.mga9.src.rpm
> python-backoff-2.2.1-1.mga9.noarch.rpm

mock is not yet in princeton , i will back later
Comment 39 katnatek 2023-09-22 01:10:51 CEST
Install mock-core-configs-39.1-1.mga9.noarch.rpm mock-mageia-configs-9-1.mga9.noarch.rpm mock-filesystem-5.1.1-1.mga9.noarch.rpm mock-5.1.1-1.mga9.noarch.rpm python-backoff-2.2.1-1.mga9.noarch.rpm and related requires

Add my user to mock group, create ~/.config/mock.cfg to use folder with more space

Rebuild one of my src.rpm for mageia 8 and mageia 9 all done right, just see

Error: Missing /usr/lib64/gconv/gconv-modules.cache file.nFinish: installing minimal buildroot with dnf

If the message is not important i validate the update for Mageia 9 x86_64
Comment 40 katnatek 2023-09-22 01:24:02 CEST
Its interesting even if are in your home you can't delete mock basedir and cache
Comment 41 katnatek 2023-09-22 01:45:12 CEST
(In reply to katnatek from comment #39)
> Install mock-core-configs-39.1-1.mga9.noarch.rpm
> mock-mageia-configs-9-1.mga9.noarch.rpm
> mock-filesystem-5.1.1-1.mga9.noarch.rpm mock-5.1.1-1.mga9.noarch.rpm
> python-backoff-2.2.1-1.mga9.noarch.rpm and related requires
> 
> Add my user to mock group, create ~/.config/mock.cfg to use folder with more
> space
> 
> Rebuild one of my src.rpm for mageia 8 and mageia 9 all done right, just see
> 
> Error: Missing /usr/lib64/gconv/gconv-modules.cache file.nFinish: installing
> minimal buildroot with dnf
> 
> If the message is not important i validate the update for Mageia 9 x86_64

ok the message is by https://bugs.mageia.org/show_bug.cgi?id=31909 , so not a thing related to this bug
Comment 42 katnatek 2023-09-22 02:04:18 CEST
Again to QA for validation

Assignee: geiger.david68210 => qa-bugs

Comment 43 Philippe Didier 2023-09-22 12:20:44 CEST
Hi David and katnatek and QA team

I installed 
mock-core-configs-39.1-1.mga9.noarch.rpm
mock-mageia-configs-9-1.mga9.noarch.rpm
mock-filesystem-5.1.1-1.mga9.noarch.rpm
mock-5.1.1-1.mga9.noarch.rpm
python3-backoff-2.2.1-1.mga9.noarch.rpm

as updates of the rpms from core/release

Tested mock to build a rpm from sources and spec file
Everything works well

I added 
mock-lvm-5.1.1-1.mga9.noarch.rpm
mock-scm-5.1.1-1.mga9.noarch.rpm
which I had never installed nor used before


Tested mock to build a rpm from sources and spec file
Everything works well too

I think that 

THESE PACKAGES CAN BE VALIDATED
Packages in 9/Core/Updates_testing:
======================
mock-core-configs-39.1-1.mga9.noarch.rpm
mock-mageia-configs-9-1.mga9.noarch.rpm
mock-filesystem-5.1.1-1.mga9.noarch.rpm
mock-lvm-5.1.1-1.mga9.noarch.rpm
mock-scm-5.1.1-1.mga9.noarch.rpm
mock-5.1.1-1.mga9.noarch.rpm

Frpm SRPMS:
mock-core-configs-39.1-1.mga9.src.rpm
mock-mageia-configs-9-1.mga9.src.rpm
mock-5.1.1-1.mga9.src.rpm


Many thanks to David Geiger and katnatek
Philippe Didier 2023-09-22 12:22:29 CEST

Source RPM: mock-core-configs,mock => mock-core-configs, mock-mageia-configs, mock

Comment 44 Philippe Didier 2023-09-22 14:24:23 CEST
Perhaps this needs a new bug as 
Update Request 
to ring the bell for QA 
?
Comment 45 katnatek 2023-09-22 18:21:53 CEST
(In reply to Philippe Didier from comment #43)
> 
> I added 
> mock-lvm-5.1.1-1.mga9.noarch.rpm
> mock-scm-5.1.1-1.mga9.noarch.rpm
> which I had never installed nor used before

This two are , one specific type of builds and other for caching buildroots, is not necessary for regular builds from specs and srpms

https://rpm-software-management.github.io/mock/Plugin-Scm
https://rpm-software-management.github.io/mock/Plugin-LvmRoot
Comment 46 katnatek 2023-09-22 18:50:20 CEST
I think the metadata for urpmi is not updated in Core Updates Testing
I test on i586 system switching to distrib-coffe as mirror , enable Core Updates Testing and 

urpmi mock mock-core-configs mock-mageia-configs

fetch the 3.5 version of mock and mock-filesystem, i download by hand and return with test results
Comment 47 katnatek 2023-09-22 19:11:46 CEST
Works on Mageia 9 i586 rebuilding one of my srpms for mageia-9-i586
I not sure how to test the scm and lvm plugins but can this testing be promoted to official and fix this bug ?
Comment 48 Dave Hodgins 2023-09-22 20:08:24 CEST
Sorry, with all of the back and forth discussions I'm still not clear it
still needs further changes or is ready to be tested and if passed, validated
and pushed to the updates repos.
Comment 49 Philippe Didier 2023-09-22 20:19:03 CEST
(In reply to Dave Hodgins from comment #48)
> Sorry, with all of the back and forth discussions I'm still not clear it
> still needs further changes or is ready to be tested and if passed, validated
> and pushed to the updates repos.

Hi Dave

You're right it's becoming a long bug report

Nevertheless, finally everything is OK now !
That's why I proposed to create a new short bug asking only an Update Request
https://bugs.mageia.org/show_bug.cgi?id=32230#c44
eventually referring to this present bug
https://bugs.mageia.org/show_bug.cgi?id=32230

What do you think ?
Comment 50 Philippe Didier 2023-09-22 20:23:51 CEST
something like that

Update Request 
(bugfix correcting this https://bugs.mageia.org/show_bug.cgi?id=32230)

Packages in 9/Core/Updates_testing:
======================
mock-core-configs-39.1-1.mga9.noarch.rpm
mock-mageia-configs-9-1.mga9.noarch.rpm
mock-filesystem-5.1.1-1.mga9.noarch.rpm
mock-lvm-5.1.1-1.mga9.noarch.rpm
mock-scm-5.1.1-1.mga9.noarch.rpm
mock-5.1.1-1.mga9.noarch.rpm

Frpm SRPMS:
mock-core-configs-39.1-1.mga9.src.rpm
mock-mageia-configs-9-1.mga9.src.rpm
mock-5.1.1-1.mga9.src.rpm
Comment 51 Philippe Didier 2023-09-22 20:25:58 CEST
sorry forgot one rpm :


Update Request 
(bugfix correcting this https://bugs.mageia.org/show_bug.cgi?id=32230)

Packages in 9/Core/Updates_testing:
======================
mock-core-configs-39.1-1.mga9.noarch.rpm
mock-mageia-configs-9-1.mga9.noarch.rpm
mock-filesystem-5.1.1-1.mga9.noarch.rpm
mock-lvm-5.1.1-1.mga9.noarch.rpm
mock-scm-5.1.1-1.mga9.noarch.rpm
mock-5.1.1-1.mga9.noarch.rpm
python3-backoff-2.2.1-1.mga9.noarch.rpm

Frpm SRPMS:
mock-core-configs-39.1-1.mga9.src.rpm
mock-mageia-configs-9-1.mga9.src.rpm
mock-5.1.1-1.mga9.src.rpm
python-backoff-2.2.1-1.mga9.noarch.rpm
Comment 52 katnatek 2023-09-22 20:34:20 CEST
(In reply to Dave Hodgins from comment #48)
> Sorry, with all of the back and forth discussions I'm still not clear it
> still needs further changes or is ready to be tested and if passed, validated
> and pushed to the updates repos.

No more changes is needed with all of the rpms in comment#37 (but urpmi fetch some other rpms in testing related to qemu see comment#14), i test on Mageia 9 i586 and x86_64, and reporter tested also , i just have to manually install the  mock and mock-filesystem version 5.1.1 because urpmi fetch the 3.5 version but maybe is due a not fully updated metadata because python-backoff is fetch as require for mock 5.1.1 as expected
Philippe Didier 2023-09-23 14:47:50 CEST

Whiteboard: (none) => MGA9-64-OK MGA9-32-OK

Comment 53 Philippe Didier 2023-09-23 14:50:54 CEST
 MGA9-64-OK MGA9-32-OK added on the whiteboard
as katnatek and me have deeply tested these updates : Mock now perfectly working
Comment 54 katnatek 2023-09-23 21:48:27 CEST
Actually metadata for urpmi in Core Updates Testing is updated, test installation fetch all the expected rpms and the qemu also

 LC_ALL=C urpmi --test mock
The following package has to be removed for others to be upgraded:
urpmi-debuginfo-install-12.1-7.mga9.noarch
 (due to conflicts with dnf-utils)
(test only, removal will not be actually done) (y/N) y
To satisfy dependencies, the following packages are going to be installed:
(test only, installation will not be actually done)
  Package                        Version      Release       Arch    
(medium "Core Release")
  distribution-gpg-keys          1.89         1.mga9        noarch  
  pigz                           2.7          1.mga9        x86_64  
  procenv                        0.60         2.mga9        x86_64  (recommended)
  python3-babel                  2.10.3       1.mga9        noarch  
  python3-jinja2                 3.1.2        1.mga9        noarch  
  python3-markupsafe             2.1.1        1.mga9        x86_64  
  python3-pyroute2               0.7.2        2.mga9        noarch  
  python3-pytz                   2023.3       1.mga9        noarch  
  python3-templated-dictionary   1.1          6.mga9        noarch  
  yum-utils                      4.3.1        1.mga9        noarch  (recommended)
(medium "Core Updates Testing")
  mock                           5.1.1        1.mga9        noarch  
  mock-core-configs              39.1         1.mga9        noarch  
  mock-filesystem                5.1.1        1.mga9        noarch  
  mock-mageia-configs            9            1.mga9        noarch  (recommended)
  python3-backoff                2.2.1        1.mga9        noarch  
  qemu-user-static               7.2.5        1.mga9        x86_64  (recommended)
  qemu-user-static-aarch64       7.2.5        1.mga9        x86_64  (recommended)
  qemu-user-static-alpha         7.2.5        1.mga9        x86_64  (recommended)
  qemu-user-static-arm           7.2.5        1.mga9        x86_64  (recommended)
  qemu-user-static-cris          7.2.5        1.mga9        x86_64  (recommended)
  qemu-user-static-hexagon       7.2.5        1.mga9        x86_64  (recommended)
  qemu-user-static-hppa          7.2.5        1.mga9        x86_64  (recommended)
  qemu-user-static-loongarch64   7.2.5        1.mga9        x86_64  (recommended)
  qemu-user-static-m68k          7.2.5        1.mga9        x86_64  (recommended)
  qemu-user-static-microblaze    7.2.5        1.mga9        x86_64  (recommended)
  qemu-user-static-mips          7.2.5        1.mga9        x86_64  (recommended)
  qemu-user-static-nios2         7.2.5        1.mga9        x86_64  (recommended)
  qemu-user-static-or1k          7.2.5        1.mga9        x86_64  (recommended)
  qemu-user-static-ppc           7.2.5        1.mga9        x86_64  (recommended)
  qemu-user-static-riscv         7.2.5        1.mga9        x86_64  (recommended)
  qemu-user-static-s390x         7.2.5        1.mga9        x86_64  (recommended)
  qemu-user-static-sh4           7.2.5        1.mga9        x86_64  (recommended)
  qemu-user-static-sparc         7.2.5        1.mga9        x86_64  (recommended)
  qemu-user-static-x86           7.2.5        1.mga9        x86_64  (recommended)
  qemu-user-static-xtensa        7.2.5        1.mga9        x86_64  (recommended)
190MB of additional disk space will be used.
38MB of packages will be retrieved.
Proceed with the installation of the 35 packages? (Y/n) y


    https://mirror.math.princeton.edu/pub/mageia/distrib/9/x86_64/media/core/release/python3-pytz-2023.3-1.mga9.noarch.rpm
    https://mirror.math.princeton.edu/pub/mageia/distrib/9/x86_64/media/core/release/python3-markupsafe-2.1.1-1.mga9.x86_64.rpm     
    https://mirror.math.princeton.edu/pub/mageia/distrib/9/x86_64/media/core/release/procenv-0.60-2.mga9.x86_64.rpm                 
    https://mirror.math.princeton.edu/pub/mageia/distrib/9/x86_64/media/core/release/python3-pyroute2-0.7.2-2.mga9.noarch.rpm       
    https://mirror.math.princeton.edu/pub/mageia/distrib/9/x86_64/media/core/release/python3-babel-2.10.3-1.mga9.noarch.rpm         
    https://mirror.math.princeton.edu/pub/mageia/distrib/9/x86_64/media/core/release/yum-utils-4.3.1-1.mga9.noarch.rpm              
    https://mirror.math.princeton.edu/pub/mageia/distrib/9/x86_64/media/core/release/python3-templated-dictionary-1.1-6.mga9.noarch.rpm
    https://mirror.math.princeton.edu/pub/mageia/distrib/9/x86_64/media/core/release/pigz-2.7-1.mga9.x86_64.rpm                     
    https://mirror.math.princeton.edu/pub/mageia/distrib/9/x86_64/media/core/release/python3-jinja2-3.1.2-1.mga9.noarch.rpm         
    https://mirror.math.princeton.edu/pub/mageia/distrib/9/x86_64/media/core/release/distribution-gpg-keys-1.89-1.mga9.noarch.rpm   
    https://mirror.math.princeton.edu/pub/mageia/distrib/9/x86_64/media/core/updates_testing/qemu-user-static-microblaze-7.2.5-1.mga9.x86_64.rpm
    https://mirror.math.princeton.edu/pub/mageia/distrib/9/x86_64/media/core/updates_testing/qemu-user-static-loongarch64-7.2.5-1.mga9.x86_64.rpm
    https://mirror.math.princeton.edu/pub/mageia/distrib/9/x86_64/media/core/updates_testing/python3-backoff-2.2.1-1.mga9.noarch.rpm
    https://mirror.math.princeton.edu/pub/mageia/distrib/9/x86_64/media/core/updates_testing/qemu-user-static-x86-7.2.5-1.mga9.x86_64.rpm
    https://mirror.math.princeton.edu/pub/mageia/distrib/9/x86_64/media/core/updates_testing/qemu-user-static-or1k-7.2.5-1.mga9.x86_64.rpm
    https://mirror.math.princeton.edu/pub/mageia/distrib/9/x86_64/media/core/updates_testing/qemu-user-static-riscv-7.2.5-1.mga9.x86_64.rpm
    https://mirror.math.princeton.edu/pub/mageia/distrib/9/x86_64/media/core/updates_testing/mock-mageia-configs-9-1.mga9.noarch.rpm
    https://mirror.math.princeton.edu/pub/mageia/distrib/9/x86_64/media/core/updates_testing/qemu-user-static-s390x-7.2.5-1.mga9.x86_64.rpm
    https://mirror.math.princeton.edu/pub/mageia/distrib/9/x86_64/media/core/updates_testing/qemu-user-static-sh4-7.2.5-1.mga9.x86_64.rpm
    https://mirror.math.princeton.edu/pub/mageia/distrib/9/x86_64/media/core/updates_testing/qemu-user-static-ppc-7.2.5-1.mga9.x86_64.rpm
    https://mirror.math.princeton.edu/pub/mageia/distrib/9/x86_64/media/core/updates_testing/qemu-user-static-mips-7.2.5-1.mga9.x86_64.rpm
    https://mirror.math.princeton.edu/pub/mageia/distrib/9/x86_64/media/core/updates_testing/mock-5.1.1-1.mga9.noarch.rpm           
    https://mirror.math.princeton.edu/pub/mageia/distrib/9/x86_64/media/core/updates_testing/qemu-user-static-arm-7.2.5-1.mga9.x86_64.rpm
    https://mirror.math.princeton.edu/pub/mageia/distrib/9/x86_64/media/core/updates_testing/qemu-user-static-7.2.5-1.mga9.x86_64.rpm
    https://mirror.math.princeton.edu/pub/mageia/distrib/9/x86_64/media/core/updates_testing/mock-core-configs-39.1-1.mga9.noarch.rpm
    https://mirror.math.princeton.edu/pub/mageia/distrib/9/x86_64/media/core/updates_testing/qemu-user-static-sparc-7.2.5-1.mga9.x86_64.rpm
    https://mirror.math.princeton.edu/pub/mageia/distrib/9/x86_64/media/core/updates_testing/qemu-user-static-hppa-7.2.5-1.mga9.x86_64.rpm
    https://mirror.math.princeton.edu/pub/mageia/distrib/9/x86_64/media/core/updates_testing/mock-filesystem-5.1.1-1.mga9.noarch.rpm
    https://mirror.math.princeton.edu/pub/mageia/distrib/9/x86_64/media/core/updates_testing/qemu-user-static-m68k-7.2.5-1.mga9.x86_64.rpm
    https://mirror.math.princeton.edu/pub/mageia/distrib/9/x86_64/media/core/updates_testing/qemu-user-static-xtensa-7.2.5-1.mga9.x86_64.rpm
    https://mirror.math.princeton.edu/pub/mageia/distrib/9/x86_64/media/core/updates_testing/qemu-user-static-hexagon-7.2.5-1.mga9.x86_64.rpm
    https://mirror.math.princeton.edu/pub/mageia/distrib/9/x86_64/media/core/updates_testing/qemu-user-static-nios2-7.2.5-1.mga9.x86_64.rpm
    https://mirror.math.princeton.edu/pub/mageia/distrib/9/x86_64/media/core/updates_testing/qemu-user-static-aarch64-7.2.5-1.mga9.x86_64.rpm
    https://mirror.math.princeton.edu/pub/mageia/distrib/9/x86_64/media/core/updates_testing/qemu-user-static-cris-7.2.5-1.mga9.x86_64.rpm
    https://mirror.math.princeton.edu/pub/mageia/distrib/9/x86_64/media/core/updates_testing/qemu-user-static-alpha-7.2.5-1.mga9.x86_64.rpm
installing mock-filesystem-5.1.1-1.mga9.noarch.rpm python3-babel-2.10.3-1.mga9.noarch.rpm qemu-user-static-m68k-7.2.5-1.mga9.x86_64.rpm qemu-user-static-hppa-7.2.5-1.mga9.x86_64.rpm qemu-user-static-hexagon-7.2.5-1.mga9.x86_64.rpm qemu-user-static-nios2-7.2.5-1.mga9.x86_64.rpm qemu-user-static-xtensa-7.2.5-1.mga9.x86_64.rpm distribution-gpg-keys-1.89-1.mga9.noarch.rpm qemu-user-static-cris-7.2.5-1.mga9.x86_64.rpm qemu-user-static-aarch64-7.2.5-1.mga9.x86_64.rpm qemu-user-static-alpha-7.2.5-1.mga9.x86_64.rpm qemu-user-static-sh4-7.2.5-1.mga9.x86_64.rpm qemu-user-static-ppc-7.2.5-1.mga9.x86_64.rpm python3-pyroute2-0.7.2-2.mga9.noarch.rpm mock-5.1.1-1.mga9.noarch.rpm qemu-user-static-mips-7.2.5-1.mga9.x86_64.rpm python3-pytz-2023.3-1.mga9.noarch.rpm qemu-user-static-7.2.5-1.mga9.x86_64.rpm qemu-user-static-arm-7.2.5-1.mga9.x86_64.rpm qemu-user-static-sparc-7.2.5-1.mga9.x86_64.rpm python3-jinja2-3.1.2-1.mga9.noarch.rpm mock-core-configs-39.1-1.mga9.noarch.rpm pigz-2.7-1.mga9.x86_64.rpm yum-utils-4.3.1-1.mga9.noarch.rpm qemu-user-static-or1k-7.2.5-1.mga9.x86_64.rpm procenv-0.60-2.mga9.x86_64.rpm qemu-user-static-riscv-7.2.5-1.mga9.x86_64.rpm mock-mageia-configs-9-1.mga9.noarch.rpm qemu-user-static-s390x-7.2.5-1.mga9.x86_64.rpm python3-templated-dictionary-1.1-6.mga9.noarch.rpm qemu-user-static-microblaze-7.2.5-1.mga9.x86_64.rpm qemu-user-static-loongarch64-7.2.5-1.mga9.x86_64.rpm python3-markupsafe-2.1.1-1.mga9.x86_64.rpm python3-backoff-2.2.1-1.mga9.noarch.rpm qemu-user-static-x86-7.2.5-1.mga9.x86_64.rpm from /var/cache/urpmi/rpms
Preparing...                     ##################################################################################################
Installation is possible
Comment 55 katnatek 2023-09-25 20:31:35 CEST
@ Rémi Verschelde i see you are helping with other stuck update on testing repository, can please give a hand here?

Advisory:
=========
Mock config files on Mageia 9 release time point to Cauldron
This update fix the issue and allow again to build rpms with mock
Reference: https://bugs.mageia.org/show_bug.cgi?id=32230

Packages in 9/Core/Updates_testing:
======================
mock-core-configs-39.1-1.mga9.noarch.rpm
mock-mageia-configs-9-1.mga9.noarch.rpm
mock-filesystem-5.1.1-1.mga9.noarch.rpm
mock-lvm-5.1.1-1.mga9.noarch.rpm
mock-scm-5.1.1-1.mga9.noarch.rpm
mock-5.1.1-1.mga9.noarch.rpm
python3-backoff-2.2.1-1.mga9.noarch.rpm

From SRPMS:
mock-core-configs-39.1-1.mga9.src.rpm
mock-mageia-configs-9-1.mga9.src.rpm
mock-5.1.1-1.mga9.src.rpm
python-backoff-2.2.1-1.mga9.src.rpm

CC: (none) => rverschelde

Comment 56 katnatek 2023-09-26 05:47:21 CEST
Advisory:
=========
Mock config files on Mageia 9 release time point to Cauldron for Mageia 9 chroots
This update fix the issue and allow again to build rpms with mock
Reference: https://bugs.mageia.org/show_bug.cgi?id=32230

Packages in 9/Core/Updates_testing:
======================
mock-core-configs-39.1-1.mga9.noarch.rpm
mock-mageia-configs-9-1.mga9.noarch.rpm
mock-filesystem-5.1.1-1.mga9.noarch.rpm
mock-lvm-5.1.1-1.mga9.noarch.rpm
mock-scm-5.1.1-1.mga9.noarch.rpm
mock-5.1.1-1.mga9.noarch.rpm
python3-backoff-2.2.1-1.mga9.noarch.rpm

From SRPMS:
mock-core-configs-39.1-1.mga9.src.rpm
mock-mageia-configs-9-1.mga9.src.rpm
mock-5.1.1-1.mga9.src.rpm
python-backoff-2.2.1-1.mga9.src.rpm
Comment 57 Marja Van Waes 2023-09-26 20:15:05 CEST
Uploaded the advisory to SVN, please check whether I did it correctly

Whiteboard: MGA9-64-OK MGA9-32-OK => MGA9-64-OK MGA9-32-OK advisory
CC: (none) => marja11
Keywords: (none) => advisory

Comment 58 katnatek 2023-09-26 20:35:30 CEST
(In reply to Marja Van Waes from comment #57)
> Uploaded the advisory to SVN, please check whether I did it correctly

Look good for me, thank you
Comment 59 Marja Van Waes 2023-09-26 21:14:54 CEST
Btw, note that this bug hasn't been validated, yet, I'll leave that for QA team
Comment 60 katnatek 2023-09-26 21:29:45 CEST
(In reply to Marja Van Waes from comment #59)
> Btw, note that this bug hasn't been validated, yet, I'll leave that for QA
> team

Can we skip that just this time please?

I'm still no be part of qa but i and reporter test the updates and  can
confirm fix the issue, and as long as we know not produce other.

And any else look interested on test, also until the issue stay not fixed, broke compatibility with fedora copr 
and opensuse build system for mageia 9 chroots
Comment 61 katnatek 2023-09-27 04:41:16 CEST
Now i am in QA Team add to cc to sysadmin 
I hope we can finally close this bug

CC: (none) => sysadmin-bugs

Comment 62 Morgan Leijström 2023-09-27 11:49:44 CEST
Relying on above :)

CC: (none) => fri
Whiteboard: MGA9-64-OK MGA9-32-OK advisory => MGA9-64-OK MGA9-32-OK
Keywords: (none) => validated_update

Comment 63 Mageia Robot 2023-09-27 18:33:32 CEST
An update for this issue has been pushed to the Mageia Updates repository.

https://advisories.mageia.org/MGAA-2023-0074.html

Status: NEW => RESOLVED
Resolution: (none) => FIXED


Note You need to log in before you can comment on or make changes to this bug.