Bug 40471 - libsratom FTBFS on aarch64 and ppc64le
Summary: libsratom FTBFS on aarch64 and ppc64le
Status: CLOSED FIXED
Alias: None
Product: Sisyphus
Classification: Development
Component: libsord (show other bugs)
Version: unstable
Hardware: aarch64 Linux
: P5 normal
Assignee: viy
QA Contact: qa-sisyphus
URL: https://lists.altlinux.org/pipermail/...
Keywords:
Depends on:
Blocks: 27222
  Show dependency tree
 
Reported: 2021-07-12 21:33 MSK by Dmitry V. Levin
Modified: 2021-07-13 18:24 MSK (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dmitry V. Levin 2021-07-12 21:33:59 MSK
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
Comment 1 Gleb F-Malinovskiy 2021-07-13 14:03:30 MSK
Проблема на стороне пакета 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+=" -O1"
CXXFLAGS+=" -O1"
%endif

Не работает у нас.  Подозреваю, в fedora переменная CFLAGS в этом месте уже экспортирована.
Comment 2 Repository Robot 2021-07-13 14:53:01 MSK
libsord-0.16.6-alt2_1 -> sisyphus:

 Tue Jul 13 2021 Gleb F-Malinovskiy <glebfm@altlinux> 0.16.6-alt2_1
 - Fixed gcc >= 10 optimization workaround (ALT#40471).
Comment 3 viy 2021-07-13 18:24:28 MSK
Спасибо! добавил в скрипт импорта.