+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/pyicu.spec --define "debug_package %{nil}" --undefine _annotated_build --define "_missing_doc_files_terminate_build %{nil}" --define "_emacs_sitestartdir /usr/share/emacs/site-lisp/site-start.d" --define "_emacs_sitelispdir /usr/share/emacs/site-lisp" --nocheck ' mockbuild Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.xORbWI + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf PyICU-1.5 + /usr/bin/gzip -dc /builddir/build/SOURCES/PyICU-1.5.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd PyICU-1.5 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (0001-fix-build-with-icu-53.1.patch):' Patch #0 (0001-fix-build-with-icu-53.1.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file common.h + echo 'Patch #1 (0001-disable-failing-test.patch):' Patch #1 (0001-disable-failing-test.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file test/test_Collator.py + echo 'Patch #2 (pyicu-1.5-fix-build-with-icu-56.1.patch):' Patch #2 (pyicu-1.5-fix-build-with-icu-56.1.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file layoutengine.cpp + rm -rf /builddir/build/BUILD/python3-pyicu-1.5-22.fc28 + cp -a . /builddir/build/BUILD/python3-pyicu-1.5-22.fc28 + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.qjBOhh + umask 022 + cd /builddir/build/BUILD + cd PyICU-1.5 + /usr/bin/python2 setup.py build running build running build_py creating build creating build/lib.linux-riscv64-2.7 copying icu.py -> build/lib.linux-riscv64-2.7 copying PyICU.py -> build/lib.linux-riscv64-2.7 copying docs.py -> build/lib.linux-riscv64-2.7 running build_ext building '_icu' extension creating build/temp.linux-riscv64-2.7 gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -D_GNU_SOURCE -fPIC -fwrapv -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -D_GNU_SOURCE -fPIC -fwrapv -fPIC -I/usr/include/python2.7 -c dateformat.cpp -o build/temp.linux-riscv64-2.7/dateformat.o -DPYICU_VER="1.5" gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -D_GNU_SOURCE -fPIC -fwrapv -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -D_GNU_SOURCE -fPIC -fwrapv -fPIC -I/usr/include/python2.7 -c format.cpp -o build/temp.linux-riscv64-2.7/format.o -DPYICU_VER="1.5" gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -D_GNU_SOURCE -fPIC -fwrapv -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -D_GNU_SOURCE -fPIC -fwrapv -fPIC -I/usr/include/python2.7 -c common.cpp -o build/temp.linux-riscv64-2.7/common.o -DPYICU_VER="1.5" common.cpp: In function 'void _stopDecode(const void*, UConverterToUnicodeArgs*, const char*, int32_t, UConverterCallbackReason, UErrorCode*)': common.cpp:55:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (chars && len) ^~ common.cpp:56:43: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' strncpy(stop->chars, chars, len); stop->chars[len] = '\0'; ^~~~ gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -D_GNU_SOURCE -fPIC -fwrapv -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -D_GNU_SOURCE -fPIC -fwrapv -fPIC -I/usr/include/python2.7 -c normalizer.cpp -o build/temp.linux-riscv64-2.7/normalizer.o -DPYICU_VER="1.5" gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -D_GNU_SOURCE -fPIC -fwrapv -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -D_GNU_SOURCE -fPIC -fwrapv -fPIC -I/usr/include/python2.7 -c calendar.cpp -o build/temp.linux-riscv64-2.7/calendar.o -DPYICU_VER="1.5" calendar.cpp: In function 'PyObject* t_timezone_setDefault(PyTypeObject*, PyObject*)': calendar.cpp:540:78: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] PyObject *result = PyObject_CallMethod(cls, "_resetDefault", "", NULL); ^ calendar.cpp:540:78: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -D_GNU_SOURCE -fPIC -fwrapv -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -D_GNU_SOURCE -fPIC -fwrapv -fPIC -I/usr/include/python2.7 -c numberformat.cpp -o build/temp.linux-riscv64-2.7/numberformat.o -DPYICU_VER="1.5" gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -D_GNU_SOURCE -fPIC -fwrapv -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -D_GNU_SOURCE -fPIC -fwrapv -fPIC -I/usr/include/python2.7 -c charset.cpp -o build/temp.linux-riscv64-2.7/charset.o -DPYICU_VER="1.5" gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -D_GNU_SOURCE -fPIC -fwrapv -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -D_GNU_SOURCE -fPIC -fwrapv -fPIC -I/usr/include/python2.7 -c collator.cpp -o build/temp.linux-riscv64-2.7/collator.o -DPYICU_VER="1.5" gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -D_GNU_SOURCE -fPIC -fwrapv -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -D_GNU_SOURCE -fPIC -fwrapv -fPIC -I/usr/include/python2.7 -c errors.cpp -o build/temp.linux-riscv64-2.7/errors.o -DPYICU_VER="1.5" gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -D_GNU_SOURCE -fPIC -fwrapv -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -D_GNU_SOURCE -fPIC -fwrapv -fPIC -I/usr/include/python2.7 -c bases.cpp -o build/temp.linux-riscv64-2.7/bases.o -DPYICU_VER="1.5" bases.cpp:56:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] }; ^ bases.cpp:56:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] bases.cpp: In function 'PyObject* t_unicodestring_idna_toASCII(t_unicodestring*, PyObject*)': bases.cpp:1448:74: warning: 'int32_t uidna_toASCII_60(const UChar*, int32_t, UChar*, int32_t, int32_t, UParseError*, UErrorCode*)' is deprecated [-Wdeprecated-declarations] dest, len * 4 + 32, options, &parseError, &status); ^ In file included from /usr/include/unicode/platform.h:25:0, from /usr/include/unicode/ptypes.h:52, from /usr/include/unicode/umachine.h:46, from /usr/include/unicode/utypes.h:38, from common.h:86, from bases.cpp:24: /usr/include/unicode/uidna.h:576:1: note: declared here uidna_toASCII(const UChar* src, int32_t srcLength, ^ bases.cpp: In function 'PyObject* t_unicodestring_idna_toUnicode(t_unicodestring*, PyObject*)': bases.cpp:1483:67: warning: 'int32_t uidna_toUnicode_60(const UChar*, int32_t, UChar*, int32_t, int32_t, UParseError*, UErrorCode*)' is deprecated [-Wdeprecated-declarations] dest, len, options, &parseError, &status); ^ In file included from /usr/include/unicode/platform.h:25:0, from /usr/include/unicode/ptypes.h:52, from /usr/include/unicode/umachine.h:46, from /usr/include/unicode/utypes.h:38, from common.h:86, from bases.cpp:24: /usr/include/unicode/uidna.h:624:1: note: declared here uidna_toUnicode(const UChar* src, int32_t srcLength, ^ bases.cpp: In function 'PyObject* t_unicodestring_idna_IDNtoASCII(t_unicodestring*, PyObject*)': bases.cpp:1518:77: warning: 'int32_t uidna_IDNToASCII_60(const UChar*, int32_t, UChar*, int32_t, int32_t, UParseError*, UErrorCode*)' is deprecated [-Wdeprecated-declarations] dest, len * 4 + 32, options, &parseError, &status); ^ In file included from /usr/include/unicode/platform.h:25:0, from /usr/include/unicode/ptypes.h:52, from /usr/include/unicode/umachine.h:46, from /usr/include/unicode/utypes.h:38, from common.h:86, from bases.cpp:24: /usr/include/unicode/uidna.h:675:1: note: declared here uidna_IDNToASCII( const UChar* src, int32_t srcLength, ^ bases.cpp: In function 'PyObject* t_unicodestring_idna_IDNtoUnicode(t_unicodestring*, PyObject*)': bases.cpp:1553:70: warning: 'int32_t uidna_IDNToUnicode_60(const UChar*, int32_t, UChar*, int32_t, int32_t, UParseError*, UErrorCode*)' is deprecated [-Wdeprecated-declarations] dest, len, options, &parseError, &status); ^ In file included from /usr/include/unicode/platform.h:25:0, from /usr/include/unicode/ptypes.h:52, from /usr/include/unicode/umachine.h:46, from /usr/include/unicode/utypes.h:38, from common.h:86, from bases.cpp:24: /usr/include/unicode/uidna.h:722:1: note: declared here uidna_IDNToUnicode( const UChar* src, int32_t srcLength, ^ In file included from bases.cpp:30:0: bases.cpp: In function 'PyObject* t_unicodestring_idna_compare(t_unicodestring*, PyObject*)': bases.cpp:1582:50: warning: 'int32_t uidna_compare_60(const UChar*, int32_t, const UChar*, int32_t, int32_t, UErrorCode*)' is deprecated [-Wdeprecated-declarations] &status)); ^ macros.h:49:9: note: in definition of macro 'STATUS_CALL' action; \ ^~~~~~ In file included from /usr/include/unicode/platform.h:25:0, from /usr/include/unicode/ptypes.h:52, from /usr/include/unicode/umachine.h:46, from /usr/include/unicode/utypes.h:38, from common.h:86, from bases.cpp:24: /usr/include/unicode/uidna.h:763:1: note: declared here uidna_compare( const UChar *s1, int32_t length1, ^ In file included from bases.cpp:30:0: bases.cpp:1592:50: warning: 'int32_t uidna_compare_60(const UChar*, int32_t, const UChar*, int32_t, int32_t, UErrorCode*)' is deprecated [-Wdeprecated-declarations] &status)); ^ macros.h:49:9: note: in definition of macro 'STATUS_CALL' action; \ ^~~~~~ In file included from /usr/include/unicode/platform.h:25:0, from /usr/include/unicode/ptypes.h:52, from /usr/include/unicode/umachine.h:46, from /usr/include/unicode/utypes.h:38, from common.h:86, from bases.cpp:24: /usr/include/unicode/uidna.h:763:1: note: declared here uidna_compare( const UChar *s1, int32_t length1, ^ gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -D_GNU_SOURCE -fPIC -fwrapv -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -D_GNU_SOURCE -fPIC -fwrapv -fPIC -I/usr/include/python2.7 -c regex.cpp -o build/temp.linux-riscv64-2.7/regex.o -DPYICU_VER="1.5" gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -D_GNU_SOURCE -fPIC -fwrapv -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -D_GNU_SOURCE -fPIC -fwrapv -fPIC -I/usr/include/python2.7 -c locale.cpp -o build/temp.linux-riscv64-2.7/locale.o -DPYICU_VER="1.5" In file included from /usr/include/python2.7/pyconfig.h:6:0, from /usr/include/python2.7/Python.h:8, from common.h:33, from locale.cpp:32: /usr/include/python2.7/pyconfig-64.h:1199:0: warning: "_POSIX_C_SOURCE" redefined #define _POSIX_C_SOURCE 200112L In file included from /usr/include/fcntl.h:25:0, from /usr/include/sys/fcntl.h:1, from locale.cpp:27: /usr/include/features.h:265:0: note: this is the location of the previous definition # define _POSIX_C_SOURCE 200809L In file included from /usr/include/python2.7/pyconfig.h:6:0, from /usr/include/python2.7/Python.h:8, from common.h:33, from locale.cpp:32: /usr/include/python2.7/pyconfig-64.h:1221:0: warning: "_XOPEN_SOURCE" redefined #define _XOPEN_SOURCE 600 In file included from /usr/include/fcntl.h:25:0, from /usr/include/sys/fcntl.h:1, from locale.cpp:27: /usr/include/features.h:202:0: note: this is the location of the previous definition # define _XOPEN_SOURCE 700 gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -D_GNU_SOURCE -fPIC -fwrapv -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -D_GNU_SOURCE -fPIC -fwrapv -fPIC -I/usr/include/python2.7 -c layoutengine.cpp -o build/temp.linux-riscv64-2.7/layoutengine.o -DPYICU_VER="1.5" layoutengine.cpp:27:10: fatal error: layout/LayoutEngine.h: No such file or directory #include ^~~~~~~~~~~~~~~~~~~~~~~ compilation terminated. error: command 'gcc' failed with exit status 1 error: Bad exit status from /var/tmp/rpm-tmp.qjBOhh (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.qjBOhh (%build) ++ cleanup ++ set +e ++ sync ++ sleep 5 ++ sync ++ poweroff Terminated +++ cleanup +++ set +e +++ sync Terminated ++++ cleanup ++++ set +e ++++ sync ++++ sleep 5 ++++ sync ++++ poweroff