+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/python-fpylll.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.LlLdy6 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf fpylll-0.2.4dev + /usr/bin/gzip -dc /builddir/build/SOURCES/fpylll-0.2.4dev.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd fpylll-0.2.4dev + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.buJsG4 + umask 022 + cd /builddir/build/BUILD + cd fpylll-0.2.4dev + CFLAGS='-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 ' + /usr/bin/python2 setup.py build '--executable=/usr/bin/python2 -s' Warning: Extension name 'gmp.pylong' does not match fully qualified name 'fpylll.gmp.pylong' of 'src/fpylll/gmp/pylong.pyx' Warning: Extension name 'fplll.integer_matrix' does not match fully qualified name 'fpylll.fplll.integer_matrix' of 'src/fpylll/fplll/integer_matrix.pyx' Warning: Extension name 'fplll.gso' does not match fully qualified name 'fpylll.fplll.gso' of 'src/fpylll/fplll/gso.pyx' Warning: Extension name 'fplll.lll' does not match fully qualified name 'fpylll.fplll.lll' of 'src/fpylll/fplll/lll.pyx' Warning: Extension name 'fplll.wrapper' does not match fully qualified name 'fpylll.fplll.wrapper' of 'src/fpylll/fplll/wrapper.pyx' Warning: Extension name 'fplll.bkz_param' does not match fully qualified name 'fpylll.fplll.bkz_param' of 'src/fpylll/fplll/bkz_param.pyx' Warning: Extension name 'fplll.bkz' does not match fully qualified name 'fpylll.fplll.bkz' of 'src/fpylll/fplll/bkz.pyx' Warning: Extension name 'fplll.enumeration' does not match fully qualified name 'fpylll.fplll.enumeration' of 'src/fpylll/fplll/enumeration.pyx' Warning: Extension name 'fplll.svpcvp' does not match fully qualified name 'fpylll.fplll.svpcvp' of 'src/fpylll/fplll/svpcvp.pyx' Warning: Extension name 'fplll.pruner' does not match fully qualified name 'fpylll.fplll.pruner' of 'src/fpylll/fplll/pruner.pyx' Warning: Extension name 'util' does not match fully qualified name 'fpylll.util' of 'src/fpylll/util.pyx' Warning: Extension name 'io' does not match fully qualified name 'fpylll.io' of 'src/fpylll/io.pyx' Warning: Extension name 'config' does not match fully qualified name 'fpylll.config' of 'src/fpylll/config.pyx' Warning: Extension name 'numpy' does not match fully qualified name 'fpylll.numpy' of 'src/fpylll/numpy.pyx' Compiling src/fpylll/gmp/pylong.pyx because it changed. Compiling src/fpylll/fplll/integer_matrix.pyx because it changed. Compiling src/fpylll/fplll/gso.pyx because it changed. Compiling src/fpylll/fplll/lll.pyx because it changed. Compiling src/fpylll/fplll/wrapper.pyx because it changed. Compiling src/fpylll/fplll/bkz_param.pyx because it changed. Compiling src/fpylll/fplll/bkz.pyx because it changed. Compiling src/fpylll/fplll/enumeration.pyx because it changed. Compiling src/fpylll/fplll/svpcvp.pyx because it changed. Compiling src/fpylll/fplll/pruner.pyx because it changed. Compiling src/fpylll/util.pyx because it changed. Compiling src/fpylll/io.pyx because it changed. Compiling src/fpylll/config.pyx because it changed. Compiling src/fpylll/numpy.pyx because it changed. [ 1/14] Cythonizing src/fpylll/config.pyx [ 2/14] Cythonizing src/fpylll/fplll/bkz.pyx [ 3/14] Cythonizing src/fpylll/fplll/bkz_param.pyx [ 4/14] Cythonizing src/fpylll/fplll/enumeration.pyx [ 5/14] Cythonizing src/fpylll/fplll/gso.pyx [ 6/14] Cythonizing src/fpylll/fplll/integer_matrix.pyx [ 7/14] Cythonizing src/fpylll/fplll/lll.pyx [ 8/14] Cythonizing src/fpylll/fplll/pruner.pyx [ 9/14] Cythonizing src/fpylll/fplll/svpcvp.pyx [10/14] Cythonizing src/fpylll/fplll/wrapper.pyx [11/14] Cythonizing src/fpylll/gmp/pylong.pyx [12/14] Cythonizing src/fpylll/io.pyx [13/14] Cythonizing src/fpylll/numpy.pyx [14/14] Cythonizing src/fpylll/util.pyx running build running build_py creating build/lib.linux-riscv64-2.7 creating build/lib.linux-riscv64-2.7/fpylll copying src/fpylll/__init__.py -> build/lib.linux-riscv64-2.7/fpylll creating build/lib.linux-riscv64-2.7/fpylll/gmp copying src/fpylll/gmp/__init__.py -> build/lib.linux-riscv64-2.7/fpylll/gmp creating build/lib.linux-riscv64-2.7/fpylll/fplll copying src/fpylll/fplll/__init__.py -> build/lib.linux-riscv64-2.7/fpylll/fplll creating build/lib.linux-riscv64-2.7/fpylll/algorithms copying src/fpylll/algorithms/simple_bkz.py -> build/lib.linux-riscv64-2.7/fpylll/algorithms copying src/fpylll/algorithms/bkz_stats.py -> build/lib.linux-riscv64-2.7/fpylll/algorithms copying src/fpylll/algorithms/simple_dbkz.py -> build/lib.linux-riscv64-2.7/fpylll/algorithms copying src/fpylll/algorithms/bkz2.py -> build/lib.linux-riscv64-2.7/fpylll/algorithms copying src/fpylll/algorithms/bkz.py -> build/lib.linux-riscv64-2.7/fpylll/algorithms copying src/fpylll/algorithms/__init__.py -> build/lib.linux-riscv64-2.7/fpylll/algorithms copying src/fpylll/algorithms/pbkz.py -> build/lib.linux-riscv64-2.7/fpylll/algorithms creating build/lib.linux-riscv64-2.7/fpylll/tools copying src/fpylll/tools/__init__.py -> build/lib.linux-riscv64-2.7/fpylll/tools copying src/fpylll/tools/benchmark.py -> build/lib.linux-riscv64-2.7/fpylll/tools running build_ext building 'gmp.pylong' extension creating build/temp.linux-riscv64-2.7 creating build/temp.linux-riscv64-2.7/build creating build/temp.linux-riscv64-2.7/build/src creating build/temp.linux-riscv64-2.7/build/src/fpylll creating build/temp.linux-riscv64-2.7/build/src/fpylll/gmp 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 -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 -fPIC -I/usr/include/python2.7 -c build/src/fpylll/gmp/pylong.c -o build/temp.linux-riscv64-2.7/build/src/fpylll/gmp/pylong.o build/src/fpylll/gmp/pylong.c: In function '__pyx_f_6fpylll_3gmp_6pylong_mpz_get_pylong_large': build/src/fpylll/gmp/pylong.c:1013:13: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types] __pyx_t_2 = _PyLong_New(__pyx_v_pylong_size); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 43, __pyx_L1_error) ^ gcc -pthread -shared -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -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 build/temp.linux-riscv64-2.7/build/src/fpylll/gmp/pylong.o -L/usr/lib64 -lgmp -lpython2.7 -o build/lib.linux-riscv64-2.7/fpylll/gmp/pylong.so building 'fplll.integer_matrix' extension creating build/temp.linux-riscv64-2.7/build/src/fpylll/fplll 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 -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 -fPIC -I/usr/lib64/python2.7/site-packages/cysignals -I/usr/lib64/python2.7/site-packages/numpy/core/include -I/usr/include/python2.7 -c build/src/fpylll/fplll/integer_matrix.cpp -o build/temp.linux-riscv64-2.7/build/src/fpylll/fplll/integer_matrix.o -std=c++11 build/src/fpylll/fplll/integer_matrix.cpp:583:10: fatal error: fplll/nr/nr.h: No such file or directory #include "fplll/nr/nr.h" ^~~~~~~~~~~~~~~ compilation terminated. error: command 'gcc' failed with exit status 1 error: Bad exit status from /var/tmp/rpm-tmp.buJsG4 (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.buJsG4 (%build) ++ cleanup ++ set +e ++ sync ++ sleep 5 ++ sync ++ poweroff Terminated +++ cleanup +++ set +e +++ sync Terminated ++++ cleanup ++++ set +e ++++ sync ++++ sleep 5 ++++ sync ++++ poweroff