Mock Version: 1.4.13 Mock Version: 1.4.13 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/python-kadmin.spec'], chrootPath='/var/lib/mock/f30-build-41889-23687/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=345600uid=995gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/python-kadmin.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 Wrote: /builddir/build/SRPMS/python-kadmin-0.1.2-1.20181207git94e50ed.fc30.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/python-kadmin.spec'], chrootPath='/var/lib/mock/f30-build-41889-23687/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=345600uid=995gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/python-kadmin.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.O1Tsef + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf python-kadmin-94e50ed0a788d9ff9e4b47a35a65ca22c69b703a + /usr/bin/gzip -dc /builddir/build/SOURCES/python-kadmin-94e50ed.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd python-kadmin-94e50ed0a788d9ff9e4b47a35a65ca22c69b703a + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /builddir/build/SOURCES/0001-build-one-package-with-two-extensions.patch + /usr/bin/patch -s --fuzz=0 --no-backup-if-mismatch + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.qKgl0y + umask 022 + cd /builddir/build/BUILD + cd python-kadmin-94e50ed0a788d9ff9e4b47a35a65ca22c69b703a + 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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + /usr/bin/python3 setup.py build '--executable=/usr/bin/python3 -s' BUILDSTDERR: ./src/getdate.y: warning: 4 shift/reduce conflicts [-Wconflicts-sr] running build running build_ext building 'kadmin' extension creating build creating build/temp.linux-riscv64-3.7 creating build/temp.linux-riscv64-3.7/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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -I/usr/include/ -I/usr/include/et/ -I/usr/include/python3.7m -c src/kadmin.c -o build/temp.linux-riscv64-3.7/src/kadmin.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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -I/usr/include/ -I/usr/include/et/ -I/usr/include/python3.7m -c src/PyKAdminErrors.c -o build/temp.linux-riscv64-3.7/src/PyKAdminErrors.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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -I/usr/include/ -I/usr/include/et/ -I/usr/include/python3.7m -c src/PyKAdminObject.c -o build/temp.linux-riscv64-3.7/src/PyKAdminObject.o BUILDSTDERR: src/PyKAdminObject.c: In function ‘PyKAdminObject_new’: BUILDSTDERR: src/PyKAdminObject.c:43:21: warning: variable ‘code’ set but not used [-Wunused-but-set-variable] BUILDSTDERR: krb5_error_code code = 0; BUILDSTDERR: ^~~~ 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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -I/usr/include/ -I/usr/include/et/ -I/usr/include/python3.7m -c src/PyKAdminIterator.c -o build/temp.linux-riscv64-3.7/src/PyKAdminIterator.o BUILDSTDERR: src/PyKAdminIterator.c:17:12: warning: ‘PyKAdminIterator_init’ defined but not used [-Wunused-function] BUILDSTDERR: static int PyKAdminIterator_init(PyKAdminIterator *self, PyObject *args, PyObject *kwds) { BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~ 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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -I/usr/include/ -I/usr/include/et/ -I/usr/include/python3.7m -c src/PyKAdminPrincipalObject.c -o build/temp.linux-riscv64-3.7/src/PyKAdminPrincipalObject.o BUILDSTDERR: src/PyKAdminPrincipalObject.c:69:18: warning: ‘PyKAdminPrincipal_str’ defined but not used [-Wunused-function] BUILDSTDERR: static PyObject *PyKAdminPrincipal_str(PyKAdminPrincipalObject *self) { BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~ 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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -I/usr/include/ -I/usr/include/et/ -I/usr/include/python3.7m -c src/PyKAdminPolicyObject.c -o build/temp.linux-riscv64-3.7/src/PyKAdminPolicyObject.o BUILDSTDERR: src/PyKAdminPolicyObject.c:123:5: warning: initialization of ‘int (*)(PyObject *, FILE *, int)’ {aka ‘int (*)(struct _object *, struct _IO_FILE *, int)’} from incompatible pointer type ‘int (*)(PyKAdminPolicyObject *, FILE *, int)’ {aka ‘int (*)(struct *, struct _IO_FILE *, int)’} [-Wincompatible-pointer-types] BUILDSTDERR: KAdminPolicyObject_print, /*tp_print*/ BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/PyKAdminPolicyObject.c:123:5: note: (near initialization for ‘PyKAdminPolicyObject_Type.tp_print’) 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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -I/usr/include/ -I/usr/include/et/ -I/usr/include/python3.7m -c src/PyKAdminCommon.c -o build/temp.linux-riscv64-3.7/src/PyKAdminCommon.o BUILDSTDERR: src/PyKAdminCommon.c: In function ‘pykadmin_kadm_from_kdb’: BUILDSTDERR: src/PyKAdminCommon.c:379:11: warning: this ‘else’ clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: } else BUILDSTDERR: ^~~~ BUILDSTDERR: src/PyKAdminCommon.c:382:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘else’ BUILDSTDERR: for (i = 0; i < entry->n_key_data; i++) BUILDSTDERR: ^~~ 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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -I/usr/include/ -I/usr/include/et/ -I/usr/include/python3.7m -c src/PyKAdminXDR.c -o build/temp.linux-riscv64-3.7/src/PyKAdminXDR.o BUILDSTDERR: src/PyKAdminXDR.c: In function ‘pykadmin_xdr_osa_princ_ent_rec’: BUILDSTDERR: src/PyKAdminXDR.c:36:3: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: if (!xdr_array(xdrs, (caddr_t *) &entry->old_keys, (unsigned int *) &entry->old_key_len, ~0, sizeof(osa_pw_hist_ent), pykadmin_xdr_osa_pw_hist_ent)) BUILDSTDERR: ^~ BUILDSTDERR: src/PyKAdminXDR.c:39:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ BUILDSTDERR: result = 1; BUILDSTDERR: ^~~~~~ 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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -I/usr/include/ -I/usr/include/et/ -I/usr/include/python3.7m -c src/getdate.c -o build/temp.linux-riscv64-3.7/src/getdate.o creating build/lib.linux-riscv64-3.7 gcc -pthread -shared -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -g -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection build/temp.linux-riscv64-3.7/src/kadmin.o build/temp.linux-riscv64-3.7/src/PyKAdminErrors.o build/temp.linux-riscv64-3.7/src/PyKAdminObject.o build/temp.linux-riscv64-3.7/src/PyKAdminIterator.o build/temp.linux-riscv64-3.7/src/PyKAdminPrincipalObject.o build/temp.linux-riscv64-3.7/src/PyKAdminPolicyObject.o build/temp.linux-riscv64-3.7/src/PyKAdminCommon.o build/temp.linux-riscv64-3.7/src/PyKAdminXDR.o build/temp.linux-riscv64-3.7/src/getdate.o -L/usr/lib64 -lkrb5 -lkadm5clnt -lkdb5 -lpython3.7m -o build/lib.linux-riscv64-3.7/kadmin.cpython-37m-riscv64-linux-gnu.so building 'kadmin_local' extension 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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -DKADMIN_LOCAL= -I/usr/include/ -I/usr/include/et/ -I/usr/include/python3.7m -c src/kadmin.c -o build/temp.linux-riscv64-3.7/src/kadmin.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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -DKADMIN_LOCAL= -I/usr/include/ -I/usr/include/et/ -I/usr/include/python3.7m -c src/PyKAdminErrors.c -o build/temp.linux-riscv64-3.7/src/PyKAdminErrors.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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -DKADMIN_LOCAL= -I/usr/include/ -I/usr/include/et/ -I/usr/include/python3.7m -c src/PyKAdminObject.c -o build/temp.linux-riscv64-3.7/src/PyKAdminObject.o BUILDSTDERR: src/PyKAdminObject.c: In function ‘PyKAdminObject_new’: BUILDSTDERR: src/PyKAdminObject.c:43:21: warning: variable ‘code’ set but not used [-Wunused-but-set-variable] BUILDSTDERR: krb5_error_code code = 0; BUILDSTDERR: ^~~~ 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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -DKADMIN_LOCAL= -I/usr/include/ -I/usr/include/et/ -I/usr/include/python3.7m -c src/PyKAdminIterator.c -o build/temp.linux-riscv64-3.7/src/PyKAdminIterator.o BUILDSTDERR: src/PyKAdminIterator.c:17:12: warning: ‘PyKAdminIterator_init’ defined but not used [-Wunused-function] BUILDSTDERR: static int PyKAdminIterator_init(PyKAdminIterator *self, PyObject *args, PyObject *kwds) { BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~ 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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -DKADMIN_LOCAL= -I/usr/include/ -I/usr/include/et/ -I/usr/include/python3.7m -c src/PyKAdminPrincipalObject.c -o build/temp.linux-riscv64-3.7/src/PyKAdminPrincipalObject.o BUILDSTDERR: src/PyKAdminPrincipalObject.c:69:18: warning: ‘PyKAdminPrincipal_str’ defined but not used [-Wunused-function] BUILDSTDERR: static PyObject *PyKAdminPrincipal_str(PyKAdminPrincipalObject *self) { BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~ 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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -DKADMIN_LOCAL= -I/usr/include/ -I/usr/include/et/ -I/usr/include/python3.7m -c src/PyKAdminPolicyObject.c -o build/temp.linux-riscv64-3.7/src/PyKAdminPolicyObject.o BUILDSTDERR: src/PyKAdminPolicyObject.c:123:5: warning: initialization of ‘int (*)(PyObject *, FILE *, int)’ {aka ‘int (*)(struct _object *, struct _IO_FILE *, int)’} from incompatible pointer type ‘int (*)(PyKAdminPolicyObject *, FILE *, int)’ {aka ‘int (*)(struct *, struct _IO_FILE *, int)’} [-Wincompatible-pointer-types] BUILDSTDERR: KAdminPolicyObject_print, /*tp_print*/ BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/PyKAdminPolicyObject.c:123:5: note: (near initialization for ‘PyKAdminPolicyObject_Type.tp_print’) 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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -DKADMIN_LOCAL= -I/usr/include/ -I/usr/include/et/ -I/usr/include/python3.7m -c src/PyKAdminCommon.c -o build/temp.linux-riscv64-3.7/src/PyKAdminCommon.o BUILDSTDERR: src/PyKAdminCommon.c: In function ‘pykadmin_kadm_from_kdb’: BUILDSTDERR: src/PyKAdminCommon.c:379:11: warning: this ‘else’ clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: } else BUILDSTDERR: ^~~~ BUILDSTDERR: src/PyKAdminCommon.c:382:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘else’ BUILDSTDERR: for (i = 0; i < entry->n_key_data; i++) BUILDSTDERR: ^~~ 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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -DKADMIN_LOCAL= -I/usr/include/ -I/usr/include/et/ -I/usr/include/python3.7m -c src/PyKAdminXDR.c -o build/temp.linux-riscv64-3.7/src/PyKAdminXDR.o BUILDSTDERR: src/PyKAdminXDR.c: In function ‘pykadmin_xdr_osa_princ_ent_rec’: BUILDSTDERR: src/PyKAdminXDR.c:36:3: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: if (!xdr_array(xdrs, (caddr_t *) &entry->old_keys, (unsigned int *) &entry->old_key_len, ~0, sizeof(osa_pw_hist_ent), pykadmin_xdr_osa_pw_hist_ent)) BUILDSTDERR: ^~ BUILDSTDERR: src/PyKAdminXDR.c:39:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ BUILDSTDERR: result = 1; BUILDSTDERR: ^~~~~~ 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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -DKADMIN_LOCAL= -I/usr/include/ -I/usr/include/et/ -I/usr/include/python3.7m -c src/getdate.c -o build/temp.linux-riscv64-3.7/src/getdate.o gcc -pthread -shared -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -g -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection build/temp.linux-riscv64-3.7/src/kadmin.o build/temp.linux-riscv64-3.7/src/PyKAdminErrors.o build/temp.linux-riscv64-3.7/src/PyKAdminObject.o build/temp.linux-riscv64-3.7/src/PyKAdminIterator.o build/temp.linux-riscv64-3.7/src/PyKAdminPrincipalObject.o build/temp.linux-riscv64-3.7/src/PyKAdminPolicyObject.o build/temp.linux-riscv64-3.7/src/PyKAdminCommon.o build/temp.linux-riscv64-3.7/src/PyKAdminXDR.o build/temp.linux-riscv64-3.7/src/getdate.o -L/usr/lib64 -lkrb5 -lkadm5srv -lkdb5 -lpython3.7m -o build/lib.linux-riscv64-3.7/kadmin_local.cpython-37m-riscv64-linux-gnu.so + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.svf2wY + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-kadmin-0.1.2-1.20181207git94e50ed.fc30.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-kadmin-0.1.2-1.20181207git94e50ed.fc30.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/python-kadmin-0.1.2-1.20181207git94e50ed.fc30.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-kadmin-0.1.2-1.20181207git94e50ed.fc30.riscv64 + cd python-kadmin-94e50ed0a788d9ff9e4b47a35a65ca22c69b703a + 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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + /usr/bin/python3 setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/python-kadmin-0.1.2-1.20181207git94e50ed.fc30.riscv64 running install running install_lib creating /builddir/build/BUILDROOT/python-kadmin-0.1.2-1.20181207git94e50ed.fc30.riscv64/usr creating /builddir/build/BUILDROOT/python-kadmin-0.1.2-1.20181207git94e50ed.fc30.riscv64/usr/lib64 creating /builddir/build/BUILDROOT/python-kadmin-0.1.2-1.20181207git94e50ed.fc30.riscv64/usr/lib64/python3.7 creating /builddir/build/BUILDROOT/python-kadmin-0.1.2-1.20181207git94e50ed.fc30.riscv64/usr/lib64/python3.7/site-packages copying build/lib.linux-riscv64-3.7/kadmin.cpython-37m-riscv64-linux-gnu.so -> /builddir/build/BUILDROOT/python-kadmin-0.1.2-1.20181207git94e50ed.fc30.riscv64/usr/lib64/python3.7/site-packages copying build/lib.linux-riscv64-3.7/kadmin_local.cpython-37m-riscv64-linux-gnu.so -> /builddir/build/BUILDROOT/python-kadmin-0.1.2-1.20181207git94e50ed.fc30.riscv64/usr/lib64/python3.7/site-packages running install_egg_info Writing /builddir/build/BUILDROOT/python-kadmin-0.1.2-1.20181207git94e50ed.fc30.riscv64/usr/lib64/python3.7/site-packages/python_kadmin-0.1.1-py3.7.egg-info + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 0.1.2-1.20181207git94e50ed.fc30 --unique-debug-suffix -0.1.2-1.20181207git94e50ed.fc30.riscv64 --unique-debug-src-base python-kadmin-0.1.2-1.20181207git94e50ed.fc30.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/python-kadmin-94e50ed0a788d9ff9e4b47a35a65ca22c69b703a explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/python-kadmin-0.1.2-1.20181207git94e50ed.fc30.riscv64/usr/lib64/python3.7/site-packages/kadmin.cpython-37m-riscv64-linux-gnu.so explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/python-kadmin-0.1.2-1.20181207git94e50ed.fc30.riscv64/usr/lib64/python3.7/site-packages/kadmin_local.cpython-37m-riscv64-linux-gnu.so extracting debug info from /builddir/build/BUILDROOT/python-kadmin-0.1.2-1.20181207git94e50ed.fc30.riscv64/usr/lib64/python3.7/site-packages/kadmin.cpython-37m-riscv64-linux-gnu.so extracting debug info from /builddir/build/BUILDROOT/python-kadmin-0.1.2-1.20181207git94e50ed.fc30.riscv64/usr/lib64/python3.7/site-packages/kadmin_local.cpython-37m-riscv64-linux-gnu.so /usr/lib/rpm/sepdebugcrcfix: Updated 2 CRC32s, 0 CRC32s did match. BUILDSTDERR: 522 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig BUILDSTDERR: /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-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 0 Bytecompiling .py files below /builddir/build/BUILDROOT/python-kadmin-0.1.2-1.20181207git94e50ed.fc30.riscv64/usr/lib/debug/usr/lib64/python3.7 using /usr/bin/python3.7 Bytecompiling .py files below /builddir/build/BUILDROOT/python-kadmin-0.1.2-1.20181207git94e50ed.fc30.riscv64/usr/lib64/python3.7 using /usr/bin/python3.7 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: python3-kadmin-0.1.2-1.20181207git94e50ed.fc30.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.UYGmYe + umask 022 + cd /builddir/build/BUILD + cd python-kadmin-94e50ed0a788d9ff9e4b47a35a65ca22c69b703a + DOCDIR=/builddir/build/BUILDROOT/python-kadmin-0.1.2-1.20181207git94e50ed.fc30.riscv64/usr/share/doc/python3-kadmin + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-kadmin-0.1.2-1.20181207git94e50ed.fc30.riscv64/usr/share/doc/python3-kadmin + cp -pr README.md /builddir/build/BUILDROOT/python-kadmin-0.1.2-1.20181207git94e50ed.fc30.riscv64/usr/share/doc/python3-kadmin + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.JpNzJz + umask 022 + cd /builddir/build/BUILD + cd python-kadmin-94e50ed0a788d9ff9e4b47a35a65ca22c69b703a + LICENSEDIR=/builddir/build/BUILDROOT/python-kadmin-0.1.2-1.20181207git94e50ed.fc30.riscv64/usr/share/licenses/python3-kadmin + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-kadmin-0.1.2-1.20181207git94e50ed.fc30.riscv64/usr/share/licenses/python3-kadmin + cp -pr LICENSE.txt /builddir/build/BUILDROOT/python-kadmin-0.1.2-1.20181207git94e50ed.fc30.riscv64/usr/share/licenses/python3-kadmin + exit 0 Provides: python3-kadmin = 0.1.2-1.20181207git94e50ed.fc30 python3-kadmin(riscv-64) = 0.1.2-1.20181207git94e50ed.fc30 python3.7dist(python-kadmin) = 0.1.1 python3dist(python-kadmin) = 0.1.1 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-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) libkadm5clnt_mit.so.11()(64bit) libkadm5clnt_mit.so.11(kadm5clnt_mit_11_MIT)(64bit) libkadm5srv_mit.so.11()(64bit) libkadm5srv_mit.so.11(kadm5srv_mit_11_MIT)(64bit) libkdb5.so.9()(64bit) libkdb5.so.9(kdb5_9_MIT)(64bit) libkrb5.so.3()(64bit) libkrb5.so.3(krb5_3_MIT)(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.27)(64bit) libpython3.7m.so.1.0()(64bit) python(abi) = 3.7 rtld(GNU_HASH) Processing files: python-kadmin-debugsource-0.1.2-1.20181207git94e50ed.fc30.riscv64 Provides: python-kadmin-debugsource = 0.1.2-1.20181207git94e50ed.fc30 python-kadmin-debugsource(riscv-64) = 0.1.2-1.20181207git94e50ed.fc30 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: python3-kadmin-debuginfo-0.1.2-1.20181207git94e50ed.fc30.riscv64 Provides: debuginfo(build-id) = 31c1cbbdd3713db3428995ced47a558c38fc7644 debuginfo(build-id) = c4f99428cc9e3e484ffdaff1a825b3aa91f183fe python3-kadmin-debuginfo = 0.1.2-1.20181207git94e50ed.fc30 python3-kadmin-debuginfo(riscv-64) = 0.1.2-1.20181207git94e50ed.fc30 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: python-kadmin-debugsource(riscv-64) = 0.1.2-1.20181207git94e50ed.fc30 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/python-kadmin-0.1.2-1.20181207git94e50ed.fc30.riscv64 Wrote: /builddir/build/RPMS/python3-kadmin-0.1.2-1.20181207git94e50ed.fc30.riscv64.rpm Wrote: /builddir/build/RPMS/python-kadmin-debugsource-0.1.2-1.20181207git94e50ed.fc30.riscv64.rpm Wrote: /builddir/build/RPMS/python3-kadmin-debuginfo-0.1.2-1.20181207git94e50ed.fc30.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.cKCHQi + umask 022 + cd /builddir/build/BUILD + cd python-kadmin-94e50ed0a788d9ff9e4b47a35a65ca22c69b703a + /usr/bin/rm -rf /builddir/build/BUILDROOT/python-kadmin-0.1.2-1.20181207git94e50ed.fc30.riscv64 + exit 0 Child return code was: 0