| Summary: | UPDATE REQUEST for mock-core-configs | ||
|---|---|---|---|
| Product: | Mageia | Reporter: | Philippe Didier <philippedidier> |
| Component: | RPM Packages | Assignee: | QA Team <qa-bugs> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | Normal | CC: | andrewsfarm, geiger.david68210, j.alberto.vc, jani.valimaa, marja11, sysadmin-bugs, tarazed25 |
| Version: | 9 | Keywords: | advisory, validated_update |
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| See Also: | https://bugs.mageia.org/show_bug.cgi?id=32620 | ||
| Whiteboard: | MGA9-64-OK | ||
| Source RPM: | mock, mock-core-configs-39.1-1.mga9 | CVE: | |
| Status comment: | |||
| Attachments: |
Suggested advisory
Suggested advisory for the failure to build rpms for ARM arches bug Suggested advisory for the failure to build rpms for ARM arches bug Fixed advisory Updated advisory |
||
|
Description
Philippe Didier
2024-02-08 11:57:23 CET
Philippe Didier
2024-02-08 11:57:45 CET
See Also:
(none) =>
https://bugs.mageia.org/show_bug.cgi?id=32620
Philippe Didier
2024-02-08 11:59:19 CET
CC:
(none) =>
geiger.david68210, j.alberto.vc, jani.valimaa Created attachment 14347 [details]
Suggested advisory
katnatek
2024-02-09 00:26:19 CET
CC:
(none) =>
marja11, tarazed25 @Marja and Len, I still can't upload this myself, please do it for me Tested in real hardware mageia 9 x86_64
Try to rebuild one of my src.rpms
mock -r mageia-9-aarch64 --rebuild /home/katnatek/repositorio/mageia/mageia9/free/SRPMS/evdi-1.14.1-1bdk_mga9.src.rpm --resultdir /home/katnatek/rpm/RPMS/x86_64/
last lines of the output
ERROR: Exception(/home/katnatek/repositorio/mageia/mageia9/free/SRPMS/evdi-1.14.1-1bdk_mga9.src.rpm) Config(mageia-9-aarch64) 0 minutes 37 seconds
INFO: Results and/or logs in: /home/katnatek/rpm/RPMS/x86_64/
INFO: Cleaning up build root ('cleanup_on_failure=True')
Start: clean chroot
Finish: clean chroot
ERROR: Command failed:
# /usr/bin/dnf-3 --installroot /home/katnatek/mock/mageia-9-aarch64-bootstrap/root/ --releasever 9 --setopt=deltarpm=False --setopt=allow_vendor_change=yes --allowerasing --disableplugin=local --disableplugin=spacewalk --disableplugin=versionlock install python3-dnf python3-dnf-plugins-core
No matches found for the following disable plugin patterns: local, spacewalk, versionlock
determining the fastest mirror (10 hosts).. done.
Mageia 9 - aarch64 2.3 MB/s | 35 MB 00:15
determining the fastest mirror (6 hosts).. done.
Mageia 9 - aarch64 - Updates 1.3 MB/s | 7.8 MB 00:05
Last metadata expiration check: 0:00:05 ago on Thu Feb 8 18:55:30 2024.
Error:
Problem 1: conflicting requests
- nothing provides python3-libcomps >= 0.1.8 needed by python3-dnf-4.14.0-1.mga9.noarch from mageia
- nothing provides python3-libdnf >= 0.66.0 needed by python3-dnf-4.14.0-1.mga9.noarch from mageia
- nothing provides python3-libmodulemd >= 2.9.3 needed by python3-dnf-4.14.0-1.mga9.noarch from mageia
- nothing provides python3-rpm >= 4.14.0 needed by python3-dnf-4.14.0-1.mga9.noarch from mageia
- nothing provides deltarpm needed by python3-dnf-4.14.0-1.mga9.noarch from mageia
- nothing provides python3-gpg needed by python3-dnf-4.14.0-1.mga9.noarch from mageia
- nothing provides python(abi) = 3.10 needed by python3-dnf-4.14.0-1.mga9.noarch from mageia
- nothing provides python3-hawkey >= 0.66.0 needed by python3-dnf-4.14.0-1.mga9.noarch from mageia
Problem 2: conflicting requests
- nothing provides python3-dbus needed by python3-dnf-plugins-core-4.3.1-1.mga9.noarch from mageia
- nothing provides python(abi) = 3.10 needed by python3-dnf-plugins-core-4.3.1-1.mga9.noarch from mageia
- nothing provides python3-hawkey >= 0.64.0 needed by python3-dnf-plugins-core-4.3.1-1.mga9.noarch from mageia
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)
Updated to testing packages
Test again, final lines
Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/evdi-1.14.1-1.mga9.aarch64
Wrote: /builddir/build/RPMS/lib64evdi-1.14.1-1.mga9.aarch64.rpm
Wrote: /builddir/build/RPMS/lib64evdi-debuginfo-1.14.1-1.mga9.aarch64.rpm
Wrote: /builddir/build/RPMS/evdi-debugsource-1.14.1-1.mga9.aarch64.rpm
Wrote: /builddir/build/RPMS/evdi-debuginfo-1.14.1-1.mga9.aarch64.rpm
Wrote: /builddir/build/RPMS/dkms-evdi-1.14.1-1.mga9.aarch64.rpm
Wrote: /builddir/build/RPMS/lib64evdi-devel-1.14.1-1.mga9.aarch64.rpm
Wrote: /builddir/build/RPMS/python-evdi-1.14.1-1.mga9.aarch64.rpm
Wrote: /builddir/build/RPMS/python-evdi-debuginfo-1.14.1-1.mga9.aarch64.rpm
Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.pHtE9Z
+ umask 022
+ cd /builddir/build/BUILD
+ cd evdi-1.14.1
+ /usr/bin/rm -rf /builddir/build/BUILDROOT/evdi-1.14.1-1.mga9.aarch64
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.Lx06Sk
+ umask 022
+ cd /builddir/build/BUILD
+ rm -rf evdi-1.14.1 evdi-1.14.1.gemspec
+ RPM_EC=0
++ jobs -p
+ exit 0
Finish: rpmbuild evdi-1.14.1-1bdk_mga9.src.rpm
Finish: build phase for evdi-1.14.1-1bdk_mga9.src.rpm
INFO: Done(/home/katnatek/repositorio/mageia/mageia9/free/SRPMS/evdi-1.14.1-1bdk_mga9.src.rpm) Config(mageia-9-aarch64) 17 minutes 26 seconds
INFO: Results and/or logs in: /home/katnatek/rpm/RPMS/x86_64/
INFO: Cleaning up build root ('cleanup_on_success=True')
Start: clean chroot
Finish: clean chroot
Finish: run
katnatek
2024-02-09 02:23:19 CET
Whiteboard:
(none) =>
MGA9-64-OK For Information This update to test has not been assigned to QA and it doesn't appear for QA here : http://madb.mageia.org/tools/updates @katnatek The attached suggested advisory contains a typo in the name : mock-core-configs-39.1-2.mga9-1.0-1.mga9 instead of mock-core-configs-39.1-2.mga9.noarch.rpm and mock-core-configs-39.1-2.mga9.src.rpm Created attachment 14348 [details]
Suggested advisory for the failure to build rpms for ARM arches bug
This is my take on this. It may need reviewing by somebody more experienced.
Not obsoleting the previous version yet.
Created attachment 14349 [details]
Suggested advisory for the failure to build rpms for ARM arches bug
This is my take on this - it may require editing by more experienced hands.
Leaving the original in place.
Hi Lew Unfortunately, your advisories have the same typo as katnatek's one : mock-core-configs-39.1-2.mga9-1.0-1.mga9 (?) instead of mock-core-configs-39.1-2.mga9 Besides this there are still these problems : This update to test has not been assigned to QA and it doesn't appear for QA here : http://madb.mageia.org/tools/updates Sorry for not noticing the error in the package name - too much hurry and too much copy and paste maybe. Created attachment 14350 [details]
Fixed advisory
Use Len's advisory and fix the src.rpm
Attachment 14349 is obsolete:
0 =>
1
katnatek
2024-02-09 19:05:39 CET
Assignee:
bugsquad =>
qa-bugs Assigned to QA, note that I already QA the update in comment#3 Please be patient, and don't rush at things. The patch added is not a proper fix, only a workaround. Proper fix from upstream pull request [1] is available in Cauldron for mock and mock-core-configs. Both patches applies cleanly also to mga9 pkgs. I'll push an update soon for testing. [1] https://github.com/rpm-software-management/mock/pull/1317 Assignee:
qa-bugs =>
bugsquad Patched mock and mock-core-configs pushed to mga9 core/updates_testing. Please test. SRPMS: mock-5.1.1-1.1.mga9 mock-core-configs-39.1-2.1.mga9 RPMS: mock-5.1.1-1.1.mga9 mock-core-configs-39.1-2.1.mga9 mock-filesystem-5.1.1-1.1.mga9 mock-lvm-5.1.1-1.1.mga9 mock-scm-5.1.1-1.1.mga9 Assignee:
bugsquad =>
qa-bugs (In reply to Jani Välimaa from comment #11) > Please be patient, and don't rush at things. The patch added is not a proper > fix, only a workaround. > > Proper fix from upstream pull request [1] is available in Cauldron for mock > and mock-core-configs. Both patches applies cleanly also to mga9 pkgs. I'll > push an update soon for testing. > > [1] https://github.com/rpm-software-management/mock/pull/1317 Hi Jani Thanks again for your perseverance Sorry to not have been patient : Indeed this comment from upstream 2 days ago : "moved this from Needs triage to Someday in future in CPT Kanban " made me think that this issue will not be taken in account before a long time ! Waiting this hypothetical correction from upstream your patch (even it was a temporary workaround) allowed at least to use mock anew... We missed this : We need to test builds for arm arches at home and eventually modify the spec or add patches so that the build succeeds instead of blindly submitting srpms to the BS and fail to build. That had not been possible for weeks inside a Mageia9 system The good news is that finally upstream showed some interest to correct this I have tested your updates It's OK for Mageia9 64bits : mock can build rpms for arm arches
Philippe Didier
2024-02-10 02:46:39 CET
Whiteboard:
(none) =>
MGA9-64-OK Validating. Keywords:
(none) =>
validated_update
Marja Van Waes
2024-02-10 21:18:38 CET
Source RPM:
mock-core-configs-39.1-1.mga9.src.rpm =>
mock, mock-core-configs-39.1-1.mga9
Marja Van Waes
2024-02-10 21:23:21 CET
Keywords:
(none) =>
advisory An update for this issue has been pushed to the Mageia Updates repository. https://advisories.mageia.org/MGAA-2024-0051.html Status:
NEW =>
RESOLVED @katnatek @jani I don't know if this needs to reopen this bug .... Today (12/02/2024 at 2pm UT) upstream has just committed a huge change inside the source to solve the https://github.com/rpm-software-management/mock/issues/1304 that was created there by Mageia : https://github.com/rpm-software-management/mock/commit/f28e3cdf66c08d4a7e02732e9abb513552fa3d27 Those are the changes I referred in comment 11, and applied to pkgs in comment 12. (In reply to Jani Välimaa from comment #18) > Those are the changes I referred in comment 11, and applied to pkgs in > comment 12. Hi Jani Sorry for the noise I have just seen the last commit in upstream Source... I had not understood that it was the same thing as your patch that had been merged Thanks again for your contribution to solve this bug for Mageia ... and for upstream ! |