Mock Version: 1.3.4 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/pam_mysql.spec'], gid=135uid=1001env={'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'TERM': 'vt100', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir'}user='mockbuild'logger=shell=Falsenspawn_args=[]printOutput=FalsechrootPath='/var/lib/mock/epel-7-x86_64-mockbuilder-6573/root'timeout=0) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/pam_mysql.spec'] with env {'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'TERM': 'vt100', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir'} and shell False 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 Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/pam_mysql-0.7-0.22.rc1.el7.centos.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/pam_mysql.spec'], gid=135uid=1001env={'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'TERM': 'vt100', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir'}user='mockbuild'logger=shell=Falsenspawn_args=[]printOutput=FalsechrootPath='/var/lib/mock/epel-7-x86_64-mockbuilder-6573/root'timeout=0) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/pam_mysql.spec'] with env {'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'TERM': 'vt100', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir'} and shell False 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 Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.jLccaK + 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 -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd pam_mysql-0.7RC1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #0 (pam_mysql-0.7RC1-resps-segfault.patch): + echo 'Patch #0 (pam_mysql-0.7RC1-resps-segfault.patch):' + /usr/bin/patch -p1 --fuzz=0 + /usr/bin/cat /builddir/build/SOURCES/pam_mysql-0.7RC1-resps-segfault.patch patching file pam_mysql.c Patch #1 (pam_mysql-0.7RC1-first-pass.patch): + echo 'Patch #1 (pam_mysql-0.7RC1-first-pass.patch):' + /usr/bin/patch -p1 --fuzz=0 + /usr/bin/cat /builddir/build/SOURCES/pam_mysql-0.7RC1-first-pass.patch patching file pam_mysql.c Patch #2 (pam_mysql-0.7RC1-scrambled.patch): + echo 'Patch #2 (pam_mysql-0.7RC1-scrambled.patch):' + /usr/bin/patch -p1 --fuzz=0 + /usr/bin/cat /builddir/build/SOURCES/pam_mysql-0.7RC1-scrambled.patch 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_DIR([m4])' to configure.in and libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree. 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: http://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_005fINIT_005fAUTOMAKE-invocation 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' Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.KtQDqy autoreconf: Leaving directory `.' + exit 0 + umask 022 + cd /builddir/build/BUILD + cd pam_mysql-0.7RC1 + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro ' + export LDFLAGS + '[' 1 == 1 ']' + '[' x86_64 == ppc64le ']' ++ find . -name config.guess -o -name config.sub + for i in '$(find . -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 . -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' + ./configure --build=x86_64-redhat-linux-gnu --host=x86_64-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 x86_64-redhat-linux-gnu-g++... no checking for x86_64-redhat-linux-gnu-c++... no checking for x86_64-redhat-linux-gnu-gpp... no checking for x86_64-redhat-linux-gnu-aCC... no checking for x86_64-redhat-linux-gnu-CC... no checking for x86_64-redhat-linux-gnu-cxx... no checking for x86_64-redhat-linux-gnu-cc++... no checking for x86_64-redhat-linux-gnu-cl.exe... no checking for x86_64-redhat-linux-gnu-FCC... no checking for x86_64-redhat-linux-gnu-KCC... no checking for x86_64-redhat-linux-gnu-RCC... no checking for x86_64-redhat-linux-gnu-xlC_r... no checking for x86_64-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 for style of include used by make... GNU checking dependency style of g++... none checking for x86_64-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 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... x86_64-redhat-linux-gnu checking host system type... x86_64-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 whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking how to convert x86_64-redhat-linux-gnu file names to x86_64-redhat-linux-gnu format... func_convert_file_noop checking how to convert x86_64-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 x86_64-redhat-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for x86_64-redhat-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for x86_64-redhat-linux-gnu-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for x86_64-redhat-linux-gnu-strip... no checking for strip... strip checking for x86_64-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 x86_64-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 -m elf_x86_64) 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 -m elf_x86_64 checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) 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 -m elf_x86_64) 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... yes checking for x86_64-redhat-linux-gnu-pkg-config... no checking for pkg-config... /usr/bin/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 -j2 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 -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -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 -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -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 [enabled by default] (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 [enabled by default] (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:3197:4: warning: passing argument 2 of 'conv->conv' from incompatible pointer type [enabled by default] conv->appdata_ptr))) { ^ pam_mysql.c:3197: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:3332:4: warning: passing argument 2 of 'pam_get_user' from incompatible pointer type [enabled by default] NULL))) { ^ 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 [enabled by default] (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 [enabled by default] (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:3578:4: warning: passing argument 2 of 'pam_get_user' from incompatible pointer type [enabled by default] NULL))) { ^ 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 [enabled by default] (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:3739:4: warning: passing argument 2 of 'pam_get_user' from incompatible pointer type [enabled by default] NULL))) { ^ 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 [enabled by default] (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 [enabled by default] (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 [enabled by default] (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:4112:4: warning: passing argument 2 of 'pam_get_user' from incompatible pointer type [enabled by default] NULL))) { ^ 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 [enabled by default] (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:4215:4: warning: passing argument 2 of 'pam_get_user' from incompatible pointer type [enabled by default] NULL))) { ^ 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 [enabled by default] (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 -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I/usr/include/mysql -module -avoid-version -Wl,-z,relro -o pam_mysql.la -rpath /lib64/security pam_mysql.lo -L/usr/lib64 -lmysqlclient -lpthread -lz -lm -ldl -lssl -lcrypto -lssl -lcrypto -lcrypt libtool: link: gcc -shared -fPIC -DPIC .libs/pam_mysql.o -L/usr/lib64 -lmysqlclient -lpthread -lz -lm -ldl -lssl -lcrypto -lcrypt -O2 -m64 -mtune=generic -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.ZcQguH + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/pam_mysql-0.7-0.22.rc1.el7.centos.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/pam_mysql-0.7-0.22.rc1.el7.centos.x86_64 ++ dirname /builddir/build/BUILDROOT/pam_mysql-0.7-0.22.rc1.el7.centos.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/pam_mysql-0.7-0.22.rc1.el7.centos.x86_64 + cd pam_mysql-0.7RC1 + rm -rf /builddir/build/BUILDROOT/pam_mysql-0.7-0.22.rc1.el7.centos.x86_64 + make install DESTDIR=/builddir/build/BUILDROOT/pam_mysql-0.7-0.22.rc1.el7.centos.x86_64 make[1]: Entering directory `/builddir/build/BUILD/pam_mysql-0.7RC1' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/pam_mysql-0.7-0.22.rc1.el7.centos.x86_64/lib64/security' /bin/sh ./libtool --mode=install /usr/bin/install -c pam_mysql.la '/builddir/build/BUILDROOT/pam_mysql-0.7-0.22.rc1.el7.centos.x86_64/lib64/security' libtool: install: /usr/bin/install -c .libs/pam_mysql.so /builddir/build/BUILDROOT/pam_mysql-0.7-0.22.rc1.el7.centos.x86_64/lib64/security/pam_mysql.so libtool: install: /usr/bin/install -c .libs/pam_mysql.lai /builddir/build/BUILDROOT/pam_mysql-0.7-0.22.rc1.el7.centos.x86_64/lib64/security/pam_mysql.la libtool: install: 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.22.rc1.el7.centos.x86_64 -name '*.la' -exec rm '{}' ';' + /usr/lib/rpm/find-debuginfo.sh --strict-build-id -m --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 /builddir/build/BUILD/pam_mysql-0.7RC1 extracting debug info from /builddir/build/BUILDROOT/pam_mysql-0.7-0.22.rc1.el7.centos.x86_64/lib64/security/pam_mysql.so dwz: Too few files for multifile optimization /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 192 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-compress + /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/lib/rpm/redhat/brp-java-repack-jars Processing files: pam_mysql-0.7-0.22.rc1.el7.centos.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.U5oL7Q + umask 022 + cd /builddir/build/BUILD + cd pam_mysql-0.7RC1 + DOCDIR=/builddir/build/BUILDROOT/pam_mysql-0.7-0.22.rc1.el7.centos.x86_64/usr/share/doc/pam_mysql-0.7 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/pam_mysql-0.7-0.22.rc1.el7.centos.x86_64/usr/share/doc/pam_mysql-0.7 + cp -pr ChangeLog /builddir/build/BUILDROOT/pam_mysql-0.7-0.22.rc1.el7.centos.x86_64/usr/share/doc/pam_mysql-0.7 + cp -pr COPYING /builddir/build/BUILDROOT/pam_mysql-0.7-0.22.rc1.el7.centos.x86_64/usr/share/doc/pam_mysql-0.7 + cp -pr AUTHORS /builddir/build/BUILDROOT/pam_mysql-0.7-0.22.rc1.el7.centos.x86_64/usr/share/doc/pam_mysql-0.7 + cp -pr NEWS /builddir/build/BUILDROOT/pam_mysql-0.7-0.22.rc1.el7.centos.x86_64/usr/share/doc/pam_mysql-0.7 + cp -pr README /builddir/build/BUILDROOT/pam_mysql-0.7-0.22.rc1.el7.centos.x86_64/usr/share/doc/pam_mysql-0.7 + exit 0 Provides: pam_mysql = 1:0.7-0.22.rc1.el7.centos pam_mysql(x86-64) = 1:0.7-0.22.rc1.el7.centos Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.4)(64bit) libcrypt.so.1()(64bit) libcrypt.so.1(GLIBC_2.2.5)(64bit) libcrypto.so.10()(64bit) libcrypto.so.10(libcrypto.so.10)(64bit) libdl.so.2()(64bit) libm.so.6()(64bit) libmysqlclient.so.18()(64bit) libmysqlclient.so.18(libmysqlclient_18)(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.2.5)(64bit) libssl.so.10()(64bit) libz.so.1()(64bit) rtld(GNU_HASH) Processing files: pam_mysql-debuginfo-0.7-0.22.rc1.el7.centos.x86_64 Provides: pam_mysql-debuginfo = 1:0.7-0.22.rc1.el7.centos pam_mysql-debuginfo(x86-64) = 1:0.7-0.22.rc1.el7.centos Requires(rpmlib): rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/pam_mysql-0.7-0.22.rc1.el7.centos.x86_64 Wrote: /builddir/build/RPMS/pam_mysql-0.7-0.22.rc1.el7.centos.x86_64.rpm Wrote: /builddir/build/RPMS/pam_mysql-debuginfo-0.7-0.22.rc1.el7.centos.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.PYlZym + umask 022 + cd /builddir/build/BUILD + cd pam_mysql-0.7RC1 + rm -rf /builddir/build/BUILDROOT/pam_mysql-0.7-0.22.rc1.el7.centos.x86_64 + exit 0 Child return code was: 0