Mock Version: 2.12 Mock Version: 2.12 Mock Version: 2.12 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/python-nss.spec'], chrootPath='/var/lib/mock/dist-an8.6-build-158281-58346/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': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=989gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/python-nss.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': 'C.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/python-nss-1.0.1-10.an8.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/python-nss.spec'], chrootPath='/var/lib/mock/dist-an8.6-build-158281-58346/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': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=989gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/python-nss.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': 'C.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.t2qFRz + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf python-nss-1.0.1 + /usr/bin/bzip2 -dc /builddir/build/SOURCES/python-nss-1.0.1.tar.bz2 + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd python-nss-1.0.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #1 (sphinx.patch):' Patch #1 (sphinx.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file doc/sphinx/source/conf.py patching file doc/sphinx/source/index.rst patching file setup.py + echo 'Patch #1000 (1000-remove-duplicate-declaration.patch):' Patch #1000 (1000-remove-duplicate-declaration.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file src/py_nss.h + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.42eCP3 + umask 022 + cd /builddir/build/BUILD + cd python-nss-1.0.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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + /usr/libexec/platform-python setup.py build '--executable=/usr/libexec/platform-python -s' running build running build_py creating build creating build/lib.linux-x86_64-3.6 creating build/lib.linux-x86_64-3.6/nss copying src/__init__.py -> build/lib.linux-x86_64-3.6/nss running build_ext building 'nss.error' extension creating build/temp.linux-x86_64-3.6 creating build/temp.linux-x86_64-3.6/src gcc -pthread -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -I/usr/include/nss3 -I/usr/include/nspr4 -I/usr/include/python3.6m -c src/py_nspr_error.c -o build/temp.linux-x86_64-3.6/src/py_nspr_error.o gcc -pthread -shared -Wl,-z,relro -Wl,-z,now -g -Wl,-z,relro -Wl,-z,now -g -Wl,-z,relro -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection build/temp.linux-x86_64-3.6/src/py_nspr_error.o -L/usr/lib64 -lnspr4 -lpython3.6m -o build/lib.linux-x86_64-3.6/nss/error.cpython-36m-x86_64-linux-gnu.so building 'nss.io' extension gcc -pthread -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -I/usr/include/nss3 -I/usr/include/nspr4 -I/usr/include/python3.6m -c src/py_nspr_io.c -o build/temp.linux-x86_64-3.6/src/py_nspr_io.o gcc -pthread -shared -Wl,-z,relro -Wl,-z,now -g -Wl,-z,relro -Wl,-z,now -g -Wl,-z,relro -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection build/temp.linux-x86_64-3.6/src/py_nspr_io.o -L/usr/lib64 -lnspr4 -lpython3.6m -o build/lib.linux-x86_64-3.6/nss/io.cpython-36m-x86_64-linux-gnu.so building 'nss.nss' extension gcc -pthread -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -Isrc -I/usr/include/nss3 -I/usr/include/nspr4 -I/usr/include/python3.6m -c src/py_nss.c -o build/temp.linux-x86_64-3.6/src/py_nss.o In file included from src/py_nss.h:22, from src/py_nss.c:341: /usr/include/nss3/key.h:9:9: note: #pragma message: key.h is deprecated. Please include keyhi.h instead. #pragma message("key.h is deprecated. Please include keyhi.h instead.") ^~~~~~~ In file included from /usr/include/python3.6m/pytime.h:6, from /usr/include/python3.6m/Python.h:77, from src/py_nss.c:335: src/py_nss.c: In function ‘RSAPublicKey_get_modulus’: src/py_nss.c:7107:21: error: ‘RSAPublicKey’ {aka ‘struct RSAPublicKeyStr’} has no member named ‘py_modulus’; did you mean ‘modulus’? Py_INCREF(self->py_modulus); ^~~~~~~~~~ /usr/include/python3.6m/object.h:786:19: note: in definition of macro ‘Py_INCREF’ ((PyObject *)(op))->ob_refcnt++) ^~ src/py_nss.c:7108:18: error: ‘RSAPublicKey’ {aka ‘struct RSAPublicKeyStr’} has no member named ‘py_modulus’; did you mean ‘modulus’? return self->py_modulus; ^~~~~~~~~~ modulus In file included from /usr/include/python3.6m/pytime.h:6, from /usr/include/python3.6m/Python.h:77, from src/py_nss.c:335: src/py_nss.c: In function ‘RSAPublicKey_get_exponent’: src/py_nss.c:7116:21: error: ‘RSAPublicKey’ {aka ‘struct RSAPublicKeyStr’} has no member named ‘py_exponent’; did you mean ‘publicExponent’? Py_INCREF(self->py_exponent); ^~~~~~~~~~~ /usr/include/python3.6m/object.h:786:19: note: in definition of macro ‘Py_INCREF’ ((PyObject *)(op))->ob_refcnt++) ^~ src/py_nss.c:7117:18: error: ‘RSAPublicKey’ {aka ‘struct RSAPublicKeyStr’} has no member named ‘py_exponent’; did you mean ‘publicExponent’? return self->py_exponent; ^~~~~~~~~~~ publicExponent src/py_nss.c: In function ‘RSAPublicKey_new’: src/py_nss.c:7206:11: error: ‘RSAPublicKey’ {aka ‘struct RSAPublicKeyStr’} has no member named ‘py_modulus’; did you mean ‘modulus’? self->py_modulus = NULL; ^~~~~~~~~~ modulus src/py_nss.c:7207:11: error: ‘RSAPublicKey’ {aka ‘struct RSAPublicKeyStr’} has no member named ‘py_exponent’; did you mean ‘publicExponent’? self->py_exponent = NULL; ^~~~~~~~~~~ publicExponent In file included from /usr/include/python3.6m/Python.h:81, from src/py_nss.c:335: src/py_nss.c: In function ‘RSAPublicKey_traverse’: src/py_nss.c:7218:20: error: ‘RSAPublicKey’ {aka ‘struct RSAPublicKeyStr’} has no member named ‘py_modulus’; did you mean ‘modulus’? Py_VISIT(self->py_modulus); ^~~~~~~~~~ /usr/include/python3.6m/objimpl.h:353:13: note: in definition of macro ‘Py_VISIT’ if (op) { \ ^~ src/py_nss.c:7218:20: error: ‘RSAPublicKey’ {aka ‘struct RSAPublicKeyStr’} has no member named ‘py_modulus’; did you mean ‘modulus’? Py_VISIT(self->py_modulus); ^~~~~~~~~~ /usr/include/python3.6m/objimpl.h:354:43: note: in definition of macro ‘Py_VISIT’ int vret = visit((PyObject *)(op), arg); \ ^~ src/py_nss.c:7219:20: error: ‘RSAPublicKey’ {aka ‘struct RSAPublicKeyStr’} has no member named ‘py_exponent’; did you mean ‘publicExponent’? Py_VISIT(self->py_exponent); ^~~~~~~~~~~ /usr/include/python3.6m/objimpl.h:353:13: note: in definition of macro ‘Py_VISIT’ if (op) { \ ^~ src/py_nss.c:7219:20: error: ‘RSAPublicKey’ {aka ‘struct RSAPublicKeyStr’} has no member named ‘py_exponent’; did you mean ‘publicExponent’? Py_VISIT(self->py_exponent); ^~~~~~~~~~~ /usr/include/python3.6m/objimpl.h:354:43: note: in definition of macro ‘Py_VISIT’ int vret = visit((PyObject *)(op), arg); \ ^~ In file included from /usr/include/python3.6m/pytime.h:6, from /usr/include/python3.6m/Python.h:77, from src/py_nss.c:335: src/py_nss.c: In function ‘RSAPublicKey_clear’: src/py_nss.c:7228:20: error: ‘RSAPublicKey’ {aka ‘struct RSAPublicKeyStr’} has no member named ‘py_modulus’; did you mean ‘modulus’? Py_CLEAR(self->py_modulus); ^~~~~~~~~~ /usr/include/python3.6m/object.h:834:42: note: in definition of macro ‘Py_CLEAR’ PyObject *_py_tmp = (PyObject *)(op); \ ^~ src/py_nss.c:7228:20: error: ‘RSAPublicKey’ {aka ‘struct RSAPublicKeyStr’} has no member named ‘py_modulus’; did you mean ‘modulus’? Py_CLEAR(self->py_modulus); ^~~~~~~~~~ /usr/include/python3.6m/object.h:836:14: note: in definition of macro ‘Py_CLEAR’ (op) = NULL; \ ^~ src/py_nss.c:7229:20: error: ‘RSAPublicKey’ {aka ‘struct RSAPublicKeyStr’} has no member named ‘py_exponent’; did you mean ‘publicExponent’? Py_CLEAR(self->py_exponent); ^~~~~~~~~~~ /usr/include/python3.6m/object.h:834:42: note: in definition of macro ‘Py_CLEAR’ PyObject *_py_tmp = (PyObject *)(op); \ ^~ src/py_nss.c:7229:20: error: ‘RSAPublicKey’ {aka ‘struct RSAPublicKeyStr’} has no member named ‘py_exponent’; did you mean ‘publicExponent’? Py_CLEAR(self->py_exponent); ^~~~~~~~~~~ /usr/include/python3.6m/object.h:836:14: note: in definition of macro ‘Py_CLEAR’ (op) = NULL; \ ^~ src/py_nss.c: In function ‘RSAPublicKey_new_from_SECKEYRSAPublicKey’: src/py_nss.c:7305:16: error: ‘RSAPublicKey’ {aka ‘struct RSAPublicKeyStr’} has no member named ‘py_modulus’; did you mean ‘modulus’? if ((self->py_modulus = SecItem_new_from_SECItem(&rsa->modulus, SECITEM_unknown)) == NULL) { ^~~~~~~~~~ modulus src/py_nss.c:7310:16: error: ‘RSAPublicKey’ {aka ‘struct RSAPublicKeyStr’} has no member named ‘py_exponent’; did you mean ‘publicExponent’? if ((self->py_exponent = SecItem_new_from_SECItem(&rsa->publicExponent, SECITEM_unknown)) == NULL) { ^~~~~~~~~~~ publicExponent In file included from /usr/include/python3.6m/pytime.h:6, from /usr/include/python3.6m/Python.h:77, from src/py_nss.c:335: src/py_nss.c: In function ‘DSAPublicKey_get_pqg_params’: src/py_nss.c:7330:19: error: ‘DSAPublicKey’ {aka ‘struct DSAPublicKeyStr’} has no member named ‘py_pqg_params’ Py_INCREF(self->py_pqg_params); ^~ /usr/include/python3.6m/object.h:786:19: note: in definition of macro ‘Py_INCREF’ ((PyObject *)(op))->ob_refcnt++) ^~ src/py_nss.c:7331:16: error: ‘DSAPublicKey’ {aka ‘struct DSAPublicKeyStr’} has no member named ‘py_pqg_params’ return self->py_pqg_params; ^~ In file included from /usr/include/python3.6m/pytime.h:6, from /usr/include/python3.6m/Python.h:77, from src/py_nss.c:335: src/py_nss.c: In function ‘DSAPublicKey_get_public_value’: src/py_nss.c:7339:21: error: ‘DSAPublicKey’ {aka ‘struct DSAPublicKeyStr’} has no member named ‘py_public_value’; did you mean ‘publicValue’? Py_INCREF(self->py_public_value); ^~~~~~~~~~~~~~~ /usr/include/python3.6m/object.h:786:19: note: in definition of macro ‘Py_INCREF’ ((PyObject *)(op))->ob_refcnt++) ^~ src/py_nss.c:7340:18: error: ‘DSAPublicKey’ {aka ‘struct DSAPublicKeyStr’} has no member named ‘py_public_value’; did you mean ‘publicValue’? return self->py_public_value; ^~~~~~~~~~~~~~~ publicValue src/py_nss.c: In function ‘DSAPublicKey_new’: src/py_nss.c:7431:9: error: ‘DSAPublicKey’ {aka ‘struct DSAPublicKeyStr’} has no member named ‘py_pqg_params’ self->py_pqg_params = NULL; ^~ src/py_nss.c:7432:11: error: ‘DSAPublicKey’ {aka ‘struct DSAPublicKeyStr’} has no member named ‘py_public_value’; did you mean ‘publicValue’? self->py_public_value = NULL; ^~~~~~~~~~~~~~~ publicValue In file included from /usr/include/python3.6m/Python.h:81, from src/py_nss.c:335: src/py_nss.c: In function ‘DSAPublicKey_traverse’: src/py_nss.c:7443:18: error: ‘DSAPublicKey’ {aka ‘struct DSAPublicKeyStr’} has no member named ‘py_pqg_params’ Py_VISIT(self->py_pqg_params); ^~ /usr/include/python3.6m/objimpl.h:353:13: note: in definition of macro ‘Py_VISIT’ if (op) { \ ^~ src/py_nss.c:7443:18: error: ‘DSAPublicKey’ {aka ‘struct DSAPublicKeyStr’} has no member named ‘py_pqg_params’ Py_VISIT(self->py_pqg_params); ^~ /usr/include/python3.6m/objimpl.h:354:43: note: in definition of macro ‘Py_VISIT’ int vret = visit((PyObject *)(op), arg); \ ^~ src/py_nss.c:7444:20: error: ‘DSAPublicKey’ {aka ‘struct DSAPublicKeyStr’} has no member named ‘py_public_value’; did you mean ‘publicValue’? Py_VISIT(self->py_public_value); ^~~~~~~~~~~~~~~ /usr/include/python3.6m/objimpl.h:353:13: note: in definition of macro ‘Py_VISIT’ if (op) { \ ^~ src/py_nss.c:7444:20: error: ‘DSAPublicKey’ {aka ‘struct DSAPublicKeyStr’} has no member named ‘py_public_value’; did you mean ‘publicValue’? Py_VISIT(self->py_public_value); ^~~~~~~~~~~~~~~ /usr/include/python3.6m/objimpl.h:354:43: note: in definition of macro ‘Py_VISIT’ int vret = visit((PyObject *)(op), arg); \ ^~ In file included from /usr/include/python3.6m/pytime.h:6, from /usr/include/python3.6m/Python.h:77, from src/py_nss.c:335: src/py_nss.c: In function ‘DSAPublicKey_clear’: src/py_nss.c:7453:18: error: ‘DSAPublicKey’ {aka ‘struct DSAPublicKeyStr’} has no member named ‘py_pqg_params’ Py_CLEAR(self->py_pqg_params); ^~ /usr/include/python3.6m/object.h:834:42: note: in definition of macro ‘Py_CLEAR’ PyObject *_py_tmp = (PyObject *)(op); \ ^~ src/py_nss.c:7453:18: error: ‘DSAPublicKey’ {aka ‘struct DSAPublicKeyStr’} has no member named ‘py_pqg_params’ Py_CLEAR(self->py_pqg_params); ^~ /usr/include/python3.6m/object.h:836:14: note: in definition of macro ‘Py_CLEAR’ (op) = NULL; \ ^~ src/py_nss.c:7454:20: error: ‘DSAPublicKey’ {aka ‘struct DSAPublicKeyStr’} has no member named ‘py_public_value’; did you mean ‘publicValue’? Py_CLEAR(self->py_public_value); ^~~~~~~~~~~~~~~ /usr/include/python3.6m/object.h:834:42: note: in definition of macro ‘Py_CLEAR’ PyObject *_py_tmp = (PyObject *)(op); \ ^~ src/py_nss.c:7454:20: error: ‘DSAPublicKey’ {aka ‘struct DSAPublicKeyStr’} has no member named ‘py_public_value’; did you mean ‘publicValue’? Py_CLEAR(self->py_public_value); ^~~~~~~~~~~~~~~ /usr/include/python3.6m/object.h:836:14: note: in definition of macro ‘Py_CLEAR’ (op) = NULL; \ ^~ src/py_nss.c: In function ‘DSAPublicKey_new_from_SECKEYDSAPublicKey’: src/py_nss.c:7530:14: error: ‘DSAPublicKey’ {aka ‘struct DSAPublicKeyStr’} has no member named ‘py_pqg_params’ if ((self->py_pqg_params = KEYPQGParams_new_from_SECKEYPQGParams(&dsa->params)) == NULL) { ^~ src/py_nss.c:7535:16: error: ‘DSAPublicKey’ {aka ‘struct DSAPublicKeyStr’} has no member named ‘py_public_value’; did you mean ‘publicValue’? if ((self->py_public_value = SecItem_new_from_SECItem(&dsa->publicValue, SECITEM_unknown)) == NULL) { ^~~~~~~~~~~~~~~ publicValue src/py_nss.c: In function ‘RSAPublicKey_get_exponent’: src/py_nss.c:7118:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ src/py_nss.c: In function ‘RSAPublicKey_get_modulus’: src/py_nss.c:7109:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ src/py_nss.c: In function ‘DSAPublicKey_get_public_value’: src/py_nss.c:7341:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ src/py_nss.c: In function ‘DSAPublicKey_get_pqg_params’: src/py_nss.c:7332:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ error: command 'gcc' failed with exit status 1 error: Bad exit status from /var/tmp/rpm-tmp.42eCP3 (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.42eCP3 (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 600, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/python-nss.spec