| Summary: | Building packages in an armv7hl chroot on aarch64 produces armv8l packages | ||
|---|---|---|---|
| Product: | Mageia | Reporter: | Pascal Terjan <pterjan> |
| Component: | RPM Packages | Assignee: | Pascal Terjan <pterjan> |
| Status: | RESOLVED OLD | QA Contact: | |
| Severity: | normal | ||
| Priority: | Normal | CC: | tmb |
| Version: | 7 | ||
| Target Milestone: | --- | ||
| Hardware: | aarch64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Source RPM: | rpm-mageia-setup | CVE: | |
| Status comment: | |||
|
Description
Pascal Terjan
2019-10-16 17:55:06 CEST
Pascal Terjan
2019-10-16 17:55:32 CEST
Hardware:
All =>
aarch64 I have uploaded an updated package for Mageia 7. You can test this on an aarch64 machine which CPU implements 32 bits instructions. Suggested advisory: ======================== Updated rpm-mageia-setup to fix armv7hl chroots on aarch64 machines. There should be no changes on any other architectures. Before packages would get built for armv8l (or another version like armv8hcnl etc) instead of armv7hl. ======================== Updated packages in core/updates_testing: ======================== rpm-mageia-setup-2.39.1-1.mga7.aarch64.rpm rpm-mageia-setup-build-2.39.1-1.mga7.aarch64.rpm rpm-mageia-setup-2.39.1-1.mga7.armv7hl.rpm rpm-mageia-setup-build-2.39.1-1.mga7.armv7hl.rpm rpm-mageia-setup-2.39.1-1.mga7.i586.rpm rpm-mageia-setup-build-2.39.1-1.mga7.i586.rpm rpm-mageia-setup-2.39.1-1.mga7.x86_64.rpm rpm-mageia-setup-build-2.39.1-1.mga7.x86_64.rpm Source RPMs: rpm-mageia-setup-2.39.1-1.mga7.src.rpm I'm not sure any in QA have aarch64 so the "easy way" to test is to install on infra and keep the builds running... CC:
(none) =>
tmb I kept it assigned to me as I'll be doing the testing :) Actually it's even worse as packages get named @armv8canontargetcpu@. Building a package without updates_testing: $ iurt --copy_srpm --group --no_rsync --chrooted-urpmi -m "core/release" "core/updates" -- http://repository.mageia.org/distrib/ -p pterjan -r 7 armv7hl perl-XS-Object-Magic-0.40.0-4.mga8.src.rpm $ find /home/iurt/iurt/7/armv7hl/ -name '*.rpm' /home/iurt/iurt/7/armv7hl/perl-XS-Object-Magic-0.40.0-4.mga7.@armv8canontargetcpu@.rpm /home/iurt/iurt/7/armv7hl/perl-XS-Object-Magic-0.40.0-4.mga7.src.rpm /home/iurt/iurt/7/armv7hl/perl-XS-Object-Magic-debuginfo-0.40.0-4.mga7.@armv8canontargetcpu@.rpm /home/iurt/iurt/7/armv7hl/perl-XS-Object-Magic-debugsource-0.40.0-4.mga7.@armv8canontargetcpu@.rpm /home/iurt/iurt/7/armv7hl/log/perl-XS-Object-Magic-0.40.0-4.mga7.src.rpm Building a package with also updates_testing: $ iurt --copy_srpm --group --no_rsync --chrooted-urpmi -m "core/release" "core/updates" "core/updates_testing" -- http://repository.mageia.org/distrib/ -p pterjan -r 7 armv7hl perl-XS-Object-Magic-0.40.0-4.mga8.src.rpm $ find /home/iurt/iurt/7/ -name '*.rpm' /home/iurt/iurt/7/armv7hl/perl-XS-Object-Magic-0.40.0-4.mga7.@armv8canontargetcpu@.rpm /home/iurt/iurt/7/armv7hl/perl-XS-Object-Magic-0.40.0-4.mga7.src.rpm /home/iurt/iurt/7/armv7hl/perl-XS-Object-Magic-debuginfo-0.40.0-4.mga7.@armv8canontargetcpu@.rpm /home/iurt/iurt/7/armv7hl/perl-XS-Object-Magic-debugsource-0.40.0-4.mga7.@armv8canontargetcpu@.rpm /home/iurt/iurt/7/armv7hl/log/perl-XS-Object-Magic-0.40.0-4.mga7.src.rpm It was because base packages don't get updated when adding extra media :( After changing iurt config to use updates_testing to create the chroot when building for 7: $ find /home/iurt/iurt/7/ -name '*.rpm' /home/iurt/iurt/7/armv7hl/perl-XS-Object-Magic-debugsource-0.40.0-4.mga7.armv7hl.rpm /home/iurt/iurt/7/armv7hl/perl-XS-Object-Magic-debuginfo-0.40.0-4.mga7.armv7hl.rpm /home/iurt/iurt/7/armv7hl/perl-XS-Object-Magic-0.40.0-4.mga7.src.rpm /home/iurt/iurt/7/armv7hl/perl-XS-Object-Magic-0.40.0-4.mga7.armv7hl.rpm /home/iurt/iurt/7/armv7hl/log/perl-XS-Object-Magic-0.40.0-4.mga7.src.rpm Mageia 7 is EOL since July 1st 2021. There will not have any further bugfix for this release. You are encouraged to upgrade to Mageia 8 as soon as possible. @reporter, if this bug still apply with Mageia 8, please let us know it. @packager, if you work on the Mageia 7 version of your package, please check the Mageia 8 package if issue is also present. In this case, please fix the Mageia 8 version instead. This bug report will be closed OLD if there is no further notice within 1st September 2021. Hi bug reporter and hi assignee and others involved, Please reopen this bug report if it is still valid for Mageia 8 or 9(cauldron), and change "Version:" in the upper left of this report accordingly. This report is being closed as OLD because it was filed against Mageia 7, for which support ended on June 30th 2021. Thanks, Marja Resolution:
(none) =>
OLD |