+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/torsmo.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 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.ONrNg2 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf torsmo-0.18 + /usr/bin/gzip -dc /builddir/build/SOURCES/torsmo-0.18.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd torsmo-0.18 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.XCjuZJ + umask 022 + cd /builddir/build/BUILD + cd torsmo-0.18 ++ pkg-config xft --cflags + CFLAGS='-I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -DXFT -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 ++ pkg-config xft --libs + XFT_LIBS='-lXft ' + export XFT_LIBS + CFLAGS='-I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -DXFT -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 --enable-xft --enable-proc-uptime --enable-seti --x-includes=/usr/include --x-libraries=/usr/lib64 creating cache ./config.cache checking for a BSD compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking whether make sets ${MAKE}... yes checking for working aclocal-1.4... missing checking for working autoconf... missing checking for working automake-1.4... missing checking for working autoheader... missing checking for working makeinfo... missing checking for gcc... gcc checking whether the C compiler (gcc -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -DXFT -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 -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld) works... yes checking whether the C compiler (gcc -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -DXFT -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 -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld) is a cross-compiler... no checking whether we are using GNU C... yes checking whether gcc accepts -g... yes checking how to run the C preprocessor... gcc -E checking for X... libraries /usr/lib64, headers /usr/include checking for XOpenDisplay in -lX11... yes checking for XdbeQueryExtension in -lXext... yes checking for xft-config... no checking for signal.h... yes checking for unistd.h... yes checking for X11/Xlib.h... yes checking for sys/utsname.h... yes checking for sys/stat.h... yes checking for linux/soundcard.h... yes checking for dirent.h... yes checking for sys/statfs.h... yes checking for sys/param.h... yes checking for sys/mount.h... yes checking for X11/extensions/Xdbe.h... yes checking for help2man... no checking for sysinfo... yes checking for getloadavg... yes checking for popen... yes updating cache ./config.cache creating ./config.status creating Makefile creating config.h + make -j4 gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -DXFT -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 -Wall -I/usr/include -Wall -W -c common.c gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -DXFT -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 -Wall -I/usr/include -Wall -W -c fs.c gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -DXFT -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 -Wall -I/usr/include -Wall -W -c linux.c gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -DXFT -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 -Wall -I/usr/include -Wall -W -c mail.c mail.c: In function 'update_mail_count': mail.c:151:9: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(buf, 128, fp); ^~~~~~~~~~~~~~~~~~~ linux.c: In function 'update_net_stats': linux.c:133:3: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(buf, 255, net_dev_fp); /* garbage */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~ linux.c:134:3: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(buf, 255, net_dev_fp); /* garbage (field names) */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~ linux.c: In function 'get_adt746x_fan': linux.c:398:3: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(fp, "%s", adt746x_fan_state); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ linux.c: In function 'get_adt746x_cpu': linux.c:418:3: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(fp, "%2s", adt746x_cpu_state); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ linux.c: In function 'get_acpi_fan': linux.c:475:3: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(fp, "%*s %99s", acpi_fan_state); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ linux.c: In function 'get_acpi_ac_adapter': linux.c:506:3: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(fp, "%*s %99s", acpi_ac_adapter_state); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ linux.c: In function 'get_battery_stuff': linux.c:732:7: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(apm_bat_fp, "%*s %*s %*x %x %x %x %d%%", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ &ac, &status, &flag, &life); ~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -DXFT -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 -Wall -I/usr/include -Wall -W -c mixer.c gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -DXFT -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 -Wall -I/usr/include -Wall -W -c seti.c gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -DXFT -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 -Wall -I/usr/include -Wall -W -c torsmo.c seti.c: In function 'seti_get_data': seti.c:38:5: warning: this 'while' clause does not guard... [-Wmisleading-indentation] while (fgets(token,1000,fp)!=NULL) //read the file ^~~~~ seti.c:43:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while' data = atof(buffer); ^~~~ gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -DXFT -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 -Wall -I/usr/include -Wall -W -c x11.c torsmo.c: In function 'calc_text_width': torsmo.c:122:39: warning: pointer targets in passing argument 3 of 'XftTextExtents8' differ in signedness [-Wpointer-sign] XftTextExtents8(display, xftfont, s, l, &gi); ^ In file included from torsmo.h:90:0, from torsmo.c:6: /usr/include/X11/Xft/Xft.h:298:1: note: expected 'const FcChar8 * {aka const unsigned char *}' but argument is of type 'const char *' XftTextExtents8 (Display *dpy, ^~~~~~~~~~~~~~~ gcc -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -DXFT -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 -Wall -I/usr/include -Wall -W -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -L/usr/lib64 -o torsmo -lX11 -lXext -lXft common.o fs.o linux.o mail.o mixer.o seti.o torsmo.o x11.o + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.Nd83gv + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/torsmo-0.18-24.fc28.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/torsmo-0.18-24.fc28.riscv64 ++ dirname /builddir/build/BUILDROOT/torsmo-0.18-24.fc28.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/torsmo-0.18-24.fc28.riscv64 + cd torsmo-0.18 + make install DESTDIR=/builddir/build/BUILDROOT/torsmo-0.18-24.fc28.riscv64 'INSTALL=install -p' make[1]: Entering directory '/builddir/build/BUILD/torsmo-0.18' /bin/sh ./mkinstalldirs /builddir/build/BUILDROOT/torsmo-0.18-24.fc28.riscv64/usr/bin mkdir /builddir/build/BUILDROOT/torsmo-0.18-24.fc28.riscv64/usr mkdir /builddir/build/BUILDROOT/torsmo-0.18-24.fc28.riscv64/usr/bin install -p torsmo /builddir/build/BUILDROOT/torsmo-0.18-24.fc28.riscv64/usr/bin/torsmo make install-man1 make[2]: Entering directory '/builddir/build/BUILD/torsmo-0.18' /bin/sh ./mkinstalldirs /builddir/build/BUILDROOT/torsmo-0.18-24.fc28.riscv64/usr/share/man/man1 mkdir /builddir/build/BUILDROOT/torsmo-0.18-24.fc28.riscv64/usr/share mkdir /builddir/build/BUILDROOT/torsmo-0.18-24.fc28.riscv64/usr/share/man mkdir /builddir/build/BUILDROOT/torsmo-0.18-24.fc28.riscv64/usr/share/man/man1 install -p -m 644 ./torsmo.1 /builddir/build/BUILDROOT/torsmo-0.18-24.fc28.riscv64/usr/share/man/man1/torsmo.1 make[2]: Leaving directory '/builddir/build/BUILD/torsmo-0.18' make[1]: Leaving directory '/builddir/build/BUILD/torsmo-0.18' + desktop-file-install --dir /builddir/build/BUILDROOT/torsmo-0.18-24.fc28.riscv64/usr/share/applications --add-category X-Fedora /builddir/build/SOURCES/torsmo.desktop + iconv -f iso8859-1 -t utf-8 AUTHORS + mv -f AUTHORS.conv AUTHORS + iconv -f iso8859-1 -t utf-8 ChangeLog + mv -f ChangeLog.conv ChangeLog + iconv -f iso8859-1 -t utf-8 torsmorc.sample + mv -f torsmorc.sample.conv torsmorc.sample + /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: torsmo-0.18-24.fc28.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.uTdHfg + umask 022 + cd /builddir/build/BUILD + cd torsmo-0.18 + DOCDIR=/builddir/build/BUILDROOT/torsmo-0.18-24.fc28.riscv64/usr/share/doc/torsmo + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/torsmo-0.18-24.fc28.riscv64/usr/share/doc/torsmo + cp -pr AUTHORS /builddir/build/BUILDROOT/torsmo-0.18-24.fc28.riscv64/usr/share/doc/torsmo + cp -pr ChangeLog /builddir/build/BUILDROOT/torsmo-0.18-24.fc28.riscv64/usr/share/doc/torsmo + cp -pr COPYING /builddir/build/BUILDROOT/torsmo-0.18-24.fc28.riscv64/usr/share/doc/torsmo + cp -pr README /builddir/build/BUILDROOT/torsmo-0.18-24.fc28.riscv64/usr/share/doc/torsmo + cp -pr readme.html /builddir/build/BUILDROOT/torsmo-0.18-24.fc28.riscv64/usr/share/doc/torsmo + cp -pr torsmorc.sample /builddir/build/BUILDROOT/torsmo-0.18-24.fc28.riscv64/usr/share/doc/torsmo + exit 0 Provides: application() application(torsmo.desktop) torsmo = 0.18-24.fc28 torsmo(riscv-64) = 0.18-24.fc28 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libX11.so.6()(64bit) libXext.so.6()(64bit) libXft.so.2()(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/torsmo-0.18-24.fc28.riscv64 Wrote: /builddir/build/SRPMS/torsmo-0.18-24.fc28.src.rpm Wrote: /builddir/build/RPMS/riscv64/torsmo-0.18-24.fc28.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.7Vy0Fa + umask 022 + cd /builddir/build/BUILD + cd torsmo-0.18 + /usr/bin/rm -rf /builddir/build/BUILDROOT/torsmo-0.18-24.fc28.riscv64 + exit 0 + touch /buildok + cleanup + set +e + sync + sleep 5 + sync + poweroff Terminated ++ cleanup ++ set +e ++ sync ++ sleep 5 Terminated +++ cleanup +++ set +e +++ sync +++ sleep 5 +++ sync +++ poweroff