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/umockdev.spec'], chrootPath='/var/lib/mock/dist-an8_8-el9-build-170172-58913/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/umockdev.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/umockdev-0.17.15-1.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/umockdev.spec'], chrootPath='/var/lib/mock/dist-an8_8-el9-build-170172-58913/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/umockdev.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.h1Zkvc + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf umockdev-0.17.15 + /usr/bin/xz -dc /builddir/build/SOURCES/umockdev-0.17.15.tar.xz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd umockdev-0.17.15 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/git init -q + /usr/bin/git config user.name rpm-build + /usr/bin/git config user.email '' + /usr/bin/git add . + /usr/bin/git commit -q --allow-empty -a --author 'rpm-build ' -m 'umockdev-0.17.15 base' + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.ESShsD + umask 022 + cd /builddir/build/BUILD + cd umockdev-0.17.15 + 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' + export CFLAGS + CXXFLAGS='-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' + export CXXFLAGS + FFLAGS='-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 -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-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 -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + /usr/bin/meson --buildtype=plain --prefix=/usr --libdir=/usr/lib64 --libexecdir=/usr/libexec --bindir=/usr/bin --sbindir=/usr/sbin --includedir=/usr/include --datadir=/usr/share --mandir=/usr/share/man --infodir=/usr/share/info --localedir=/usr/share/locale --sysconfdir=/etc --localstatedir=/var --sharedstatedir=/var/lib --wrap-mode=nodownload --auto-features=enabled . x86_64-redhat-linux-gnu -Dgtk_doc=true The Meson build system Version: 0.58.2 Source dir: /builddir/build/BUILD/umockdev-0.17.15 Build dir: /builddir/build/BUILD/umockdev-0.17.15/x86_64-redhat-linux-gnu Build type: native build Project name: umockdev Project version: 0.17.15 C compiler for the host machine: cc (gcc 8.5.0 "cc (GCC) 8.5.0 20210514 (Anolis 8.5.0-10.0.2)") C linker for the host machine: cc ld.bfd 2.30-113 Vala compiler for the host machine: valac (valac 0.48.19) Host machine cpu family: x86_64 Host machine cpu: x86_64 meson.build:31: WARNING: Consider using the built-in option for language standard version instead of using "-std=gnu11". Program g-ir-compiler found: YES (/usr/bin/g-ir-compiler) Checking for function "__fxstatat" : YES Program /builddir/build/BUILD/umockdev-0.17.15/src/getversion.sh found: YES (/builddir/build/BUILD/umockdev-0.17.15/src/getversion.sh) Library dl found: YES Found pkg-config: /usr/bin/pkg-config (1.4.2) Run-time dependency glib-2.0 found: YES 2.68.4 Run-time dependency gobject-2.0 found: YES 2.68.4 Run-time dependency gio-2.0 found: YES 2.68.4 Run-time dependency gio-unix-2.0 found: YES 2.68.4 Run-time dependency libudev found: YES 239 Run-time dependency libpcap found: YES 1.9.1 Library pthread found: YES Run-time dependency gudev-1.0 found: YES 232 Program python3 found: YES (/usr/bin/python3) Library posix found: YES Library linux found: YES Library linux_fixes found: YES Library udev found: YES Library util found: YES Library config found: YES Library ioctl found: YES Library assertions found: YES Checking if "ioctl request parameter type is int" compiles: NO Program sed found: YES (/usr/bin/sed) Program tests/test-static-code found: YES (/builddir/build/BUILD/umockdev-0.17.15/tests/test-static-code) Configuring config.h using configuration Configuring version.xml using configuration Program gtkdoc-scan found: YES (/usr/bin/gtkdoc-scan) Program gtkdoc-scangobj found: YES (/usr/bin/gtkdoc-scangobj) Program gtkdoc-mkdb found: YES (/usr/bin/gtkdoc-mkdb) Program gtkdoc-mkhtml found: YES (/usr/bin/gtkdoc-mkhtml) Program gtkdoc-fixxref found: YES (/usr/bin/gtkdoc-fixxref) Build targets in project: 17 Found ninja-1.8.2 at /usr/bin/ninja + /usr/bin/meson compile -C x86_64-redhat-linux-gnu -j 64 --verbose ninja: Entering directory `x86_64-redhat-linux-gnu' [1/55] cc -Ilibumockdev-preload.so.0.0.0.p -I. -I.. -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu11 -Werror=missing-prototypes -Werror=strict-prototypes -Werror=nested-externs -Werror=pointer-arith -Werror=implicit-function-declaration -Werror=implicit-int -Werror=int-conversion -Werror=old-style-definition -Werror=pointer-arith -Werror=init-self -Werror=format-security -Werror=format=2 -Werror=unused-variable -Werror=return-type -Werror=uninitialized -Wcast-align -Wno-error=pragmas -DHAVE_FXSTATAT -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 -fvisibility=default -MD -MQ libumockdev-preload.so.0.0.0.p/src_utils.c.o -MF libumockdev-preload.so.0.0.0.p/src_utils.c.o.d -o libumockdev-preload.so.0.0.0.p/src_utils.c.o -c ../src/utils.c [2/55] cc -Itest-ioctl-tree.p -I. -I.. -I../src -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu11 -Werror=missing-prototypes -Werror=strict-prototypes -Werror=nested-externs -Werror=pointer-arith -Werror=implicit-function-declaration -Werror=implicit-int -Werror=int-conversion -Werror=old-style-definition -Werror=pointer-arith -Werror=init-self -Werror=format-security -Werror=format=2 -Werror=unused-variable -Werror=return-type -Werror=uninitialized -Wcast-align -Wno-error=pragmas -DHAVE_FXSTATAT -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 -MD -MQ test-ioctl-tree.p/src_utils.c.o -MF test-ioctl-tree.p/src_utils.c.o.d -o test-ioctl-tree.p/src_utils.c.o -c ../src/utils.c [3/55] cc -Ilibumockdev-preload.so.0.0.0.p -I. -I.. -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu11 -Werror=missing-prototypes -Werror=strict-prototypes -Werror=nested-externs -Werror=pointer-arith -Werror=implicit-function-declaration -Werror=implicit-int -Werror=int-conversion -Werror=old-style-definition -Werror=pointer-arith -Werror=init-self -Werror=format-security -Werror=format=2 -Werror=unused-variable -Werror=return-type -Werror=uninitialized -Wcast-align -Wno-error=pragmas -DHAVE_FXSTATAT -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 -fvisibility=default -MD -MQ libumockdev-preload.so.0.0.0.p/src_debug.c.o -MF libumockdev-preload.so.0.0.0.p/src_debug.c.o.d -o libumockdev-preload.so.0.0.0.p/src_debug.c.o -c ../src/debug.c [4/55] cc -Ireadbyte.p -I. -I.. -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu11 -Werror=missing-prototypes -Werror=strict-prototypes -Werror=nested-externs -Werror=pointer-arith -Werror=implicit-function-declaration -Werror=implicit-int -Werror=int-conversion -Werror=old-style-definition -Werror=pointer-arith -Werror=init-self -Werror=format-security -Werror=format=2 -Werror=unused-variable -Werror=return-type -Werror=uninitialized -Wcast-align -Wno-error=pragmas -DHAVE_FXSTATAT -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 -MD -MQ readbyte.p/tests_readbyte.c.o -MF readbyte.p/tests_readbyte.c.o.d -o readbyte.p/tests_readbyte.c.o -c ../tests/readbyte.c [5/55] cc -Itest-ioctl-tree.p -I. -I.. -I../src -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu11 -Werror=missing-prototypes -Werror=strict-prototypes -Werror=nested-externs -Werror=pointer-arith -Werror=implicit-function-declaration -Werror=implicit-int -Werror=int-conversion -Werror=old-style-definition -Werror=pointer-arith -Werror=init-self -Werror=format-security -Werror=format=2 -Werror=unused-variable -Werror=return-type -Werror=uninitialized -Wcast-align -Wno-error=pragmas -DHAVE_FXSTATAT -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 -MD -MQ test-ioctl-tree.p/src_debug.c.o -MF test-ioctl-tree.p/src_debug.c.o.d -o test-ioctl-tree.p/src_debug.c.o -c ../src/debug.c [6/55] cc -Ichatter.p -I. -I.. -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu11 -Werror=missing-prototypes -Werror=strict-prototypes -Werror=nested-externs -Werror=pointer-arith -Werror=implicit-function-declaration -Werror=implicit-int -Werror=int-conversion -Werror=old-style-definition -Werror=pointer-arith -Werror=init-self -Werror=format-security -Werror=format=2 -Werror=unused-variable -Werror=return-type -Werror=uninitialized -Wcast-align -Wno-error=pragmas -DHAVE_FXSTATAT -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 -MD -MQ chatter.p/tests_chatter.c.o -MF chatter.p/tests_chatter.c.o.d -o chatter.p/tests_chatter.c.o -c ../tests/chatter.c [7/55] cc -Ichatter-socket-stream.p -I. -I.. -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu11 -Werror=missing-prototypes -Werror=strict-prototypes -Werror=nested-externs -Werror=pointer-arith -Werror=implicit-function-declaration -Werror=implicit-int -Werror=int-conversion -Werror=old-style-definition -Werror=pointer-arith -Werror=init-self -Werror=format-security -Werror=format=2 -Werror=unused-variable -Werror=return-type -Werror=uninitialized -Wcast-align -Wno-error=pragmas -DHAVE_FXSTATAT -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 -MD -MQ chatter-socket-stream.p/tests_chatter-socket-stream.c.o -MF chatter-socket-stream.p/tests_chatter-socket-stream.c.o.d -o chatter-socket-stream.p/tests_chatter-socket-stream.c.o -c ../tests/chatter-socket-stream.c [8/55] cc -o readbyte readbyte.p/tests_readbyte.c.o -Wl,--as-needed -Wl,--no-undefined -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 [9/55] cc -o chatter chatter.p/tests_chatter.c.o -Wl,--as-needed -Wl,--no-undefined -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 [10/55] cc -o chatter-socket-stream chatter-socket-stream.p/tests_chatter-socket-stream.c.o -Wl,--as-needed -Wl,--no-undefined -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 [11/55] valac -C --abi-stability --pkg posix --target-glib ' 2.32.0' --pkg glib-2.0 --color=always --directory libumockdev-utils.a.p --basedir ../ --library umockdev-utils --header umockdev-utils.h --vapi ../umockdev-utils.vapi ../src/umockdev-utils.vala [12/55] cc -Iumockdev-record.p -I. -I.. -I../src -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gio-unix-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/uuid -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu11 -Werror=missing-prototypes -Werror=strict-prototypes -Werror=nested-externs -Werror=pointer-arith -Werror=implicit-function-declaration -Werror=implicit-int -Werror=int-conversion -Werror=old-style-definition -Werror=pointer-arith -Werror=init-self -Werror=format-security -Werror=format=2 -Werror=unused-variable -Werror=return-type -Werror=uninitialized -Wcast-align -Wno-error=pragmas -DHAVE_FXSTATAT -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 -pthread -MD -MQ umockdev-record.p/src_utils.c.o -MF umockdev-record.p/src_utils.c.o.d -o umockdev-record.p/src_utils.c.o -c ../src/utils.c [13/55] cc -Iumockdev-record.p -I. -I.. -I../src -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gio-unix-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/uuid -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu11 -Werror=missing-prototypes -Werror=strict-prototypes -Werror=nested-externs -Werror=pointer-arith -Werror=implicit-function-declaration -Werror=implicit-int -Werror=int-conversion -Werror=old-style-definition -Werror=pointer-arith -Werror=init-self -Werror=format-security -Werror=format=2 -Werror=unused-variable -Werror=return-type -Werror=uninitialized -Wcast-align -Wno-error=pragmas -DHAVE_FXSTATAT -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 -pthread -MD -MQ umockdev-record.p/src_debug.c.o -MF umockdev-record.p/src_debug.c.o.d -o umockdev-record.p/src_debug.c.o -c ../src/debug.c [14/55] cc -Ilibumockdev-preload.so.0.0.0.p -I. -I.. -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu11 -Werror=missing-prototypes -Werror=strict-prototypes -Werror=nested-externs -Werror=pointer-arith -Werror=implicit-function-declaration -Werror=implicit-int -Werror=int-conversion -Werror=old-style-definition -Werror=pointer-arith -Werror=init-self -Werror=format-security -Werror=format=2 -Werror=unused-variable -Werror=return-type -Werror=uninitialized -Wcast-align -Wno-error=pragmas -DHAVE_FXSTATAT -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 -fvisibility=default -MD -MQ libumockdev-preload.so.0.0.0.p/src_ioctl_tree.c.o -MF libumockdev-preload.so.0.0.0.p/src_ioctl_tree.c.o.d -o libumockdev-preload.so.0.0.0.p/src_ioctl_tree.c.o -c ../src/ioctl_tree.c FAILED: libumockdev-preload.so.0.0.0.p/src_ioctl_tree.c.o cc -Ilibumockdev-preload.so.0.0.0.p -I. -I.. -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu11 -Werror=missing-prototypes -Werror=strict-prototypes -Werror=nested-externs -Werror=pointer-arith -Werror=implicit-function-declaration -Werror=implicit-int -Werror=int-conversion -Werror=old-style-definition -Werror=pointer-arith -Werror=init-self -Werror=format-security -Werror=format=2 -Werror=unused-variable -Werror=return-type -Werror=uninitialized -Wcast-align -Wno-error=pragmas -DHAVE_FXSTATAT -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 -fvisibility=default -MD -MQ libumockdev-preload.so.0.0.0.p/src_ioctl_tree.c.o -MF libumockdev-preload.so.0.0.0.p/src_ioctl_tree.c.o.d -o libumockdev-preload.so.0.0.0.p/src_ioctl_tree.c.o -c ../src/ioctl_tree.c ../src/ioctl_tree.c: In function ‘ioctl_node_list_append’: ../src/ioctl_tree.c:347:32: warning: unknown option after ‘#pragma GCC diagnostic’ kind [-Wpragmas] #pragma GCC diagnostic ignored "-Wanalyzer-malloc-leak" ^~~~~~~~~~~~~~~~~~~~~~~~ ../src/ioctl_tree.c:349:16: error: implicit declaration of function ‘reallocarray’; did you mean ‘realloc’? [-Werror=implicit-function-declaration] list->items = reallocarray(list->items, list->capacity, sizeof(ioctl_tree *)); ^~~~~~~~~~~~ realloc ../src/ioctl_tree.c:349:16: error: nested extern declaration of ‘reallocarray’ [-Werror=nested-externs] ../src/ioctl_tree.c:349:14: error: assignment to ‘ioctl_tree **’ {aka ‘struct ioctl_tree **’} from ‘int’ makes pointer from integer without a cast [-Werror=int-conversion] list->items = reallocarray(list->items, list->capacity, sizeof(ioctl_tree *)); ^ cc1: some warnings being treated as errors [15/55] cc -Itest-ioctl-tree.p -I. -I.. -I../src -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu11 -Werror=missing-prototypes -Werror=strict-prototypes -Werror=nested-externs -Werror=pointer-arith -Werror=implicit-function-declaration -Werror=implicit-int -Werror=int-conversion -Werror=old-style-definition -Werror=pointer-arith -Werror=init-self -Werror=format-security -Werror=format=2 -Werror=unused-variable -Werror=return-type -Werror=uninitialized -Wcast-align -Wno-error=pragmas -DHAVE_FXSTATAT -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 -MD -MQ test-ioctl-tree.p/src_ioctl_tree.c.o -MF test-ioctl-tree.p/src_ioctl_tree.c.o.d -o test-ioctl-tree.p/src_ioctl_tree.c.o -c ../src/ioctl_tree.c FAILED: test-ioctl-tree.p/src_ioctl_tree.c.o cc -Itest-ioctl-tree.p -I. -I.. -I../src -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu11 -Werror=missing-prototypes -Werror=strict-prototypes -Werror=nested-externs -Werror=pointer-arith -Werror=implicit-function-declaration -Werror=implicit-int -Werror=int-conversion -Werror=old-style-definition -Werror=pointer-arith -Werror=init-self -Werror=format-security -Werror=format=2 -Werror=unused-variable -Werror=return-type -Werror=uninitialized -Wcast-align -Wno-error=pragmas -DHAVE_FXSTATAT -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 -MD -MQ test-ioctl-tree.p/src_ioctl_tree.c.o -MF test-ioctl-tree.p/src_ioctl_tree.c.o.d -o test-ioctl-tree.p/src_ioctl_tree.c.o -c ../src/ioctl_tree.c ../src/ioctl_tree.c: In function ‘ioctl_node_list_append’: ../src/ioctl_tree.c:347:32: warning: unknown option after ‘#pragma GCC diagnostic’ kind [-Wpragmas] #pragma GCC diagnostic ignored "-Wanalyzer-malloc-leak" ^~~~~~~~~~~~~~~~~~~~~~~~ ../src/ioctl_tree.c:349:16: error: implicit declaration of function ‘reallocarray’; did you mean ‘realloc’? [-Werror=implicit-function-declaration] list->items = reallocarray(list->items, list->capacity, sizeof(ioctl_tree *)); ^~~~~~~~~~~~ realloc ../src/ioctl_tree.c:349:16: error: nested extern declaration of ‘reallocarray’ [-Werror=nested-externs] ../src/ioctl_tree.c:349:14: error: assignment to ‘ioctl_tree **’ {aka ‘struct ioctl_tree **’} from ‘int’ makes pointer from integer without a cast [-Werror=int-conversion] list->items = reallocarray(list->items, list->capacity, sizeof(ioctl_tree *)); ^ cc1: some warnings being treated as errors [16/55] cc -Ilibumockdev-utils.a.p -I. -I.. -I../src -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -w -std=gnu11 -Werror=missing-prototypes -Werror=strict-prototypes -Werror=nested-externs -Werror=pointer-arith -Werror=implicit-function-declaration -Werror=implicit-int -Werror=int-conversion -Werror=old-style-definition -Werror=pointer-arith -Werror=init-self -Werror=format-security -Werror=format=2 -Werror=unused-variable -Werror=return-type -Werror=uninitialized -Wcast-align -Wno-error=pragmas -DHAVE_FXSTATAT -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 -MD -MQ libumockdev-utils.a.p/meson-generated_src_umockdev-utils.c.o -MF libumockdev-utils.a.p/meson-generated_src_umockdev-utils.c.o.d -o libumockdev-utils.a.p/meson-generated_src_umockdev-utils.c.o -c libumockdev-utils.a.p/src/umockdev-utils.c [17/55] cc -Itest-ioctl-tree.p -I. -I.. -I../src -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu11 -Werror=missing-prototypes -Werror=strict-prototypes -Werror=nested-externs -Werror=pointer-arith -Werror=implicit-function-declaration -Werror=implicit-int -Werror=int-conversion -Werror=old-style-definition -Werror=pointer-arith -Werror=init-self -Werror=format-security -Werror=format=2 -Werror=unused-variable -Werror=return-type -Werror=uninitialized -Wcast-align -Wno-error=pragmas -DHAVE_FXSTATAT -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 -MD -MQ test-ioctl-tree.p/tests_test-ioctl-tree.c.o -MF test-ioctl-tree.p/tests_test-ioctl-tree.c.o.d -o test-ioctl-tree.p/tests_test-ioctl-tree.c.o -c ../tests/test-ioctl-tree.c [18/55] cc -Iumockdev-record.p -I. -I.. -I../src -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gio-unix-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/uuid -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu11 -Werror=missing-prototypes -Werror=strict-prototypes -Werror=nested-externs -Werror=pointer-arith -Werror=implicit-function-declaration -Werror=implicit-int -Werror=int-conversion -Werror=old-style-definition -Werror=pointer-arith -Werror=init-self -Werror=format-security -Werror=format=2 -Werror=unused-variable -Werror=return-type -Werror=uninitialized -Wcast-align -Wno-error=pragmas -DHAVE_FXSTATAT -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 -pthread -MD -MQ umockdev-record.p/src_ioctl_tree.c.o -MF umockdev-record.p/src_ioctl_tree.c.o.d -o umockdev-record.p/src_ioctl_tree.c.o -c ../src/ioctl_tree.c FAILED: umockdev-record.p/src_ioctl_tree.c.o cc -Iumockdev-record.p -I. -I.. -I../src -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gio-unix-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/uuid -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu11 -Werror=missing-prototypes -Werror=strict-prototypes -Werror=nested-externs -Werror=pointer-arith -Werror=implicit-function-declaration -Werror=implicit-int -Werror=int-conversion -Werror=old-style-definition -Werror=pointer-arith -Werror=init-self -Werror=format-security -Werror=format=2 -Werror=unused-variable -Werror=return-type -Werror=uninitialized -Wcast-align -Wno-error=pragmas -DHAVE_FXSTATAT -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 -pthread -MD -MQ umockdev-record.p/src_ioctl_tree.c.o -MF umockdev-record.p/src_ioctl_tree.c.o.d -o umockdev-record.p/src_ioctl_tree.c.o -c ../src/ioctl_tree.c ../src/ioctl_tree.c: In function ‘ioctl_node_list_append’: ../src/ioctl_tree.c:347:32: warning: unknown option after ‘#pragma GCC diagnostic’ kind [-Wpragmas] #pragma GCC diagnostic ignored "-Wanalyzer-malloc-leak" ^~~~~~~~~~~~~~~~~~~~~~~~ ../src/ioctl_tree.c:349:16: error: implicit declaration of function ‘reallocarray’; did you mean ‘realloc’? [-Werror=implicit-function-declaration] list->items = reallocarray(list->items, list->capacity, sizeof(ioctl_tree *)); ^~~~~~~~~~~~ realloc ../src/ioctl_tree.c:349:16: error: nested extern declaration of ‘reallocarray’ [-Werror=nested-externs] ../src/ioctl_tree.c:349:14: error: assignment to ‘ioctl_tree **’ {aka ‘struct ioctl_tree **’} from ‘int’ makes pointer from integer without a cast [-Werror=int-conversion] list->items = reallocarray(list->items, list->capacity, sizeof(ioctl_tree *)); ^ cc1: some warnings being treated as errors [19/55] valac -C --abi-stability --pkg libpcap /builddir/build/BUILD/umockdev-0.17.15/src/ioctl.vapi /builddir/build/BUILD/umockdev-0.17.15/src/config.vapi --pkg posix --pkg gio-unix-2.0 --pkg gobject-2.0 --target-glib ' 2.32.0' --pkg glib-2.0 --color=always --directory umockdev-record.p --basedir ../ --define=INTERNAL_REGISTER_API --define=INTERNAL_UNREGISTER_ALL_API --vapidir=/builddir/build/BUILD/umockdev-0.17.15/src ../src/ioctl_tree.vapi ../src/umockdev-record.vala ../src/umockdev-ioctl.vala ../src/umockdev-pcap.vala ../src/umockdev-spi.vala umockdev-utils.vapi [20/55] valac -C --abi-stability --pkg libpcap /builddir/build/BUILD/umockdev-0.17.15/src/ioctl.vapi /builddir/build/BUILD/umockdev-0.17.15/src/linux_fixes.vapi --pkg linux --pkg posix --pkg gio-unix-2.0 --pkg gio-2.0 --pkg gobject-2.0 --target-glib ' 2.32.0' --pkg glib-2.0 --color=always --directory libumockdev.so.0.3.0.p --basedir ../ --library umockdev --header umockdev.h --vapi ../umockdev-1.0.vapi --gir ../UMockdev-1.0.gir --define=INTERNAL_REGISTER_API --define=INTERNAL_UNREGISTER_PATH_API --vapidir=/builddir/build/BUILD/umockdev-0.17.15/src ../src/uevent_sender.vapi ../src/ioctl_tree.vapi ../src/umockdev.vala ../src/umockdev-ioctl.vala ../src/umockdev-pcap.vala ../src/umockdev-spi.vala umockdev-utils.vapi [21/55] cc -Ilibumockdev-preload.so.0.0.0.p -I. -I.. -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu11 -Werror=missing-prototypes -Werror=strict-prototypes -Werror=nested-externs -Werror=pointer-arith -Werror=implicit-function-declaration -Werror=implicit-int -Werror=int-conversion -Werror=old-style-definition -Werror=pointer-arith -Werror=init-self -Werror=format-security -Werror=format=2 -Werror=unused-variable -Werror=return-type -Werror=uninitialized -Wcast-align -Wno-error=pragmas -DHAVE_FXSTATAT -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 -fvisibility=default -MD -MQ libumockdev-preload.so.0.0.0.p/src_libumockdev-preload.c.o -MF libumockdev-preload.so.0.0.0.p/src_libumockdev-preload.c.o.d -o libumockdev-preload.so.0.0.0.p/src_libumockdev-preload.c.o -c ../src/libumockdev-preload.c ninja: build stopped: subcommand failed. error: Bad exit status from /var/tmp/rpm-tmp.ESShsD (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.ESShsD (%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/umockdev.spec