Mock Version: 1.4.21 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/brightnessctl.spec'], chrootPath='/var/lib/mock/1220484-epel-7-x86_64-1580764931.250330/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', '--pipe', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.mv60_mek:/etc/resolv.conf']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--pipe', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.mv60_mek:/etc/resolv.conf'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'e2c6d8f74f1b4855affcd88d991a5370', '-D', '/var/lib/mock/1220484-epel-7-x86_64-1580764931.250330/root', '-a', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--pipe', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.mv60_mek:/etc/resolv.conf', '--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/brightnessctl.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 Wrote: /builddir/build/SRPMS/brightnessctl-0.5.1-1.el7.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/brightnessctl.spec'], chrootPath='/var/lib/mock/1220484-epel-7-x86_64-1580764931.250330/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', '--pipe', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.mv60_mek:/etc/resolv.conf']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--pipe', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.mv60_mek:/etc/resolv.conf'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'ff5cd0e3afd7474695a5a9f3af250ae6', '-D', '/var/lib/mock/1220484-epel-7-x86_64-1580764931.250330/root', '-a', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--pipe', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.mv60_mek:/etc/resolv.conf', '--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/brightnessctl.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.oBdQKt + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf brightnessctl-0.5.1 + /usr/bin/gzip -dc /builddir/build/SOURCES/brightnessctl-0.5.1.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd brightnessctl-0.5.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.noxBz4 + umask 022 + cd /builddir/build/BUILD + cd brightnessctl-0.5.1 + export 'CFLAGS=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic' + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic' + export 'LDFLAGS=-Wl,-z,relro ' + LDFLAGS='-Wl,-z,relro ' + export MODE=4755 + MODE=4755 + /usr/bin/make -j2 cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -std=c99 -g -Wall -Wextra -DVERSION=\"0.5\" -D_POSIX_C_SOURCE=200809L -Wl,-z,relro brightnessctl.c -lm -o brightnessctl brightnessctl.c: In function 'read_class': brightnessctl.c:463:6: warning: 'ent_path' may be used uninitialized in this function [-Wmaybe-uninitialized] free(ent_path); ^ brightnessctl.c:427:8: note: 'ent_path' was declared here char *ent_path; ^ + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.xhey0F + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/brightnessctl-0.5.1-1.el7.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/brightnessctl-0.5.1-1.el7.x86_64 ++ dirname /builddir/build/BUILDROOT/brightnessctl-0.5.1-1.el7.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/brightnessctl-0.5.1-1.el7.x86_64 + cd brightnessctl-0.5.1 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/brightnessctl-0.5.1-1.el7.x86_64 INSTALL_UDEV_RULES=0 DESTDIR=/builddir/build/BUILDROOT/brightnessctl-0.5.1-1.el7.x86_64 install -d /builddir/build/BUILDROOT/brightnessctl-0.5.1-1.el7.x86_64/usr/bin /builddir/build/BUILDROOT/brightnessctl-0.5.1-1.el7.x86_64/usr/share/man/man1 install -m 4711 brightnessctl /builddir/build/BUILDROOT/brightnessctl-0.5.1-1.el7.x86_64/usr/bin/ install -m 0644 brightnessctl.1 /builddir/build/BUILDROOT/brightnessctl-0.5.1-1.el7.x86_64/usr/share/man/man1 + /usr/lib/rpm/find-debuginfo.sh --strict-build-id -m --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 /builddir/build/BUILD/brightnessctl-0.5.1 extracting debug info from /builddir/build/BUILDROOT/brightnessctl-0.5.1-1.el7.x86_64/usr/bin/brightnessctl dwz: Too few files for multifile optimization /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 30 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-compress + /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/lib/rpm/redhat/brp-java-repack-jars Processing files: brightnessctl-0.5.1-1.el7.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.ZWMq0h + umask 022 + cd /builddir/build/BUILD + cd brightnessctl-0.5.1 + DOCDIR=/builddir/build/BUILDROOT/brightnessctl-0.5.1-1.el7.x86_64/usr/share/doc/brightnessctl-0.5.1 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/brightnessctl-0.5.1-1.el7.x86_64/usr/share/doc/brightnessctl-0.5.1 + cp -pr README.md /builddir/build/BUILDROOT/brightnessctl-0.5.1-1.el7.x86_64/usr/share/doc/brightnessctl-0.5.1 + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.Vhnv1T + umask 022 + cd /builddir/build/BUILD + cd brightnessctl-0.5.1 + LICENSEDIR=/builddir/build/BUILDROOT/brightnessctl-0.5.1-1.el7.x86_64/usr/share/licenses/brightnessctl-0.5.1 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/brightnessctl-0.5.1-1.el7.x86_64/usr/share/licenses/brightnessctl-0.5.1 + cp -pr LICENSE /builddir/build/BUILDROOT/brightnessctl-0.5.1-1.el7.x86_64/usr/share/licenses/brightnessctl-0.5.1 + exit 0 Provides: brightnessctl = 0.5.1-1.el7 brightnessctl(x86-64) = 0.5.1-1.el7 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.7)(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.2.5)(64bit) rtld(GNU_HASH) Processing files: brightnessctl-debuginfo-0.5.1-1.el7.x86_64 Provides: brightnessctl-debuginfo = 0.5.1-1.el7 brightnessctl-debuginfo(x86-64) = 0.5.1-1.el7 Requires(rpmlib): rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/brightnessctl-0.5.1-1.el7.x86_64 Wrote: /builddir/build/RPMS/brightnessctl-0.5.1-1.el7.x86_64.rpm Wrote: /builddir/build/RPMS/brightnessctl-debuginfo-0.5.1-1.el7.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.2rOVtK + umask 022 + cd /builddir/build/BUILD + cd brightnessctl-0.5.1 + /usr/bin/rm -rf /builddir/build/BUILDROOT/brightnessctl-0.5.1-1.el7.x86_64 + exit 0 Child return code was: 0