#661 mbs hard-codes x86_64 as the local architecture
Closed: Fixed Opened by sharkcz.

When I dealt with an issue on s390x I realized that "mbs-build local" downloads x86_64 rpms on non-x86 architecture and was told x86_64 hard-coded in the code. Please fix that as it makes impossible to debug non-x86 modularity related issues.


...
2017-08-31 16:50:53,311 - PoolThread-twisted.internet.reactor-0 - module_build_service - INFO - Connecting to koji 'https://koji.fedoraproject.org/kojihub'
2017-08-31 16:50:53,312 - PoolThread-twisted.internet.reactor-0 - koji - DEBUG - Opening new requests session
2017-08-31 16:50:53,322 - PoolThread-twisted.internet.reactor-0 - requests.packages.urllib3.connectionpool - DEBUG - Starting new HTTPS connection (1): koji.fedoraproject.org
2017-08-31 16:51:01,580 - PoolThread-twisted.internet.reactor-0 - requests.packages.urllib3.connectionpool - DEBUG - https://koji.fedoraproject.org:443 "POST /kojihub HTTP/1.1" 200 79101119
2017-08-31 16:51:38,594 - PoolThread-twisted.internet.reactor-0 - module_build_service - INFO - Downloading 16520 packages from Koji tag module-bootstrap-rawhide to /home/sharkcz/modulebuild/cache/koji_tags/module-bootstrap-rawhide
(1/16520): grub2-ppc64le-modules-2.02-15.fc28.noarch.rpm                                                                                              | 767 kB  00:00:01     
(2/16520): grub2-ppc64-modules-2.02-15.fc28.noarch.rpm                                                                                                | 770 kB  00:00:01     
(3/16520): grub2-efi-ia32-cdboot-2.02-15.fc28.x86_64.rpm                                                                                              | 1.1 MB  00:00:01     
(4/16520): grub2-pc-modules-2.02-15.fc28.noarch.rpm                                                                                                   | 849 kB  00:00:01     
(5/16520): grub2-debugsource-2.02-15.fc28.x86_64.rpm                                                                                                  | 961 kB  00:00:01     
(6/16520): grub2-efi-x64-2.02-15.fc28.x86_64.rpm                                                                                                      | 1.1 MB  00:00:00     
(7/16520): grub2-pc-2.02-15.fc28.x86_64.rpm                                                                                                           |  25 kB  00:00:00     
(8/16520): grub2-tools-extra-2.02-15.fc28.x86_64.rpm                                                                                                  | 988 kB  00:00:00     
(9/16520): grub2-efi-ia32-modules-2.02-15.fc28.noarch.rpm                                                                                             | 1.1 MB  00:00:00     
(10/16520): grub2-efi-ia32-2.02-15.fc28.x86_64.rpm                                                                                                    | 1.1 MB  00:00:00     
(11/16520): grub2-tools-minimal-2.02-15.fc28.x86_64.rpm                                                                                               | 173 kB  00:00:00     
(12/16520): grub2-tools-2.02-15.fc28.x86_64.rpm                                                                                                       | 1.7 MB  00:00:00     
(13/16520): grub2-efi-x64-cdboot-2.02-15.fc28.x86_64.rpm                                                                                              | 1.1 MB  00:00:00     
(14/16520): grub2-efi-x64-modules-2.02-15.fc28.noarch.rpm                                                                                             | 1.1 MB  00:00:00     
(15/16520): grub2-tools-efi-2.02-15.fc28.x86_64.rpm                                                                                                   | 417 kB  00:00:00     
(16/16520): grub2-efi-aa64-modules-2.02-15.fc28.noarch.rpm                                                                                            | 1.0 MB  00:00:00     
(17/16520): python3-3.6.2-11.fc27.x86_64.rpm                                                                                                          |  66 kB  00:00:00     
(18/16520): python3-devel-3.6.2-11.fc27.x86_64.rpm                                                                                                    | 862 kB  00:00:00     
(19/16520): python3-tkinter-3.6.2-11.fc27.x86_64.rpm                                                                                                  | 364 kB  00:00:00     
(20/16520): grub2-common-2.02-15.fc28.noarch.rpm                                                                                                      | 866 kB  00:00:00     
(21/16520): python3-tools-3.6.2-11.fc27.x86_64.rpm                                                                                                    | 464 kB  00:00:00     
(22/16520): python3-debug-3.6.2-11.fc27.x86_64.rpm                                                                                                    | 2.6 MB  00:00:00     
(23/16520): python3-debugsource-3.6.2-11.fc27.x86_64.rpm                                                                                              | 2.9 MB  00:00:01     
(24/16520): efl-devel-1.20.2-2.fc28.x86_64.rpm                                                                                                        | 2.0 MB  00:00:00     
(25/16520): efl-debugsource-1.20.2-2.fc28.x86_64.rpm                                                                                                  | 5.7 MB  00:00:01     
(26/16520): tk-devel-8.6.7-2.fc28.x86_64.rpm                                                                                                          | 496 kB  00:00:00     
^CTraceback (most recent call last):
[sharkcz@devel4 installer]$ uname -a
Linux devel4.s390.bos.redhat.com 4.11.11-300.fc26.s390x #1 SMP Thu Jul 20 06:11:10 UTC 2017 s390x s390x s390x GNU/Linux

Metadata Update from @fivaldi:
- Issue assigned to fivaldi

Metadata Update from @mprahl:
- Issue close_status updated to: Fixed
- Issue status updated to: Closed (was: Open)

This issue has been migrated to Fedora Forge:
https://forge.fedoraproject.org/koji/mbs/issues/661

Please continue any further discussion there.

Metadata