Mock Version: 1.2.17 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target armv7hl --nodeps /builddir/build/SPECS/spacenavd.spec'], chrootPath='/var/lib/mock/epel-1-armhfp-0f97753f6f1e5c6bbc508c328ceb1972e3c5fae8/root'shell=FalseprintOutput=Falseenv={'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'}gid=135user='mockbuild'timeout=0logger=uid=995) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target armv7hl --nodeps /builddir/build/SPECS/spacenavd.spec'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'} and shell False warning: bogus date in %changelog: Thu Aug 16 2011 Richard Shaw - 0.5-2 Building target platforms: armv7hl Building for target armv7hl Wrote: /builddir/build/SRPMS/spacenavd-0.6-1.el7.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target armv7hl --nodeps /builddir/build/SPECS/spacenavd.spec'], chrootPath='/var/lib/mock/epel-1-armhfp-0f97753f6f1e5c6bbc508c328ceb1972e3c5fae8/root'shell=Falseuid=995env={'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'}gid=135user='mockbuild'timeout=0private_network=Truelogger=printOutput=False) Executing command: ['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target armv7hl --nodeps /builddir/build/SPECS/spacenavd.spec'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'} and shell False warning: bogus date in %changelog: Thu Aug 16 2011 Richard Shaw - 0.5-2 Building target platforms: armv7hl Building for target armv7hl Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.cIJ6DP + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf spacenavd-0.6 + /usr/bin/gzip -dc /builddir/build/SOURCES/spacenavd-0.6.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd spacenavd-0.6 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.O0DU3z + umask 022 + cd /builddir/build/BUILD + cd spacenavd-0.6 + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I/usr/lib/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I/usr/lib/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro ' + export LDFLAGS + '[' 1 == 1 ']' + '[' arm == ppc64le ']' ++ find . -name config.guess -o -name config.sub + ./configure --build=armv7hl-redhat-linux-gnu --host=armv7hl-redhat-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/lib --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info configuring spacenavd - 0.6 prefix: /usr optimize for speed: yes include debugging symbols: yes x11 communication method: yes use hotplug: yes creating Makefile ... creating config.h Done. You can now type make (or gmake) to compile spacenavd. + sed -i 's/CFLAGS =/CFLAGS +=/g' Makefile + make -j4 gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -pedantic -Wall -g -O2 -fno-strict-aliasing -I./src -I/usr/local/include -c src/hotplug_linux.c -o src/hotplug_linux.o gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -pedantic -Wall -g -O2 -fno-strict-aliasing -I./src -I/usr/local/include -c src/hotplug_darwin.c -o src/hotplug_darwin.o gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -pedantic -Wall -g -O2 -fno-strict-aliasing -I./src -I/usr/local/include -c src/client.c -o src/client.o gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -pedantic -Wall -g -O2 -fno-strict-aliasing -I./src -I/usr/local/include -c src/dev_usb.c -o src/dev_usb.o src/hotplug_darwin.c:44:0: warning: ISO C forbids an empty translation unit [-Wpedantic] #endif /* __APPLE__ && __MACH__ */ ^ gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -pedantic -Wall -g -O2 -fno-strict-aliasing -I./src -I/usr/local/include -c src/proto_unix.c -o src/proto_unix.o src/hotplug_linux.c: In function 'poll_timeout': src/hotplug_linux.c:137:9: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(poll_pipe, &sig, 1); ^ src/hotplug_linux.c: In function 'handle_hotplug': src/hotplug_linux.c:93:6: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read(hotplug_fd, buf, sizeof buf); ^ gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -pedantic -Wall -g -O2 -fno-strict-aliasing -I./src -I/usr/local/include -c src/kbemu.c -o src/kbemu.o gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -pedantic -Wall -g -O2 -fno-strict-aliasing -I./src -I/usr/local/include -c src/proto_x11.c -o src/proto_x11.o gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -pedantic -Wall -g -O2 -fno-strict-aliasing -I./src -I/usr/local/include -c src/cfgfile.c -o src/cfgfile.o gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -pedantic -Wall -g -O2 -fno-strict-aliasing -I./src -I/usr/local/include -c src/dev_serial.c -o src/dev_serial.o gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -pedantic -Wall -g -O2 -fno-strict-aliasing -I./src -I/usr/local/include -c src/xdetect_linux.c -o src/xdetect_linux.o gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -pedantic -Wall -g -O2 -fno-strict-aliasing -I./src -I/usr/local/include -c src/spnavd_win32.c -o src/spnavd_win32.o gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -pedantic -Wall -g -O2 -fno-strict-aliasing -I./src -I/usr/local/include -c src/dummy_usb.c -o src/dummy_usb.o gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -pedantic -Wall -g -O2 -fno-strict-aliasing -I./src -I/usr/local/include -c src/dev_usb_linux.c -o src/dev_usb_linux.o gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -pedantic -Wall -g -O2 -fno-strict-aliasing -I./src -I/usr/local/include -c src/event.c -o src/event.o gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -pedantic -Wall -g -O2 -fno-strict-aliasing -I./src -I/usr/local/include -c src/dev_usb_darwin.c -o src/dev_usb_darwin.o gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -pedantic -Wall -g -O2 -fno-strict-aliasing -I./src -I/usr/local/include -c src/dev.c -o src/dev.o gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -pedantic -Wall -g -O2 -fno-strict-aliasing -I./src -I/usr/local/include -c src/xdetect_freebsd.c -o src/xdetect_freebsd.o gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -pedantic -Wall -g -O2 -fno-strict-aliasing -I./src -I/usr/local/include -c src/spnavd.c -o src/spnavd.o gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -pedantic -Wall -g -O2 -fno-strict-aliasing -I./src -I/usr/local/include -c src/serial/sball.c -o src/serial/sball.o gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -pedantic -Wall -g -O2 -fno-strict-aliasing -I./src -I/usr/local/include -c src/serial/sballserial.c -o src/serial/sballserial.o gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -pedantic -Wall -g -O2 -fno-strict-aliasing -I./src -I/usr/local/include -c src/magellan/smag_event.c -o src/magellan/smag_event.o src/spnavd.c: In function 'daemonize': src/spnavd.c:231:7: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] chdir("/"); ^ src/spnavd.c:242:5: warning: ignoring return value of 'dup', declared with attribute warn_unused_result [-Wunused-result] dup(1); ^ gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -pedantic -Wall -g -O2 -fno-strict-aliasing -I./src -I/usr/local/include -c src/magellan/smag_detect.c -o src/magellan/smag_detect.o gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -pedantic -Wall -g -O2 -fno-strict-aliasing -I./src -I/usr/local/include -c src/magellan/smag.c -o src/magellan/smag.o gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -pedantic -Wall -g -O2 -fno-strict-aliasing -I./src -I/usr/local/include -c src/magellan/smag_comm.c -o src/magellan/smag_comm.o src/magellan/smag_comm.c: In function 'smag_write': src/magellan/smag_comm.c:119:8: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, buf + i, 1); ^ src/magellan/smag_comm.c:122:7: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, "\r", 1); ^ gcc -o spacenavd src/hotplug_linux.o src/hotplug_darwin.o src/client.o src/dev_usb.o src/proto_unix.o src/kbemu.o src/proto_x11.o src/cfgfile.o src/dev_serial.o src/xdetect_linux.o src/spnavd_win32.o src/dummy_usb.o src/dev_usb_linux.o src/event.o src/dev_usb_darwin.o src/dev.o src/xdetect_freebsd.o src/spnavd.o src/serial/sball.o src/serial/sballserial.o src/magellan/smag_event.o src/magellan/smag_detect.o src/magellan/smag.o src/magellan/smag_comm.o -L/usr/local/lib -L/usr/X11/lib -lX11 + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.fInYsT + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/spacenavd-0.6-1.el7.arm '!=' / ']' + rm -rf /builddir/build/BUILDROOT/spacenavd-0.6-1.el7.arm ++ dirname /builddir/build/BUILDROOT/spacenavd-0.6-1.el7.arm + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/spacenavd-0.6-1.el7.arm + cd spacenavd-0.6 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/spacenavd-0.6-1.el7.arm install -d /builddir/build/BUILDROOT/spacenavd-0.6-1.el7.arm/usr/bin install -m 755 spacenavd /builddir/build/BUILDROOT/spacenavd-0.6-1.el7.arm/usr/bin/spacenavd install -m 755 ./spnavd_ctl /builddir/build/BUILDROOT/spacenavd-0.6-1.el7.arm/usr/bin/spnavd_ctl cd . && ./setup_init --no-install --- Spacenavd installation complete --- To have spacenavd start automatically at bootup, you must add an appropriate init script. Refer to your system's manual for details on how to do that. An example init script is available in the spacenavd source directory. If you wish to attempt and install an init script automatically, run ./setup_init + mkdir -p /builddir/build/BUILDROOT/spacenavd-0.6-1.el7.arm/usr/lib/systemd/system + install -p -m 0644 /builddir/build/SOURCES/spacenavd.service /builddir/build/BUILDROOT/spacenavd-0.6-1.el7.arm/usr/lib/systemd/system + /usr/lib/rpm/find-debuginfo.sh --strict-build-id -m --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 /builddir/build/BUILD/spacenavd-0.6 extracting debug info from /builddir/build/BUILDROOT/spacenavd-0.6-1.el7.arm/usr/bin/spacenavd dwz: Too few files for multifile optimization /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 301 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: spacenavd-0.6-1.el7.armv7hl Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.zO7wPX + umask 022 + cd /builddir/build/BUILD + cd spacenavd-0.6 + DOCDIR=/builddir/build/BUILDROOT/spacenavd-0.6-1.el7.arm/usr/share/doc/spacenavd-0.6 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/spacenavd-0.6-1.el7.arm/usr/share/doc/spacenavd-0.6 + cp -pr AUTHORS /builddir/build/BUILDROOT/spacenavd-0.6-1.el7.arm/usr/share/doc/spacenavd-0.6 + cp -pr COPYING /builddir/build/BUILDROOT/spacenavd-0.6-1.el7.arm/usr/share/doc/spacenavd-0.6 + cp -pr doc/example-spnavrc /builddir/build/BUILDROOT/spacenavd-0.6-1.el7.arm/usr/share/doc/spacenavd-0.6 + cp -pr README /builddir/build/BUILDROOT/spacenavd-0.6-1.el7.arm/usr/share/doc/spacenavd-0.6 + exit 0 Provides: spacenavd = 0.6-1.el7 spacenavd(armv7hl-32) = 0.6-1.el7 Requires(interp): /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(post): /bin/sh systemd Requires(preun): /bin/sh systemd Requires(postun): /bin/sh systemd Requires: /bin/sh ld-linux-armhf.so.3 ld-linux-armhf.so.3(GLIBC_2.4) libX11.so.6 libc.so.6 libc.so.6(GLIBC_2.11) libc.so.6(GLIBC_2.15) libc.so.6(GLIBC_2.4) libc.so.6(GLIBC_2.7) libgcc_s.so.1 libgcc_s.so.1(GCC_3.5) rtld(GNU_HASH) Processing files: spacenavd-debuginfo-0.6-1.el7.armv7hl Provides: spacenavd-debuginfo = 0.6-1.el7 spacenavd-debuginfo(armv7hl-32) = 0.6-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/spacenavd-0.6-1.el7.arm Wrote: /builddir/build/RPMS/spacenavd-0.6-1.el7.armv7hl.rpm Wrote: /builddir/build/RPMS/spacenavd-debuginfo-0.6-1.el7.armv7hl.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.GdyIVP + umask 022 + cd /builddir/build/BUILD + cd spacenavd-0.6 + /usr/bin/rm -rf /builddir/build/BUILDROOT/spacenavd-0.6-1.el7.arm + exit 0 Child return code was: 0