+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/spacenavd.spec --define "debug_package %{nil}" --undefine _annotated_build --define "_missing_doc_files_terminate_build %{nil}" --define "_emacs_sitestartdir /usr/share/emacs/site-lisp/site-start.d" --define "_emacs_sitelispdir /usr/share/emacs/site-lisp" --nocheck ' mockbuild warning: bogus date in %changelog: Thu Aug 16 2011 Richard Shaw - 0.5-2 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.vbst6x + 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 -xof - + 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.vNSLuW + umask 022 + cd /builddir/build/BUILD + cd spacenavd-0.6 + 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 ' + 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 ' + 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 -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 -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + '[' 1 = 1 ']' + '[' x '!=' x-specs=/usr/lib/rpm/redhat/redhat-hardened-ld ']' ++ find . -name ltmain.sh + ./configure --build=riscv64-redhat-linux-gnu --host=riscv64-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/lib64 --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 -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 -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 -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 -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 -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 -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 -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 -pedantic -Wall -g -O2 -fno-strict-aliasing -I./src -I/usr/local/include -c src/client.c -o src/client.o src/hotplug_darwin.c:44:0: warning: ISO C forbids an empty translation unit [-Wpedantic] #endif /* __APPLE__ && __MACH__ */ 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 -pedantic -Wall -g -O2 -fno-strict-aliasing -I./src -I/usr/local/include -c src/dev_usb.c -o src/dev_usb.o 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 -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:4: 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:2: 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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -pedantic -Wall -g -O2 -fno-strict-aliasing -I./src -I/usr/local/include -c src/serial/sball.c -o src/serial/sball.o src/spnavd.c: In function 'daemonize': src/spnavd.c:231:2: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] chdir("/"); ^~~~~~~~~~ src/spnavd.c:242:2: warning: ignoring return value of 'dup', declared with attribute warn_unused_result [-Wunused-result] dup(1); ^~~~~~ 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 -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 -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 -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 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 -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 -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 -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 -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 -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:3: 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:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, "\r", 1); ^~~~~~~~~~~~~~~~~~ gcc -o spacenavd src/spnavd_win32.o 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/event.o src/dummy_usb.o src/dev_usb_linux.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.STOAb2 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/spacenavd-0.6-6.fc28.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/spacenavd-0.6-6.fc28.riscv64 ++ dirname /builddir/build/BUILDROOT/spacenavd-0.6-6.fc28.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/spacenavd-0.6-6.fc28.riscv64 + cd spacenavd-0.6 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/spacenavd-0.6-6.fc28.riscv64 'INSTALL=/usr/bin/install -p' /usr/bin/install -p -d /builddir/build/BUILDROOT/spacenavd-0.6-6.fc28.riscv64/usr/bin /usr/bin/install -p -m 755 spacenavd /builddir/build/BUILDROOT/spacenavd-0.6-6.fc28.riscv64/usr/bin/spacenavd /usr/bin/install -p -m 755 ./spnavd_ctl /builddir/build/BUILDROOT/spacenavd-0.6-6.fc28.riscv64/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-6.fc28.riscv64/usr/lib/systemd/system + install -p -m 0644 /builddir/build/SOURCES/spacenavd.service /builddir/build/BUILDROOT/spacenavd-0.6-6.fc28.riscv64/usr/lib/systemd/system + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /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: spacenavd-0.6-6.fc28.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.mGjVrt + umask 022 + cd /builddir/build/BUILD + cd spacenavd-0.6 + DOCDIR=/builddir/build/BUILDROOT/spacenavd-0.6-6.fc28.riscv64/usr/share/doc/spacenavd + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/spacenavd-0.6-6.fc28.riscv64/usr/share/doc/spacenavd + cp -pr AUTHORS /builddir/build/BUILDROOT/spacenavd-0.6-6.fc28.riscv64/usr/share/doc/spacenavd + cp -pr COPYING /builddir/build/BUILDROOT/spacenavd-0.6-6.fc28.riscv64/usr/share/doc/spacenavd + cp -pr doc/example-spnavrc /builddir/build/BUILDROOT/spacenavd-0.6-6.fc28.riscv64/usr/share/doc/spacenavd + cp -pr README /builddir/build/BUILDROOT/spacenavd-0.6-6.fc28.riscv64/usr/share/doc/spacenavd + exit 0 Provides: spacenavd = 0.6-6.fc28 spacenavd(riscv-64) = 0.6-6.fc28 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-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libX11.so.6()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) rtld(GNU_HASH) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/spacenavd-0.6-6.fc28.riscv64 Wrote: /builddir/build/SRPMS/spacenavd-0.6-6.fc28.src.rpm Wrote: /builddir/build/RPMS/riscv64/spacenavd-0.6-6.fc28.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.FH6qd0 + umask 022 + cd /builddir/build/BUILD + cd spacenavd-0.6 + /usr/bin/rm -rf /builddir/build/BUILDROOT/spacenavd-0.6-6.fc28.riscv64 + exit 0 + touch /buildok + cleanup + set +e + sync + sleep 5 + sync + poweroff Terminated ++ cleanup ++ set +e ++ sync Terminated +++ cleanup +++ set +e +++ sync +++ sleep 5 +++ sync +++ poweroff