Mock Version: 1.4.21 Mock Version: 1.4.21 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/pam_mysql.spec'], chrootPath='/var/lib/mock/f33-build-292601-54914/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/pam_mysql.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1595894400 Wrote: /builddir/build/SRPMS/pam_mysql-0.8.1-0.7.fc33.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/pam_mysql.spec'], chrootPath='/var/lib/mock/f33-build-292601-54914/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/pam_mysql.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1595894400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.E0dj2A + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf pam-MySQL-b8ea8eb93235bbcc4127ab6491a8eb9b60ab550a + /usr/bin/tar -xof - + /usr/bin/gzip -dc /builddir/build/SOURCES/pam_mysql-b8ea8eb93235bbcc4127ab6491a8eb9b60ab550a.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd pam-MySQL-b8ea8eb93235bbcc4127ab6491a8eb9b60ab550a + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + autoreconf -fiv autoreconf: Entering directory `.' autoreconf: configure.ac: not using Gettext autoreconf: running: aclocal --force autoreconf: configure.ac: tracing autoreconf: running: libtoolize --copy --force libtoolize: putting auxiliary files in '.'. libtoolize: copying file './ltmain.sh' libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'. libtoolize: copying file 'm4/libtool.m4' libtoolize: copying file 'm4/ltoptions.m4' libtoolize: copying file 'm4/ltsugar.m4' libtoolize: copying file 'm4/ltversion.m4' libtoolize: copying file 'm4/lt~obsolete.m4' libtoolize: Consider adding '-I m4' to ACLOCAL_AMFLAGS in Makefile.am. autoreconf: running: /usr/bin/autoconf --force autoreconf: running: /usr/bin/autoheader --force autoreconf: running: automake --add-missing --copy --force-missing configure.ac:11: installing './compile' configure.ac:11: installing './config.guess' configure.ac:11: installing './config.sub' configure.ac:4: installing './install-sh' configure.ac:4: installing './missing' Makefile.am: installing './INSTALL' Makefile.am: installing './depcomp' autoreconf: Leaving directory `.' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.dVfv4A + umask 022 + cd /builddir/build/BUILD + cd pam-MySQL-b8ea8eb93235bbcc4127ab6491a8eb9b60ab550a + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + '[' '-flto=auto -ffat-lto-objectsx' '!=' x ']' ++ find . -type f -name configure -print + for file in $(find . -type f -name configure -print) + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./configure + diff -u ./configure.backup ./configure --- ./configure.backup 2020-08-13 23:56:33.215395275 -0400 +++ ./configure 2020-08-13 23:57:25.705395143 -0400 @@ -1766,7 +1766,7 @@ #ifdef __cplusplus extern "C" #endif -char $2 (); +__attribute__ ((used)) char $2 (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ + /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup 's#^lt_cv_sys_global_symbol_to_cdecl=.*#lt_cv_sys_global_symbol_to_cdecl="sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./configure + diff -u ./configure.backup ./configure --- ./configure.backup 2020-08-13 23:57:25.705395143 -0400 +++ ./configure 2020-08-13 23:57:26.915395140 -0400 @@ -6263,7 +6263,7 @@ # Transform an extracted symbol line into a proper C declaration. # Some systems (esp. on ia64) link data and code symbols differently, # so use this general approach. -lt_cv_sys_global_symbol_to_cdecl="sed -n"\ +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" $lt_cdecl_hook\ " -e 's/^T .* \(.*\)$/extern int \1();/p'"\ " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'" @@ -16455,7 +16455,7 @@ compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`' GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`' -lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`' + '[' 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-Wl,-z,now -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="-Wl,-z,now -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 --with-openssl --with-pam-mods-dir=/lib64/security --enable-static=no --with-cyrus-sasl2 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 whether make supports nested variables... yes checking build system type... riscv64-redhat-linux-gnu checking host system type... riscv64-redhat-linux-gnu checking how to print strings... printf checking whether make supports the include directive... yes (GNU style) checking for riscv64-redhat-linux-gnu-gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no 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 whether gcc understands -c and -o together... yes 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 how to convert riscv64-redhat-linux-gnu file names to riscv64-redhat-linux-gnu format... func_convert_file_noop checking how to convert riscv64-redhat-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for riscv64-redhat-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for riscv64-redhat-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for riscv64-redhat-linux-gnu-ar... no checking for ar... ar checking for archiver @FILE support... @ 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... ./configure: line 6217: -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(.*\)$/extern char \1;/p': No such file or directory ok checking for sysroot... no checking for a working dd... /usr/bin/dd checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 checking for riscv64-redhat-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no 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... no checking for riscv64-redhat-linux-gnu-gcc... (cached) 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 whether gcc understands -c and -o together... (cached) yes checking dependency style of gcc... (cached) none checking size of short... 2 checking size of int... 4 checking size of long... 8 checking arpa/inet.h usability... yes checking arpa/inet.h presence... yes checking for arpa/inet.h... yes checking netinet/in.h usability... yes checking netinet/in.h presence... yes checking for netinet/in.h... yes checking netdb.h usability... yes checking netdb.h presence... yes checking for netdb.h... yes checking for string.h... (cached) yes checking for strings.h... (cached) yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking syslog.h usability... yes checking syslog.h presence... yes checking for syslog.h... yes checking for unistd.h... (cached) yes checking stdarg.h usability... yes checking stdarg.h presence... yes checking for stdarg.h... yes checking errno.h usability... yes checking errno.h presence... yes checking for errno.h... yes checking crypt.h usability... yes checking crypt.h presence... yes checking for crypt.h... yes checking security/pam_appl.h usability... yes checking security/pam_appl.h presence... yes checking for security/pam_appl.h... yes checking for size_t... yes checking whether ELOOP is declared... yes checking whether EOVERFLOW is declared... yes checking for library containing socket... none required checking for getaddrinfo... yes checking PF_INET6 availability... yes checking for struct sockaddr_in6... yes checking for struct in6_addr... yes checking for gethostbyname_r... yes checking if gethostbyname_r() is part of glibc... yes checking if /usr /usr/local /usr/mysql /opt/mysql is a mysql_config script... no checking mysql_config availability in /usr/bin... yes checking for mysql_real_query... yes checking for mysql_real_escape_string... yes checking for make_scrambled_password_323... no checking for riscv64-redhat-linux-gnu-pkg-config... /usr/bin/riscv64-redhat-linux-gnu-pkg-config checking pkg-config is at least version 0.9.0... yes checking for openssl... yes checking pam_appl.h usability... yes checking pam_appl.h presence... yes checking for pam_appl.h... yes checking pam_modules.h usability... yes checking PAM_CONV_AGAIN availability... yes checking PAM_INCOMPLETE availability... yes checking PAM_NEW_AUTHTOK_REQD availability... yes checking PAM_AUTHTOK_RECOVERY_ERR availability... yes checking if the second argument of pam_get_user() takes const pointer... yes checking if the third argument of pam_get_data() takes const pointer... yes checking if the third argument of pam_get_item() takes const pointer... yes checking if the second argument of pam_conv.conv() takes const pointer... no checking if md5.h is derived from Cyrus SASL Version 1... no checking md5.h usability... no checking md5.h presence... no checking for md5.h... no checking if md5.h is Solaris's... no checking for md5.h... (cached) no checking for MD5Data... no checking for library containing crypt... -lcrypt checking for library containing make_scrambled_password... no checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating pam_mysql.spec config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands + make -j4 make all-am make[1]: Entering directory '/builddir/build/BUILD/pam-MySQL-b8ea8eb93235bbcc4127ab6491a8eb9b60ab550a' /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/mysql -I/usr/include/mysql/mysql -c -o pam_mysql_la-pam_mysql.lo `test -f 'pam_mysql.c' || echo './'`pam_mysql.c /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/mysql -I/usr/include/mysql/mysql -c -o pam_mysql_la-crypto.lo `test -f 'crypto.c' || echo './'`crypto.c /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/mysql -I/usr/include/mysql/mysql -c -o pam_mysql_la-crypto-sha1.lo `test -f 'crypto-sha1.c' || echo './'`crypto-sha1.c /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/mysql -I/usr/include/mysql/mysql -c -o pam_mysql_la-crypto-md5.lo `test -f 'crypto-md5.c' || echo './'`crypto-md5.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/mysql -I/usr/include/mysql/mysql -c crypto-md5.c -fPIC -DPIC -o .libs/pam_mysql_la-crypto-md5.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/mysql -I/usr/include/mysql/mysql -c crypto-sha1.c -fPIC -DPIC -o .libs/pam_mysql_la-crypto-sha1.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/mysql -I/usr/include/mysql/mysql -c crypto.c -fPIC -DPIC -o .libs/pam_mysql_la-crypto.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/mysql -I/usr/include/mysql/mysql -c pam_mysql.c -fPIC -DPIC -o .libs/pam_mysql_la-pam_mysql.o crypto.c: In function 'debase64ify': crypto.c:140:25: warning: array subscript has type 'char' [-Wchar-subscripts] 140 | t0 = rev64chars[*b64++]; | ^~~~~~ crypto.c:141:25: warning: array subscript has type 'char' [-Wchar-subscripts] 141 | t1 = rev64chars[*b64++]; | ^~~~~~ crypto.c:142:25: warning: array subscript has type 'char' [-Wchar-subscripts] 142 | t2 = rev64chars[*b64++]; | ^~~~~~ crypto.c:143:25: warning: array subscript has type 'char' [-Wchar-subscripts] 143 | t3 = rev64chars[*b64++]; | ^~~~~~ crypto.c: In function 'crypto_hash_ssha1': crypto.c:226:21: warning: pointer targets in passing argument 1 of 'debase64ify' differ in signedness [-Wpointer-sign] 226 | if (debase64ify(decoded, stored, sizeof decoded, | ^~~~~~~ | | | char * crypto.c:107:35: note: expected 'unsigned char * const' but argument is of type 'char *' 107 | debase64ify(unsigned char * const bin, const char *b64, | ~~~~~~~~~~~~~~~~~~~~~~^~~ crypto.c: In function 'crypto_hash_smd5': crypto.c:271:21: warning: pointer targets in passing argument 1 of 'debase64ify' differ in signedness [-Wpointer-sign] 271 | if (debase64ify(decoded, stored, sizeof decoded, | ^~~~~~~ | | | char * crypto.c:107:35: note: expected 'unsigned char * const' but argument is of type 'char *' 107 | debase64ify(unsigned char * const bin, const char *b64, | ~~~~~~~~~~~~~~~~~~~~~~^~~ crypto.c: In function 'debase64ify.constprop.0': crypto.c:163:43: warning: 't' may be used uninitialized in this function [-Wmaybe-uninitialized] 163 | *bin_w++ = (unsigned char) (t >> 8); | ~~~^~~~~ crypto.c:158:43: warning: 't3' may be used uninitialized in this function [-Wmaybe-uninitialized] 158 | if (((t0 | t1) & REV64_EOT) != 0U || t3 != REV64_EOT) { | ^ crypto.c:162:12: warning: 't2' may be used uninitialized in this function [-Wmaybe-uninitialized] 162 | if (t2 != REV64_EOT) { | ^ crypto.c:158:37: warning: 't1' may be used uninitialized in this function [-Wmaybe-uninitialized] 158 | if (((t0 | t1) & REV64_EOT) != 0U || t3 != REV64_EOT) { | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ crypto.c:158:37: warning: 't0' may be used uninitialized in this function [-Wmaybe-uninitialized] crypto.c:157:28: warning: 'mask' may be used uninitialized in this function [-Wmaybe-uninitialized] 157 | if ((mask & REV64_EOT) != 0U) { | ~~~~~~~~~~~~~~~~~~~^~~~~ pam_mysql.c: In function 'make_scrambled_password': pam_mysql.c:182:19: warning: pointer targets in passing argument 2 of 'SHA1Update' differ in signedness [-Wpointer-sign] 182 | SHA1Update(&ctx, password, strlen(password)); | ^~~~~~~~ | | | const char * In file included from pam_mysql.c:173: crypto-sha1.h:17:59: note: expected 'const unsigned char *' but argument is of type 'const char *' 17 | void SHA1Update(SHA1_CTX * context, const unsigned char * data, size_t len); | ~~~~~~~~~~~~~~~~~~~~~~^~~~ pam_mysql.c: In function 'd7_hash': pam_mysql.c:776:9: warning: pointer targets in passing argument 1 of 'MD5' differ in signedness [-Wpointer-sign] 776 | MD5(combined, (unsigned long)len, output); | ^~~~~~~~ | | | char * In file included from pam_mysql.c:134: /usr/include/openssl/md5.h:43:41: note: expected 'const unsigned char *' but argument is of type 'char *' 43 | unsigned char *MD5(const unsigned char *d, size_t n, unsigned char *md); | ~~~~~~~~~~~~~~~~~~~~~^ pam_mysql.c:776:39: warning: pointer targets in passing argument 3 of 'MD5' differ in signedness [-Wpointer-sign] 776 | MD5(combined, (unsigned long)len, output); | ^~~~~~ | | | char * In file included from pam_mysql.c:134: /usr/include/openssl/md5.h:43:69: note: expected 'unsigned char *' but argument is of type 'char *' 43 | unsigned char *MD5(const unsigned char *d, size_t n, unsigned char *md); | ~~~~~~~~~~~~~~~^~ pam_mysql.c:778:12: warning: pointer targets in passing argument 1 of 'SHA512' differ in signedness [-Wpointer-sign] 778 | SHA512(combined, (unsigned long)len, output); | ^~~~~~~~ | | | char * In file included from pam_mysql.c:135: /usr/include/openssl/sha.h:112:44: note: expected 'const unsigned char *' but argument is of type 'char *' 112 | unsigned char *SHA512(const unsigned char *d, size_t n, unsigned char *md); | ~~~~~~~~~~~~~~~~~~~~~^ pam_mysql.c:778:42: warning: pointer targets in passing argument 3 of 'SHA512' differ in signedness [-Wpointer-sign] 778 | SHA512(combined, (unsigned long)len, output); | ^~~~~~ | | | char * In file included from pam_mysql.c:135: /usr/include/openssl/sha.h:112:72: note: expected 'unsigned char *' but argument is of type 'char *' 112 | unsigned char *SHA512(const unsigned char *d, size_t n, unsigned char *md); | ~~~~~~~~~~~~~~~^~ pam_mysql.c: In function 'd7_password_crypt': pam_mysql.c:820:27: warning: pointer targets in passing argument 1 of '_password_base64_encode' differ in signedness [-Wpointer-sign] 820 | _password_base64_encode(old, len, &new[12]); | ^~~ | | | char * pam_mysql.c:731:54: note: expected 'unsigned char *' but argument is of type 'char *' 731 | static char * _password_base64_encode(unsigned char *input, int count, char *output) { | ~~~~~~~~~~~~~~~^~~~~ pam_mysql.c: In function 'pam_mysql_converse': pam_mysql.c:3563:11: warning: passing argument 2 of 'conv->conv' from incompatible pointer type [-Wincompatible-pointer-types] 3563 | (PAM_CONV_CONST struct pam_message **)msgs, &resps, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | struct pam_message ** pam_mysql.c:3563:11: note: expected 'const struct pam_message **' but argument is of type 'struct pam_message **' At top level: pam_mysql.c:660:14: warning: 'pam_mysql_sha512_data' defined but not used [-Wunused-function] 660 | static char *pam_mysql_sha512_data(const unsigned char *d, unsigned int sz, char *md) | ^~~~~~~~~~~~~~~~~~~~~ /bin/sh ./libtool --tag=CC --mode=link gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/mysql -I/usr/include/mysql/mysql -module -avoid-version -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o pam_mysql.la -rpath /lib64/security pam_mysql_la-pam_mysql.lo pam_mysql_la-crypto.lo pam_mysql_la-crypto-sha1.lo pam_mysql_la-crypto-md5.lo -lcrypto -lpam -lcrypt -L/usr/lib64/ -lmariadb libtool: link: gcc -shared -fPIC -DPIC .libs/pam_mysql_la-pam_mysql.o .libs/pam_mysql_la-crypto.o .libs/pam_mysql_la-crypto-sha1.o .libs/pam_mysql_la-crypto-md5.o -lcrypto -lpam -lcrypt -L/usr/lib64/ -lmariadb -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -O2 -flto=auto -g -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,-soname -Wl,pam_mysql.so -o .libs/pam_mysql.so libtool: link: ( cd ".libs" && rm -f "pam_mysql.la" && ln -s "../pam_mysql.la" "pam_mysql.la" ) make[1]: Leaving directory '/builddir/build/BUILD/pam-MySQL-b8ea8eb93235bbcc4127ab6491a8eb9b60ab550a' + mv AUTHORS AUTHORS.lame + iconv -f latin1 -t utf-8 -o AUTHORS AUTHORS.lame + touch -r README AUTHORS + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.NgxW6D + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/pam_mysql-0.8.1-0.7.fc33.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/pam_mysql-0.8.1-0.7.fc33.riscv64 ++ dirname /builddir/build/BUILDROOT/pam_mysql-0.8.1-0.7.fc33.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/pam_mysql-0.8.1-0.7.fc33.riscv64 + cd pam-MySQL-b8ea8eb93235bbcc4127ab6491a8eb9b60ab550a + rm -rf /builddir/build/BUILDROOT/pam_mysql-0.8.1-0.7.fc33.riscv64 + make install DESTDIR=/builddir/build/BUILDROOT/pam_mysql-0.8.1-0.7.fc33.riscv64 make[1]: Entering directory '/builddir/build/BUILD/pam-MySQL-b8ea8eb93235bbcc4127ab6491a8eb9b60ab550a' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/pam_mysql-0.8.1-0.7.fc33.riscv64/lib64/security' /bin/sh ./libtool --mode=install /usr/bin/install -c pam_mysql.la '/builddir/build/BUILDROOT/pam_mysql-0.8.1-0.7.fc33.riscv64/lib64/security' libtool: install: /usr/bin/install -c .libs/pam_mysql.so /builddir/build/BUILDROOT/pam_mysql-0.8.1-0.7.fc33.riscv64/lib64/security/pam_mysql.so libtool: install: /usr/bin/install -c .libs/pam_mysql.lai /builddir/build/BUILDROOT/pam_mysql-0.8.1-0.7.fc33.riscv64/lib64/security/pam_mysql.la libtool: warning: remember to run 'libtool --finish /lib64/security' make[1]: Nothing to be done for 'install-data-am'. make[1]: Leaving directory '/builddir/build/BUILD/pam-MySQL-b8ea8eb93235bbcc4127ab6491a8eb9b60ab550a' + find /builddir/build/BUILDROOT/pam_mysql-0.8.1-0.7.fc33.riscv64 -name '*.la' -exec rm '{}' ';' + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 0.8.1-0.7.fc33 --unique-debug-suffix -0.8.1-0.7.fc33.riscv64 --unique-debug-src-base pam_mysql-0.8.1-0.7.fc33.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/pam-MySQL-b8ea8eb93235bbcc4127ab6491a8eb9b60ab550a explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/pam_mysql-0.8.1-0.7.fc33.riscv64/lib64/security/pam_mysql.so extracting debug info from /builddir/build/BUILDROOT/pam_mysql-0.8.1-0.7.fc33.riscv64/lib64/security/pam_mysql.so original debug info size: 648kB, size after compression: 644kB /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 289 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: pam_mysql-0.8.1-0.7.fc33.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.FnXRAE + umask 022 + cd /builddir/build/BUILD + cd pam-MySQL-b8ea8eb93235bbcc4127ab6491a8eb9b60ab550a + DOCDIR=/builddir/build/BUILDROOT/pam_mysql-0.8.1-0.7.fc33.riscv64/usr/share/doc/pam_mysql + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/pam_mysql-0.8.1-0.7.fc33.riscv64/usr/share/doc/pam_mysql + cp -pr ChangeLog /builddir/build/BUILDROOT/pam_mysql-0.8.1-0.7.fc33.riscv64/usr/share/doc/pam_mysql + cp -pr COPYING /builddir/build/BUILDROOT/pam_mysql-0.8.1-0.7.fc33.riscv64/usr/share/doc/pam_mysql + cp -pr AUTHORS /builddir/build/BUILDROOT/pam_mysql-0.8.1-0.7.fc33.riscv64/usr/share/doc/pam_mysql + cp -pr NEWS /builddir/build/BUILDROOT/pam_mysql-0.8.1-0.7.fc33.riscv64/usr/share/doc/pam_mysql + cp -pr README /builddir/build/BUILDROOT/pam_mysql-0.8.1-0.7.fc33.riscv64/usr/share/doc/pam_mysql + RPM_EC=0 ++ jobs -p + exit 0 Provides: pam_mysql = 1:0.8.1-0.7.fc33 pam_mysql(riscv-64) = 1:0.8.1-0.7.fc33 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) libcrypt.so.2()(64bit) libcrypt.so.2(XCRYPT_2.0)(64bit) libcrypto.so.1.1()(64bit) libcrypto.so.1.1(OPENSSL_1_1_0)(64bit) libmariadb.so.3()(64bit) libmariadb.so.3(libmysqlclient_18)(64bit) libpam.so.0()(64bit) libpam.so.0(LIBPAM_1.0)(64bit) rtld(GNU_HASH) Processing files: pam_mysql-debugsource-0.8.1-0.7.fc33.riscv64 Provides: pam_mysql-debugsource = 1:0.8.1-0.7.fc33 pam_mysql-debugsource(riscv-64) = 1:0.8.1-0.7.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: pam_mysql-debuginfo-0.8.1-0.7.fc33.riscv64 Provides: debuginfo(build-id) = afd065fbc5b26e50f77bc9ca3ae67b07ce22b9d8 pam_mysql-debuginfo = 1:0.8.1-0.7.fc33 pam_mysql-debuginfo(riscv-64) = 1:0.8.1-0.7.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: pam_mysql-debugsource(riscv-64) = 1:0.8.1-0.7.fc33 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/pam_mysql-0.8.1-0.7.fc33.riscv64 Wrote: /builddir/build/RPMS/pam_mysql-0.8.1-0.7.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/pam_mysql-debuginfo-0.8.1-0.7.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/pam_mysql-debugsource-0.8.1-0.7.fc33.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.VxbDoE + umask 022 + cd /builddir/build/BUILD + cd pam-MySQL-b8ea8eb93235bbcc4127ab6491a8eb9b60ab550a + /usr/bin/rm -rf /builddir/build/BUILDROOT/pam_mysql-0.8.1-0.7.fc33.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0