+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/python-dmidecode.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.oEhxrA + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf python-dmidecode-3.12.2 + /usr/bin/mkdir -p python-dmidecode-3.12.2 + cd python-dmidecode-3.12.2 + /usr/bin/gzip -dc /builddir/build/SOURCES/python-dmidecode-3.12.2.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + mv python-dmidecode-3.12.2 python2 + cp -a python2 python3 + pushd python3 ~/build/BUILD/python-dmidecode-3.12.2/python3 ~/build/BUILD/python-dmidecode-3.12.2 + sed -i s/python2/python3/g Makefile unit-tests/Makefile + popd ~/build/BUILD/python-dmidecode-3.12.2 + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.MGUqgS + umask 022 + cd /builddir/build/BUILD + cd python-dmidecode-3.12.2 + export 'CFLAGS= -std=gnu89' + CFLAGS=' -std=gnu89' + for PY in python2 python3 + pushd python2 ~/build/BUILD/python-dmidecode-3.12.2/python2 ~/build/BUILD/python-dmidecode-3.12.2 + make build python2.7 src/setup.py build running build running build_py creating build creating build/lib.linux-riscv64-2.7 copying dmidecode.py -> build/lib.linux-riscv64-2.7 running build_ext building 'dmidecodemod' 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 -std=gnu89 -fPIC -UNDEBUG -I/usr/include/libxml2 -I/usr/include/python2.7 -c src/dmidecodemodule.c -o build/temp.linux-riscv64-2.7/src/dmidecodemodule.o src/dmidecodemodule.c:740:28: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types] {(char *)"xmlapi", dmidecode_xmlapi, METH_VARARGS | METH_KEYWORDS, ^~~~~~~~~~~~~~~~ src/dmidecodemodule.c:740:28: note: (near initialization for 'DMIDataMethods[16].ml_meth') 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 -std=gnu89 -fPIC -UNDEBUG -I/usr/include/libxml2 -I/usr/include/python2.7 -c src/util.c -o build/temp.linux-riscv64-2.7/src/util.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 -std=gnu89 -fPIC -UNDEBUG -I/usr/include/libxml2 -I/usr/include/python2.7 -c src/dmioem.c -o build/temp.linux-riscv64-2.7/src/dmioem.o In file included from /usr/include/python2.7/pyconfig.h:6:0, from /usr/include/python2.7/Python.h:8, from src/dmihelper.h:45, from src/dmidecode.h:23, from src/dmioem.c:27: /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/bits/libc-header-start.h:33:0, from /usr/include/stdio.h:27, from src/dmioem.c:23: /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 src/dmihelper.h:45, from src/dmidecode.h:23, from src/dmioem.c:27: /usr/include/python2.7/pyconfig-64.h:1221:0: warning: "_XOPEN_SOURCE" redefined #define _XOPEN_SOURCE 600 In file included from /usr/include/bits/libc-header-start.h:33:0, from /usr/include/stdio.h:27, from src/dmioem.c:23: /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 -std=gnu89 -fPIC -UNDEBUG -I/usr/include/libxml2 -I/usr/include/python2.7 -c src/dmidecode.c -o build/temp.linux-riscv64-2.7/src/dmidecode.o In file included from /usr/include/python2.7/pyconfig.h:6:0, from /usr/include/python2.7/Python.h:8, from src/dmihelper.h:45, from src/dmidecode.h:23, from src/dmidecode.c:87: /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/assert.h:35:0, from src/dmidecode.c:76: /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 src/dmihelper.h:45, from src/dmidecode.h:23, from src/dmidecode.c:87: /usr/include/python2.7/pyconfig-64.h:1221:0: warning: "_XOPEN_SOURCE" redefined #define _XOPEN_SOURCE 600 In file included from /usr/include/assert.h:35:0, from src/dmidecode.c:76: /usr/include/features.h:202:0: note: this is the location of the previous definition # define _XOPEN_SOURCE 700 src/dmidecode.c: In function 'dmi_additional_info': src/dmidecode.c:3907:42: warning: variable 'str_n' set but not used [-Wunused-but-set-variable] xmlNode *data_n = NULL, *str_n = NULL, *val_n = NULL; ^~~~~ 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 -std=gnu89 -fPIC -UNDEBUG -I/usr/include/libxml2 -I/usr/include/python2.7 -c src/dmixml.c -o build/temp.linux-riscv64-2.7/src/dmixml.o In file included from /usr/include/python2.7/pyconfig.h:6:0, from /usr/include/python2.7/Python.h:8, from src/dmihelper.h:45, from src/dmidecode.h:23, from src/dmixml.c:44: /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/bits/libc-header-start.h:33:0, from /usr/include/string.h:26, from src/dmixml.c:36: /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 src/dmihelper.h:45, from src/dmidecode.h:23, from src/dmixml.c:44: /usr/include/python2.7/pyconfig-64.h:1221:0: warning: "_XOPEN_SOURCE" redefined #define _XOPEN_SOURCE 600 In file included from /usr/include/bits/libc-header-start.h:33:0, from /usr/include/string.h:26, from src/dmixml.c:36: /usr/include/features.h:202:0: note: this is the location of the previous definition # define _XOPEN_SOURCE 700 src/dmixml.c: In function 'dmixml_buildstr': src/dmixml.c:68:33: warning: pointer targets in passing argument 3 of 'xmlStrVPrintf' differ in signedness [-Wpointer-sign] xmlStrVPrintf(ret, len, xmlfmt, ap); ^~~~~~ In file included from /usr/include/libxml2/libxml/tree.h:18:0, from src/dmixml.c:40: /usr/include/libxml2/libxml/xmlstring.h:103:17: note: expected 'const char *' but argument is of type 'xmlChar * {aka unsigned char *}' xmlStrVPrintf (xmlChar *buf, ^~~~~~~~~~~~~ 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 -std=gnu89 -fPIC -UNDEBUG -I/usr/include/libxml2 -I/usr/include/python2.7 -c src/dmierror.c -o build/temp.linux-riscv64-2.7/src/dmierror.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 -std=gnu89 -fPIC -UNDEBUG -I/usr/include/libxml2 -I/usr/include/python2.7 -c src/dmilog.c -o build/temp.linux-riscv64-2.7/src/dmilog.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 -std=gnu89 -fPIC -UNDEBUG -I/usr/include/libxml2 -I/usr/include/python2.7 -c src/xmlpythonizer.c -o build/temp.linux-riscv64-2.7/src/xmlpythonizer.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 -std=gnu89 -fPIC -UNDEBUG -I/usr/include/libxml2 -I/usr/include/python2.7 -c src/efi.c -o build/temp.linux-riscv64-2.7/src/efi.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 -std=gnu89 -fPIC -UNDEBUG -I/usr/include/libxml2 -I/usr/include/python2.7 -c src/dmidump.c -o build/temp.linux-riscv64-2.7/src/dmidump.o gcc -pthread -shared -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -std=gnu89 build/temp.linux-riscv64-2.7/src/dmidecodemodule.o build/temp.linux-riscv64-2.7/src/util.o build/temp.linux-riscv64-2.7/src/dmioem.o build/temp.linux-riscv64-2.7/src/dmidecode.o build/temp.linux-riscv64-2.7/src/dmixml.o build/temp.linux-riscv64-2.7/src/dmierror.o build/temp.linux-riscv64-2.7/src/dmilog.o build/temp.linux-riscv64-2.7/src/xmlpythonizer.o build/temp.linux-riscv64-2.7/src/efi.o build/temp.linux-riscv64-2.7/src/dmidump.o -L/usr/lib64/python2.7/site-packages -L/usr/lib64 -lxml2 -lz -llzma -lm -ldl -lxml2mod -lpython2.7 -o build/lib.linux-riscv64-2.7/dmidecodemod.so cp build/lib.linux-riscv64-2.7/dmidecodemod.so python2.7-dmidecodemod.so + popd ~/build/BUILD/python-dmidecode-3.12.2 + for PY in python2 python3 + pushd python3 ~/build/BUILD/python-dmidecode-3.12.2/python3 ~/build/BUILD/python-dmidecode-3.12.2 + make build python3.6 src/setup.py build running build running build_py creating build creating build/lib.linux-riscv64-3.6 copying dmidecode.py -> build/lib.linux-riscv64-3.6 running build_ext building 'dmidecodemod' 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 -std=gnu89 -fPIC -UNDEBUG -I/usr/include/libxml2 -I/usr/include/python3.6m -c src/dmidecodemodule.c -o build/temp.linux-riscv64-3.6/src/dmidecodemodule.o src/dmidecodemodule.c:740:28: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types] {(char *)"xmlapi", dmidecode_xmlapi, METH_VARARGS | METH_KEYWORDS, ^~~~~~~~~~~~~~~~ src/dmidecodemodule.c:740:28: note: (near initialization for ‘DMIDataMethods[16].ml_meth’) src/dmidecodemodule.c: In function ‘PyInit_dmidecodemod’: src/dmidecodemodule.c:846:72: warning: passing argument 3 of ‘PyCapsule_New’ from incompatible pointer type [-Wincompatible-pointer-types] PyModule_AddObject(module, "options", PyCapsule_New(opt, NULL, destruct_options)); ^~~~~~~~~~~~~~~~ In file included from /usr/include/python3.6m/Python.h:99:0, from src/dmidecodemodule.c:42: /usr/include/python3.6m/pycapsule.h:28:24: note: expected ‘PyCapsule_Destructor {aka void (*)(struct _object *)}’ but argument is of type ‘void (*)(void *)’ PyAPI_FUNC(PyObject *) PyCapsule_New( ^~~~~~~~~~~~~ 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 -std=gnu89 -fPIC -UNDEBUG -I/usr/include/libxml2 -I/usr/include/python3.6m -c src/util.c -o build/temp.linux-riscv64-3.6/src/util.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 -std=gnu89 -fPIC -UNDEBUG -I/usr/include/libxml2 -I/usr/include/python3.6m -c src/dmioem.c -o build/temp.linux-riscv64-3.6/src/dmioem.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 -std=gnu89 -fPIC -UNDEBUG -I/usr/include/libxml2 -I/usr/include/python3.6m -c src/dmidecode.c -o build/temp.linux-riscv64-3.6/src/dmidecode.o src/dmidecode.c: In function ‘dmi_additional_info’: src/dmidecode.c:3907:42: warning: variable ‘str_n’ set but not used [-Wunused-but-set-variable] xmlNode *data_n = NULL, *str_n = NULL, *val_n = NULL; ^~~~~ 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 -std=gnu89 -fPIC -UNDEBUG -I/usr/include/libxml2 -I/usr/include/python3.6m -c src/dmixml.c -o build/temp.linux-riscv64-3.6/src/dmixml.o src/dmixml.c: In function ‘dmixml_buildstr’: src/dmixml.c:68:33: warning: pointer targets in passing argument 3 of ‘xmlStrVPrintf’ differ in signedness [-Wpointer-sign] xmlStrVPrintf(ret, len, xmlfmt, ap); ^~~~~~ In file included from /usr/include/libxml2/libxml/tree.h:18:0, from src/dmixml.c:40: /usr/include/libxml2/libxml/xmlstring.h:103:17: note: expected ‘const char *’ but argument is of type ‘xmlChar * {aka unsigned char *}’ xmlStrVPrintf (xmlChar *buf, ^~~~~~~~~~~~~ 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 -std=gnu89 -fPIC -UNDEBUG -I/usr/include/libxml2 -I/usr/include/python3.6m -c src/dmierror.c -o build/temp.linux-riscv64-3.6/src/dmierror.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 -std=gnu89 -fPIC -UNDEBUG -I/usr/include/libxml2 -I/usr/include/python3.6m -c src/dmilog.c -o build/temp.linux-riscv64-3.6/src/dmilog.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 -std=gnu89 -fPIC -UNDEBUG -I/usr/include/libxml2 -I/usr/include/python3.6m -c src/xmlpythonizer.c -o build/temp.linux-riscv64-3.6/src/xmlpythonizer.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 -std=gnu89 -fPIC -UNDEBUG -I/usr/include/libxml2 -I/usr/include/python3.6m -c src/efi.c -o build/temp.linux-riscv64-3.6/src/efi.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 -std=gnu89 -fPIC -UNDEBUG -I/usr/include/libxml2 -I/usr/include/python3.6m -c src/dmidump.c -o build/temp.linux-riscv64-3.6/src/dmidump.o gcc -pthread -shared -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -g -std=gnu89 build/temp.linux-riscv64-3.6/src/dmidecodemodule.o build/temp.linux-riscv64-3.6/src/util.o build/temp.linux-riscv64-3.6/src/dmioem.o build/temp.linux-riscv64-3.6/src/dmidecode.o build/temp.linux-riscv64-3.6/src/dmixml.o build/temp.linux-riscv64-3.6/src/dmierror.o build/temp.linux-riscv64-3.6/src/dmilog.o build/temp.linux-riscv64-3.6/src/xmlpythonizer.o build/temp.linux-riscv64-3.6/src/efi.o build/temp.linux-riscv64-3.6/src/dmidump.o -L/usr/lib64/python3.6/site-packages -L/usr/lib64 -lxml2 -lz -llzma -lm -ldl -lxml2mod -lpython3.6m -o build/lib.linux-riscv64-3.6/dmidecodemod.cpython-36m-riscv64-linux-gnu.so cp build/lib.linux-riscv64-3.6/dmidecodemod.cpython-36m-riscv64-linux-gnu.so python3.6-dmidecodemod.so + popd ~/build/BUILD/python-dmidecode-3.12.2 + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.Nv4ZFB + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-dmidecode-3.12.2-8.fc28.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-dmidecode-3.12.2-8.fc28.riscv64 ++ dirname /builddir/build/BUILDROOT/python-dmidecode-3.12.2-8.fc28.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-dmidecode-3.12.2-8.fc28.riscv64 + cd python-dmidecode-3.12.2 + pushd python2 ~/build/BUILD/python-dmidecode-3.12.2/python2 ~/build/BUILD/python-dmidecode-3.12.2 + /usr/bin/python2 src/setup.py install --root /builddir/build/BUILDROOT/python-dmidecode-3.12.2-8.fc28.riscv64 --prefix=/usr running install running build running build_py running build_ext running install_lib creating /builddir/build/BUILDROOT/python-dmidecode-3.12.2-8.fc28.riscv64/usr creating /builddir/build/BUILDROOT/python-dmidecode-3.12.2-8.fc28.riscv64/usr/lib64 creating /builddir/build/BUILDROOT/python-dmidecode-3.12.2-8.fc28.riscv64/usr/lib64/python2.7 creating /builddir/build/BUILDROOT/python-dmidecode-3.12.2-8.fc28.riscv64/usr/lib64/python2.7/site-packages copying build/lib.linux-riscv64-2.7/dmidecode.py -> /builddir/build/BUILDROOT/python-dmidecode-3.12.2-8.fc28.riscv64/usr/lib64/python2.7/site-packages copying build/lib.linux-riscv64-2.7/dmidecodemod.so -> /builddir/build/BUILDROOT/python-dmidecode-3.12.2-8.fc28.riscv64/usr/lib64/python2.7/site-packages byte-compiling /builddir/build/BUILDROOT/python-dmidecode-3.12.2-8.fc28.riscv64/usr/lib64/python2.7/site-packages/dmidecode.py to dmidecode.pyc running install_data creating /builddir/build/BUILDROOT/python-dmidecode-3.12.2-8.fc28.riscv64/usr/share creating /builddir/build/BUILDROOT/python-dmidecode-3.12.2-8.fc28.riscv64/usr/share/python-dmidecode copying src/pymap.xml -> /builddir/build/BUILDROOT/python-dmidecode-3.12.2-8.fc28.riscv64/usr/share/python-dmidecode running install_egg_info Writing /builddir/build/BUILDROOT/python-dmidecode-3.12.2-8.fc28.riscv64/usr/lib64/python2.7/site-packages/python_dmidecode-3.12.2-py2.7.egg-info + popd ~/build/BUILD/python-dmidecode-3.12.2 + pushd python3 ~/build/BUILD/python-dmidecode-3.12.2/python3 ~/build/BUILD/python-dmidecode-3.12.2 + /usr/bin/python3 src/setup.py install --root /builddir/build/BUILDROOT/python-dmidecode-3.12.2-8.fc28.riscv64 --prefix=/usr running install running build running build_py running build_ext running install_lib creating /builddir/build/BUILDROOT/python-dmidecode-3.12.2-8.fc28.riscv64/usr/lib64/python3.6 creating /builddir/build/BUILDROOT/python-dmidecode-3.12.2-8.fc28.riscv64/usr/lib64/python3.6/site-packages copying build/lib.linux-riscv64-3.6/dmidecode.py -> /builddir/build/BUILDROOT/python-dmidecode-3.12.2-8.fc28.riscv64/usr/lib64/python3.6/site-packages copying build/lib.linux-riscv64-3.6/dmidecodemod.cpython-36m-riscv64-linux-gnu.so -> /builddir/build/BUILDROOT/python-dmidecode-3.12.2-8.fc28.riscv64/usr/lib64/python3.6/site-packages byte-compiling /builddir/build/BUILDROOT/python-dmidecode-3.12.2-8.fc28.riscv64/usr/lib64/python3.6/site-packages/dmidecode.py to dmidecode.cpython-36.pyc running install_data running install_egg_info Writing /builddir/build/BUILDROOT/python-dmidecode-3.12.2-8.fc28.riscv64/usr/lib64/python3.6/site-packages/python_dmidecode-3.12.2-py3.6.egg-info + popd ~/build/BUILD/python-dmidecode-3.12.2 + /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-dmidecode-3.12.2-8.fc28.riscv64/usr/lib64/python3.6 using /usr/bin/python3.6 Bytecompiling .py files below /builddir/build/BUILDROOT/python-dmidecode-3.12.2-8.fc28.riscv64/usr/lib64/python2.7 using /usr/bin/python2.7 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: python-dmidecode-3.12.2-8.fc28.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.265dNY + umask 022 + cd /builddir/build/BUILD + cd python-dmidecode-3.12.2 + DOCDIR=/builddir/build/BUILDROOT/python-dmidecode-3.12.2-8.fc28.riscv64/usr/share/doc/python-dmidecode + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-dmidecode-3.12.2-8.fc28.riscv64/usr/share/doc/python-dmidecode + cp -pr python2/README /builddir/build/BUILDROOT/python-dmidecode-3.12.2-8.fc28.riscv64/usr/share/doc/python-dmidecode + cp -pr python2/doc/README.upstream /builddir/build/BUILDROOT/python-dmidecode-3.12.2-8.fc28.riscv64/usr/share/doc/python-dmidecode + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.LRg6HM + umask 022 + cd /builddir/build/BUILD + cd python-dmidecode-3.12.2 + LICENSEDIR=/builddir/build/BUILDROOT/python-dmidecode-3.12.2-8.fc28.riscv64/usr/share/licenses/python-dmidecode + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-dmidecode-3.12.2-8.fc28.riscv64/usr/share/licenses/python-dmidecode + cp -pr python2/doc/LICENSE /builddir/build/BUILDROOT/python-dmidecode-3.12.2-8.fc28.riscv64/usr/share/licenses/python-dmidecode + cp -pr python2/doc/AUTHORS /builddir/build/BUILDROOT/python-dmidecode-3.12.2-8.fc28.riscv64/usr/share/licenses/python-dmidecode + cp -pr python2/doc/AUTHORS.upstream /builddir/build/BUILDROOT/python-dmidecode-3.12.2-8.fc28.riscv64/usr/share/licenses/python-dmidecode + exit 0 Provides: python-dmidecode = 3.12.2-8.fc28 python-dmidecode(riscv-64) = 3.12.2-8.fc28 python2.7dist(python-dmidecode) = 3.12.2 python2dist(python-dmidecode) = 3.12.2 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) libdl.so.2()(64bit) liblzma.so.5()(64bit) libm.so.6()(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.27)(64bit) libpython2.7.so.1.0()(64bit) libxml2.so.2()(64bit) libxml2.so.2(LIBXML2_2.4.30)(64bit) libxml2.so.2(LIBXML2_2.6.0)(64bit) libxml2.so.2(LIBXML2_2.6.2)(64bit) libxml2mod.so()(64bit) libz.so.1()(64bit) python(abi) = 2.7 rtld(GNU_HASH) Processing files: python3-dmidecode-3.12.2-8.fc28.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.MULwNT + umask 022 + cd /builddir/build/BUILD + cd python-dmidecode-3.12.2 + DOCDIR=/builddir/build/BUILDROOT/python-dmidecode-3.12.2-8.fc28.riscv64/usr/share/doc/python3-dmidecode + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-dmidecode-3.12.2-8.fc28.riscv64/usr/share/doc/python3-dmidecode + cp -pr python3/README /builddir/build/BUILDROOT/python-dmidecode-3.12.2-8.fc28.riscv64/usr/share/doc/python3-dmidecode + cp -pr python3/doc/README.upstream /builddir/build/BUILDROOT/python-dmidecode-3.12.2-8.fc28.riscv64/usr/share/doc/python3-dmidecode + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.yeL2ck + umask 022 + cd /builddir/build/BUILD + cd python-dmidecode-3.12.2 + LICENSEDIR=/builddir/build/BUILDROOT/python-dmidecode-3.12.2-8.fc28.riscv64/usr/share/licenses/python3-dmidecode + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-dmidecode-3.12.2-8.fc28.riscv64/usr/share/licenses/python3-dmidecode + cp -pr python3/doc/LICENSE /builddir/build/BUILDROOT/python-dmidecode-3.12.2-8.fc28.riscv64/usr/share/licenses/python3-dmidecode + cp -pr python3/doc/AUTHORS /builddir/build/BUILDROOT/python-dmidecode-3.12.2-8.fc28.riscv64/usr/share/licenses/python3-dmidecode + cp -pr python3/doc/AUTHORS.upstream /builddir/build/BUILDROOT/python-dmidecode-3.12.2-8.fc28.riscv64/usr/share/licenses/python3-dmidecode + exit 0 Provides: python3-dmidecode = 3.12.2-8.fc28 python3-dmidecode(riscv-64) = 3.12.2-8.fc28 python3.6dist(python-dmidecode) = 3.12.2 python3dist(python-dmidecode) = 3.12.2 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) libdl.so.2()(64bit) liblzma.so.5()(64bit) libm.so.6()(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.27)(64bit) libpython3.6m.so.1.0()(64bit) libxml2.so.2()(64bit) libxml2.so.2(LIBXML2_2.4.30)(64bit) libxml2.so.2(LIBXML2_2.6.0)(64bit) libxml2.so.2(LIBXML2_2.6.2)(64bit) libxml2mod.so()(64bit) libz.so.1()(64bit) python(abi) = 3.6 rtld(GNU_HASH) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/python-dmidecode-3.12.2-8.fc28.riscv64 Wrote: /builddir/build/SRPMS/python-dmidecode-3.12.2-8.fc28.src.rpm Wrote: /builddir/build/RPMS/riscv64/python-dmidecode-3.12.2-8.fc28.riscv64.rpm Wrote: /builddir/build/RPMS/riscv64/python3-dmidecode-3.12.2-8.fc28.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.uddlkt + umask 022 + cd /builddir/build/BUILD + cd python-dmidecode-3.12.2 + /usr/bin/rm -rf /builddir/build/BUILDROOT/python-dmidecode-3.12.2-8.fc28.riscv64 + exit 0 + touch /buildok + cleanup + set +e + sync + sleep 5 + sync + poweroff Terminated ++ cleanup ++ set +e ++ sync ++ sleep 5 Terminated +++ cleanup +++ set +e +++ sync +++ sleep 5 +++ sync +++ poweroff