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

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

    <bug>
          <bug_id>40471</bug_id>
          
          <creation_ts>2021-07-12 21:33:59 +0300</creation_ts>
          <short_desc>libsratom FTBFS on aarch64 and ppc64le</short_desc>
          <delta_ts>2021-07-13 18:24:28 +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>libsord</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>https://lists.altlinux.org/pipermail/sisyphus-incominger/2021-July/620936.html</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P5</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>27222</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Dmitry V. Levin">ldv</reporter>
          <assigned_to name="viy">viy</assigned_to>
          <cc>aen</cc>
    
    <cc>glebfm</cc>
    
    <cc>sbolshakov</cc>
    
    <cc>viy</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>200363</commentid>
    <comment_count>0</comment_count>
    <who name="Dmitry V. Levin">ldv</who>
    <bug_when>2021-07-12 21:33:59 +0300</bug_when>
    <thetext>http://git.altlinux.org/tasks/278547/logs/events.1.1.log:
#100 build libsratom-0.6.6-alt1_1.src.rpm from sisyphus
...
[aarch64] /usr/src/tmp/rpm-tmp.61171: line 128: 1980236 Segmentation fault ./build/sratom_test
2021-Jul-12 17:44:33 :: [aarch64] libsratom-0.6.6-alt1_1.src.rpm: remote: build failed
[ppc64le] /usr/src/tmp/rpm-tmp.19163: line 128: 3250372 Segmentation fault	./build/sratom_test
2021-Jul-12 17:44:39 :: [ppc64le] libsratom-0.6.6-alt1_1.src.rpm: remote: build failed

proscriptions$ git grep -Fwn libsratom
alt-education-x86_64.bnames:2439:libsratom
alt-sp8-server-i586.bnames:787:libsratom
alt-sp8-server-x86_64.bnames:1044:libsratom
alt-sp8-workstation-i586.bnames:1410:libsratom
alt-sp8-workstation-x86_64.bnames:1455:libsratom
alt-workstation-k-install-x86_64.bnames:2011:libsratom
alt-workstation-x86_64.bnames:1711:libsratom
slinux-install-x86_64.bnames:1349:libsratom
dist.src_all:2367:libsratom</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>200392</commentid>
    <comment_count>1</comment_count>
    <who name="Gleb F-Malinovskiy">glebfm</who>
    <bug_when>2021-07-13 14:03:30 +0300</bug_when>
    <thetext>Проблема на стороне пакета libsord.  Вот эта логика:

http://git.altlinux.org/srpms/l/libsord.git?p=libsord.git;a=blob;f=sord.spec;h=d76b5c4fff14dfa3cf7ba3043253d8c57f1afc72;hb=0e4d8a92adba8e2bdd2ec5187dacef7d12fb3de5#l63

# Work around a possible GCC 10.1 bug
# GCC 10.1 crashes on these arches in for loop with ZixBTreeIter
%ifarch %{power64} %{arm} aarch64 s390 s390x
CFLAGS+=&quot; -O1&quot;
CXXFLAGS+=&quot; -O1&quot;
%endif

Не работает у нас.  Подозреваю, в fedora переменная CFLAGS в этом месте уже экспортирована.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>200393</commentid>
    <comment_count>2</comment_count>
    <who name="Repository Robot">repository-robot</who>
    <bug_when>2021-07-13 14:53:01 +0300</bug_when>
    <thetext>libsord-0.16.6-alt2_1 -&gt; sisyphus:

 Tue Jul 13 2021 Gleb F-Malinovskiy &lt;glebfm@altlinux&gt; 0.16.6-alt2_1
 - Fixed gcc &gt;= 10 optimization workaround (ALT#40471).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>200418</commentid>
    <comment_count>3</comment_count>
    <who name="viy">viy</who>
    <bug_when>2021-07-13 18:24:28 +0300</bug_when>
    <thetext>Спасибо! добавил в скрипт импорта.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>