Bug 33179 - Update mock configs to support Mageia 10 and Cauldron i686
Summary: Update mock configs to support Mageia 10 and Cauldron i686
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
Keywords: advisory, validated_update
Depends on:
Blocks:
 
Reported: 2024-05-03 14:52 CEST by Philippe Didier
Modified: 2024-05-09 04:41 CEST (History)
3 users (show)

See Also:
Source RPM: mock-mageia-configs,mock-core-configs
CVE:
Status comment:


Attachments

Description Philippe Didier 2024-05-03 14:52:19 CEST
Description of problem:
Since Cauldron exists for i686 and no more for i586, the rpm "mock-mageia-configs" has been updated for Cauldron (mock-mageia-configs-10-2.mga10)

But it needs to be updated for Mageia 9 too so that mock may test the build of rpms for Cauldron inside a Mageia9 system

This was already done for mock-core-configs 
for Cauldron (mock-core-configs-40.3-1.mga10) 
and Mageia9 (mock-core-configs-39.1-2.1.mga9)

Apparently the same files as in the srpm for cauldron : 
(mock-mageia-configs-10-2.mga10) 
may be used for Mageia9
Comment 1 Philippe Didier 2024-05-03 14:55:02 CEST
I think that this may be assigned to Jani (wally) who maintains the mock stuff and communicates with upstream
Philippe Didier 2024-05-03 14:55:41 CEST

CC: (none) => jani.valimaa

Comment 2 Lewis Smith 2024-05-03 20:55:04 CEST
Thank you for the report.

Jani has recently done something in this area in Cauldron; perhaps it is what you are talking about. He will understand the issue, so assigning to him.

Assignee: bugsquad => jani.valimaa

Jani Välimaa 2024-05-04 08:48:27 CEST

Summary: since cauldron exists for i686 and no more for i586 mock-mageia-configs needs to be updated for Mageia 9 => Update mock configs to support cauldron i686

Comment 3 Jani Välimaa 2024-05-04 09:06:02 CEST
Updated mock-core-configs-39.1-2.2.mga9 is available in core/updates_testing.

mock-mageia-configs will be available later.
Comment 4 Jani Välimaa 2024-05-04 13:31:42 CEST
Updated packages available for testing in core/updates_testing. New configs adds support for upcoming Mageia 10 and i686 arch.

SRPMS/RPMS:
mock-core-configs-39.1-2.2.mga9
mock-mageia-configs-9-1.1.mga9

Assignee: jani.valimaa => qa-bugs

Comment 5 Philippe Didier 2024-05-04 13:37:19 CEST Comment hidden (obsolete)

Assignee: qa-bugs => jani.valimaa

Comment 6 Philippe Didier 2024-05-04 13:38:15 CEST Comment hidden (obsolete)
Comment 7 Philippe Didier 2024-05-04 13:39:03 CEST
I'm gonna test your updates as soon as they are available in the repos
Jani Välimaa 2024-05-04 13:46:51 CEST

Assignee: jani.valimaa => qa-bugs

Jani Välimaa 2024-05-04 13:49:06 CEST

Summary: Update mock configs to support cauldron i686 => Update mock configs to support Mageia 10 and Cauldron i686

Comment 8 Philippe Didier 2024-05-04 15:02:15 CEST
Hi Jani

I uninstalled 
mock 
mock-core-configs
mock-mageia-configs
I cleaned what remained of my local workaround in /etc/mock/

I reinstalled
mock-5.1.1-1.1
mock-core-configs-39.1-2.1
mock-mageia-configs-9.1
from  core-updates repo

Then I installed your last
mock-core-configs-39.1-2.2.mga9
mock-mageia-configs-9-1.1.mga9
from core-updates-testing repo

It's OK now
Mock can build for Cauldron-i686  (Cauldron-i586 is not anymore proposed)

In /etc/mock/templates/ the three Mageia-xxx.tpl files are OK
in /etc/mock/ all the mageia-xxx.cfg files are OK

Since these are noarch files we can validate this update for all arches :o)

At least I can say MGA-64bits OK
Comment 9 katnatek 2024-05-04 19:25:55 CEST
RH mageia 9 x86_64

LC_ALL=C urpmi --auto --auto-update
medium "QA Testing (32-bit)" is up-to-date
medium "QA Testing (64-bit)" is up-to-date
medium "Core Release (distrib1)" is up-to-date
medium "Core Updates (distrib3)" is up-to-date
medium "Nonfree Release (distrib11)" is up-to-date
medium "Nonfree Updates (distrib13)" is up-to-date
medium "Tainted Release (distrib21)" is up-to-date
medium "Tainted Updates (distrib23)" is up-to-date
medium "Core 32bit Release (distrib31)" is up-to-date
medium "Core 32bit Updates (distrib32)" is up-to-date
medium "Nonfree 32bit Release (distrib36)" is up-to-date
medium "Tainted 32bit Release (distrib41)" is up-to-date
medium "Tainted 32bit Updates (distrib42)" is up-to-date


installing mock-mageia-configs-9-1.1.mga9.noarch.rpm mock-core-configs-39.1-2.2.mga9.noarch.rpm from //home/katnatek/qa-testing/x86_64
Preparing...                     ##################################################################################################
      1/2: mock-core-configs     ##################################################################################################
      2/2: mock-mageia-configs   ##################################################################################################
      1/2: removing mock-mageia-configs-9-1.mga9.noarch
                                 ##################################################################################################
      2/2: removing mock-core-configs-39.1-2.1.mga9.noarch
                                 ##################################################################################################

mock -r mageia-cauldron-i686+tab shows

mageia-cauldron-i686          mageia-cauldron-i686-nonfree  mageia-cauldron-i686-tainted 

Rebuild whatsie from blogdrake repository for cauldron i686
It works, here the final lines

Wrote: /builddir/build/RPMS/whatsie-debugsource-4.14.2-1.mga10.i686.rpm
Wrote: /builddir/build/RPMS/whatsie-debuginfo-4.14.2-1.mga10.i686.rpm
Wrote: /builddir/build/RPMS/whatsie-4.14.2-1.mga10.i686.rpm
Finish: rpmbuild whatsie-4.14.2-1bdk_mga9.src.rpm
Finish: build phase for whatsie-4.14.2-1bdk_mga9.src.rpm
INFO: Done(repositorio/mageia/9/free/SRPMS/whatsie-4.14.2-1bdk_mga9.src.rpm) Config(mageia-cauldron-i686) 20 minutes 4 seconds
INFO: Results and/or logs in: /home/katnatek/mock/mageia-cauldron-i686/result
katnatek 2024-05-05 00:07:07 CEST

CC: (none) => andrewsfarm

Comment 10 katnatek 2024-05-05 00:07:30 CEST
This looks good to me

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

katnatek 2024-05-05 00:09:47 CEST

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

katnatek 2024-05-05 00:13:38 CEST

Keywords: (none) => advisory

Comment 11 Thomas Andrews 2024-05-05 04:30:08 CEST
Validating.

Keywords: (none) => validated_update
CC: (none) => sysadmin-bugs

Comment 12 Mageia Robot 2024-05-09 04:41:24 CEST
An update for this issue has been pushed to the Mageia Updates repository.

https://advisories.mageia.org/MGAA-2024-0138.html

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


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