+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/pal.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.HjfIzf + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf pal-0.4.3 + /usr/bin/gzip -dc /builddir/build/SOURCES/pal-0.4.3.tgz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd pal-0.4.3 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + sed -i 's/-o\ root//g' src/Makefile + sed -i 's/-o\ root//g' src/convert/Makefile + sed -i s/G_CONST_RETURN/const/ src/add.c src/colorize.c src/del.c src/edit.c src/event.c src/html.c src/input.c src/latex.c src/main.c src/manage.c src/output.c src/remind.c src/rl.c src/search.c + echo 'Patch #0 (pal-0.4.3-bz1037238.patch):' Patch #0 (pal-0.4.3-bz1037238.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file src/input.c patching file src/output.c + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.YMvRUJ + umask 022 + cd /builddir/build/BUILD + cd pal-0.4.3 + make DEBUG=1 -C src 'OPT=-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 ' make: Entering directory '/builddir/build/BUILD/pal-0.4.3/src' [deps] tmp.deps/manage.d [deps] tmp.deps/search.d [deps] tmp.deps/remind.d [deps] tmp.deps/del.d [deps] tmp.deps/edit.d [deps] tmp.deps/add.d [deps] tmp.deps/latex.d [deps] tmp.deps/html.d [deps] tmp.deps/rl.d [deps] tmp.deps/event.d [deps] tmp.deps/input.d [deps] tmp.deps/output.d [deps] tmp.deps/colorize.d [deps] tmp.deps/main.d Using 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 Using CPPFLAGS: -I/usr/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DPAL_VERSION="0.4.3" -DPREFIX="/usr" -DG_DISABLE_DEPRECATED -DDEBUG Using LDFLAGS: -lglib-2.0 -lreadline -lncurses [gcc debug] main.c [gcc debug] colorize.c [gcc debug] output.c [gcc debug] input.c input.c: In function 'pal_input_get_time': input.c:103:12: warning: comparison between pointer and zero character constant [-Wpointer-compare] if(m2 == '\0') ^~ input.c:103:9: note: did you mean to dereference the pointer? if(m2 == '\0') ^ [gcc debug] event.c event.c: In function 'parse_event': event.c:587:17: warning: variable 'period' set but not used [-Wunused-but-set-variable] PalPeriodic period = PAL_ONCEONLY; ^~~~~~ event.c: In function 'get_key_EASTER': event.c:675:32: warning: '%03d' directive output may be truncated writing between 3 and 10 bytes into a region of size 5 [-Wformat-truncation=] snprintf(buffer, 12, "EASTER%c%03d", (diff > 0) ? '-' : '+', (diff > 0) ? diff : -diff); ^~~~ event.c:675:23: note: directive argument in the range [1, 2147483647] snprintf(buffer, 12, "EASTER%c%03d", (diff > 0) ? '-' : '+', (diff > 0) ? diff : -diff); ^~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:862:0, from main.h:25, from event.c:25: /usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output between 11 and 18 bytes into a destination of size 12 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [gcc debug] rl.c rl.c: In function 'pal_rl_completions_output': rl.c:158:11: warning: variable 'x' set but not used [-Wunused-but-set-variable] int y,x; ^ [gcc debug] html.c [gcc debug] latex.c [gcc debug] add.c add.c: In function 'pal_add_get_recur': add.c:203:7: warning: variable 'promptx' set but not used [-Wunused-but-set-variable] gint promptx,prompty; ^~~~~~~ add.c:176:10: warning: variable 'x' set but not used [-Wunused-but-set-variable] gint x,y; ^ add.c: In function 'pal_add_get_file': add.c:286:11: warning: variable 'x' set but not used [-Wunused-but-set-variable] int y,x; ^ [gcc debug] edit.c edit.c: In function 'pal_edit_event': edit.c:170:15: warning: unused variable 'newevent' [-Wunused-variable] PalEvent *newevent = pal_event_copy(event); ^~~~~~~~ [gcc debug] del.c del.c:104:13: warning: 'pal_del_event' defined but not used [-Wunused-function] static void pal_del_event( GDate *date, int eventnum ) ^~~~~~~~~~~~~ [gcc debug] remind.c remind.c:50:13: warning: 'pal_remind_event' defined but not used [-Wunused-function] static void pal_remind_event(void) ^~~~~~~~~~~~~~~~ [gcc debug] search.c [gcc debug] manage.c manage.c: In function 'pal_manage': manage.c:406:5: warning: 'Function' is deprecated [-Wdeprecated-declarations] rl_pre_input_hook = (Function*) pal_rl_ncurses_hack; ^~~~~~~~~~~~~~~~~ [gcc] pal make: Leaving directory '/builddir/build/BUILD/pal-0.4.3/src' + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.ChmJGX + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/pal-0.4.3-13.fc28.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/pal-0.4.3-13.fc28.riscv64 ++ dirname /builddir/build/BUILDROOT/pal-0.4.3-13.fc28.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/pal-0.4.3-13.fc28.riscv64 + cd pal-0.4.3 + make -C src DESTDIR=/builddir/build/BUILDROOT/pal-0.4.3-13.fc28.riscv64 install-no-rm make: Entering directory '/builddir/build/BUILD/pal-0.4.3/src' --- Installing locale information --- mkdir -p /builddir/build/BUILDROOT/pal-0.4.3-13.fc28.riscv64/usr/share/locale/de/LC_MESSAGES/ cd ../po; msgfmt de.po -o de.mo install -m 0644 ../po/de.mo /builddir/build/BUILDROOT/pal-0.4.3-13.fc28.riscv64/usr/share/locale/de/LC_MESSAGES/pal.mo rm ../po/de.mo mkdir -p /builddir/build/BUILDROOT/pal-0.4.3-13.fc28.riscv64/usr/share/locale/sv/LC_MESSAGES/ cd ../po; msgfmt sv.po -o sv.mo install -m 0644 ../po/sv.mo /builddir/build/BUILDROOT/pal-0.4.3-13.fc28.riscv64/usr/share/locale/sv/LC_MESSAGES/pal.mo rm ../po/sv.mo mkdir -p /builddir/build/BUILDROOT/pal-0.4.3-13.fc28.riscv64/usr/share/locale/es/LC_MESSAGES/ cd ../po; msgfmt es.po -o es.mo install -m 0644 ../po/es.mo /builddir/build/BUILDROOT/pal-0.4.3-13.fc28.riscv64/usr/share/locale/es/LC_MESSAGES/pal.mo rm ../po/es.mo mkdir -p /builddir/build/BUILDROOT/pal-0.4.3-13.fc28.riscv64/usr/share/locale/pl/LC_MESSAGES/ cd ../po; msgfmt pl.po -o pl.mo install -m 0644 ../po/pl.mo /builddir/build/BUILDROOT/pal-0.4.3-13.fc28.riscv64/usr/share/locale/pl/LC_MESSAGES/pal.mo rm ../po/pl.mo mkdir -p /builddir/build/BUILDROOT/pal-0.4.3-13.fc28.riscv64/usr/share/locale/tr/LC_MESSAGES/ cd ../po; msgfmt tr.po -o tr.mo install -m 0644 ../po/tr.mo /builddir/build/BUILDROOT/pal-0.4.3-13.fc28.riscv64/usr/share/locale/tr/LC_MESSAGES/pal.mo rm ../po/tr.mo --- Installing man page --- cd ../; sed 's/PAL_VERSION/0.4.3/' pal.1.template | gzip -9 > pal.1.gz install -m 0644 ../pal.1.gz /builddir/build/BUILDROOT/pal-0.4.3-13.fc28.riscv64/usr/share/man/man1/ install -m 0644 convert/vcard2pal.1 /builddir/build/BUILDROOT/pal-0.4.3-13.fc28.riscv64/usr/share/man/man1/ rm ../pal.1.gz --- Installing docs --- cat ../COPYING | gzip -9 > ../COPYING.gz install -m 0644 ../COPYING.gz /builddir/build/BUILDROOT/pal-0.4.3-13.fc28.riscv64/usr/share/doc/pal-0.4.3; rm ../COPYING.gz cat ../INSTALL | gzip -9 > ../INSTALL.gz install -m 0644 ../INSTALL.gz /builddir/build/BUILDROOT/pal-0.4.3-13.fc28.riscv64/usr/share/doc/pal-0.4.3; rm ../INSTALL.gz cat ../ChangeLog | gzip -9 > ../ChangeLog.gz install -m 0644 ../ChangeLog.gz /builddir/build/BUILDROOT/pal-0.4.3-13.fc28.riscv64/usr/share/doc/pal-0.4.3; rm ../ChangeLog.gz install -m 0644 ../doc/example.css /builddir/build/BUILDROOT/pal-0.4.3-13.fc28.riscv64/usr/share/doc/pal-0.4.3; --- Installing binary --- install -m 0755 pal /builddir/build/BUILDROOT/pal-0.4.3-13.fc28.riscv64/usr/bin; install -m 0755 convert/vcard2pal /builddir/build/BUILDROOT/pal-0.4.3-13.fc28.riscv64/usr/bin; --- Installing global data --- install -m 0644 ../share/*.pal /builddir/build/BUILDROOT/pal-0.4.3-13.fc28.riscv64/usr/share/pal install -m 0644 ../pal.conf /builddir/build/BUILDROOT/pal-0.4.3-13.fc28.riscv64/etc/ make: Leaving directory '/builddir/build/BUILD/pal-0.4.3/src' + rm -rf /builddir/build/BUILDROOT/pal-0.4.3-13.fc28.riscv64/usr/share/doc/pal-0.4.3 + /usr/lib/rpm/find-lang.sh /builddir/build/BUILDROOT/pal-0.4.3-13.fc28.riscv64 pal + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /builddir/build/BUILDROOT/pal-0.4.3-13.fc28.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: pal-0.4.3-13.fc28.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.5GERw2 + umask 022 + cd /builddir/build/BUILD + cd pal-0.4.3 + DOCDIR=/builddir/build/BUILDROOT/pal-0.4.3-13.fc28.riscv64/usr/share/doc/pal + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/pal-0.4.3-13.fc28.riscv64/usr/share/doc/pal + cp -pr doc/example.css /builddir/build/BUILDROOT/pal-0.4.3-13.fc28.riscv64/usr/share/doc/pal + cp -pr COPYING /builddir/build/BUILDROOT/pal-0.4.3-13.fc28.riscv64/usr/share/doc/pal + cp -pr ChangeLog /builddir/build/BUILDROOT/pal-0.4.3-13.fc28.riscv64/usr/share/doc/pal + exit 0 Provides: config(pal) = 0.4.3-13.fc28 pal = 0.4.3-13.fc28 pal(riscv-64) = 0.4.3-13.fc28 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/awk 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) libglib-2.0.so.0()(64bit) libncurses.so.6()(64bit) libreadline.so.7()(64bit) libtinfo.so.6()(64bit) rtld(GNU_HASH) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/pal-0.4.3-13.fc28.riscv64 Wrote: /builddir/build/SRPMS/pal-0.4.3-13.fc28.src.rpm Wrote: /builddir/build/RPMS/riscv64/pal-0.4.3-13.fc28.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.CikksE + umask 022 + cd /builddir/build/BUILD + cd pal-0.4.3 + /usr/bin/rm -rf /builddir/build/BUILDROOT/pal-0.4.3-13.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