+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/mcrypt.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.v6HAc5 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf mcrypt-2.6.8 + /usr/bin/gzip -dc /builddir/build/SOURCES/mcrypt-2.6.8.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd mcrypt-2.6.8 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (mcrypt-rfc2440-bugfixes.patch):' Patch #0 (mcrypt-rfc2440-bugfixes.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file src/rfc2440.c + echo 'Patch #1 (mcrypt-2.6.7-format_strings.patch):' Patch #1 (mcrypt-2.6.7-format_strings.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .format_strings --fuzz=0 patching file src/errors.c + echo 'Patch #2 (mcrypt-2.6.7-gaafix.patch):' Patch #2 (mcrypt-2.6.7-gaafix.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .gaafix --fuzz=0 patching file src/gaaout.c patching file src/mcrypt_int.h + echo 'Patch #3 (mcrypt-2.6.7-native-by-default.patch):' Patch #3 (mcrypt-2.6.7-native-by-default.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .native_by_default --fuzz=0 patching file src/gaaout.c patching file src/mcrypt.gaa + echo 'Patch #4 (mcrypt-2.6.8-manpage-typofixes.patch):' Patch #4 (mcrypt-2.6.8-manpage-typofixes.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .typos --fuzz=0 patching file doc/mcrypt.1 + echo 'Patch #5 (mcrypt-CVE-2012-4409.patch):' Patch #5 (mcrypt-CVE-2012-4409.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .CVE-2012-4409 --fuzz=0 patching file src/extra.c + echo 'Patch #6 (mcrypt-2.6.8-no-gaa.patch):' Patch #6 (mcrypt-2.6.8-no-gaa.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .no-gaa --fuzz=0 patching file src/Makefile.in + echo 'Patch #7 (mcrypt-CVE-2012-4527-80-width-patch):' Patch #7 (mcrypt-CVE-2012-4527-80-width-patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .CVE-2012-4527 --fuzz=0 patching file src/mcrypt.c + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.0S4KJR + umask 022 + cd /builddir/build/BUILD + cd mcrypt-2.6.8 + 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 + for i in $(find . -name ltmain.sh) + /usr/bin/sed -i.backup -e 's~compiler_flags=$~compiler_flags="-specs=/usr/lib/rpm/redhat/redhat-hardened-ld"~' ./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 checking build system type... riscv64-redhat-linux-gnu checking host system type... riscv64-redhat-linux-gnu checking target system type... riscv64-redhat-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for style of include used by make... GNU checking for riscv64-redhat-linux-gnu-gcc... no checking for gcc... gcc checking for C compiler default output file name... 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 gcc option to accept ISO C89... none needed checking dependency style of gcc... none checking for a sed that does not truncate output... /usr/bin/sed checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for fgrep... /usr/bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking for /usr/bin/ld option to reload object files... -r checking how to recognize dependent libraries... pass_all checking for riscv64-redhat-linux-gnu-ar... no checking for ar... ar checking for riscv64-redhat-linux-gnu-strip... no checking for strip... strip checking for riscv64-redhat-linux-gnu-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok 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 dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... no checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking for riscv64-redhat-linux-gnu-gcc... gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) none checking for libmcrypt-config... /usr/bin/libmcrypt-config checking for libmcrypt - version >= 2.5.0... yes checking for mhash_keygen in -lmhash... yes checking whether mhash >= 0.8.15... yes checking whether NLS is requested... yes checking for msgfmt... /usr/bin/msgfmt checking for gmsgfmt... /usr/bin/msgfmt checking for xgettext... /usr/bin/xgettext checking for msgmerge... /usr/bin/msgmerge checking for ld used by GCC... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for shared library run path origin... done checking for CFPreferencesCopyAppValue... no checking for CFLocaleCopyCurrent... no checking for GNU gettext in libc... yes checking whether to use NLS... yes checking where the gettext function comes from... libc checking for compress in -lz... yes checking for an ANSI C-conforming const... yes checking for a BSD-compatible install... /usr/bin/install -c checking whether ln -s works... yes checking for rm... /usr/bin/rm checking for gzip... /usr/bin/gzip checking for bzip2... /usr/bin/bzip2 checking whether use of /dev/random is requested... yes checking whether static link is requested... no checking whether in maintanance mode... no checking whether included getpass is requested... yes checking for random device... yes checking whether byte ordering is bigendian... no checking return type of signal handlers... void checking for unsigned long int... yes checking size of unsigned long int... 8 checking for unsigned int... yes checking size of unsigned int... 4 checking for unsigned short int... yes checking size of unsigned short int... 2 checking for unsigned char... yes checking size of unsigned char... 1 checking for off_t... yes checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking for ANSI C header files... (cached) yes checking for unistd.h... (cached) yes checking pwd.h usability... yes checking pwd.h presence... yes checking for pwd.h... yes checking locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking for strings.h... (cached) yes checking mcrypt.h usability... yes checking mcrypt.h presence... yes checking for mcrypt.h... yes checking ctype.h usability... yes checking ctype.h presence... yes checking for ctype.h... yes checking for sys/stat.h... (cached) yes checking for sys/types.h... (cached) yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking sys/wait.h usability... yes checking sys/wait.h presence... yes checking for sys/wait.h... yes checking utime.h usability... yes checking utime.h presence... yes checking for utime.h... yes checking signal.h usability... yes checking signal.h presence... yes checking for signal.h... yes checking termios.h usability... yes checking termios.h presence... yes checking for termios.h... yes checking termio.h usability... yes checking termio.h presence... yes checking for termio.h... yes checking sgtty.h usability... yes checking sgtty.h presence... yes checking for sgtty.h... yes checking for bzero... yes checking for signal... yes checking for sigaction... yes checking for memset... yes checking for fsync... yes checking for siglongjmp... yes checking for strlcpy... no checking for umask... yes checking for utime... yes checking for memmove... yes checking for bcopy... yes checking for getpwuid... yes checking for waitpid... yes checking for kill... yes checking for ftime... yes checking for lstat... yes checking for stat... yes checking for fseeko... yes configure: creating ./config.status config.status: creating Makefile config.status: creating doc/Makefile config.status: creating src/Makefile config.status: creating po/Makefile.in config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands /usr/bin/rm: cannot remove 'libtoolT': No such file or directory config.status: executing po-directories commands config.status: creating po/POTFILES config.status: creating po/Makefile config.status: executing default commands + make -j4 make all-recursive make[1]: Entering directory '/builddir/build/BUILD/mcrypt-2.6.8' Making all in doc make[2]: Entering directory '/builddir/build/BUILD/mcrypt-2.6.8/doc' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/builddir/build/BUILD/mcrypt-2.6.8/doc' Making all in src make[2]: Entering directory '/builddir/build/BUILD/mcrypt-2.6.8/src' gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I../intl -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/include -Wall -c extra.c gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I../intl -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/include -Wall -c mcrypt.c gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I../intl -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/include -Wall -c keys.c gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I../intl -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/include -Wall -c random.c extra.c: In function 'write_file_head': extra.c:367:6: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] buf = mhash_get_hash_name(hash_algorithm); ^ extra.c: In function 'test_file_headers': extra.c:636:9: warning: suggest parentheses around operand of '!' or change '&' to '&&' or '!' to '~' [-Wparentheses] if ( !(!x & 0x80) && bare_flag == FALSE) { ^~ mcrypt.c: In function 'check_hash_algo': mcrypt.c:113:9: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] y = mhash_get_hash_name(i); ^ extra.c: In function 'read_until_null': extra.c:161:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(&pointer[i], 1, 1, fstream); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ keys.c:29:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = "$Id: keys.c,v 1.2 2007/11/07 17:10:20 nmav Exp $"; ^~~~~ extra.c: In function 'check_file_head': extra.c:182:2: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(buf, 1, 3, fstream); ^~~~~~~~~~~~~~~~~~~~~~~~~ extra.c:183:2: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(&flags, 1, 1, fstream); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ extra.c:228:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(&keylen, sizeof(short int), 1, fstream); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ extra.c:240:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(&sflag, 1, 1, fstream); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ extra.c:247:6: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(tmp_buf, 1, *salt_size, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fstream); ~~~~~~~~ extra.c: In function 'read_iv': extra.c:289:2: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(IV, 1, ivsize, fstream); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ random.c:27:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = "$Id: random.c,v 1.2 2007/11/07 17:10:22 nmav Exp $"; ^~~~~ mcrypt.c: In function 'main': mcrypt.c:191:43: warning: variable 'used_algo' set but not used [-Wunused-but-set-variable] int x, y, i, file_count = 0, keys = 0, used_algo = FALSE; ^~~~~~~~~ At top level: extra.c:45:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = ^~~~~ At top level: mcrypt.c:46:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = ^~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I../intl -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/include -Wall -c rndunix.c gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I../intl -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/include -Wall -c xmalloc.c gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I../intl -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/include -Wall -c functions.c xmalloc.c:23:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = "$Id: xmalloc.c,v 1.2 2007/11/07 17:10:23 nmav Exp $"; ^~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I../intl -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/include -Wall -c errors.c gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I../intl -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/include -Wall -c bits.c gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I../intl -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/include -Wall -c openpgp.c gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I../intl -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/include -Wall -c rndwin32.c rndwin32.c:18:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = "$Id: rndwin32.c,v 1.3 2007/11/07 17:14:58 nmav Exp $"; ^~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I../intl -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/include -Wall -c environ.c gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I../intl -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/include -Wall -c getpass.c openpgp.c: In function 'pgp_encrypt_wrap': openpgp.c:40:49: warning: pointer targets in passing argument 2 of 'get_password' differ in signedness [-Wpointer-sign] if (pass==NULL) _pass = get_password( ENCRYPT, &len); ^ In file included from openpgp.c:24:0: ./extra.h:10:8: note: expected 'unsigned int *' but argument is of type 'int *' char * get_password( int mode, unsigned int *len); ^~~~~~~~~~~~ openpgp.c: In function 'pgp_decrypt_wrap': openpgp.c:62:49: warning: pointer targets in passing argument 2 of 'get_password' differ in signedness [-Wpointer-sign] if (pass==NULL) _pass = get_password( DECRYPT, &len); ^ In file included from openpgp.c:24:0: ./extra.h:10:8: note: expected 'unsigned int *' but argument is of type 'int *' char * get_password( int mode, unsigned int *len); ^~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I../intl -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/include -Wall -c ufc_crypt.c gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I../intl -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/include -Wall -c popen.c environ.c:28:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = "$Id: environ.c,v 1.2 2007/11/07 17:10:19 nmav Exp $"; ^~~~~ getpass.c: In function 'readpass': getpass.c:106:5: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] ap = asterix; ^ At top level: getpass.c:31:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = "$Id: getpass.c,v 1.1.1.1 2003/09/08 17:25:49 imipak Exp $"; ^~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I../intl -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/include -Wall -c classic.c gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I../intl -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/include -Wall -c rfc2440.c gcc -o gaaout.o -c gaaout.c -DLOCALEDIR=\"/usr/share/locale\" -I../intl -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/include -Wall -I. -I.. classic.c: In function 'decrypt_general': classic.c:940:11: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] command = mhash_get_hash_name(hash_algorithm); ^ classic.c: In function 'print_hashlist': classic.c:1056:12: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] tmpc = mhash_get_hash_name(tmpi); ^ rfc2440.c: In function 'dek_load': rfc2440.c:566:21: warning: pointer targets in passing argument 5 of 'mhash_keygen_ext' differ in signedness [-Wpointer-sign] DIM (d->key), pass, strlen(pass)); ^~~~ In file included from /usr/include/mhash.h:10:0, from ./defines.h:8, from rfc2440.c:18: /usr/include/mutils/mhash.h:106:14: note: expected 'uint8_t * {aka unsigned char *}' but argument is of type 'char *' mutils_error mhash_keygen_ext(keygenid algorithm, KEYGEN data, ^~~~~~~~~~~~~~~~ rfc2440.c: In function 'dek_create': rfc2440.c:617:21: warning: pointer targets in passing argument 5 of 'mhash_keygen_ext' differ in signedness [-Wpointer-sign] DIM (d->key), pass, strlen(pass)); ^~~~ In file included from /usr/include/mhash.h:10:0, from ./defines.h:8, from rfc2440.c:18: /usr/include/mutils/mhash.h:106:14: note: expected 'uint8_t * {aka unsigned char *}' but argument is of type 'char *' mutils_error mhash_keygen_ext(keygenid algorithm, KEYGEN data, ^~~~~~~~~~~~~~~~ rfc2440.c: In function 'symkey_enc_decode': rfc2440.c:635:27: warning: pointer targets in passing argument 2 of 'header_decode' differ in signedness [-Wpointer-sign] header_decode(dat->d, &tag, &headlen, &offset, NULL); ^ rfc2440.c:426:1: note: expected 'uint32 * {aka unsigned int *}' but argument is of type 'int *' header_decode(const uchar *buf, uint32 *tag, uint32 *len, ^~~~~~~~~~~~~ rfc2440.c:635:33: warning: pointer targets in passing argument 3 of 'header_decode' differ in signedness [-Wpointer-sign] header_decode(dat->d, &tag, &headlen, &offset, NULL); ^ rfc2440.c:426:1: note: expected 'uint32 * {aka unsigned int *}' but argument is of type 'int *' header_decode(const uchar *buf, uint32 *tag, uint32 *len, ^~~~~~~~~~~~~ rfc2440.c:635:43: warning: pointer targets in passing argument 4 of 'header_decode' differ in signedness [-Wpointer-sign] header_decode(dat->d, &tag, &headlen, &offset, NULL); ^ rfc2440.c:426:1: note: expected 'uint32 * {aka unsigned int *}' but argument is of type 'int *' header_decode(const uchar *buf, uint32 *tag, uint32 *len, ^~~~~~~~~~~~~ rfc2440.c: In function 'file_to_buf': rfc2440.c:123:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(buf, 1, len, fp); ^~~~~~~~~~~~~~~~~~~~~~ gaa.skel:339:14: warning: 'gaa_getfloat' defined but not used [-Wunused-function] gaa.skel:325:13: warning: 'gaa_getchar' defined but not used [-Wunused-function] /bin/sh ../libtool --tag=CC --mode=link 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 -I/usr/include -Wall -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o mcrypt extra.o mcrypt.o keys.o random.o rndunix.o xmalloc.o functions.o errors.o bits.o openpgp.o rndwin32.o environ.o getpass.o ufc_crypt.o popen.o classic.o rfc2440.o gaaout.o -lz -lmhash -lmcrypt libtool: link: 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 -I/usr/include -Wall -Wl,-z -Wl,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o mcrypt extra.o mcrypt.o keys.o random.o rndunix.o xmalloc.o functions.o errors.o bits.o openpgp.o rndwin32.o environ.o getpass.o ufc_crypt.o popen.o classic.o rfc2440.o gaaout.o -lz -lmhash -lmcrypt make[2]: Leaving directory '/builddir/build/BUILD/mcrypt-2.6.8/src' Making all in po make[2]: Entering directory '/builddir/build/BUILD/mcrypt-2.6.8/po' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/builddir/build/BUILD/mcrypt-2.6.8/po' make[2]: Entering directory '/builddir/build/BUILD/mcrypt-2.6.8' make[2]: Leaving directory '/builddir/build/BUILD/mcrypt-2.6.8' make[1]: Leaving directory '/builddir/build/BUILD/mcrypt-2.6.8' + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.dSR5Qh + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/mcrypt-2.6.8-19.fc28.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/mcrypt-2.6.8-19.fc28.riscv64 ++ dirname /builddir/build/BUILDROOT/mcrypt-2.6.8-19.fc28.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/mcrypt-2.6.8-19.fc28.riscv64 + cd mcrypt-2.6.8 + rm -rf /builddir/build/BUILDROOT/mcrypt-2.6.8-19.fc28.riscv64 + make DESTDIR=/builddir/build/BUILDROOT/mcrypt-2.6.8-19.fc28.riscv64 install Making install in doc make[1]: Entering directory '/builddir/build/BUILD/mcrypt-2.6.8/doc' make[2]: Entering directory '/builddir/build/BUILD/mcrypt-2.6.8/doc' make[2]: Nothing to be done for 'install-exec-am'. test -z "/usr/share/man/man1" || /usr/bin/mkdir -p "/builddir/build/BUILDROOT/mcrypt-2.6.8-19.fc28.riscv64/usr/share/man/man1" /usr/bin/install -c -m 644 './mcrypt.1' '/builddir/build/BUILDROOT/mcrypt-2.6.8-19.fc28.riscv64/usr/share/man/man1/mcrypt.1' make[2]: Leaving directory '/builddir/build/BUILD/mcrypt-2.6.8/doc' make[1]: Leaving directory '/builddir/build/BUILD/mcrypt-2.6.8/doc' Making install in src make[1]: Entering directory '/builddir/build/BUILD/mcrypt-2.6.8/src' make[2]: Entering directory '/builddir/build/BUILD/mcrypt-2.6.8/src' test -z "/usr/bin" || /usr/bin/mkdir -p "/builddir/build/BUILDROOT/mcrypt-2.6.8-19.fc28.riscv64/usr/bin" /bin/sh ../libtool --mode=install /usr/bin/install -c 'mcrypt' '/builddir/build/BUILDROOT/mcrypt-2.6.8-19.fc28.riscv64/usr/bin/mcrypt' libtool: install: /usr/bin/install -c mcrypt /builddir/build/BUILDROOT/mcrypt-2.6.8-19.fc28.riscv64/usr/bin/mcrypt make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/builddir/build/BUILD/mcrypt-2.6.8/src' make[1]: Leaving directory '/builddir/build/BUILD/mcrypt-2.6.8/src' Making install in po make[1]: Entering directory '/builddir/build/BUILD/mcrypt-2.6.8/po' /usr/bin/mkdir -p /builddir/build/BUILDROOT/mcrypt-2.6.8-19.fc28.riscv64/usr/share installing el.gmo as /builddir/build/BUILDROOT/mcrypt-2.6.8-19.fc28.riscv64/usr/share/locale/el/LC_MESSAGES/mcrypt.mo installing cs.gmo as /builddir/build/BUILDROOT/mcrypt-2.6.8-19.fc28.riscv64/usr/share/locale/cs/LC_MESSAGES/mcrypt.mo installing pl.gmo as /builddir/build/BUILDROOT/mcrypt-2.6.8-19.fc28.riscv64/usr/share/locale/pl/LC_MESSAGES/mcrypt.mo installing de.gmo as /builddir/build/BUILDROOT/mcrypt-2.6.8-19.fc28.riscv64/usr/share/locale/de/LC_MESSAGES/mcrypt.mo installing es_AR.gmo as /builddir/build/BUILDROOT/mcrypt-2.6.8-19.fc28.riscv64/usr/share/locale/es_AR/LC_MESSAGES/mcrypt.mo if test "mcrypt" = "gettext-tools"; then \ /usr/bin/mkdir -p /builddir/build/BUILDROOT/mcrypt-2.6.8-19.fc28.riscv64/usr/share/gettext/po; \ for file in Makefile.in.in remove-potcdate.sin quot.sed boldquot.sed en@quot.header en@boldquot.header insert-header.sin Rules-quot Makevars.template; do \ /usr/bin/install -c -m 644 ./$file \ /builddir/build/BUILDROOT/mcrypt-2.6.8-19.fc28.riscv64/usr/share/gettext/po/$file; \ done; \ for file in Makevars; do \ rm -f /builddir/build/BUILDROOT/mcrypt-2.6.8-19.fc28.riscv64/usr/share/gettext/po/$file; \ done; \ else \ : ; \ fi make[1]: Leaving directory '/builddir/build/BUILD/mcrypt-2.6.8/po' make[1]: Entering directory '/builddir/build/BUILD/mcrypt-2.6.8' make[2]: Entering directory '/builddir/build/BUILD/mcrypt-2.6.8' make install-exec-hook make[3]: Entering directory '/builddir/build/BUILD/mcrypt-2.6.8' /usr/bin/rm -f /builddir/build/BUILDROOT/mcrypt-2.6.8-19.fc28.riscv64/usr/bin/mdecrypt ln -s mcrypt /builddir/build/BUILDROOT/mcrypt-2.6.8-19.fc28.riscv64/usr/bin/mdecrypt make[3]: Leaving directory '/builddir/build/BUILD/mcrypt-2.6.8' make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/builddir/build/BUILD/mcrypt-2.6.8' make[1]: Leaving directory '/builddir/build/BUILD/mcrypt-2.6.8' + /usr/lib/rpm/find-lang.sh /builddir/build/BUILDROOT/mcrypt-2.6.8-19.fc28.riscv64 mcrypt + /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: mcrypt-2.6.8-19.fc28.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.iy8JBj + umask 022 + cd /builddir/build/BUILD + cd mcrypt-2.6.8 + DOCDIR=/builddir/build/BUILDROOT/mcrypt-2.6.8-19.fc28.riscv64/usr/share/doc/mcrypt + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/mcrypt-2.6.8-19.fc28.riscv64/usr/share/doc/mcrypt + cp -pr AUTHORS /builddir/build/BUILDROOT/mcrypt-2.6.8-19.fc28.riscv64/usr/share/doc/mcrypt + cp -pr ChangeLog /builddir/build/BUILDROOT/mcrypt-2.6.8-19.fc28.riscv64/usr/share/doc/mcrypt + cp -pr COPYING /builddir/build/BUILDROOT/mcrypt-2.6.8-19.fc28.riscv64/usr/share/doc/mcrypt + cp -pr NEWS /builddir/build/BUILDROOT/mcrypt-2.6.8-19.fc28.riscv64/usr/share/doc/mcrypt + cp -pr README /builddir/build/BUILDROOT/mcrypt-2.6.8-19.fc28.riscv64/usr/share/doc/mcrypt + cp -pr THANKS /builddir/build/BUILDROOT/mcrypt-2.6.8-19.fc28.riscv64/usr/share/doc/mcrypt + cp -pr TODO /builddir/build/BUILDROOT/mcrypt-2.6.8-19.fc28.riscv64/usr/share/doc/mcrypt + exit 0 Provides: mcrypt = 2.6.8-19.fc28 mcrypt(riscv-64) = 2.6.8-19.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) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libmcrypt.so.4()(64bit) libmhash.so.2()(64bit) libz.so.1()(64bit) rtld(GNU_HASH) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/mcrypt-2.6.8-19.fc28.riscv64 Wrote: /builddir/build/SRPMS/mcrypt-2.6.8-19.fc28.src.rpm Wrote: /builddir/build/RPMS/riscv64/mcrypt-2.6.8-19.fc28.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.erLbwM + umask 022 + cd /builddir/build/BUILD + cd mcrypt-2.6.8 + rm -rf /builddir/build/BUILDROOT/mcrypt-2.6.8-19.fc28.riscv64 + exit 0 + touch /buildok + cleanup + set +e + sync + sleep 5 + sync + poweroff Terminated ++ cleanup ++ set +e ++ sync ++ sleep 5 +++ cleanup +++ set +e +++ sync +++ sleep 5 +++ sync +++ poweroff