+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/pwsafe.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.VNvVQ4 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf pwsafe-0.2.0 + /usr/bin/gzip -dc /builddir/build/SOURCES/pwsafe-0.2.0.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd pwsafe-0.2.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (pwsafe-0.2.0-paste-gnome-terminal.patch):' Patch #0 (pwsafe-0.2.0-paste-gnome-terminal.patch): + /usr/bin/patch --no-backup-if-mismatch -p0 -b --suffix .paste-gnome-terminal --fuzz=0 patching file pwsafe.cpp + echo 'Patch #1 (pwsafe-0.2.0-aarch64.patch):' Patch #1 (pwsafe-0.2.0-aarch64.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .aarch64 --fuzz=0 patching file config.guess patching file config.sub + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.NoIRR1 + umask 022 + cd /builddir/build/BUILD + cd pwsafe-0.2.0 + 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 + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub '/usr/lib/rpm/redhat/config.sub' -> './config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess '/usr/lib/rpm/redhat/config.guess' -> './config.guess' + '[' 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 --disable-dependency-tracking 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... missing checking for working autoconf... missing checking for working automake... missing checking for working autoheader... missing checking for working makeinfo... missing checking build system type... riscv64-redhat-linux-gnu checking host system type... riscv64-redhat-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking for riscv64-redhat-linux-gnu-gcc... no checking for gcc... gcc checking for C compiler default output... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... 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 riscv64-redhat-linux-gnu-g++... no checking for riscv64-redhat-linux-gnu-c++... no checking for riscv64-redhat-linux-gnu-gpp... no checking for riscv64-redhat-linux-gnu-aCC... no checking for riscv64-redhat-linux-gnu-CC... no checking for riscv64-redhat-linux-gnu-cxx... no checking for riscv64-redhat-linux-gnu-cc++... no checking for riscv64-redhat-linux-gnu-cl... no checking for riscv64-redhat-linux-gnu-FCC... no checking for riscv64-redhat-linux-gnu-KCC... no checking for riscv64-redhat-linux-gnu-RCC... no checking for riscv64-redhat-linux-gnu-xlC_r... no checking for riscv64-redhat-linux-gnu-xlC... no checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking for riscv64-redhat-linux-gnu-strip... no checking for strip... strip checking how to run the C preprocessor... gcc -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 for pid_t... yes checking for uid_t in sys/types.h... yes checking for size_t... yes checking for long long... yes checking for working memcmp... yes checking for X... libraries , headers checking for gethostbyname... yes checking for connect... yes checking for remove... yes checking for shmat... yes checking for IceConnectionNumber in -lICE... yes checking for SHA1_Init in -lcrypto... yes checking for initscr in -lncurses... yes checking for initscr in -lcurses... yes checking if libreadline needs libncurses... yes checking for readline in -lreadline... yes checking for XOpenDisplay in -lX11... yes checking for XmuInternAtom in -lXmu... yes checking for ANSI C header files... (cached) yes checking for unistd.h... (cached) yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking time.h usability... yes checking time.h presence... yes checking for time.h... yes checking for sys/types.h... (cached) yes checking sys/mkdev.h usability... no checking sys/mkdev.h presence... no checking for sys/mkdev.h... no checking sys/sysmacros.h usability... yes checking sys/sysmacros.h presence... yes checking for sys/sysmacros.h... yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking dirent.h usability... yes checking dirent.h presence... yes checking for dirent.h... yes checking sys/ndir.h usability... no checking sys/ndir.h presence... no checking for sys/ndir.h... no checking ndir.h usability... no checking ndir.h presence... no checking for ndir.h... no checking alloca.h usability... yes checking alloca.h presence... yes checking for alloca.h... yes checking locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking for fcntl.h... (cached) yes checking signal.h usability... yes checking signal.h presence... yes checking for signal.h... yes checking sys/select.h usability... yes checking sys/select.h presence... yes checking for sys/select.h... yes checking sys/resource.h usability... yes checking sys/resource.h presence... yes checking for sys/resource.h... yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking sys/un.h usability... yes checking sys/un.h presence... yes checking for sys/un.h... yes checking sys/mman.h usability... yes checking sys/mman.h presence... yes checking for sys/mman.h... yes checking for stdint.h... (cached) yes checking errno.h usability... yes checking errno.h presence... yes checking for errno.h... yes checking termios.h usability... yes checking termios.h presence... yes checking for termios.h... yes checking getopt.h usability... yes checking getopt.h presence... yes checking for getopt.h... yes checking openssl/sha.h usability... yes checking openssl/sha.h presence... yes checking for openssl/sha.h... yes checking openssl/blowfish.h usability... yes checking openssl/blowfish.h presence... yes checking for openssl/blowfish.h... yes checking openssl/rand.h usability... yes checking openssl/rand.h presence... yes checking for openssl/rand.h... yes checking curses.h usability... yes checking curses.h presence... yes checking for curses.h... yes checking readline/readline.h usability... yes checking readline/readline.h presence... yes checking for readline/readline.h... yes checking netinet/in.h usability... yes checking netinet/in.h presence... yes checking for netinet/in.h... yes checking X11/Xlib.h usability... yes checking X11/Xlib.h presence... yes checking for X11/Xlib.h... yes checking X11/Xatom.h usability... yes checking X11/Xatom.h presence... yes checking for X11/Xatom.h... yes checking X11/Xmu/Atoms.h usability... yes checking X11/Xmu/Atoms.h presence... yes checking for X11/Xmu/Atoms.h... yes checking whether sys/types.h defines makedev... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for socklen_t... yes checking POSIX termios... yes checking for getopt_long... yes checking for tcsetattr... yes checking for setrlimit... yes checking for readline... yes checking if readline.h needs extern "C"... no checking if readline.h lacks 'const' in its declarations... no checking if readline.h lacks types in its declaration of callbacks... no checking if getline() is supported... yes configure: creating ./config.status config.status: creating Makefile config.status: creating pwsafe.1 config.status: creating pwsafe.lsm config.status: creating pwsafe.spec config.status: creating config.h config.status: executing default-1 commands + make -j4 g++ -DHAVE_CONFIG_H -I. -I. -I. -lncurses -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 -c pwsafe.cpp pwsafe.cpp: In function 'int main(int, char**)': pwsafe.cpp:1065:20: warning: enumeration value 'OP_NOP' not handled in switch [-Wswitch] switch (arg_op) { ^ pwsafe.cpp:1065:20: warning: enumeration value 'OP_CREATEDB' not handled in switch [-Wswitch] pwsafe.cpp: In function 'secstring random_password()': pwsafe.cpp:1622:57: warning: format '%d' expects argument of type 'int', but argument 4 has type 'size_t {aka long unsigned int}' [-Wformat=] snprintf(len_buf, sizeof(len_buf), "%d", pw.length()); ~~~~~~~~~~~^ pwsafe.cpp: In member function 'bool DB::open(const secstring*)': pwsafe.cpp:2383:69: warning: format '%u' expects argument of type 'unsigned int', but argument 2 has type 'std::map::size_type {aka long unsigned int}' [-Wformat=] if (arg_verbose > 1) printf("read in %u entries\n", entries.size()); ~~~~~~~~~~~~~~^ pwsafe.cpp: In member function 'const DB::Entry& DB::find1(const char*)': pwsafe.cpp:2604:52: warning: format '%u' expects argument of type 'unsigned int', but argument 2 has type 'std::vector::size_type {aka long unsigned int}' [-Wformat=] printf(", ... (%u more) ", matches.size()-3); ~~~~~~~~~~~~~~~~^ pwsafe.cpp: In member function 'void DB::list(const char*)': pwsafe.cpp:2640:78: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'std::vector >::size_type {aka long unsigned int}' [-Wformat=] fprintf(outfile, "and %u unknown extra fields\n", e.extras.size()); ~~~~~~~~~~~~~~~^ pwsafe.cpp: In function 'int main(int, char**)': pwsafe.cpp:901:16: warning: ignoring return value of 'int setegid(__gid_t)', declared with attribute warn_unused_result [-Wunused-result] setegid(getgid()); ~~~~~~~^~~~~~~~~~ pwsafe.cpp:902:16: warning: ignoring return value of 'int seteuid(__uid_t)', declared with attribute warn_unused_result [-Wunused-result] seteuid(getuid()); ~~~~~~~^~~~~~~~~~ pwsafe.cpp: In constructor 'secalloc::Pool::Pool(size_t)': pwsafe.cpp:3243:14: warning: ignoring return value of 'int seteuid(__uid_t)', declared with attribute warn_unused_result [-Wunused-result] seteuid(saved_uid); ~~~~~~~^~~~~~~~~~~ pwsafe.cpp:3245:14: warning: ignoring return value of 'int setegid(__gid_t)', declared with attribute warn_unused_result [-Wunused-result] setegid(saved_gid); ~~~~~~~^~~~~~~~~~~ pwsafe.cpp:3247:12: warning: ignoring return value of 'int setegid(__gid_t)', declared with attribute warn_unused_result [-Wunused-result] setegid(getgid()); ~~~~~~~^~~~~~~~~~ pwsafe.cpp:3248:12: warning: ignoring return value of 'int seteuid(__uid_t)', declared with attribute warn_unused_result [-Wunused-result] seteuid(getuid()); ~~~~~~~^~~~~~~~~~ pwsafe.cpp: In static member function 'static void secalloc::init()': pwsafe.cpp:3279:12: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)', declared with attribute warn_unused_result [-Wunused-result] write(STDERR_FILENO, errstr, sizeof(errstr)); // at the point when init() is called, stderr is not necessarily setup ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -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 -o pwsafe pwsafe.o -lSM -lICE -lXmu -lX11 -lreadline -lcurses -lncurses -lcrypto + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.aOvt5a + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/pwsafe-0.2.0-21.fc28.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/pwsafe-0.2.0-21.fc28.riscv64 ++ dirname /builddir/build/BUILDROOT/pwsafe-0.2.0-21.fc28.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/pwsafe-0.2.0-21.fc28.riscv64 + cd pwsafe-0.2.0 + rm -rf /builddir/build/BUILDROOT/pwsafe-0.2.0-21.fc28.riscv64 + iconv -f iso-8859-1 -t utf8 pwsafe.1 -o pwsafe.1.utf8 + mv pwsafe.1.utf8 pwsafe.1 + make install DESTDIR=/builddir/build/BUILDROOT/pwsafe-0.2.0-21.fc28.riscv64 make[1]: Entering directory '/builddir/build/BUILD/pwsafe-0.2.0' /bin/sh ./mkinstalldirs /builddir/build/BUILDROOT/pwsafe-0.2.0-21.fc28.riscv64/usr/bin mkdir /builddir/build/BUILDROOT/pwsafe-0.2.0-21.fc28.riscv64 mkdir /builddir/build/BUILDROOT/pwsafe-0.2.0-21.fc28.riscv64/usr mkdir /builddir/build/BUILDROOT/pwsafe-0.2.0-21.fc28.riscv64/usr/bin /usr/bin/install -c pwsafe /builddir/build/BUILDROOT/pwsafe-0.2.0-21.fc28.riscv64/usr/bin/pwsafe make install-man1 make[2]: Entering directory '/builddir/build/BUILD/pwsafe-0.2.0' /bin/sh ./mkinstalldirs /builddir/build/BUILDROOT/pwsafe-0.2.0-21.fc28.riscv64/usr/share/man/man1 mkdir /builddir/build/BUILDROOT/pwsafe-0.2.0-21.fc28.riscv64/usr/share mkdir /builddir/build/BUILDROOT/pwsafe-0.2.0-21.fc28.riscv64/usr/share/man mkdir /builddir/build/BUILDROOT/pwsafe-0.2.0-21.fc28.riscv64/usr/share/man/man1 /usr/bin/install -c -m 644 ./pwsafe.1 /builddir/build/BUILDROOT/pwsafe-0.2.0-21.fc28.riscv64/usr/share/man/man1/pwsafe.1 make[2]: Leaving directory '/builddir/build/BUILD/pwsafe-0.2.0' make[1]: Leaving directory '/builddir/build/BUILD/pwsafe-0.2.0' + /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: pwsafe-0.2.0-21.fc28.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.RBbgc6 + umask 022 + cd /builddir/build/BUILD + cd pwsafe-0.2.0 + DOCDIR=/builddir/build/BUILDROOT/pwsafe-0.2.0-21.fc28.riscv64/usr/share/doc/pwsafe + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/pwsafe-0.2.0-21.fc28.riscv64/usr/share/doc/pwsafe + cp -pr AUTHORS /builddir/build/BUILDROOT/pwsafe-0.2.0-21.fc28.riscv64/usr/share/doc/pwsafe + cp -pr ChangeLog /builddir/build/BUILDROOT/pwsafe-0.2.0-21.fc28.riscv64/usr/share/doc/pwsafe + cp -pr COPYING /builddir/build/BUILDROOT/pwsafe-0.2.0-21.fc28.riscv64/usr/share/doc/pwsafe + cp -pr README /builddir/build/BUILDROOT/pwsafe-0.2.0-21.fc28.riscv64/usr/share/doc/pwsafe + cp -pr TODO /builddir/build/BUILDROOT/pwsafe-0.2.0-21.fc28.riscv64/usr/share/doc/pwsafe + exit 0 Provides: pwsafe = 0.2.0-21.fc28 pwsafe(riscv-64) = 0.2.0-21.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) libICE.so.6()(64bit) libSM.so.6()(64bit) libX11.so.6()(64bit) libXmu.so.6()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libcrypto.so.1.1()(64bit) libcrypto.so.1.1(OPENSSL_1_1_0)(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libm.so.6()(64bit) libncurses.so.6()(64bit) libreadline.so.7()(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(CXXABI_1.3.9)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) libtinfo.so.6()(64bit) rtld(GNU_HASH) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/pwsafe-0.2.0-21.fc28.riscv64 Wrote: /builddir/build/SRPMS/pwsafe-0.2.0-21.fc28.src.rpm Wrote: /builddir/build/RPMS/riscv64/pwsafe-0.2.0-21.fc28.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.bVv39Y + umask 022 + cd /builddir/build/BUILD + cd pwsafe-0.2.0 + rm -rf /builddir/build/BUILDROOT/pwsafe-0.2.0-21.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