Mock Version: 1.4.4 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/kplex.spec'], chrootPath='/var/lib/mock/613980-fedora-rawhide-x86_64/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=[]printOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/kplex.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/kplex-1.3.4-2.fc28.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/kplex.spec'], chrootPath='/var/lib/mock/613980-fedora-rawhide-x86_64/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=[]printOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/kplex.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.CLAIcR + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf kplex-1.3.4 + /usr/bin/gzip -dc /builddir/build/SOURCES/kplex-1.3.4.tgz + /usr/bin/tar -xvvof - drwxr-xr-x root/root 0 2016-06-27 17:55 kplex-1.3.4/ -rw-r--r-- root/root 1267 2016-06-27 17:55 kplex-1.3.4/kplex.conf.ex -rw-r--r-- root/root 14343 2016-06-27 17:55 kplex-1.3.4/gofree.c -rw-r--r-- root/root 17281 2016-06-27 17:55 kplex-1.3.4/serial.c -rw-r--r-- root/root 4828 2016-06-27 17:55 kplex-1.3.4/CHANGELOG -rw-r--r-- root/root 29707 2016-06-27 17:55 kplex-1.3.4/udp.c -rw-r--r-- root/root 37690 2016-06-27 17:55 kplex-1.3.4/tcp.c -rw-r--r-- root/root 18894 2016-06-27 17:55 kplex-1.3.4/options.c -rw-r--r-- root/root 3059 2016-06-27 17:55 kplex-1.3.4/error.c -rw-r--r-- root/root 1029 2016-06-27 17:55 kplex-1.3.4/tcp.h -rw-r--r-- root/root 2521 2016-06-27 17:55 kplex-1.3.4/lookup.c -rw-r--r-- root/root 35864 2016-06-27 17:55 kplex-1.3.4/COPYING -rw-r--r-- root/root 49263 2016-06-27 17:55 kplex-1.3.4/kplex.c -rw-r--r-- root/root 690 2016-06-27 17:55 kplex-1.3.4/kplex_mods.h -rw-r--r-- root/root 11450 2016-06-27 17:55 kplex-1.3.4/fileio.c -rwxr-xr-x root/root 1203 2016-06-27 17:55 kplex-1.3.4/kplex.init -rw-r--r-- root/root 6120 2016-06-27 17:55 kplex-1.3.4/kplex.h -rw-r--r-- root/root 57476 2016-06-27 17:55 kplex-1.3.4/README -rw-r--r-- root/root 13498 2016-06-27 17:55 kplex-1.3.4/bcast.c -rw-r--r-- root/root 1180 2016-06-27 17:55 kplex-1.3.4/Makefile -rw-r--r-- root/root 24 2016-06-27 17:55 kplex-1.3.4/version.h -rw-r--r-- root/root 13346 2016-06-27 17:55 kplex-1.3.4/mcast.c + STATUS=0 + '[' 0 -ne 0 ']' + cd kplex-1.3.4 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + sed -ie 's/-g $(INSTGROUP) -o root//' Makefile + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.fgXLDs + umask 022 + cd /builddir/build/BUILD + cd kplex-1.3.4 + /usr/bin/make -O -j2 'CFLAGS=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic' 'LDFLAGS=-Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' cat: base_version: No such file or directory cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -c -o fileio.o fileio.c cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -c -o serial.o serial.c serial.c: In function 'write_serial': serial.c:274:9: warning: 'tbuf' may be used uninitialized in this function [-Wmaybe-uninitialized] free(tbuf); ^~~~~~~~~~ serial.c: In function 'init_serial': serial.c:332:18: warning: 'devname' may be used uninitialized in this function [-Wmaybe-uninitialized] if ((ifs->fd=ttyopen(devname,ifa->direction)) < 0) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -c -o kplex.o kplex.c kplex.c: In function 'addfailover': kplex.c:314:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (done) ^~ kplex.c:323:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (*head) { ^~ kplex.c: In function 'main': kplex.c:1440:9: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] (void) chdir("/"); ^~~~~~~~~~~~~~~~~ kplex.c: In function 'do_read': kplex.c:1255:16: warning: 'countmax' may be used uninitialized in this function [-Wmaybe-uninitialized] if (count++ > countmax) { ^ kplex.c:1215:31: warning: 'ptr' may be used uninitialized in this function [-Wmaybe-uninitialized] *ptr++='\r'; ~~~~~~^~~~~ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -c -o bcast.o bcast.c cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -c -o options.o options.c cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -c -o error.o error.c cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -c -o tcp.o tcp.c cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -c -o lookup.o lookup.c cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -c -o mcast.o mcast.c cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -c -o gofree.o gofree.c cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -c -o udp.o udp.c udp.c: In function 'coalesce': udp.c:171:21: warning: 'len' may be used uninitialized in this function [-Wmaybe-uninitialized] if ((cp->offset + len) > CBUFSIZ || ((cp->offset) && (cp->seqid != seqid) && ~~~~~~~~~~~~^~~~~~ udp.c: In function 'init_udp': udp.c:340:9: warning: 'port' may be used uninitialized in this function [-Wmaybe-uninitialized] int port; ^~~~ cc -o kplex kplex.o fileio.o serial.o bcast.o tcp.o options.o error.o lookup.o mcast.o gofree.o udp.o -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -pthread -lutil + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.EY79w8 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/kplex-1.3.4-2.fc28.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/kplex-1.3.4-2.fc28.x86_64 ++ dirname /builddir/build/BUILDROOT/kplex-1.3.4-2.fc28.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/kplex-1.3.4-2.fc28.x86_64 + cd kplex-1.3.4 + mkdir -p /builddir/build/BUILDROOT/kplex-1.3.4-2.fc28.x86_64/etc + mkdir -p /builddir/build/BUILDROOT/kplex-1.3.4-2.fc28.x86_64/usr/bin + mkdir -p /builddir/build/BUILDROOT/kplex-1.3.4-2.fc28.x86_64/usr/lib/systemd/system + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/kplex-1.3.4-2.fc28.x86_64 'INSTALL=/usr/bin/install -p' cat: base_version: No such file or directory test -d "/builddir/build/BUILDROOT/kplex-1.3.4-2.fc28.x86_64//usr/bin" || install -d -m 755 /builddir/build/BUILDROOT/kplex-1.3.4-2.fc28.x86_64//usr/bin install -m 755 kplex /builddir/build/BUILDROOT/kplex-1.3.4-2.fc28.x86_64//usr/bin/kplex + cp -a kplex.conf.ex /builddir/build/BUILDROOT/kplex-1.3.4-2.fc28.x86_64/etc/kplex.conf + cp /builddir/build/SOURCES/kplex.service /builddir/build/BUILDROOT/kplex-1.3.4-2.fc28.x86_64/usr/lib/systemd/system/kplex.service + /usr/lib/rpm/find-debuginfo.sh -j2 --strict-build-id -m -i --build-id-seed 1.3.4-2.fc28 --unique-debug-suffix -1.3.4-2.fc28.x86_64 --unique-debug-src-base kplex-1.3.4-2.fc28.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/kplex-1.3.4 extracting debug info from /builddir/build/BUILDROOT/kplex-1.3.4-2.fc28.x86_64/usr/bin/kplex /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 428 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/brp-python-hardlink Processing files: kplex-1.3.4-2.fc28.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.fYEYvP + umask 022 + cd /builddir/build/BUILD + cd kplex-1.3.4 + DOCDIR=/builddir/build/BUILDROOT/kplex-1.3.4-2.fc28.x86_64/usr/share/doc/kplex + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/kplex-1.3.4-2.fc28.x86_64/usr/share/doc/kplex + cp -pr README /builddir/build/BUILDROOT/kplex-1.3.4-2.fc28.x86_64/usr/share/doc/kplex + cp -pr CHANGELOG /builddir/build/BUILDROOT/kplex-1.3.4-2.fc28.x86_64/usr/share/doc/kplex + cp -pr COPYING /builddir/build/BUILDROOT/kplex-1.3.4-2.fc28.x86_64/usr/share/doc/kplex + cp -pr kplex.conf.ex /builddir/build/BUILDROOT/kplex-1.3.4-2.fc28.x86_64/usr/share/doc/kplex + exit 0 Provides: config(kplex) = 1.3.4-2.fc28 kplex = 1.3.4-2.fc28 kplex(x86-64) = 1.3.4-2.fc28 Requires(interp): /bin/sh /bin/sh /bin/sh /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(pre): /bin/sh shadow-utils Requires(post): /bin/sh Requires(preun): /bin/sh Requires(postun): /bin/sh 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)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.7)(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.2.5)(64bit) libpthread.so.0(GLIBC_2.3.2)(64bit) libutil.so.1()(64bit) libutil.so.1(GLIBC_2.2.5)(64bit) rtld(GNU_HASH) Processing files: kplex-debugsource-1.3.4-2.fc28.x86_64 Provides: kplex-debugsource = 1.3.4-2.fc28 kplex-debugsource(x86-64) = 1.3.4-2.fc28 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: kplex-debuginfo-1.3.4-2.fc28.x86_64 Provides: debuginfo(build-id) = dc33207132a6d302e3f80850a23e9b5df2aa31dc kplex-debuginfo = 1.3.4-2.fc28 kplex-debuginfo(x86-64) = 1.3.4-2.fc28 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: kplex-debugsource(x86-64) = 1.3.4-2.fc28 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/kplex-1.3.4-2.fc28.x86_64 Wrote: /builddir/build/RPMS/kplex-1.3.4-2.fc28.x86_64.rpm Wrote: /builddir/build/RPMS/kplex-debugsource-1.3.4-2.fc28.x86_64.rpm Wrote: /builddir/build/RPMS/kplex-debuginfo-1.3.4-2.fc28.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.8e3pbx + umask 022 + cd /builddir/build/BUILD + cd kplex-1.3.4 + /usr/bin/rm -rf /builddir/build/BUILDROOT/kplex-1.3.4-2.fc28.x86_64 + exit 0 Child return code was: 0