Mock Version: 2.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/pyliblzma.spec'], chrootPath='/var/lib/mock/1322949-epel-8-x86_64-1585480098.723777/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=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.lec1h21z:/etc/resolv.conf', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.lec1h21z:/etc/resolv.conf', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '0373b4a635f6464cb9aff0fcfc134b53', '-D', '/var/lib/mock/1322949-epel-8-x86_64-1585480098.723777/root', '-a', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.lec1h21z:/etc/resolv.conf', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=en_US.UTF-8', '-u', 'mockbuild', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/pyliblzma.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 sh: /usr/bin/python2: No such file or directory sh: /usr/bin/python2: No such file or directory sh: /usr/bin/python2: No such file or directory Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/pyliblzma-0.5.3-25.el8.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/pyliblzma.spec'], chrootPath='/var/lib/mock/1322949-epel-8-x86_64-1585480098.723777/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=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.lec1h21z:/etc/resolv.conf', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.lec1h21z:/etc/resolv.conf', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'def7ca78ef754ceab85e17de98a21a79', '-D', '/var/lib/mock/1322949-epel-8-x86_64-1585480098.723777/root', '-a', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.lec1h21z:/etc/resolv.conf', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=en_US.UTF-8', '-u', 'mockbuild', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/pyliblzma.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: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.WrL5G6 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf pyliblzma-0.5.3 + /usr/bin/bzip2 -dc /builddir/build/SOURCES/pyliblzma-0.5.3.tar.bz2 + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd pyliblzma-0.5.3 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (no-script-liblzma.patch):' Patch #0 (no-script-liblzma.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file liblzma.py + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.60wAoK + umask 022 + cd /builddir/build/BUILD + cd pyliblzma-0.5.3 + /usr/bin/python2 setup.py build running build running build_py creating build creating build/lib.linux-x86_64-2.7 copying liblzma.py -> build/lib.linux-x86_64-2.7 running build_ext building 'lzma' extension creating build/temp.linux-x86_64-2.7 creating build/temp.linux-x86_64-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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -fPIC -DVERSION="0.5.3" -I/usr/include/python2.7 -c src/liblzma.c -o build/temp.linux-x86_64-2.7/src/liblzma.o -Wall -Wextra -pedantic -Wswitch-enum -Wswitch-default -std=gnu99 src/liblzma.c:234:15: warning: cast between incompatible function types from 'PyObject * (*)(PyObject *, PyObject *, PyObject *)' {aka 'struct _object * (*)(struct _object *, struct _object *, struct _object *)'} to 'PyObject * (*)(PyObject *, PyObject *)' {aka 'struct _object * (*)(struct _object *, struct _object *)'} [-Wcast-function-type] {"compress", (PyCFunction)LZMA_compress, ^ src/liblzma.c:240:17: warning: cast between incompatible function types from 'PyObject * (*)(PyObject *, PyObject *, PyObject *)' {aka 'struct _object * (*)(struct _object *, struct _object *, struct _object *)'} to 'PyObject * (*)(PyObject *, PyObject *)' {aka 'struct _object * (*)(struct _object *, struct _object *)'} [-Wcast-function-type] {"decompress", (PyCFunction)LZMA_decompress, ^ 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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -fPIC -DVERSION="0.5.3" -I/usr/include/python2.7 -c src/liblzma_compressobj.c -o build/temp.linux-x86_64-2.7/src/liblzma_compressobj.o -Wall -Wextra -pedantic -Wswitch-enum -Wswitch-default -std=gnu99 src/liblzma_compressobj.c: In function 'LZMAComp_flush': src/liblzma_compressobj.c:108:2: warning: enumeration value 'LZMA_FULL_BARRIER' not handled in switch [-Wswitch-enum] switch(flushmode){ ^~~~~~ src/liblzma_compressobj.c: At top level: src/liblzma_compressobj.c:228:16: warning: cast between incompatible function types from 'PyObject * (*)(LZMACompObject *, PyObject *, PyObject *)' {aka 'struct _object * (*)(struct *, struct _object *, struct _object *)'} to 'PyObject * (*)(PyObject *, PyObject *)' {aka 'struct _object * (*)(struct _object *, struct _object *)'} [-Wcast-function-type] {"reset", (PyCFunction)LZMAComp_reset, METH_VARARGS | METH_KEYWORDS, ^ src/liblzma_compressobj.c: In function 'LZMAComp_flush': src/liblzma_compressobj.c:111:6: warning: this statement may fall through [-Wimplicit-fallthrough=] if(self->filters[0].id == LZMA_FILTER_LZMA1) { ^ src/liblzma_compressobj.c:118:3: note: here case(LZMA_RUN): ^~~~ 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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -fPIC -DVERSION="0.5.3" -I/usr/include/python2.7 -c src/liblzma_decompressobj.c -o build/temp.linux-x86_64-2.7/src/liblzma_decompressobj.o -Wall -Wextra -pedantic -Wswitch-enum -Wswitch-default -std=gnu99 src/liblzma_decompressobj.c: In function 'LZMADecomp_flush': src/liblzma_decompressobj.c:166:2: warning: enumeration value 'LZMA_FULL_BARRIER' not handled in switch [-Wswitch-enum] switch(flushmode){ ^~~~~~ src/liblzma_decompressobj.c: At top level: src/liblzma_decompressobj.c:286:17: warning: cast between incompatible function types from 'PyObject * (*)(LZMADecompObject *, PyObject *, PyObject *)' {aka 'struct _object * (*)(struct *, struct _object *, struct _object *)'} to 'PyObject * (*)(PyObject *, PyObject *)' {aka 'struct _object * (*)(struct _object *, struct _object *)'} [-Wcast-function-type] {"decompress", (PyCFunction)LZMADecomp_decompress, METH_VARARGS|METH_KEYWORDS, ^ src/liblzma_decompressobj.c:288:12: warning: cast between incompatible function types from 'PyObject * (*)(LZMADecompObject *, PyObject *, PyObject *)' {aka 'struct _object * (*)(struct *, struct _object *, struct _object *)'} to 'PyObject * (*)(PyObject *, PyObject *)' {aka 'struct _object * (*)(struct _object *, struct _object *)'} [-Wcast-function-type] {"flush", (PyCFunction)LZMADecomp_flush, METH_VARARGS|METH_KEYWORDS, ^ src/liblzma_decompressobj.c:290:12: warning: cast between incompatible function types from 'PyObject * (*)(LZMADecompObject *, PyObject *, PyObject *)' {aka 'struct _object * (*)(struct *, struct _object *, struct _object *)'} to 'PyObject * (*)(PyObject *, PyObject *)' {aka 'struct _object * (*)(struct _object *, struct _object *)'} [-Wcast-function-type] {"reset", (PyCFunction)LZMADecomp_reset, METH_VARARGS|METH_KEYWORDS, ^ 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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -fPIC -DVERSION="0.5.3" -I/usr/include/python2.7 -c src/liblzma_file.c -o build/temp.linux-x86_64-2.7/src/liblzma_file.o -Wall -Wextra -pedantic -Wswitch-enum -Wswitch-default -std=gnu99 In file included from /usr/include/python2.7/pyconfig.h:6, from /usr/include/python2.7/Python.h:8, from src/liblzma.h:8, from src/liblzma_file.h:4, from src/liblzma_file.c:10: /usr/include/python2.7/pyconfig-64.h:1229: warning: "_POSIX_C_SOURCE" redefined #define _POSIX_C_SOURCE 200112L In file included from /usr/include/inttypes.h:25, from src/liblzma_file.c:1: /usr/include/features.h:265: 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, from /usr/include/python2.7/Python.h:8, from src/liblzma.h:8, from src/liblzma_file.h:4, from src/liblzma_file.c:10: /usr/include/python2.7/pyconfig-64.h:1251: warning: "_XOPEN_SOURCE" redefined #define _XOPEN_SOURCE 600 In file included from /usr/include/inttypes.h:25, from src/liblzma_file.c:1: /usr/include/features.h:202: 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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -fPIC -DVERSION="0.5.3" -I/usr/include/python2.7 -c src/liblzma_fileobj.c -o build/temp.linux-x86_64-2.7/src/liblzma_fileobj.o -Wall -Wextra -pedantic -Wswitch-enum -Wswitch-default -std=gnu99 src/liblzma_fileobj.c:757:17: warning: cast between incompatible function types from 'PyObject * (*)(LZMAFileObject *)' {aka 'struct _object * (*)(struct *)'} to 'PyObject * (*)(PyObject *, PyObject *)' {aka 'struct _object * (*)(struct _object *, struct _object *)'} [-Wcast-function-type] {"xreadlines", (PyCFunction)LZMAFile_getiter, METH_VARARGS, LZMAFile_xreadlines__doc__}, ^ src/liblzma_fileobj.c:762:12: warning: cast between incompatible function types from 'PyObject * (*)(LZMAFileObject *)' {aka 'struct _object * (*)(struct *)'} to 'PyObject * (*)(PyObject *, PyObject *)' {aka 'struct _object * (*)(struct _object *, struct _object *)'} [-Wcast-function-type] {"close", (PyCFunction)LZMAFile_close, METH_NOARGS, LZMAFile_close__doc__}, ^ src/liblzma_fileobj.c:763:16: warning: cast between incompatible function types from 'PyObject * (*)(LZMAFileObject *)' {aka 'struct _object * (*)(struct *)'} to 'PyObject * (*)(PyObject *, PyObject *)' {aka 'struct _object * (*)(struct _object *, struct _object *)'} [-Wcast-function-type] {"__enter__", (PyCFunction)LZMAFile_enter, METH_NOARGS, LZMAFile_enter_doc}, ^ 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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -fPIC -DVERSION="0.5.3" -I/usr/include/python2.7 -c src/liblzma_options.c -o build/temp.linux-x86_64-2.7/src/liblzma_options.o -Wall -Wextra -pedantic -Wswitch-enum -Wswitch-default -std=gnu99 src/liblzma_options.c:424:2: warning: cast between incompatible function types from 'int (*)(LZMAOptionsObject *, const char *)' {aka 'int (*)(struct *, const char *)'} to 'int (*)(PyObject *, char *, PyObject *)' {aka 'int (*)(struct _object *, char *, struct _object *)'} [-Wcast-function-type] (setattrfunc)LZMAOptions_setattr, /*tp_setattr*/ ^ 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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -fPIC -DVERSION="0.5.3" -I/usr/include/python2.7 -c src/liblzma_util.c -o build/temp.linux-x86_64-2.7/src/liblzma_util.o -Wall -Wextra -pedantic -Wswitch-enum -Wswitch-default -std=gnu99 src/liblzma_util.c: In function 'Util_CatchLZMAError': src/liblzma_util.c:28:74: warning: '' is unsupported, check will...' directive writing 45 bytes into a region of size between 27 and 37 [-Wformat-overflow=] sprintf(warning, "check type '%d' is unsupported, check will not be validated", ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ In file included from /usr/include/stdio.h:873, from /usr/include/python2.7/Python.h:33, from src/liblzma.h:8, from src/liblzma_util.h:4, from src/liblzma_util.c:1: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 59 and 69 bytes into a destination of size 50 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -pthread -shared -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld build/temp.linux-x86_64-2.7/src/liblzma.o build/temp.linux-x86_64-2.7/src/liblzma_compressobj.o build/temp.linux-x86_64-2.7/src/liblzma_decompressobj.o build/temp.linux-x86_64-2.7/src/liblzma_file.o build/temp.linux-x86_64-2.7/src/liblzma_fileobj.o build/temp.linux-x86_64-2.7/src/liblzma_options.o build/temp.linux-x86_64-2.7/src/liblzma_util.o -L/usr/lib64 -lpython2.7 -o build/lib.linux-x86_64-2.7/lzma.so -llzma + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.5d5J5r + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/pyliblzma-0.5.3-25.el8.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/pyliblzma-0.5.3-25.el8.x86_64 ++ dirname /builddir/build/BUILDROOT/pyliblzma-0.5.3-25.el8.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/pyliblzma-0.5.3-25.el8.x86_64 + cd pyliblzma-0.5.3 + rm -rf /builddir/build/BUILDROOT/pyliblzma-0.5.3-25.el8.x86_64 + /usr/bin/python2 setup.py install --root=/builddir/build/BUILDROOT/pyliblzma-0.5.3-25.el8.x86_64 running install running build running build_py running build_ext running install_lib creating /builddir/build/BUILDROOT/pyliblzma-0.5.3-25.el8.x86_64 creating /builddir/build/BUILDROOT/pyliblzma-0.5.3-25.el8.x86_64/usr creating /builddir/build/BUILDROOT/pyliblzma-0.5.3-25.el8.x86_64/usr/lib64 creating /builddir/build/BUILDROOT/pyliblzma-0.5.3-25.el8.x86_64/usr/lib64/python2.7 creating /builddir/build/BUILDROOT/pyliblzma-0.5.3-25.el8.x86_64/usr/lib64/python2.7/site-packages copying build/lib.linux-x86_64-2.7/lzma.so -> /builddir/build/BUILDROOT/pyliblzma-0.5.3-25.el8.x86_64/usr/lib64/python2.7/site-packages copying build/lib.linux-x86_64-2.7/liblzma.py -> /builddir/build/BUILDROOT/pyliblzma-0.5.3-25.el8.x86_64/usr/lib64/python2.7/site-packages byte-compiling /builddir/build/BUILDROOT/pyliblzma-0.5.3-25.el8.x86_64/usr/lib64/python2.7/site-packages/liblzma.py to liblzma.pyc running install_egg_info running egg_info writing pyliblzma.egg-info/PKG-INFO writing top-level names to pyliblzma.egg-info/top_level.txt writing dependency_links to pyliblzma.egg-info/dependency_links.txt reading manifest file 'pyliblzma.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'pyliblzma.egg-info/SOURCES.txt' Copying pyliblzma.egg-info to /builddir/build/BUILDROOT/pyliblzma-0.5.3-25.el8.x86_64/usr/lib64/python2.7/site-packages/pyliblzma-0.5.3-py2.7.egg-info running install_scripts + /usr/lib/rpm/find-debuginfo.sh -j2 --strict-build-id -m -i --build-id-seed 0.5.3-25.el8 --unique-debug-suffix -0.5.3-25.el8.x86_64 --unique-debug-src-base pyliblzma-0.5.3-25.el8.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/pyliblzma-0.5.3 extracting debug info from /builddir/build/BUILDROOT/pyliblzma-0.5.3-25.el8.x86_64/usr/lib64/python2.7/site-packages/lzma.so /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 182 blocks + /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-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile 1 Bytecompiling .py files below /builddir/build/BUILDROOT/pyliblzma-0.5.3-25.el8.x86_64/usr/lib/debug/usr/lib64/python2.7 using /usr/bin/python2.7 Bytecompiling .py files below /builddir/build/BUILDROOT/pyliblzma-0.5.3-25.el8.x86_64/usr/lib64/python2.7 using /usr/bin/python2.7 + /usr/lib/rpm/brp-python-hardlink + PYTHON3=/usr/libexec/platform-python + /usr/lib/rpm/redhat/brp-mangle-shebangs Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.CLp0jb + umask 022 + cd /builddir/build/BUILD + cd pyliblzma-0.5.3 + /usr/bin/python2 setup.py test running test running egg_info writing pyliblzma.egg-info/PKG-INFO writing top-level names to pyliblzma.egg-info/top_level.txt writing dependency_links to pyliblzma.egg-info/dependency_links.txt reading manifest file 'pyliblzma.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'pyliblzma.egg-info/SOURCES.txt' running build_ext copying build/lib.linux-x86_64-2.7/lzma.so -> test_crc32empty (tests.test_liblzma.ChecksumTestCase) ... ok test_crc32start (tests.test_liblzma.ChecksumTestCase) ... ok test_crc64empty (tests.test_liblzma.ChecksumTestCase) ... ok test_crc64start (tests.test_liblzma.ChecksumTestCase) ... ok test_penguins32 (tests.test_liblzma.ChecksumTestCase) ... ok test_penguins64 (tests.test_liblzma.ChecksumTestCase) ... ok test_compress_large_stream (tests.test_liblzma.TestLZMA) ... ok test_compress_large_stream_bigchunks (tests.test_liblzma.TestLZMA) ... ok test_compress_large_string (tests.test_liblzma.TestLZMA) ... ok test_compression (tests.test_liblzma.TestLZMA) ... ok test_compression_decompression (tests.test_liblzma.TestLZMA) ... ok test_compression_stream (tests.test_liblzma.TestLZMA) ... ok test_compression_stream_props (tests.test_liblzma.TestLZMA) ... ok test_compression_stream_reset (tests.test_liblzma.TestLZMA) ... ok test_compression_stream_two (tests.test_liblzma.TestLZMA) ... ok test_compression_streaming (tests.test_liblzma.TestLZMA) ... ok test_decompress_large_stream (tests.test_liblzma.TestLZMA) ... ok test_decompress_large_stream_bigchunks (tests.test_liblzma.TestLZMA) ... ok test_decompress_lzma_alone_format (tests.test_liblzma.TestLZMA) ... ok test_decompress_xz_format (tests.test_liblzma.TestLZMA) ... ok test_decompression (tests.test_liblzma.TestLZMA) ... ok test_decompression_stream (tests.test_liblzma.TestLZMA) ... ok test_decompression_stream_props (tests.test_liblzma.TestLZMA) ... ok test_decompression_stream_reset (tests.test_liblzma.TestLZMA) ... ok test_decompression_stream_two (tests.test_liblzma.TestLZMA) ... ok test_decompression_streaming (tests.test_liblzma.TestLZMA) ... ok test_multi (tests.test_liblzma.TestLZMA) ... ok testBug1191043 (tests.test_liblzma.TestLZMAFile) ... ok testIterator (tests.test_liblzma.TestLZMAFile) ... ok testModeU (tests.test_liblzma.TestLZMAFile) ... ok testOpenDel (tests.test_liblzma.TestLZMAFile) ... ok testOpenNonexistent (tests.test_liblzma.TestLZMAFile) ... ok testRead (tests.test_liblzma.TestLZMAFile) ... ok testRead100 (tests.test_liblzma.TestLZMAFile) ... ok testReadChunk10 (tests.test_liblzma.TestLZMAFile) ... ok testReadLine (tests.test_liblzma.TestLZMAFile) ... ok testReadLines (tests.test_liblzma.TestLZMAFile) ... ok testSeekBackwards (tests.test_liblzma.TestLZMAFile) ... ok testSeekBackwardsFromEnd (tests.test_liblzma.TestLZMAFile) ... ok testSeekForward (tests.test_liblzma.TestLZMAFile) ... ok testSeekPostEnd (tests.test_liblzma.TestLZMAFile) ... ok testSeekPostEndTwice (tests.test_liblzma.TestLZMAFile) ... ok testSeekPreStart (tests.test_liblzma.TestLZMAFile) ... ok testUniversalNewlinesCRLF (tests.test_liblzma.TestLZMAFile) ... ok testUniversalNewlinesLF (tests.test_liblzma.TestLZMAFile) ... ok testWrite (tests.test_liblzma.TestLZMAFile) ... ok testWriteChunks10 (tests.test_liblzma.TestLZMAFile) ... ok testWriteLines (tests.test_liblzma.TestLZMAFile) ... ok testWriteMethodsOnReadOnlyFile (tests.test_liblzma.TestLZMAFile) ... ok testXReadLines (tests.test_liblzma.TestLZMAFile) ... ok test_depth (tests.test_liblzma.TestLZMAOptions) ... ok test_dict_size (tests.test_liblzma.TestLZMAOptions) ... ok test_format (tests.test_liblzma.TestLZMAOptions) ... ok test_lclp (tests.test_liblzma.TestLZMAOptions) ... ok test_mf (tests.test_liblzma.TestLZMAOptions) ... ok test_mode (tests.test_liblzma.TestLZMAOptions) ... ok test_nice_len (tests.test_liblzma.TestLZMAOptions) ... ok test_pb (tests.test_liblzma.TestLZMAOptions) ... ok test_preset_levels (tests.test_liblzma.TestLZMAOptions) ... ok ---------------------------------------------------------------------- Ran 59 tests in 9.566s OK + exit 0 Processing files: pyliblzma-0.5.3-25.el8.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.3KI2aj + umask 022 + cd /builddir/build/BUILD + cd pyliblzma-0.5.3 + DOCDIR=/builddir/build/BUILDROOT/pyliblzma-0.5.3-25.el8.x86_64/usr/share/doc/pyliblzma + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/pyliblzma-0.5.3-25.el8.x86_64/usr/share/doc/pyliblzma + cp -pr README /builddir/build/BUILDROOT/pyliblzma-0.5.3-25.el8.x86_64/usr/share/doc/pyliblzma + cp -pr THANKS /builddir/build/BUILDROOT/pyliblzma-0.5.3-25.el8.x86_64/usr/share/doc/pyliblzma + cp -pr ChangeLog /builddir/build/BUILDROOT/pyliblzma-0.5.3-25.el8.x86_64/usr/share/doc/pyliblzma + cp -pr NEWS /builddir/build/BUILDROOT/pyliblzma-0.5.3-25.el8.x86_64/usr/share/doc/pyliblzma + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.OkpG3q + umask 022 + cd /builddir/build/BUILD + cd pyliblzma-0.5.3 + LICENSEDIR=/builddir/build/BUILDROOT/pyliblzma-0.5.3-25.el8.x86_64/usr/share/licenses/pyliblzma + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/pyliblzma-0.5.3-25.el8.x86_64/usr/share/licenses/pyliblzma + cp -pr COPYING /builddir/build/BUILDROOT/pyliblzma-0.5.3-25.el8.x86_64/usr/share/licenses/pyliblzma + exit 0 Provides: pyliblzma = 0.5.3-25.el8 pyliblzma(x86-64) = 0.5.3-25.el8 python2.7dist(pyliblzma) = 0.5.3 python2dist(pyliblzma) = 0.5.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: libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.4)(64bit) liblzma.so.5()(64bit) liblzma.so.5(XZ_5.0)(64bit) libpthread.so.0()(64bit) libpython2.7.so.1.0()(64bit) python(abi) = 2.7 rtld(GNU_HASH) Processing files: pyliblzma-debugsource-0.5.3-25.el8.x86_64 Provides: pyliblzma-debugsource = 0.5.3-25.el8 pyliblzma-debugsource(x86-64) = 0.5.3-25.el8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: pyliblzma-debuginfo-0.5.3-25.el8.x86_64 Provides: debuginfo(build-id) = 2af6fc87c4cbb5a619cdd0b671e82c33578119d6 pyliblzma-debuginfo = 0.5.3-25.el8 pyliblzma-debuginfo(x86-64) = 0.5.3-25.el8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: pyliblzma-debugsource(x86-64) = 0.5.3-25.el8 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/pyliblzma-0.5.3-25.el8.x86_64 Wrote: /builddir/build/RPMS/pyliblzma-0.5.3-25.el8.x86_64.rpm Wrote: /builddir/build/RPMS/pyliblzma-debugsource-0.5.3-25.el8.x86_64.rpm Wrote: /builddir/build/RPMS/pyliblzma-debuginfo-0.5.3-25.el8.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.YDi1AC + umask 022 + cd /builddir/build/BUILD + cd pyliblzma-0.5.3 + /usr/bin/rm -rf /builddir/build/BUILDROOT/pyliblzma-0.5.3-25.el8.x86_64 + exit 0 Child return code was: 0