Mock Version: 1.4.9 Mock Version: 1.4.9 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/hdapsd.spec'], chrootPath='/var/lib/mock/f29-build-6056-1480/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', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'}shell=Falselogger=timeout=345600uid=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/hdapsd.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', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'} and shell False Building target platforms: riscv64 Building for target riscv64 Wrote: /builddir/build/SRPMS/hdapsd-20141203-8.fc29.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/hdapsd.spec'], chrootPath='/var/lib/mock/f29-build-6056-1480/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', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'}shell=Falselogger=timeout=345600uid=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/hdapsd.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', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'} and shell False Building target platforms: riscv64 Building for target riscv64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.Xr81Xj + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf hdapsd-20141203 + /usr/bin/gzip -dc /builddir/build/SOURCES/hdapsd-20141203.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd hdapsd-20141203 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.OEFoF5 + umask 022 + cd /builddir/build/BUILD + cd hdapsd-20141203 + 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 -fasynchronous-unwind-tables -fstack-clash-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 -fasynchronous-unwind-tables -fstack-clash-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 -fasynchronous-unwind-tables -fstack-clash-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 -fasynchronous-unwind-tables -fstack-clash-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 + '[' 1 = 1 ']' BUILDSTDERR: +++ dirname ./configure BUILDSTDERR: ++ find . -name config.guess -o -name config.sub + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' BUILDSTDERR: ++ find . -name ltmain.sh + ./configure --build=riscv64-koji-linux-gnu --host=riscv64-koji-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether to enable maintainer-specific portions of Makefiles... yes checking for riscv64-koji-linux-gnu-gcc... no checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether gcc understands -c and -o together... yes checking for style of include used by make... GNU checking dependency style of gcc... none checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking for unistd.h... (cached) yes checking syslog.h usability... yes checking syslog.h presence... yes checking for syslog.h... yes checking linux/input.h usability... yes checking linux/input.h presence... yes checking for linux/input.h... yes checking dirent.h usability... yes checking dirent.h presence... yes checking for dirent.h... yes checking for an ANSI C-conforming const... yes checking whether time.h and sys/time.h may both be included... yes checking return type of signal handlers... void checking for gettimeofday... yes checking for strerror... yes checking for uname... yes checking for riscv64-koji-linux-gnu-pkg-config... no checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for LIBCONFIG... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating doc/Makefile config.status: creating misc/Makefile config.status: creating src/config.h config.status: executing depfiles commands + make -j4 Making all in src make[1]: Entering directory '/builddir/build/BUILD/hdapsd-20141203/src' make all-am make[2]: Entering directory '/builddir/build/BUILD/hdapsd-20141203/src' gcc -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -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 -fasynchronous-unwind-tables -fstack-clash-protection -c -o hdapsd-hdapsd.o `test -f 'hdapsd.c' || echo './'`hdapsd.c gcc -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -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 -fasynchronous-unwind-tables -fstack-clash-protection -c -o hdapsd-input-helper.o `test -f 'input-helper.c' || echo './'`input-helper.c BUILDSTDERR: hdapsd.c: In function 'main': BUILDSTDERR: hdapsd.c:1232:29: warning: unused variable 'oldz' [-Wunused-variable] BUILDSTDERR: int oldx = x, oldy = y, oldz = z; BUILDSTDERR: ^~~~ BUILDSTDERR: hdapsd.c:1281:45: warning: pointer targets in passing argument 2 of 'slurp_file' differ in signedness [-Wpointer-sign] BUILDSTDERR: ret = slurp_file(TOSHIBA_MOVEMENT_FILE, &count); BUILDSTDERR: ^~~~~~ BUILDSTDERR: hdapsd.c:117:12: note: expected 'char *' but argument is of type 'unsigned char *' BUILDSTDERR: static int slurp_file (const char* filename, char* buf) BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: hdapsd.c: In function 'select_interface': BUILDSTDERR: hdapsd.c:675:4: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: system(command); BUILDSTDERR: ^~~~~~~~~~~~~~~ BUILDSTDERR: hdapsd.c: In function 'main': BUILDSTDERR: hdapsd.c:1136:3: warning: ignoring return value of 'daemon', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: daemon(0,0); BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: hdapsd.c:819:13: warning: 'ret' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: int fd, i, ret, threshold = 15, adaptive = 0, BUILDSTDERR: ^~~ gcc -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 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o hdapsd hdapsd-hdapsd.o hdapsd-input-helper.o -lconfig make[2]: Leaving directory '/builddir/build/BUILD/hdapsd-20141203/src' make[1]: Leaving directory '/builddir/build/BUILD/hdapsd-20141203/src' Making all in doc make[1]: Entering directory '/builddir/build/BUILD/hdapsd-20141203/doc' sed -e 's|__VERSION__|20141203|' -e "s|__DATE__|`date -d 20141203 '+%Y-%m-%d'`|" < hdapsd.man > hdapsd.8 make[1]: Leaving directory '/builddir/build/BUILD/hdapsd-20141203/doc' Making all in misc make[1]: Entering directory '/builddir/build/BUILD/hdapsd-20141203/misc' rm -f hdapsd.service hdapsd.service.tmp rm -f hdapsd@.service hdapsd@.service.tmp srcdir=''; \ test -f ./hdapsd.service.in || srcdir=./; \ sed -e 's|@sbindir[@]|/usr/sbin|g' ${srcdir}hdapsd.service.in >hdapsd.service.tmp srcdir=''; \ test -f ./hdapsd@.service.in || srcdir=./; \ sed -e 's|@sbindir[@]|/usr/sbin|g' ${srcdir}hdapsd@.service.in >hdapsd@.service.tmp mv hdapsd.service.tmp hdapsd.service mv hdapsd@.service.tmp hdapsd@.service make[1]: Leaving directory '/builddir/build/BUILD/hdapsd-20141203/misc' make[1]: Entering directory '/builddir/build/BUILD/hdapsd-20141203' make[1]: Nothing to be done for 'all-am'. make[1]: Leaving directory '/builddir/build/BUILD/hdapsd-20141203' + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.Q1AtaA + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/hdapsd-20141203-8.fc29.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/hdapsd-20141203-8.fc29.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/hdapsd-20141203-8.fc29.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/hdapsd-20141203-8.fc29.riscv64 + cd hdapsd-20141203 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/hdapsd-20141203-8.fc29.riscv64 'INSTALL=/usr/bin/install -p' Making install in src make[1]: Entering directory '/builddir/build/BUILD/hdapsd-20141203/src' make[2]: Entering directory '/builddir/build/BUILD/hdapsd-20141203/src' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/hdapsd-20141203-8.fc29.riscv64/usr/sbin' /usr/bin/install -p hdapsd '/builddir/build/BUILDROOT/hdapsd-20141203-8.fc29.riscv64/usr/sbin' make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/builddir/build/BUILD/hdapsd-20141203/src' make[1]: Leaving directory '/builddir/build/BUILD/hdapsd-20141203/src' Making install in doc make[1]: Entering directory '/builddir/build/BUILD/hdapsd-20141203/doc' make[2]: Entering directory '/builddir/build/BUILD/hdapsd-20141203/doc' make[2]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/hdapsd-20141203-8.fc29.riscv64/usr/share/man/man8' /usr/bin/install -p -m 644 hdapsd.8 '/builddir/build/BUILDROOT/hdapsd-20141203-8.fc29.riscv64/usr/share/man/man8' make[2]: Leaving directory '/builddir/build/BUILD/hdapsd-20141203/doc' make[1]: Leaving directory '/builddir/build/BUILD/hdapsd-20141203/doc' Making install in misc make[1]: Entering directory '/builddir/build/BUILD/hdapsd-20141203/misc' make[2]: Entering directory '/builddir/build/BUILD/hdapsd-20141203/misc' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/hdapsd-20141203-8.fc29.riscv64/etc' /usr/bin/install -p -m 644 hdapsd.conf '/builddir/build/BUILDROOT/hdapsd-20141203-8.fc29.riscv64/etc' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/hdapsd-20141203-8.fc29.riscv64/usr/lib/systemd/system' /usr/bin/install -p -m 644 hdapsd@.service '/builddir/build/BUILDROOT/hdapsd-20141203-8.fc29.riscv64/usr/lib/systemd/system' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/hdapsd-20141203-8.fc29.riscv64/usr/lib/udev/rules.d' /usr/bin/install -p -m 644 hdapsd.rules '/builddir/build/BUILDROOT/hdapsd-20141203-8.fc29.riscv64/usr/lib/udev/rules.d' make[2]: Leaving directory '/builddir/build/BUILD/hdapsd-20141203/misc' make[1]: Leaving directory '/builddir/build/BUILD/hdapsd-20141203/misc' make[1]: Entering directory '/builddir/build/BUILD/hdapsd-20141203' make[2]: Entering directory '/builddir/build/BUILD/hdapsd-20141203' make[2]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/hdapsd-20141203-8.fc29.riscv64/usr/share/doc/hdapsd' /usr/bin/install -p -m 644 README.md ChangeLog '/builddir/build/BUILDROOT/hdapsd-20141203-8.fc29.riscv64/usr/share/doc/hdapsd' make[2]: Leaving directory '/builddir/build/BUILD/hdapsd-20141203' make[1]: Leaving directory '/builddir/build/BUILD/hdapsd-20141203' + install -m 644 misc/hdapsd.service /builddir/build/BUILDROOT/hdapsd-20141203-8.fc29.riscv64/usr/lib/systemd/system + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig BUILDSTDERR: /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /builddir/build/BUILDROOT/hdapsd-20141203-8.fc29.riscv64/etc/ld.so.conf: No such file or directory + /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 + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: hdapsd-20141203-8.fc29.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.igBdxP + umask 022 + cd /builddir/build/BUILD + cd hdapsd-20141203 + DOCDIR=/builddir/build/BUILDROOT/hdapsd-20141203-8.fc29.riscv64/usr/share/doc/hdapsd + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/hdapsd-20141203-8.fc29.riscv64/usr/share/doc/hdapsd + cp -pr AUTHORS /builddir/build/BUILDROOT/hdapsd-20141203-8.fc29.riscv64/usr/share/doc/hdapsd + cp -pr ChangeLog /builddir/build/BUILDROOT/hdapsd-20141203-8.fc29.riscv64/usr/share/doc/hdapsd + cp -pr README.md /builddir/build/BUILDROOT/hdapsd-20141203-8.fc29.riscv64/usr/share/doc/hdapsd + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.5f1ax4 + umask 022 + cd /builddir/build/BUILD + cd hdapsd-20141203 + LICENSEDIR=/builddir/build/BUILDROOT/hdapsd-20141203-8.fc29.riscv64/usr/share/licenses/hdapsd + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/hdapsd-20141203-8.fc29.riscv64/usr/share/licenses/hdapsd + cp -pr COPYING /builddir/build/BUILDROOT/hdapsd-20141203-8.fc29.riscv64/usr/share/licenses/hdapsd + exit 0 Provides: config(hdapsd) = 20141203-8.fc29 hdapsd = 20141203-8.fc29 hdapsd(riscv-64) = 20141203-8.fc29 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): systemd Requires(preun): systemd Requires(postun): systemd Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libconfig.so.9()(64bit) rtld(GNU_HASH) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/hdapsd-20141203-8.fc29.riscv64 Wrote: /builddir/build/RPMS/hdapsd-20141203-8.fc29.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.9RWAmC + umask 022 + cd /builddir/build/BUILD + cd hdapsd-20141203 + /usr/bin/rm -rf /builddir/build/BUILDROOT/hdapsd-20141203-8.fc29.riscv64 + exit 0 Child return code was: 0