<?xml version="1.0" encoding="UTF-8" ?>

<bugzilla version="5.2"
          urlbase="https://bugzilla.altlinux.org/"
          
          maintainer="jenya@basealt.ru"
>

    <bug>
          <bug_id>40083</bug_id>
          
          <creation_ts>2021-05-24 16:45:23 +0300</creation_ts>
          <short_desc>ipxe-bootimgs: aarch64-efi загрузчики</short_desc>
          <delta_ts>2021-08-30 14:11:02 +0300</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>ipxe-bootimgs</component>
          <version>unstable</version>
          <rep_platform>aarch64</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P5</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>40766</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Alexey Sheplyakov">asheplyakov</reporter>
          <assigned_to name="Alexey Shabalin">shaba</assigned_to>
          <cc>shaba</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>198640</commentid>
    <comment_count>0</comment_count>
    <who name="Alexey Sheplyakov">asheplyakov</who>
    <bug_when>2021-05-24 16:45:23 +0300</bug_when>
    <thetext>iPXE поддерживает arm64 архитектуру. Однако в пакете ipxe-bootimgs есть загрузчики только для x86_64. А хотелось бы и для arm64, а именно:

bin-arm64-efi/ipxe.efi
bin-arm64-efi/snponly.efi</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>200918</commentid>
    <comment_count>1</comment_count>
    <who name="Alexey Sheplyakov">asheplyakov</who>
    <bug_when>2021-07-26 18:24:40 +0300</bug_when>
    <thetext>Попытался сделать следующее:

1) ExclusiveArch: x86_64 aarch64
2) На aarch64 собираю пакет ipxe-bootimgs-aarch64, на x86_64 - всё остальное.

Сборочница ругается:

2021-Jul-23 17:24:06 :: test-only task #280561 for sisyphus started by asheplyakov:
#100 build 20201218-alt3.git47098d7c from /people/asheplyakov/packages/ipxe.git fetched at 2021-Jul-23 17:24:05
2021-Jul-23 17:24:07 :: [i586] #100 ipxe.git 20201218-alt3.git47098d7c: build start
2021-Jul-23 17:24:07 :: [x86_64] #100 ipxe.git 20201218-alt3.git47098d7c: build start
2021-Jul-23 17:24:07 :: [armh] #100 ipxe.git 20201218-alt3.git47098d7c: build start
2021-Jul-23 17:24:07 :: [ppc64le] #100 ipxe.git 20201218-alt3.git47098d7c: build start
2021-Jul-23 17:24:07 :: [aarch64] #100 ipxe.git 20201218-alt3.git47098d7c: build start
2021-Jul-23 17:24:16 :: [i586] #100 ipxe.git 20201218-alt3.git47098d7c: build SKIPPED
2021-Jul-23 17:24:18 :: [ppc64le] #100 ipxe.git 20201218-alt3.git47098d7c: build SKIPPED
2021-Jul-23 17:24:22 :: [armh] #100 ipxe.git 20201218-alt3.git47098d7c: build SKIPPED
2021-Jul-23 17:24:50 :: [aarch64] #100 ipxe.git 20201218-alt3.git47098d7c: build OK
2021-Jul-23 17:25:50 :: [x86_64] #100 ipxe.git 20201218-alt3.git47098d7c: build OK
2021-Jul-23 17:25:58 :: #100: ipxe.git 20201218-alt3.git47098d7c: build check OK
2021-Jul-23 17:25:58 :: build check OK
--- x86_64.noarch   2021-07-23 17:25:58.355366083 +0000
+++ aarch64.noarch  2021-07-23 17:25:58.359366111 +0000
@@ -1,3 +1 @@
-ipxe-bootimgs-20201218-alt3.git47098d7c.noarch.rpm
-ipxe-roms-20201218-alt3.git47098d7c.noarch.rpm
-ipxe-roms-qemu-20201218-alt3.git47098d7c.noarch.rpm
+ipxe-bootimgs-arm64-20201218-alt3.git47098d7c.noarch.rpm
error (#100): different set of noarch packages
warning (#100): i586: non-verifiable noarch packages due to ExclusiveArch
warning (#100): ppc64le: non-verifiable noarch packages due to ExclusiveArch
warning (#100): armh: non-verifiable noarch packages due to ExclusiveArch
2021-Jul-23 17:25:58 :: noarch check FAILED
2021-Jul-23 17:25:58 :: task #280561 for sisyphus FAILED


Как отключить этот (бессмысленный) noarch check?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>201120</commentid>
    <comment_count>2</comment_count>
    <who name="Alexey Sheplyakov">asheplyakov</who>
    <bug_when>2021-08-01 14:57:23 +0300</bug_when>
    <thetext>(In reply to Alexey Sheplyakov from comment #1)

&gt; --- x86_64.noarch   2021-07-23 17:25:58.355366083 +0000
&gt; +++ aarch64.noarch  2021-07-23 17:25:58.359366111 +0000
&gt; @@ -1,3 +1 @@
&gt; -ipxe-bootimgs-20201218-alt3.git47098d7c.noarch.rpm
&gt; -ipxe-roms-20201218-alt3.git47098d7c.noarch.rpm
&gt; -ipxe-roms-qemu-20201218-alt3.git47098d7c.noarch.rpm
&gt; +ipxe-bootimgs-arm64-20201218-alt3.git47098d7c.noarch.rpm
&gt; error (#100): different set of noarch packages
&gt; warning (#100): i586: non-verifiable noarch packages due to ExclusiveArch
&gt; warning (#100): ppc64le: non-verifiable noarch packages due to ExclusiveArch
&gt; warning (#100): armh: non-verifiable noarch packages due to ExclusiveArch
&gt; 2021-Jul-23 17:25:58 :: noarch check FAILED
&gt; 2021-Jul-23 17:25:58 :: task #280561 for sisyphus FAILED
&gt; 
&gt; 
&gt; Как отключить этот (бессмысленный) noarch check?

Никак (если не рассматривать уголовно наказуемые деяния).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>201121</commentid>
    <comment_count>3</comment_count>
    <who name="Alexey Sheplyakov">asheplyakov</who>
    <bug_when>2021-08-01 15:06:33 +0300</bug_when>
    <thetext>Чтобы обойти noarch check, собрал arm64 загрузчики кросс-компилятором.
(Для этого понадобилось сначала собрать кросс-компилятор)

#281210 EPERM #3 sisyphus ipxe.git=20201218-alt3.git47098d7c

Костыль [1] нужен для сборки ipxe для arm64 в p9.

[1] http://git.altlinux.org/tasks/281210/gears/100/git?p=git;a=commitdiff;h=7c71c80e3ef58a8c2e7e3e9099886eeeaed7dd26</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>202135</commentid>
    <comment_count>4</comment_count>
    <who name="Alexey Sheplyakov">asheplyakov</who>
    <bug_when>2021-08-30 14:11:02 +0300</bug_when>
    <thetext>Исправлено в версии 1:20201218-alt3.git47098d7c</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>