+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/pam_mysql.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 warning: bogus date in %changelog: Thu Jan 9 2008 lonely wolf - 0.7-0.3.rc1.1 warning: bogus date in %changelog: Fri Nov 13 2005 Ignacio Vazquez-Abrams 0.6.2-2 warning: bogus date in %changelog: Fri Nov 13 2005 Ignacio Vazquez-Abrams 0.6.2-1 warning: bogus date in %changelog: Wed Mar 15 2005 Ignacio Vazquez-Abrams 0.50-3 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.HI8QYj + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf pam_mysql-0.7RC1 + /usr/bin/gzip -dc /builddir/build/SOURCES/pam_mysql-0.7RC1.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd pam_mysql-0.7RC1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (pam_mysql-0.7RC1-resps-segfault.patch):' Patch #0 (pam_mysql-0.7RC1-resps-segfault.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file pam_mysql.c + echo 'Patch #1 (pam_mysql-0.7RC1-first-pass.patch):' Patch #1 (pam_mysql-0.7RC1-first-pass.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file pam_mysql.c + echo 'Patch #2 (pam_mysql-0.7RC1-scrambled.patch):' Patch #2 (pam_mysql-0.7RC1-scrambled.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file pam_mysql.c + mv CREDITS AUTHORS + autoreconf -fiv autoreconf: Entering directory `.' autoreconf: configure.in: not using Gettext autoreconf: running: aclocal --force aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in' autoreconf: configure.in: tracing autoreconf: running: libtoolize --copy --force libtoolize: putting auxiliary files in '.'. libtoolize: copying file './ltmain.sh' libtoolize: Consider adding 'AC_CONFIG_MACRO_DIRS([m4])' to configure.in, libtoolize: and rerunning libtoolize and aclocal. libtoolize: Consider adding '-I m4' to ACLOCAL_AMFLAGS in Makefile.am. aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in' autoreconf: running: /usr/bin/autoconf --force autoreconf: running: /usr/bin/autoheader --force autoreconf: running: automake --add-missing --copy --force-missing automake: warning: autoconf input should be named 'configure.ac', not 'configure.in' configure.in:6: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated. For more info, see: configure.in:6: https://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_005fINIT_005fAUTOMAKE-invocation configure.in:20: installing './compile' configure.in:6: installing './missing' Makefile.am:6: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') automake: warning: autoconf input should be named 'configure.ac', not 'configure.in' Makefile.am: installing './depcomp' autoreconf: Leaving directory `.' + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.f2dAW7 + umask 022 + cd /builddir/build/BUILD + cd pam_mysql-0.7RC1 + 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.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' + 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' + '[' 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 --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 whether to enable maintainer-specific portions of Makefiles... no checking for bison... no checking for byacc... no 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.exe... 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 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 g++ accepts -g... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of g++... none checking for riscv64-redhat-linux-gnu-gcc... no checking for gcc... gcc 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 how to run the C preprocessor... gcc -E checking whether ln -s works... yes checking whether make sets $(MAKE)... (cached) yes checking build system type... riscv64-redhat-linux-gnu checking host system type... riscv64-redhat-linux-gnu checking how to print strings... printf 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 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... 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 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 how to run the C++ preprocessor... g++ -E checking for ld used by g++... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... yes checking if g++ static flag -static works... no checking if g++ supports -c -o file.o... yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for ANSI C header files... (cached) yes 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 for stdbool.h that conforms to C99... yes checking for _Bool... yes checking for an ANSI C-conforming const... yes checking for inline... inline checking for size_t... yes checking for working volatile... yes checking for preprocessor stringizing operator... yes checking for pid_t... yes checking for working alloca.h... yes checking for alloca... yes checking for stdlib.h... (cached) yes checking for GNU libc compatible malloc... yes checking for working memcmp... yes checking ELOOP availability... yes checking EOVERFLOW availability... yes checking for socket in -lsocket... no checking for gethostbyname... yes checking for gethostbyname in -lnsl... no checking for inet_ntop... yes checking for getaddrinfo... yes checking for freeaddrinfo... yes checking for strcasecmp... yes checking for strdup... 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 size of char... 1 checking size of short... 2 checking size of int... 4 checking size of long... 8 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_CFLAGS... checking for openssl_LIBS... -lssl -lcrypto 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... no checking if the third argument of pam_get_data() takes const pointer... no checking if the third argument of pam_get_item() takes const pointer... no 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 crypt in -lcrypt... yes checking for crypt... yes 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-0.7RC1' /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I/usr/include/security -I/usr/include -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 -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/mysql -I/usr/include/mysql -c -o pam_mysql.lo pam_mysql.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/usr/include/security -I/usr/include -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 -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/mysql -I/usr/include/mysql -c pam_mysql.c -fPIC -DPIC -o .libs/pam_mysql.o pam_mysql.c: In function 'pam_mysql_retrieve_ctx': pam_mysql.c:2074:5: warning: passing argument 3 of 'pam_get_data' from incompatible pointer type [-Wincompatible-pointer-types] (PAM_GET_DATA_CONST void**)pretval)) { ^ In file included from pam_mysql.c:156:0: /usr/include/security/pam_modules.h:27:1: note: expected 'const void **' but argument is of type 'void **' pam_get_data(const pam_handle_t *pamh, const char *module_data_name, ^~~~~~~~~~~~ pam_mysql.c: In function 'pam_mysql_converse': pam_mysql.c:3153:4: warning: passing argument 3 of 'pam_get_item' from incompatible pointer type [-Wincompatible-pointer-types] (PAM_GET_ITEM_CONST void **)&conv))) { ^ In file included from /usr/include/security/pam_appl.h:18:0, from pam_mysql.c:155: /usr/include/security/_pam_types.h:175:1: note: expected 'const void **' but argument is of type 'void **' pam_get_item(const pam_handle_t *pamh, int item_type, const void **item); ^~~~~~~~~~~~ pam_mysql.c:3196:4: warning: passing argument 2 of 'conv->conv' from incompatible pointer type [-Wincompatible-pointer-types] (PAM_CONV_CONST struct pam_message **)msgs, &resps, ^ pam_mysql.c:3196:4: note: expected 'const struct pam_message **' but argument is of type 'struct pam_message **' pam_mysql.c: In function 'pam_sm_authenticate': pam_mysql.c:3331:35: warning: passing argument 2 of 'pam_get_user' from incompatible pointer type [-Wincompatible-pointer-types] if ((retval = pam_get_user(pamh, (PAM_GET_USER_CONST char **)&user, ^ In file included from pam_mysql.c:156:0: /usr/include/security/pam_modules.h:31:1: note: expected 'const char **' but argument is of type 'char **' pam_get_user(pam_handle_t *pamh, const char **user, const char *prompt); ^~~~~~~~~~~~ pam_mysql.c:3343:4: warning: passing argument 3 of 'pam_get_item' from incompatible pointer type [-Wincompatible-pointer-types] (PAM_GET_ITEM_CONST void **)&rhost)) { ^ In file included from /usr/include/security/pam_appl.h:18:0, from pam_mysql.c:155: /usr/include/security/_pam_types.h:175:1: note: expected 'const void **' but argument is of type 'void **' pam_get_item(const pam_handle_t *pamh, int item_type, const void **item); ^~~~~~~~~~~~ pam_mysql.c:3353:5: warning: passing argument 3 of 'pam_get_item' from incompatible pointer type [-Wincompatible-pointer-types] (PAM_GET_ITEM_CONST void **)&passwd); ^ In file included from /usr/include/security/pam_appl.h:18:0, from pam_mysql.c:155: /usr/include/security/_pam_types.h:175:1: note: expected 'const void **' but argument is of type 'void **' pam_get_item(const pam_handle_t *pamh, int item_type, const void **item); ^~~~~~~~~~~~ pam_mysql.c: In function 'pam_sm_acct_mgmt': pam_mysql.c:3577:35: warning: passing argument 2 of 'pam_get_user' from incompatible pointer type [-Wincompatible-pointer-types] if ((retval = pam_get_user(pamh, (PAM_GET_USER_CONST char **)&user, ^ In file included from pam_mysql.c:156:0: /usr/include/security/pam_modules.h:31:1: note: expected 'const char **' but argument is of type 'char **' pam_get_user(pam_handle_t *pamh, const char **user, const char *prompt); ^~~~~~~~~~~~ pam_mysql.c:3589:4: warning: passing argument 3 of 'pam_get_item' from incompatible pointer type [-Wincompatible-pointer-types] (PAM_GET_ITEM_CONST void **)&rhost)) { ^ In file included from /usr/include/security/pam_appl.h:18:0, from pam_mysql.c:155: /usr/include/security/_pam_types.h:175:1: note: expected 'const void **' but argument is of type 'void **' pam_get_item(const pam_handle_t *pamh, int item_type, const void **item); ^~~~~~~~~~~~ pam_mysql.c: In function 'pam_sm_chauthtok': pam_mysql.c:3738:35: warning: passing argument 2 of 'pam_get_user' from incompatible pointer type [-Wincompatible-pointer-types] if ((retval = pam_get_user(pamh, (PAM_GET_USER_CONST char **)&user, ^ In file included from pam_mysql.c:156:0: /usr/include/security/pam_modules.h:31:1: note: expected 'const char **' but argument is of type 'char **' pam_get_user(pam_handle_t *pamh, const char **user, const char *prompt); ^~~~~~~~~~~~ pam_mysql.c:3750:4: warning: passing argument 3 of 'pam_get_item' from incompatible pointer type [-Wincompatible-pointer-types] (PAM_GET_ITEM_CONST void **)&rhost)) { ^ In file included from /usr/include/security/pam_appl.h:18:0, from pam_mysql.c:155: /usr/include/security/_pam_types.h:175:1: note: expected 'const void **' but argument is of type 'void **' pam_get_item(const pam_handle_t *pamh, int item_type, const void **item); ^~~~~~~~~~~~ pam_mysql.c:3850:6: warning: passing argument 3 of 'pam_get_item' from incompatible pointer type [-Wincompatible-pointer-types] (PAM_GET_ITEM_CONST void **)&old_passwd); ^ In file included from /usr/include/security/pam_appl.h:18:0, from pam_mysql.c:155: /usr/include/security/_pam_types.h:175:1: note: expected 'const void **' but argument is of type 'void **' pam_get_item(const pam_handle_t *pamh, int item_type, const void **item); ^~~~~~~~~~~~ pam_mysql.c:3950:4: warning: passing argument 3 of 'pam_get_item' from incompatible pointer type [-Wincompatible-pointer-types] (PAM_GET_ITEM_CONST void **)&new_passwd); ^ In file included from /usr/include/security/pam_appl.h:18:0, from pam_mysql.c:155: /usr/include/security/_pam_types.h:175:1: note: expected 'const void **' but argument is of type 'void **' pam_get_item(const pam_handle_t *pamh, int item_type, const void **item); ^~~~~~~~~~~~ pam_mysql.c: In function 'pam_sm_open_session': pam_mysql.c:4111:35: warning: passing argument 2 of 'pam_get_user' from incompatible pointer type [-Wincompatible-pointer-types] if ((retval = pam_get_user(pamh, (PAM_GET_USER_CONST char **)&user, ^ In file included from pam_mysql.c:156:0: /usr/include/security/pam_modules.h:31:1: note: expected 'const char **' but argument is of type 'char **' pam_get_user(pam_handle_t *pamh, const char **user, const char *prompt); ^~~~~~~~~~~~ pam_mysql.c:4123:4: warning: passing argument 3 of 'pam_get_item' from incompatible pointer type [-Wincompatible-pointer-types] (PAM_GET_ITEM_CONST void **)&rhost)) { ^ In file included from /usr/include/security/pam_appl.h:18:0, from pam_mysql.c:155: /usr/include/security/_pam_types.h:175:1: note: expected 'const void **' but argument is of type 'void **' pam_get_item(const pam_handle_t *pamh, int item_type, const void **item); ^~~~~~~~~~~~ pam_mysql.c: In function 'pam_sm_close_session': pam_mysql.c:4214:35: warning: passing argument 2 of 'pam_get_user' from incompatible pointer type [-Wincompatible-pointer-types] if ((retval = pam_get_user(pamh, (PAM_GET_USER_CONST char **)&user, ^ In file included from pam_mysql.c:156:0: /usr/include/security/pam_modules.h:31:1: note: expected 'const char **' but argument is of type 'char **' pam_get_user(pam_handle_t *pamh, const char **user, const char *prompt); ^~~~~~~~~~~~ pam_mysql.c:4226:4: warning: passing argument 3 of 'pam_get_item' from incompatible pointer type [-Wincompatible-pointer-types] (PAM_GET_ITEM_CONST void **)&rhost)) { ^ In file included from /usr/include/security/pam_appl.h:18:0, from pam_mysql.c:155: /usr/include/security/_pam_types.h:175:1: note: expected 'const void **' but argument is of type 'void **' pam_get_item(const pam_handle_t *pamh, int item_type, const void **item); ^~~~~~~~~~~~ /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/mysql -I/usr/include/mysql -module -avoid-version -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o pam_mysql.la -rpath /lib64/security pam_mysql.lo -L/usr/lib64/ -lmariadb -lz -ldl -lm -lpthread -lssl -lcrypto -lssl -lcrypto -lcrypt libtool: link: gcc -shared -fPIC -DPIC .libs/pam_mysql.o -L/usr/lib64/ -lmariadb -lz -ldl -lm -lpthread -lssl -lcrypto -lcrypt -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -O2 -g -fstack-protector-strong -grecord-gcc-switches -Wl,-z -Wl,relro -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-0.7RC1' + mv AUTHORS AUTHORS.lame + iconv -f latin1 -t utf-8 -o AUTHORS AUTHORS.lame + touch -r README AUTHORS + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.QNNTHd + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/pam_mysql-0.7-0.24.rc1.fc28.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/pam_mysql-0.7-0.24.rc1.fc28.riscv64 ++ dirname /builddir/build/BUILDROOT/pam_mysql-0.7-0.24.rc1.fc28.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/pam_mysql-0.7-0.24.rc1.fc28.riscv64 + cd pam_mysql-0.7RC1 + rm -rf /builddir/build/BUILDROOT/pam_mysql-0.7-0.24.rc1.fc28.riscv64 + make install DESTDIR=/builddir/build/BUILDROOT/pam_mysql-0.7-0.24.rc1.fc28.riscv64 make[1]: Entering directory '/builddir/build/BUILD/pam_mysql-0.7RC1' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/pam_mysql-0.7-0.24.rc1.fc28.riscv64/lib64/security' /bin/sh ./libtool --mode=install /usr/bin/install -c pam_mysql.la '/builddir/build/BUILDROOT/pam_mysql-0.7-0.24.rc1.fc28.riscv64/lib64/security' libtool: install: /usr/bin/install -c .libs/pam_mysql.so /builddir/build/BUILDROOT/pam_mysql-0.7-0.24.rc1.fc28.riscv64/lib64/security/pam_mysql.so libtool: install: /usr/bin/install -c .libs/pam_mysql.lai /builddir/build/BUILDROOT/pam_mysql-0.7-0.24.rc1.fc28.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-0.7RC1' + find /builddir/build/BUILDROOT/pam_mysql-0.7-0.24.rc1.fc28.riscv64 -name '*.la' -exec rm '{}' ';' + /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: pam_mysql-0.7-0.24.rc1.fc28.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.AQfLNz + umask 022 + cd /builddir/build/BUILD + cd pam_mysql-0.7RC1 + DOCDIR=/builddir/build/BUILDROOT/pam_mysql-0.7-0.24.rc1.fc28.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.7-0.24.rc1.fc28.riscv64/usr/share/doc/pam_mysql + cp -pr ChangeLog /builddir/build/BUILDROOT/pam_mysql-0.7-0.24.rc1.fc28.riscv64/usr/share/doc/pam_mysql + cp -pr COPYING /builddir/build/BUILDROOT/pam_mysql-0.7-0.24.rc1.fc28.riscv64/usr/share/doc/pam_mysql + cp -pr AUTHORS /builddir/build/BUILDROOT/pam_mysql-0.7-0.24.rc1.fc28.riscv64/usr/share/doc/pam_mysql + cp -pr NEWS /builddir/build/BUILDROOT/pam_mysql-0.7-0.24.rc1.fc28.riscv64/usr/share/doc/pam_mysql + cp -pr README /builddir/build/BUILDROOT/pam_mysql-0.7-0.24.rc1.fc28.riscv64/usr/share/doc/pam_mysql + exit 0 Provides: pam_mysql = 1:0.7-0.24.rc1.fc28 pam_mysql(riscv-64) = 1:0.7-0.24.rc1.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) libcrypt.so.1()(64bit) libcrypt.so.1(XCRYPT_2.0)(64bit) libcrypto.so.1.1()(64bit) libcrypto.so.1.1(OPENSSL_1_1_0)(64bit) libdl.so.2()(64bit) libm.so.6()(64bit) libmariadb.so.3()(64bit) libmariadb.so.3(libmysqlclient_18)(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.27)(64bit) libssl.so.1.1()(64bit) libz.so.1()(64bit) rtld(GNU_HASH) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/pam_mysql-0.7-0.24.rc1.fc28.riscv64 Wrote: /builddir/build/SRPMS/pam_mysql-0.7-0.24.rc1.fc28.src.rpm Wrote: /builddir/build/RPMS/riscv64/pam_mysql-0.7-0.24.rc1.fc28.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.Z88gWV + umask 022 + cd /builddir/build/BUILD + cd pam_mysql-0.7RC1 + rm -rf /builddir/build/BUILDROOT/pam_mysql-0.7-0.24.rc1.fc28.riscv64 + exit 0 + touch /buildok + cleanup + set +e + sync + sleep 5 + sync + poweroff Terminated ++ cleanup ++ set +e ++ sync ++ sleep 5 Terminated +++ cleanup +++ set +e +++ sync +++ sleep 5 +++ sync +++ poweroff