-
Notifications
You must be signed in to change notification settings - Fork 236
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
Mageia 8, 9 and cauldron configuration files for aarch64 and armv7hl need to be updated #1304
Comments
Nota Bene : That means 18 cfg files to modify .... |
The non-free/tainted configs are not in this repository, they are part of |
Sorry for the mistake |
During my local tests I didn't see any harm or drawbacks if only template files In that way only a few files needs to be modified and native x86_64 builds works as well as i586/armv7hl/aarch64 builds on x86_64 host. |
Even though Mageia 7 is EOL fix: - use bugfix release 7.1 as `$releasever` - mirror url as Mageia 7 mirror is only available in distrib-coffee archive - build bootstrap chroots with target arch rpm-software-management/issues/1304
Even though Mageia 7 is EOL fix: - use bugfix release 7.1 as `$releasever` - mirror url as Mageia 7 mirror is only available in distrib-coffee archive - build bootstrap chroots with target arch rpm-software-management/issues/1304
Even though Mageia 7 is EOL fix: - use bugfix release 7.1 as `$releasever` - mirror url as Mageia 7 mirror is only available in distrib-coffee archive - build bootstrap chroots with target arch (fixes rpm-software-management#1304)
Thanks to Wally for his work on this : Mock works now for Mageia-9 and Mageia-cauldron for all the arches and for all the flavors (core, nonfree and tainted) |
Thank you for the discussion here, folks! We should first identify the reason why we need to override |
Hi Wally finally found a simple workaround by adding one line in the 2 mageia templates : This modification concerns only Mageia templates and is necessary for Mageia to build rpms for arm arches ! If it is not added upstream we will need to use a patch for mageia-core-configs ! |
Maybe I need to explain better the issue, sorry bug reporting and english redaction are my kryptonite XD In Mageia 9 we can't build for aarch64 and armv7hl from x86_64 systems since the update to mock 5.1.1, so is not native build, Jani Välimaa find why https://bugs.mageia.org/show_bug.cgi?id=32620#c33 , https://bugs.mageia.org/show_bug.cgi?id=32620#c35 , https://bugs.mageia.org/show_bug.cgi?id=32620#c44 |
Even though Mageia 7 is EOL fix: - use bugfix release 7.1 as `$releasever` - mirror url as Mageia 7 mirror is only available in distrib-coffee archive - build bootstrap chroots with target arch (fixes rpm-software-management#1304)
Can it be because we are not using bootstrap image with Mageia? |
I don't think this is the reason...? bootstrap is always native, no matter if |
Is this because |
Even though Mageia 7 is EOL fix: - use bugfix release 7.1 as `$releasever` - mirror url as Mageia 7 mirror is only available in distrib-coffee archive - build bootstrap chroots with target arch (fixes rpm-software-management#1304)
I did some local tests and using In aarch64 host |
This option is used for the cases when $basearch DNF native variable doesn't work as expected in URLs. On top of this, Mock uses `repo_arch` for `man 2 personality` decisions for the bootstrap chroot installation which is supposed to be native. Closes: rpm-software-management#1317 Fixes: rpm-software-management#1304
This option is used for the cases when $basearch DNF native variable doesn't work as expected in URLs. On top of this, Mock uses `repo_arch` for `man 2 personality` decisions for the bootstrap chroot installation (supposed to be native). Closes: rpm-software-management#1317 Fixes: rpm-software-management#1304
This option is used for the cases when $basearch DNF-native variable doesn't work as expected in URLs. On top of this ^^^, Mock newly uses `repo_arch` for the `man 2 personality` decisions during the bootstrap chroot initialization (bootstrap is expected to be native). Closes: rpm-software-management#1317 Fixes: rpm-software-management#1304
This option is used for the cases when $basearch DNF-native variable doesn't work as expected in URLs. On top of this ^^^, Mock newly uses `repo_arch` for the `man 2 personality` decisions during the bootstrap chroot initialization (bootstrap is expected to be native). Closes: rpm-software-management#1317 Fixes: rpm-software-management#1304
This option is used for the cases when $basearch DNF-native variable doesn't work as expected in URLs. On top of this ^^^, Mock newly uses `repo_arch` for the `man 2 personality` decisions during the bootstrap chroot initialization (bootstrap is expected to be native). Closes: rpm-software-management#1317 Fixes: rpm-software-management#1304
This option is used for the cases when $basearch DNF-native variable doesn't work as expected in URLs. On top of this ^^^, Mock newly uses `repo_arch` for the `man 2 personality` decisions during the bootstrap chroot initialization (bootstrap is expected to be native). Closes: rpm-software-management#1317 Fixes: rpm-software-management#1304
This option is used for the cases when $basearch DNF-native variable doesn't work as expected in URLs. On top of this ^^^, Mock newly uses `repo_arch` for the `man 2 personality` decisions during the bootstrap chroot initialization (bootstrap is expected to be native). Closes: rpm-software-management#1317 Fixes: rpm-software-management#1304
This option is used for the cases when $basearch DNF-native variable doesn't work as expected in URLs. Mock now also uses the `repo_arch` values for the `man 2 personality` decisions during the bootstrap chroot initialization, as bootstrap is is almost always expected to be "host-native". Closes: rpm-software-management#1317 Fixes: rpm-software-management#1304
Short description of the problem
The users of mageia 9 and cauldron can't build for aarch64 and armv7hl for mageia 8,9 & cauldron with the currtent configuration in mageia-8-aarch64.cfg , mageia-8- armv7hl.cfg , mageia-9-aarch64.cfg , mageia-9- armv7hl.cfg , mageia-cauldron-aarch64.cfg & mageia-cauldron- armv7hl.cfg
Output of
rpm -q mock
OUTPUT HERE
mock-5.1.1-1.mga9
Steps to reproduce issue
See https://bugs.mageia.org/show_bug.cgi?id=32620
Any additional notes
One of our packagers found the solution https://bugs.mageia.org/show_bug.cgi?id=32620#c44
The line
config_opts['bootstrap_forcearch'] = '{{ target_arch }}'
Need to be added before the line
include('templates/mageia-branched.tpl')
The text was updated successfully, but these errors were encountered: