Mock Version: 1.3.4 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/poly_pkt_fwd.spec'], chrootPath='/var/lib/mock/692074-fedora-rawhide-x86_64-1514631373.924961/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/poly_pkt_fwd.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/poly_pkt_fwd-2.1.0-5.fc28.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/poly_pkt_fwd.spec'], chrootPath='/var/lib/mock/692074-fedora-rawhide-x86_64-1514631373.924961/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/poly_pkt_fwd.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.e4sqiF + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf poly_pkt_fwd + /usr/bin/gzip -dc /builddir/build/SOURCES/poly_pkt_fwd-2.1.0.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd poly_pkt_fwd + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.ouqyeJ + umask 022 + cd /builddir/build/BUILD + cd poly_pkt_fwd + make -j2 gcc -c -O2 -Wall -Wextra -std=c99 -Iinc -I. -D VERSION_STRING="\"2.1.0\"" -I/usr/include/libloragw src/poly_pkt_fwd.c -o obj/poly_pkt_fwd.o gcc -c -O2 -Wall -Wextra -std=c99 -Iinc -I. src/parson.c -o obj/parson.o src/parson.c: In function 'remove_comments': src/parson.c:195:13: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (i = 0; i < (ptr - string) + end_token_len; i++) ^~~ src/parson.c:197:12: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' string = ptr + end_token_len - 1; ^~~~~~ gcc -c -O2 -Wall -Wextra -std=c99 -Iinc -I. src/base64.c -o obj/base64.o src/poly_pkt_fwd.c: In function 'thread_up': src/poly_pkt_fwd.c:1576:84: warning: '%06li' directive output may be truncated writing between 6 and 17 bytes into a region of size between 0 and 8 [-Wformat-truncation=] snprintf(fetch_timestamp, sizeof fetch_timestamp, "%04i-%02i-%02iT%02i:%02i:%02i.%06liZ", (x1->tm_year)+1900, (x1->tm_mon)+1, x1->tm_mday, x1->tm_hour, x1->tm_min, x1->tm_sec, (fetch_time.tv_nsec)/1000); /* ISO 8601 format */ ^~~~~ src/poly_pkt_fwd.c:1576:53: note: directive argument in the range [-9223372036854775, 9223372036854775] snprintf(fetch_timestamp, sizeof fetch_timestamp, "%04i-%02i-%02iT%02i:%02i:%02i.%06liZ", (x1->tm_year)+1900, (x1->tm_mon)+1, x1->tm_mday, x1->tm_hour, x1->tm_min, x1->tm_sec, (fetch_time.tv_nsec)/1000); /* ISO 8601 format */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/poly_pkt_fwd.c:1576:3: note: 'snprintf' output between 28 and 91 bytes into a destination of size 28 snprintf(fetch_timestamp, sizeof fetch_timestamp, "%04i-%02i-%02iT%02i:%02i:%02i.%06liZ", (x1->tm_year)+1900, (x1->tm_mon)+1, x1->tm_mday, x1->tm_hour, x1->tm_min, x1->tm_sec, (fetch_time.tv_nsec)/1000); /* ISO 8601 format */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -I/usr/include/libloragw -c -O2 -Wall -Wextra -std=c99 -Iinc -I. src/ghost.c -o obj/ghost.o gcc -c -O2 -Wall -Wextra -std=c99 -Iinc -I. src/monitor.c -o obj/monitor.o gcc -L/usr/include/libloragw obj/poly_pkt_fwd.o obj/parson.o obj/base64.o obj/ghost.o obj/monitor.o -o poly_pkt_fwd -lloragw -lrt -lpthread -lmpsse -lm + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.CEZKfP + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/poly_pkt_fwd-2.1.0-5.fc28.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/poly_pkt_fwd-2.1.0-5.fc28.x86_64 ++ dirname /builddir/build/BUILDROOT/poly_pkt_fwd-2.1.0-5.fc28.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/poly_pkt_fwd-2.1.0-5.fc28.x86_64 + cd poly_pkt_fwd + rm -rf /builddir/build/BUILDROOT/poly_pkt_fwd-2.1.0-5.fc28.x86_64 + make install INSTALLDIR=/builddir/build/BUILDROOT/poly_pkt_fwd-2.1.0-5.fc28.x86_64 install -d /builddir/build/BUILDROOT/poly_pkt_fwd-2.1.0-5.fc28.x86_64/usr/bin install -m 0755 poly_pkt_fwd /builddir/build/BUILDROOT/poly_pkt_fwd-2.1.0-5.fc28.x86_64/usr/bin install -d /builddir/build/BUILDROOT/poly_pkt_fwd-2.1.0-5.fc28.x86_64/etc/packet_forwarder install -D -m 0755 *.json /builddir/build/BUILDROOT/poly_pkt_fwd-2.1.0-5.fc28.x86_64/etc/packet_forwarder/ + mkdir -p /builddir/build/BUILDROOT/poly_pkt_fwd-2.1.0-5.fc28.x86_64/usr/lib/systemd/system/ + install /builddir/build/SOURCES/ttn-gateway.service /builddir/build/BUILDROOT/poly_pkt_fwd-2.1.0-5.fc28.x86_64/usr/lib/systemd/system/ + mkdir -p /builddir/build/BUILDROOT/poly_pkt_fwd-2.1.0-5.fc28.x86_64/usr/share/ttn + /usr/lib/rpm/check-buildroot + /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 + /usr/lib/rpm/brp-python-hardlink Processing files: poly_pkt_fwd-2.1.0-5.fc28.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.G978KV + umask 022 + cd /builddir/build/BUILD + cd poly_pkt_fwd + DOCDIR=/builddir/build/BUILDROOT/poly_pkt_fwd-2.1.0-5.fc28.x86_64/usr/share/doc/poly_pkt_fwd + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/poly_pkt_fwd-2.1.0-5.fc28.x86_64/usr/share/doc/poly_pkt_fwd + cp -pr readme.md /builddir/build/BUILDROOT/poly_pkt_fwd-2.1.0-5.fc28.x86_64/usr/share/doc/poly_pkt_fwd + exit 0 Provides: config(poly_pkt_fwd) = 2.1.0-5.fc28 poly_pkt_fwd = 2.1.0-5.fc28 poly_pkt_fwd(x86-64) = 2.1.0-5.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 Requires(post): /bin/sh systemd Requires(preun): /bin/sh systemd Requires(postun): /bin/sh systemd 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.7)(64bit) libloragw.so()(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.2.5)(64bit) libmpsse.so()(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.2.5)(64bit) librt.so.1()(64bit) librt.so.1(GLIBC_2.2.5)(64bit) rtld(GNU_HASH) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/poly_pkt_fwd-2.1.0-5.fc28.x86_64 Wrote: /builddir/build/RPMS/poly_pkt_fwd-2.1.0-5.fc28.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.Q3qXv2 + umask 022 + cd /builddir/build/BUILD + cd poly_pkt_fwd + rm -rf /builddir/build/BUILDROOT/poly_pkt_fwd-2.1.0-5.fc28.x86_64 + exit 0 Child return code was: 0