+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/python-pygpgme.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.a6EauS + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf pygpgme-0.3 + /usr/bin/tar -xof - + /usr/bin/gzip -dc /builddir/build/SOURCES/pygpgme-0.3.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd pygpgme-0.3 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/0001-reflect-2.1-reporting-for-key-imports.patch + /usr/bin/cat /builddir/build/SOURCES/0002-passphrase_cb-is-deprecated.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/0003-handle-generic-error-when-no-passphrase-callback-pre.patch + /usr/bin/cat /builddir/build/SOURCES/0004-add-pubkey_algo-and-hash_algo-attributes-to-signatur.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/0005-add-ENCRYPT_NO_ENCRYPT_TO-constant.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/0006-ignore-STATUS_KEY_CONSIDERED-when-editing.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.WpASbf + umask 022 + cd /builddir/build/BUILD + cd pygpgme-0.3 + 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' running build running build_py creating build creating build/lib.linux-riscv64-2.7 creating build/lib.linux-riscv64-2.7/gpgme copying gpgme/editutil.py -> build/lib.linux-riscv64-2.7/gpgme copying gpgme/__init__.py -> build/lib.linux-riscv64-2.7/gpgme running build_ext building 'gpgme._gpgme' extension creating build/temp.linux-riscv64-2.7 creating build/temp.linux-riscv64-2.7/src 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 src/gpgme.c -o build/temp.linux-riscv64-2.7/src/gpgme.o 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 src/pygpgme-error.c -o build/temp.linux-riscv64-2.7/src/pygpgme-error.o 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 src/pygpgme-data.c -o build/temp.linux-riscv64-2.7/src/pygpgme-data.o 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 src/pygpgme-context.c -o build/temp.linux-riscv64-2.7/src/pygpgme-context.o src/pygpgme-context.c: In function 'pygpgme_context_edit': src/pygpgme-context.c:1198:5: warning: 'gpgme_op_edit' is deprecated [-Wdeprecated-declarations] err = gpgme_op_edit(self->ctx, key->key, ^~~ In file included from src/pygpgme.h:24:0, from src/pygpgme-context.c:20: /usr/include/gpgme.h:2524:15: note: declared here gpgme_error_t gpgme_op_edit (gpgme_ctx_t ctx, gpgme_key_t key, ^~~~~~~~~~~~~ src/pygpgme-context.c: In function 'pygpgme_context_card_edit': src/pygpgme-context.c:1225:5: warning: 'gpgme_op_card_edit' is deprecated [-Wdeprecated-declarations] err = gpgme_op_card_edit(self->ctx, key->key, ^~~ In file included from src/pygpgme.h:24:0, from src/pygpgme-context.c:20: /usr/include/gpgme.h:2531:15: note: declared here gpgme_error_t gpgme_op_card_edit (gpgme_ctx_t ctx, gpgme_key_t key, ^~~~~~~~~~~~~~~~~~ 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 src/pygpgme-key.c -o build/temp.linux-riscv64-2.7/src/pygpgme-key.o 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 src/pygpgme-signature.c -o build/temp.linux-riscv64-2.7/src/pygpgme-signature.o 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 src/pygpgme-import.c -o build/temp.linux-riscv64-2.7/src/pygpgme-import.o 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 src/pygpgme-keyiter.c -o build/temp.linux-riscv64-2.7/src/pygpgme-keyiter.o 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 src/pygpgme-constants.c -o build/temp.linux-riscv64-2.7/src/pygpgme-constants.o 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 src/pygpgme-genkey.c -o build/temp.linux-riscv64-2.7/src/pygpgme-genkey.o 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/src/gpgme.o build/temp.linux-riscv64-2.7/src/pygpgme-error.o build/temp.linux-riscv64-2.7/src/pygpgme-data.o build/temp.linux-riscv64-2.7/src/pygpgme-context.o build/temp.linux-riscv64-2.7/src/pygpgme-key.o build/temp.linux-riscv64-2.7/src/pygpgme-signature.o build/temp.linux-riscv64-2.7/src/pygpgme-import.o build/temp.linux-riscv64-2.7/src/pygpgme-keyiter.o build/temp.linux-riscv64-2.7/src/pygpgme-constants.o build/temp.linux-riscv64-2.7/src/pygpgme-genkey.o -L/usr/lib64 -lgpgme -lpython2.7 -o build/lib.linux-riscv64-2.7/gpgme/_gpgme.so + sleep 1 + 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/python3 setup.py build '--executable=/usr/bin/python3 -s' running build running build_py creating build/lib.linux-riscv64-3.6 creating build/lib.linux-riscv64-3.6/gpgme copying gpgme/editutil.py -> build/lib.linux-riscv64-3.6/gpgme copying gpgme/__init__.py -> build/lib.linux-riscv64-3.6/gpgme running build_ext building 'gpgme._gpgme' extension creating build/temp.linux-riscv64-3.6 creating build/temp.linux-riscv64-3.6/src gcc -pthread -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 -fPIC -I/usr/include/python3.6m -c src/gpgme.c -o build/temp.linux-riscv64-3.6/src/gpgme.o gcc -pthread -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 -fPIC -I/usr/include/python3.6m -c src/pygpgme-error.c -o build/temp.linux-riscv64-3.6/src/pygpgme-error.o gcc -pthread -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 -fPIC -I/usr/include/python3.6m -c src/pygpgme-data.c -o build/temp.linux-riscv64-3.6/src/pygpgme-data.o gcc -pthread -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 -fPIC -I/usr/include/python3.6m -c src/pygpgme-context.c -o build/temp.linux-riscv64-3.6/src/pygpgme-context.o src/pygpgme-context.c: In function ‘pygpgme_context_edit’: src/pygpgme-context.c:1198:5: warning: ‘gpgme_op_edit’ is deprecated [-Wdeprecated-declarations] err = gpgme_op_edit(self->ctx, key->key, ^~~ In file included from src/pygpgme.h:24:0, from src/pygpgme-context.c:20: /usr/include/gpgme.h:2524:15: note: declared here gpgme_error_t gpgme_op_edit (gpgme_ctx_t ctx, gpgme_key_t key, ^~~~~~~~~~~~~ src/pygpgme-context.c: In function ‘pygpgme_context_card_edit’: src/pygpgme-context.c:1225:5: warning: ‘gpgme_op_card_edit’ is deprecated [-Wdeprecated-declarations] err = gpgme_op_card_edit(self->ctx, key->key, ^~~ In file included from src/pygpgme.h:24:0, from src/pygpgme-context.c:20: /usr/include/gpgme.h:2531:15: note: declared here gpgme_error_t gpgme_op_card_edit (gpgme_ctx_t ctx, gpgme_key_t key, ^~~~~~~~~~~~~~~~~~ gcc -pthread -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 -fPIC -I/usr/include/python3.6m -c src/pygpgme-key.c -o build/temp.linux-riscv64-3.6/src/pygpgme-key.o gcc -pthread -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 -fPIC -I/usr/include/python3.6m -c src/pygpgme-signature.c -o build/temp.linux-riscv64-3.6/src/pygpgme-signature.o gcc -pthread -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 -fPIC -I/usr/include/python3.6m -c src/pygpgme-import.c -o build/temp.linux-riscv64-3.6/src/pygpgme-import.o gcc -pthread -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 -fPIC -I/usr/include/python3.6m -c src/pygpgme-keyiter.c -o build/temp.linux-riscv64-3.6/src/pygpgme-keyiter.o gcc -pthread -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 -fPIC -I/usr/include/python3.6m -c src/pygpgme-constants.c -o build/temp.linux-riscv64-3.6/src/pygpgme-constants.o gcc -pthread -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 -fPIC -I/usr/include/python3.6m -c src/pygpgme-genkey.c -o build/temp.linux-riscv64-3.6/src/pygpgme-genkey.o gcc -pthread -shared -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -g -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-3.6/src/gpgme.o build/temp.linux-riscv64-3.6/src/pygpgme-error.o build/temp.linux-riscv64-3.6/src/pygpgme-data.o build/temp.linux-riscv64-3.6/src/pygpgme-context.o build/temp.linux-riscv64-3.6/src/pygpgme-key.o build/temp.linux-riscv64-3.6/src/pygpgme-signature.o build/temp.linux-riscv64-3.6/src/pygpgme-import.o build/temp.linux-riscv64-3.6/src/pygpgme-keyiter.o build/temp.linux-riscv64-3.6/src/pygpgme-constants.o build/temp.linux-riscv64-3.6/src/pygpgme-genkey.o -L/usr/lib64 -lgpgme -lpython3.6m -o build/lib.linux-riscv64-3.6/gpgme/_gpgme.cpython-36m-riscv64-linux-gnu.so + sleep 1 + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.bDp0uI + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-pygpgme-0.3-25.fc28.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-pygpgme-0.3-25.fc28.riscv64 ++ dirname /builddir/build/BUILDROOT/python-pygpgme-0.3-25.fc28.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-pygpgme-0.3-25.fc28.riscv64 + cd pygpgme-0.3 + 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 install -O1 --skip-build --root /builddir/build/BUILDROOT/python-pygpgme-0.3-25.fc28.riscv64 running install running install_lib creating /builddir/build/BUILDROOT/python-pygpgme-0.3-25.fc28.riscv64/usr creating /builddir/build/BUILDROOT/python-pygpgme-0.3-25.fc28.riscv64/usr/lib64 creating /builddir/build/BUILDROOT/python-pygpgme-0.3-25.fc28.riscv64/usr/lib64/python2.7 creating /builddir/build/BUILDROOT/python-pygpgme-0.3-25.fc28.riscv64/usr/lib64/python2.7/site-packages creating /builddir/build/BUILDROOT/python-pygpgme-0.3-25.fc28.riscv64/usr/lib64/python2.7/site-packages/gpgme copying build/lib.linux-riscv64-2.7/gpgme/editutil.py -> /builddir/build/BUILDROOT/python-pygpgme-0.3-25.fc28.riscv64/usr/lib64/python2.7/site-packages/gpgme copying build/lib.linux-riscv64-2.7/gpgme/_gpgme.so -> /builddir/build/BUILDROOT/python-pygpgme-0.3-25.fc28.riscv64/usr/lib64/python2.7/site-packages/gpgme copying build/lib.linux-riscv64-2.7/gpgme/__init__.py -> /builddir/build/BUILDROOT/python-pygpgme-0.3-25.fc28.riscv64/usr/lib64/python2.7/site-packages/gpgme byte-compiling /builddir/build/BUILDROOT/python-pygpgme-0.3-25.fc28.riscv64/usr/lib64/python2.7/site-packages/gpgme/editutil.py to editutil.pyc byte-compiling /builddir/build/BUILDROOT/python-pygpgme-0.3-25.fc28.riscv64/usr/lib64/python2.7/site-packages/gpgme/__init__.py to __init__.pyc writing byte-compilation script '/tmp/tmpMHunbM.py' /usr/bin/python2 -O /tmp/tmpMHunbM.py removing /tmp/tmpMHunbM.py running install_egg_info Writing /builddir/build/BUILDROOT/python-pygpgme-0.3-25.fc28.riscv64/usr/lib64/python2.7/site-packages/pygpgme-0.3-py2.7.egg-info + 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/python3 setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/python-pygpgme-0.3-25.fc28.riscv64 running install running install_lib creating /builddir/build/BUILDROOT/python-pygpgme-0.3-25.fc28.riscv64/usr/lib64/python3.6 creating /builddir/build/BUILDROOT/python-pygpgme-0.3-25.fc28.riscv64/usr/lib64/python3.6/site-packages creating /builddir/build/BUILDROOT/python-pygpgme-0.3-25.fc28.riscv64/usr/lib64/python3.6/site-packages/gpgme copying build/lib.linux-riscv64-3.6/gpgme/editutil.py -> /builddir/build/BUILDROOT/python-pygpgme-0.3-25.fc28.riscv64/usr/lib64/python3.6/site-packages/gpgme copying build/lib.linux-riscv64-3.6/gpgme/_gpgme.cpython-36m-riscv64-linux-gnu.so -> /builddir/build/BUILDROOT/python-pygpgme-0.3-25.fc28.riscv64/usr/lib64/python3.6/site-packages/gpgme copying build/lib.linux-riscv64-3.6/gpgme/__init__.py -> /builddir/build/BUILDROOT/python-pygpgme-0.3-25.fc28.riscv64/usr/lib64/python3.6/site-packages/gpgme byte-compiling /builddir/build/BUILDROOT/python-pygpgme-0.3-25.fc28.riscv64/usr/lib64/python3.6/site-packages/gpgme/editutil.py to editutil.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-pygpgme-0.3-25.fc28.riscv64/usr/lib64/python3.6/site-packages/gpgme/__init__.py to __init__.cpython-36.pyc writing byte-compilation script '/tmp/tmpohk7bu29.py' /usr/bin/python3 /tmp/tmpohk7bu29.py removing /tmp/tmpohk7bu29.py running install_egg_info Writing /builddir/build/BUILDROOT/python-pygpgme-0.3-25.fc28.riscv64/usr/lib64/python3.6/site-packages/pygpgme-0.3-py3.6.egg-info + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 Bytecompiling .py files below /builddir/build/BUILDROOT/python-pygpgme-0.3-25.fc28.riscv64/usr/lib64/python2.7 using /usr/bin/python2.7 Bytecompiling .py files below /builddir/build/BUILDROOT/python-pygpgme-0.3-25.fc28.riscv64/usr/lib64/python3.6 using /usr/bin/python3.6 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: python2-pygpgme-0.3-25.fc28.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.JhUowJ + umask 022 + cd /builddir/build/BUILD + cd pygpgme-0.3 + DOCDIR=/builddir/build/BUILDROOT/python-pygpgme-0.3-25.fc28.riscv64/usr/share/doc/python2-pygpgme + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-pygpgme-0.3-25.fc28.riscv64/usr/share/doc/python2-pygpgme + cp -pr README /builddir/build/BUILDROOT/python-pygpgme-0.3-25.fc28.riscv64/usr/share/doc/python2-pygpgme + cp -pr examples /builddir/build/BUILDROOT/python-pygpgme-0.3-25.fc28.riscv64/usr/share/doc/python2-pygpgme + cp -pr tests /builddir/build/BUILDROOT/python-pygpgme-0.3-25.fc28.riscv64/usr/share/doc/python2-pygpgme + exit 0 Provides: pygpgme = 0.3-25.fc28 pygpgme(riscv-64) = 0.3-25.fc28 python-gpgme = 0.3-25.fc28 python-gpgme(riscv-64) = 0.3-25.fc28 python-pygpgme = 0.3-25.fc28 python-pygpgme(riscv-64) = 0.3-25.fc28 python2-pygpgme = 0.3-25.fc28 python2-pygpgme(riscv-64) = 0.3-25.fc28 python2.7dist(pygpgme) = 0.3 python2dist(pygpgme) = 0.3 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PartialHardlinkSets) <= 4.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libgpgme.so.11()(64bit) libgpgme.so.11(GPGME_1.0)(64bit) libgpgme.so.11(GPGME_1.1)(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.27)(64bit) libpython2.7.so.1.0()(64bit) python(abi) = 2.7 rtld(GNU_HASH) Obsoletes: pygpgme < 0.3-17 python-gpgme < 0.3-25.fc28 python-pygpgme < 0.3-25.fc28 Processing files: python3-pygpgme-0.3-25.fc28.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.4TPPQN + umask 022 + cd /builddir/build/BUILD + cd pygpgme-0.3 + DOCDIR=/builddir/build/BUILDROOT/python-pygpgme-0.3-25.fc28.riscv64/usr/share/doc/python3-pygpgme + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-pygpgme-0.3-25.fc28.riscv64/usr/share/doc/python3-pygpgme + cp -pr README /builddir/build/BUILDROOT/python-pygpgme-0.3-25.fc28.riscv64/usr/share/doc/python3-pygpgme + cp -pr examples /builddir/build/BUILDROOT/python-pygpgme-0.3-25.fc28.riscv64/usr/share/doc/python3-pygpgme + cp -pr tests /builddir/build/BUILDROOT/python-pygpgme-0.3-25.fc28.riscv64/usr/share/doc/python3-pygpgme + exit 0 Provides: python3-pygpgme = 0.3-25.fc28 python3-pygpgme(riscv-64) = 0.3-25.fc28 python3.6dist(pygpgme) = 0.3 python3dist(pygpgme) = 0.3 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PartialHardlinkSets) <= 4.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libgpgme.so.11()(64bit) libgpgme.so.11(GPGME_1.0)(64bit) libgpgme.so.11(GPGME_1.1)(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.27)(64bit) libpython3.6m.so.1.0()(64bit) python(abi) = 3.6 rtld(GNU_HASH) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/python-pygpgme-0.3-25.fc28.riscv64 Wrote: /builddir/build/SRPMS/python-pygpgme-0.3-25.fc28.src.rpm Wrote: /builddir/build/RPMS/riscv64/python2-pygpgme-0.3-25.fc28.riscv64.rpm Wrote: /builddir/build/RPMS/riscv64/python3-pygpgme-0.3-25.fc28.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.jLwbVb + umask 022 + cd /builddir/build/BUILD + cd pygpgme-0.3 + /usr/bin/rm -rf /builddir/build/BUILDROOT/python-pygpgme-0.3-25.fc28.riscv64 + exit 0 + touch /buildok + cleanup + set +e + sync + sleep 5 + sync + poweroff Terminated ++ cleanup ++ set +e ++ sync Terminated +++ cleanup +++ set +e +++ sync +++ sleep 5 +++ sync +++ poweroff