Mock Version: 1.4.13 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target i686 --nodeps /builddir/build/SPECS/pam_2fa.spec'], timeout=0nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.2CdYIN:/etc/resolv.conf']shell=Falseuid=1001chrootPath='/var/lib/mock/centos-7-i386/root'gid=135user='mockbuild'env={'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '}logger=unshare_net=TrueprintOutput=True) Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '753fd351ecfc49418ca6ede37f80ab2e', '-D', '/var/lib/mock/centos-7-i386/root', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.2CdYIN:/etc/resolv.conf', '--setenv=LANG=en_US.UTF-8', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOSTNAME=mock', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=HOME=/builddir', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PS1= \\s-\\v\\$ ', '-u', 'mockbuild', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target i686 --nodeps /builddir/build/SPECS/pam_2fa.spec'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '} and shell False BUILDSTDERR: Failed to create directory /var/lib/mock/centos-7-i386/root//sys/fs/selinux: Read-only file system BUILDSTDERR: Failed to create directory /var/lib/mock/centos-7-i386/root//sys/fs/selinux: Read-only file system Building target platforms: i686 Building for target i686 Wrote: /builddir/build/SRPMS/pam_2fa-1.0-1.el7.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target i686 --nodeps /builddir/build/SPECS/pam_2fa.spec'], timeout=0nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.2CdYIN:/etc/resolv.conf']shell=Falseuid=1001chrootPath='/var/lib/mock/centos-7-i386/root'gid=135user='mockbuild'env={'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '}logger=unshare_net=TrueprintOutput=True) Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'a6a29f9ae0734c969cdcfff606aa23b8', '-D', '/var/lib/mock/centos-7-i386/root', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.2CdYIN:/etc/resolv.conf', '--setenv=LANG=en_US.UTF-8', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOSTNAME=mock', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=HOME=/builddir', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PS1= \\s-\\v\\$ ', '-u', 'mockbuild', 'bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target i686 --nodeps /builddir/build/SPECS/pam_2fa.spec'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '} and shell False BUILDSTDERR: Failed to create directory /var/lib/mock/centos-7-i386/root//sys/fs/selinux: Read-only file system BUILDSTDERR: Failed to create directory /var/lib/mock/centos-7-i386/root//sys/fs/selinux: Read-only file system Building target platforms: i686 Building for target i686 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.1o7NXQ + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf pam_2fa-1.0 + /usr/bin/gzip -dc /builddir/build/SOURCES/pam_2fa-1.0.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd pam_2fa-1.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.Rj8ODB + umask 022 + cd /builddir/build/BUILD + cd pam_2fa-1.0 + autoreconf -i libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, `build-aux'. libtoolize: copying file `build-aux/ltmain.sh' libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `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' BUILDSTDERR: configure.ac:19: installing 'build-aux/ar-lib' BUILDSTDERR: configure.ac:17: installing 'build-aux/compile' BUILDSTDERR: configure.ac:21: installing 'build-aux/config.guess' BUILDSTDERR: configure.ac:21: installing 'build-aux/config.sub' BUILDSTDERR: configure.ac:9: installing 'build-aux/install-sh' BUILDSTDERR: configure.ac:9: installing 'build-aux/missing' BUILDSTDERR: Makefile.am: installing 'build-aux/depcomp' + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -I/usr/lib/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 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -I/usr/lib/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro ' + export LDFLAGS + '[' 1 == 1 ']' + '[' i386 == ppc64le ']' BUILDSTDERR: ++ find . -name config.guess -o -name config.sub + for i in '$(find . -name config.guess -o -name config.sub)' BUILDSTDERR: ++ basename ./build-aux/config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./build-aux/config.guess BUILDSTDERR: ++ basename ./build-aux/config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./build-aux/config.guess '/usr/lib/rpm/redhat/config.guess' -> './build-aux/config.guess' + for i in '$(find . -name config.guess -o -name config.sub)' BUILDSTDERR: ++ basename ./build-aux/config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./build-aux/config.sub BUILDSTDERR: ++ basename ./build-aux/config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./build-aux/config.sub '/usr/lib/rpm/redhat/config.sub' -> './build-aux/config.sub' + ./configure --build=i386-redhat-linux-gnu --host=i386-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/lib --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --libdir=/lib --with-pam-dir=/lib/security/ 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 for style of include used by make... GNU checking for i386-redhat-linux-gnu-gcc... no checking for 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 dependency style of gcc... none checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -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 minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking for i386-redhat-linux-gnu-gcc... gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) none checking whether gcc and cc understand -c and -o together... yes checking for i386-redhat-linux-gnu-ar... no checking for i386-redhat-linux-gnu-lib... no checking for i386-redhat-linux-gnu-link... no checking for ar... ar checking the archiver (ar) interface... ar checking build system type... i386-redhat-linux-gnu checking host system type... i386-redhat-linux-gnu checking how to print strings... printf checking for a sed that does not truncate output... /usr/bin/sed checking for fgrep... /usr/bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking how to convert i386-redhat-linux-gnu file names to i386-redhat-linux-gnu format... func_convert_file_noop checking how to convert i386-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 i386-redhat-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for i386-redhat-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for i386-redhat-linux-gnu-ar... ar checking for archiver @FILE support... @ checking for i386-redhat-linux-gnu-strip... no checking for strip... strip checking for i386-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 i386-redhat-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... no checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking syslog.h usability... yes checking syslog.h presence... yes checking for syslog.h... yes checking for unistd.h... (cached) yes checking security/pam_appl.h usability... yes checking security/pam_appl.h presence... yes checking for security/pam_appl.h... yes checking security/pam_modules.h usability... yes checking security/pam_modules.h presence... yes checking for security/pam_modules.h... yes checking security/pam_ext.h usability... yes checking security/pam_ext.h presence... yes checking for security/pam_ext.h... yes checking security/pam_modutil.h usability... yes checking security/pam_modutil.h presence... yes checking for security/pam_modutil.h... yes checking for pid_t... yes checking for uid_t in sys/types.h... yes checking for size_t... yes checking for ssize_t... yes checking vfork.h usability... no checking vfork.h presence... no checking for vfork.h... no checking for fork... yes checking for vfork... yes checking for working fork... yes checking for working vfork... (cached) yes checking type of array argument to getgroups... gid_t checking for getgroups... yes checking for working getgroups... yes checking for stdlib.h... (cached) yes checking for GNU libc compatible malloc... yes checking for stdlib.h... (cached) yes checking for GNU libc compatible realloc... yes checking for asprintf... yes checking for bzero... yes checking for dup2... yes checking for gethostname... yes checking for memset... yes checking for memmove... yes checking for strchr... yes checking for strdup... yes checking for strrchr... yes checking for strstr... yes checking for pam_start in -lpam... yes configure: PAM installation path /lib/security/ checking for ldap_init in -lldap... yes checking for i386-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 LIBCURL... yes checking for ykclient_init in -lykclient... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands configure: Summary of build options: Version: 1.0 Host type: i386-redhat-linux-gnu Compiler: gcc Library types: Shared=yes, Static=yes Dependencies: LDAP=1, CURL=1, YKCLIENT=1 + /usr/bin/make -j4 /usr/bin/make all-am make[1]: Entering directory `/builddir/build/BUILD/pam_2fa-1.0' /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -Wall -Wextra -Wbad-function-cast -Wcast-align -Wcast-qual -Wconversion -Wformat-nonliteral -Wformat-security -Winit-self -Wmissing-declarations -Wmissing-include-dirs -Wmissing-format-attribute -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-prototypes -Wwrite-strings -Wundef -Wunused -Wno-unused-parameter -Wno-format-zero-length -Wno-format-y2k -Wunsafe-loop-optimizations -fPIC -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -c -o pam_2fa_la-sms.lo `test -f 'sms.c' || echo './'`sms.c /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -Wall -Wextra -Wbad-function-cast -Wcast-align -Wcast-qual -Wconversion -Wformat-nonliteral -Wformat-security -Winit-self -Wmissing-declarations -Wmissing-include-dirs -Wmissing-format-attribute -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-prototypes -Wwrite-strings -Wundef -Wunused -Wno-unused-parameter -Wno-format-zero-length -Wno-format-y2k -Wunsafe-loop-optimizations -fPIC -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -c -o pam_2fa_la-priv.lo `test -f 'priv.c' || echo './'`priv.c /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -Wall -Wextra -Wbad-function-cast -Wcast-align -Wcast-qual -Wconversion -Wformat-nonliteral -Wformat-security -Winit-self -Wmissing-declarations -Wmissing-include-dirs -Wmissing-format-attribute -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-prototypes -Wwrite-strings -Wundef -Wunused -Wno-unused-parameter -Wno-format-zero-length -Wno-format-y2k -Wunsafe-loop-optimizations -fPIC -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -c -o pam_2fa_la-module_conf.lo `test -f 'module_conf.c' || echo './'`module_conf.c /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -Wall -Wextra -Wbad-function-cast -Wcast-align -Wcast-qual -Wconversion -Wformat-nonliteral -Wformat-security -Winit-self -Wmissing-declarations -Wmissing-include-dirs -Wmissing-format-attribute -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-prototypes -Wwrite-strings -Wundef -Wunused -Wno-unused-parameter -Wno-format-zero-length -Wno-format-y2k -Wunsafe-loop-optimizations -fPIC -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -c -o pam_2fa_la-pam_2fa.lo `test -f 'pam_2fa.c' || echo './'`pam_2fa.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wall -Wextra -Wbad-function-cast -Wcast-align -Wcast-qual -Wconversion -Wformat-nonliteral -Wformat-security -Winit-self -Wmissing-declarations -Wmissing-include-dirs -Wmissing-format-attribute -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-prototypes -Wwrite-strings -Wundef -Wunused -Wno-unused-parameter -Wno-format-zero-length -Wno-format-y2k -Wunsafe-loop-optimizations -fPIC -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -c sms.c -fPIC -DPIC -o .libs/pam_2fa_la-sms.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wall -Wextra -Wbad-function-cast -Wcast-align -Wcast-qual -Wconversion -Wformat-nonliteral -Wformat-security -Winit-self -Wmissing-declarations -Wmissing-include-dirs -Wmissing-format-attribute -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-prototypes -Wwrite-strings -Wundef -Wunused -Wno-unused-parameter -Wno-format-zero-length -Wno-format-y2k -Wunsafe-loop-optimizations -fPIC -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -c priv.c -fPIC -DPIC -o .libs/pam_2fa_la-priv.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wall -Wextra -Wbad-function-cast -Wcast-align -Wcast-qual -Wconversion -Wformat-nonliteral -Wformat-security -Winit-self -Wmissing-declarations -Wmissing-include-dirs -Wmissing-format-attribute -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-prototypes -Wwrite-strings -Wundef -Wunused -Wno-unused-parameter -Wno-format-zero-length -Wno-format-y2k -Wunsafe-loop-optimizations -fPIC -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -c module_conf.c -fPIC -DPIC -o .libs/pam_2fa_la-module_conf.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wall -Wextra -Wbad-function-cast -Wcast-align -Wcast-qual -Wconversion -Wformat-nonliteral -Wformat-security -Winit-self -Wmissing-declarations -Wmissing-include-dirs -Wmissing-format-attribute -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-prototypes -Wwrite-strings -Wundef -Wunused -Wno-unused-parameter -Wno-format-zero-length -Wno-format-y2k -Wunsafe-loop-optimizations -fPIC -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -c pam_2fa.c -fPIC -DPIC -o .libs/pam_2fa_la-pam_2fa.o BUILDSTDERR: sms.c: In function 'sms_load_user_file': BUILDSTDERR: sms.c:81:9: warning: format '%li' expects argument of type 'long int', but argument 4 has type 'int' [-Wformat=] BUILDSTDERR: pam_syslog(pamh, LOG_ERR, "SMS number too long (%li)'", buf_pos - buf); BUILDSTDERR: ^ BUILDSTDERR: sms.c: In function 'send_mail': BUILDSTDERR: sms.c:180:5: warning: initialization discards 'const' qualifier from pointer target type [enabled by default] BUILDSTDERR: char * const child_args[7] = { "mail", "-r", from, "-s", cfg->sms_subject, dst, NULL }; BUILDSTDERR: ^ BUILDSTDERR: sms.c:180:5: warning: initialization discards 'const' qualifier from pointer target type [enabled by default] BUILDSTDERR: sms.c:180:5: warning: initialization discards 'const' qualifier from pointer target type [enabled by default] BUILDSTDERR: /usr/include/security/pam_modules.h: In function 'pam_sm_authenticate': BUILDSTDERR: pam_2fa.c:90:13: warning: cannot optimize possibly infinite loops [-Wunsafe-loop-optimizations] BUILDSTDERR: for (i = 1; i <= menu_len; ++i) { BUILDSTDERR: ^ libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wall -Wextra -Wbad-function-cast -Wcast-align -Wcast-qual -Wconversion -Wformat-nonliteral -Wformat-security -Winit-self -Wmissing-declarations -Wmissing-include-dirs -Wmissing-format-attribute -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-prototypes -Wwrite-strings -Wundef -Wunused -Wno-unused-parameter -Wno-format-zero-length -Wno-format-y2k -Wunsafe-loop-optimizations -fPIC -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -c priv.c -o pam_2fa_la-priv.o >/dev/null 2>&1 libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wall -Wextra -Wbad-function-cast -Wcast-align -Wcast-qual -Wconversion -Wformat-nonliteral -Wformat-security -Winit-self -Wmissing-declarations -Wmissing-include-dirs -Wmissing-format-attribute -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-prototypes -Wwrite-strings -Wundef -Wunused -Wno-unused-parameter -Wno-format-zero-length -Wno-format-y2k -Wunsafe-loop-optimizations -fPIC -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -c sms.c -o pam_2fa_la-sms.o >/dev/null 2>&1 libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wall -Wextra -Wbad-function-cast -Wcast-align -Wcast-qual -Wconversion -Wformat-nonliteral -Wformat-security -Winit-self -Wmissing-declarations -Wmissing-include-dirs -Wmissing-format-attribute -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-prototypes -Wwrite-strings -Wundef -Wunused -Wno-unused-parameter -Wno-format-zero-length -Wno-format-y2k -Wunsafe-loop-optimizations -fPIC -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -c pam_2fa.c -o pam_2fa_la-pam_2fa.o >/dev/null 2>&1 libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wall -Wextra -Wbad-function-cast -Wcast-align -Wcast-qual -Wconversion -Wformat-nonliteral -Wformat-security -Winit-self -Wmissing-declarations -Wmissing-include-dirs -Wmissing-format-attribute -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-prototypes -Wwrite-strings -Wundef -Wunused -Wno-unused-parameter -Wno-format-zero-length -Wno-format-y2k -Wunsafe-loop-optimizations -fPIC -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -c module_conf.c -o pam_2fa_la-module_conf.o >/dev/null 2>&1 /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -Wall -Wextra -Wbad-function-cast -Wcast-align -Wcast-qual -Wconversion -Wformat-nonliteral -Wformat-security -Winit-self -Wmissing-declarations -Wmissing-include-dirs -Wmissing-format-attribute -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-prototypes -Wwrite-strings -Wundef -Wunused -Wno-unused-parameter -Wno-format-zero-length -Wno-format-y2k -Wunsafe-loop-optimizations -fPIC -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -c -o pam_2fa_la-user_conf.lo `test -f 'user_conf.c' || echo './'`user_conf.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wall -Wextra -Wbad-function-cast -Wcast-align -Wcast-qual -Wconversion -Wformat-nonliteral -Wformat-security -Winit-self -Wmissing-declarations -Wmissing-include-dirs -Wmissing-format-attribute -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-prototypes -Wwrite-strings -Wundef -Wunused -Wno-unused-parameter -Wno-format-zero-length -Wno-format-y2k -Wunsafe-loop-optimizations -fPIC -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -c user_conf.c -fPIC -DPIC -o .libs/pam_2fa_la-user_conf.o /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -Wall -Wextra -Wbad-function-cast -Wcast-align -Wcast-qual -Wconversion -Wformat-nonliteral -Wformat-security -Winit-self -Wmissing-declarations -Wmissing-include-dirs -Wmissing-format-attribute -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-prototypes -Wwrite-strings -Wundef -Wunused -Wno-unused-parameter -Wno-format-zero-length -Wno-format-y2k -Wunsafe-loop-optimizations -fPIC -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -c -o pam_2fa_la-ssh_user_auth.lo `test -f 'ssh_user_auth.c' || echo './'`ssh_user_auth.c BUILDSTDERR: user_conf.c: In function 'free_user_config': BUILDSTDERR: user_conf.c:95:18: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] BUILDSTDERR: free((char*)user_cfg->username); BUILDSTDERR: ^ /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -Wall -Wextra -Wbad-function-cast -Wcast-align -Wcast-qual -Wconversion -Wformat-nonliteral -Wformat-security -Winit-self -Wmissing-declarations -Wmissing-include-dirs -Wmissing-format-attribute -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-prototypes -Wwrite-strings -Wundef -Wunused -Wno-unused-parameter -Wno-format-zero-length -Wno-format-y2k -Wunsafe-loop-optimizations -fPIC -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -c -o pam_2fa_la-ldap.lo `test -f 'ldap.c' || echo './'`ldap.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wall -Wextra -Wbad-function-cast -Wcast-align -Wcast-qual -Wconversion -Wformat-nonliteral -Wformat-security -Winit-self -Wmissing-declarations -Wmissing-include-dirs -Wmissing-format-attribute -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-prototypes -Wwrite-strings -Wundef -Wunused -Wno-unused-parameter -Wno-format-zero-length -Wno-format-y2k -Wunsafe-loop-optimizations -fPIC -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -c ssh_user_auth.c -fPIC -DPIC -o .libs/pam_2fa_la-ssh_user_auth.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wall -Wextra -Wbad-function-cast -Wcast-align -Wcast-qual -Wconversion -Wformat-nonliteral -Wformat-security -Winit-self -Wmissing-declarations -Wmissing-include-dirs -Wmissing-format-attribute -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-prototypes -Wwrite-strings -Wundef -Wunused -Wno-unused-parameter -Wno-format-zero-length -Wno-format-y2k -Wunsafe-loop-optimizations -fPIC -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -c user_conf.c -o pam_2fa_la-user_conf.o >/dev/null 2>&1 libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wall -Wextra -Wbad-function-cast -Wcast-align -Wcast-qual -Wconversion -Wformat-nonliteral -Wformat-security -Winit-self -Wmissing-declarations -Wmissing-include-dirs -Wmissing-format-attribute -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-prototypes -Wwrite-strings -Wundef -Wunused -Wno-unused-parameter -Wno-format-zero-length -Wno-format-y2k -Wunsafe-loop-optimizations -fPIC -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -c ldap.c -fPIC -DPIC -o .libs/pam_2fa_la-ldap.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wall -Wextra -Wbad-function-cast -Wcast-align -Wcast-qual -Wconversion -Wformat-nonliteral -Wformat-security -Winit-self -Wmissing-declarations -Wmissing-include-dirs -Wmissing-format-attribute -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-prototypes -Wwrite-strings -Wundef -Wunused -Wno-unused-parameter -Wno-format-zero-length -Wno-format-y2k -Wunsafe-loop-optimizations -fPIC -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -c ssh_user_auth.c -o pam_2fa_la-ssh_user_auth.o >/dev/null 2>&1 /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -Wall -Wextra -Wbad-function-cast -Wcast-align -Wcast-qual -Wconversion -Wformat-nonliteral -Wformat-security -Winit-self -Wmissing-declarations -Wmissing-include-dirs -Wmissing-format-attribute -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-prototypes -Wwrite-strings -Wundef -Wunused -Wno-unused-parameter -Wno-format-zero-length -Wno-format-y2k -Wunsafe-loop-optimizations -fPIC -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -c -o pam_2fa_la-gauth.lo `test -f 'gauth.c' || echo './'`gauth.c /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -Wall -Wextra -Wbad-function-cast -Wcast-align -Wcast-qual -Wconversion -Wformat-nonliteral -Wformat-security -Winit-self -Wmissing-declarations -Wmissing-include-dirs -Wmissing-format-attribute -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-prototypes -Wwrite-strings -Wundef -Wunused -Wno-unused-parameter -Wno-format-zero-length -Wno-format-y2k -Wunsafe-loop-optimizations -fPIC -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -c -o pam_2fa_la-yk.lo `test -f 'yk.c' || echo './'`yk.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wall -Wextra -Wbad-function-cast -Wcast-align -Wcast-qual -Wconversion -Wformat-nonliteral -Wformat-security -Winit-self -Wmissing-declarations -Wmissing-include-dirs -Wmissing-format-attribute -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-prototypes -Wwrite-strings -Wundef -Wunused -Wno-unused-parameter -Wno-format-zero-length -Wno-format-y2k -Wunsafe-loop-optimizations -fPIC -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -c gauth.c -fPIC -DPIC -o .libs/pam_2fa_la-gauth.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wall -Wextra -Wbad-function-cast -Wcast-align -Wcast-qual -Wconversion -Wformat-nonliteral -Wformat-security -Winit-self -Wmissing-declarations -Wmissing-include-dirs -Wmissing-format-attribute -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-prototypes -Wwrite-strings -Wundef -Wunused -Wno-unused-parameter -Wno-format-zero-length -Wno-format-y2k -Wunsafe-loop-optimizations -fPIC -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -c ldap.c -o pam_2fa_la-ldap.o >/dev/null 2>&1 /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -Wall -Wextra -Wbad-function-cast -Wcast-align -Wcast-qual -Wconversion -Wformat-nonliteral -Wformat-security -Winit-self -Wmissing-declarations -Wmissing-include-dirs -Wmissing-format-attribute -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-prototypes -Wwrite-strings -Wundef -Wunused -Wno-unused-parameter -Wno-format-zero-length -Wno-format-y2k -Wunsafe-loop-optimizations -fPIC -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -c -o pam_ssh_user_auth_la-pam_ssh_user_auth.lo `test -f 'pam_ssh_user_auth.c' || echo './'`pam_ssh_user_auth.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wall -Wextra -Wbad-function-cast -Wcast-align -Wcast-qual -Wconversion -Wformat-nonliteral -Wformat-security -Winit-self -Wmissing-declarations -Wmissing-include-dirs -Wmissing-format-attribute -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-prototypes -Wwrite-strings -Wundef -Wunused -Wno-unused-parameter -Wno-format-zero-length -Wno-format-y2k -Wunsafe-loop-optimizations -fPIC -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -c yk.c -fPIC -DPIC -o .libs/pam_2fa_la-yk.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wall -Wextra -Wbad-function-cast -Wcast-align -Wcast-qual -Wconversion -Wformat-nonliteral -Wformat-security -Winit-self -Wmissing-declarations -Wmissing-include-dirs -Wmissing-format-attribute -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-prototypes -Wwrite-strings -Wundef -Wunused -Wno-unused-parameter -Wno-format-zero-length -Wno-format-y2k -Wunsafe-loop-optimizations -fPIC -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -c pam_ssh_user_auth.c -fPIC -DPIC -o .libs/pam_ssh_user_auth_la-pam_ssh_user_auth.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wall -Wextra -Wbad-function-cast -Wcast-align -Wcast-qual -Wconversion -Wformat-nonliteral -Wformat-security -Winit-self -Wmissing-declarations -Wmissing-include-dirs -Wmissing-format-attribute -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-prototypes -Wwrite-strings -Wundef -Wunused -Wno-unused-parameter -Wno-format-zero-length -Wno-format-y2k -Wunsafe-loop-optimizations -fPIC -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -c pam_ssh_user_auth.c -o pam_ssh_user_auth_la-pam_ssh_user_auth.o >/dev/null 2>&1 /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -Wall -Wextra -Wbad-function-cast -Wcast-align -Wcast-qual -Wconversion -Wformat-nonliteral -Wformat-security -Winit-self -Wmissing-declarations -Wmissing-include-dirs -Wmissing-format-attribute -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-prototypes -Wwrite-strings -Wundef -Wunused -Wno-unused-parameter -Wno-format-zero-length -Wno-format-y2k -Wunsafe-loop-optimizations -fPIC -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -c -o pam_ssh_user_auth_la-ssh_user_auth.lo `test -f 'ssh_user_auth.c' || echo './'`ssh_user_auth.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wall -Wextra -Wbad-function-cast -Wcast-align -Wcast-qual -Wconversion -Wformat-nonliteral -Wformat-security -Winit-self -Wmissing-declarations -Wmissing-include-dirs -Wmissing-format-attribute -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-prototypes -Wwrite-strings -Wundef -Wunused -Wno-unused-parameter -Wno-format-zero-length -Wno-format-y2k -Wunsafe-loop-optimizations -fPIC -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -c ssh_user_auth.c -fPIC -DPIC -o .libs/pam_ssh_user_auth_la-ssh_user_auth.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wall -Wextra -Wbad-function-cast -Wcast-align -Wcast-qual -Wconversion -Wformat-nonliteral -Wformat-security -Winit-self -Wmissing-declarations -Wmissing-include-dirs -Wmissing-format-attribute -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-prototypes -Wwrite-strings -Wundef -Wunused -Wno-unused-parameter -Wno-format-zero-length -Wno-format-y2k -Wunsafe-loop-optimizations -fPIC -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -c gauth.c -o pam_2fa_la-gauth.o >/dev/null 2>&1 libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wall -Wextra -Wbad-function-cast -Wcast-align -Wcast-qual -Wconversion -Wformat-nonliteral -Wformat-security -Winit-self -Wmissing-declarations -Wmissing-include-dirs -Wmissing-format-attribute -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-prototypes -Wwrite-strings -Wundef -Wunused -Wno-unused-parameter -Wno-format-zero-length -Wno-format-y2k -Wunsafe-loop-optimizations -fPIC -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -c yk.c -o pam_2fa_la-yk.o >/dev/null 2>&1 libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wall -Wextra -Wbad-function-cast -Wcast-align -Wcast-qual -Wconversion -Wformat-nonliteral -Wformat-security -Winit-self -Wmissing-declarations -Wmissing-include-dirs -Wmissing-format-attribute -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-prototypes -Wwrite-strings -Wundef -Wunused -Wno-unused-parameter -Wno-format-zero-length -Wno-format-y2k -Wunsafe-loop-optimizations -fPIC -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -c ssh_user_auth.c -o pam_ssh_user_auth_la-ssh_user_auth.o >/dev/null 2>&1 /bin/sh ./libtool --tag=CC --mode=link gcc -Wall -Wextra -Wbad-function-cast -Wcast-align -Wcast-qual -Wconversion -Wformat-nonliteral -Wformat-security -Winit-self -Wmissing-declarations -Wmissing-include-dirs -Wmissing-format-attribute -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-prototypes -Wwrite-strings -Wundef -Wunused -Wno-unused-parameter -Wno-format-zero-length -Wno-format-y2k -Wunsafe-loop-optimizations -fPIC -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -module -avoid-version -Wl,-z,relro -o pam_ssh_user_auth.la -rpath /lib/security/ pam_ssh_user_auth_la-pam_ssh_user_auth.lo pam_ssh_user_auth_la-ssh_user_auth.lo -lpam -lpam /bin/sh ./libtool --tag=CC --mode=link gcc -Wall -Wextra -Wbad-function-cast -Wcast-align -Wcast-qual -Wconversion -Wformat-nonliteral -Wformat-security -Winit-self -Wmissing-declarations -Wmissing-include-dirs -Wmissing-format-attribute -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-prototypes -Wwrite-strings -Wundef -Wunused -Wno-unused-parameter -Wno-format-zero-length -Wno-format-y2k -Wunsafe-loop-optimizations -fPIC -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -module -avoid-version -Wl,-z,relro -o pam_2fa.la -rpath /lib/security/ pam_2fa_la-sms.lo pam_2fa_la-priv.lo pam_2fa_la-module_conf.lo pam_2fa_la-pam_2fa.lo pam_2fa_la-user_conf.lo pam_2fa_la-ssh_user_auth.lo pam_2fa_la-ldap.lo pam_2fa_la-gauth.lo pam_2fa_la-yk.lo -lpam -lldap -llber -lcurl -lykclient -lpam libtool: link: gcc -shared -fPIC -DPIC .libs/pam_ssh_user_auth_la-pam_ssh_user_auth.o .libs/pam_ssh_user_auth_la-ssh_user_auth.o -lpam -O2 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -Wl,-z -Wl,relro -Wl,-soname -Wl,pam_ssh_user_auth.so -o .libs/pam_ssh_user_auth.so libtool: link: ar cru .libs/pam_ssh_user_auth.a pam_ssh_user_auth_la-pam_ssh_user_auth.o pam_ssh_user_auth_la-ssh_user_auth.o libtool: link: ranlib .libs/pam_ssh_user_auth.a libtool: link: ( cd ".libs" && rm -f "pam_ssh_user_auth.la" && ln -s "../pam_ssh_user_auth.la" "pam_ssh_user_auth.la" ) libtool: link: gcc -shared -fPIC -DPIC .libs/pam_2fa_la-sms.o .libs/pam_2fa_la-priv.o .libs/pam_2fa_la-module_conf.o .libs/pam_2fa_la-pam_2fa.o .libs/pam_2fa_la-user_conf.o .libs/pam_2fa_la-ssh_user_auth.o .libs/pam_2fa_la-ldap.o .libs/pam_2fa_la-gauth.o .libs/pam_2fa_la-yk.o -lldap -llber -lcurl -lykclient -lpam -O2 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -Wl,-z -Wl,relro -Wl,-soname -Wl,pam_2fa.so -o .libs/pam_2fa.so libtool: link: ar cru .libs/pam_2fa.a pam_2fa_la-sms.o pam_2fa_la-priv.o pam_2fa_la-module_conf.o pam_2fa_la-pam_2fa.o pam_2fa_la-user_conf.o pam_2fa_la-ssh_user_auth.o pam_2fa_la-ldap.o pam_2fa_la-gauth.o pam_2fa_la-yk.o libtool: link: ranlib .libs/pam_2fa.a libtool: link: ( cd ".libs" && rm -f "pam_2fa.la" && ln -s "../pam_2fa.la" "pam_2fa.la" ) make[1]: Leaving directory `/builddir/build/BUILD/pam_2fa-1.0' + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.LBG6dl + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/pam_2fa-1.0-1.el7.i386 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/pam_2fa-1.0-1.el7.i386 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/pam_2fa-1.0-1.el7.i386 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/pam_2fa-1.0-1.el7.i386 + cd pam_2fa-1.0 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/pam_2fa-1.0-1.el7.i386 make[1]: Entering directory `/builddir/build/BUILD/pam_2fa-1.0' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/pam_2fa-1.0-1.el7.i386/lib/security/' /bin/sh ./libtool --mode=install /usr/bin/install -c pam_2fa.la pam_ssh_user_auth.la '/builddir/build/BUILDROOT/pam_2fa-1.0-1.el7.i386/lib/security/' libtool: install: /usr/bin/install -c .libs/pam_2fa.so /builddir/build/BUILDROOT/pam_2fa-1.0-1.el7.i386/lib/security/pam_2fa.so libtool: install: /usr/bin/install -c .libs/pam_2fa.lai /builddir/build/BUILDROOT/pam_2fa-1.0-1.el7.i386/lib/security/pam_2fa.la libtool: install: /usr/bin/install -c .libs/pam_ssh_user_auth.so /builddir/build/BUILDROOT/pam_2fa-1.0-1.el7.i386/lib/security/pam_ssh_user_auth.so libtool: install: /usr/bin/install -c .libs/pam_ssh_user_auth.lai /builddir/build/BUILDROOT/pam_2fa-1.0-1.el7.i386/lib/security/pam_ssh_user_auth.la libtool: install: /usr/bin/install -c .libs/pam_2fa.a /builddir/build/BUILDROOT/pam_2fa-1.0-1.el7.i386/lib/security/pam_2fa.a libtool: install: chmod 644 /builddir/build/BUILDROOT/pam_2fa-1.0-1.el7.i386/lib/security/pam_2fa.a libtool: install: ranlib /builddir/build/BUILDROOT/pam_2fa-1.0-1.el7.i386/lib/security/pam_2fa.a libtool: install: /usr/bin/install -c .libs/pam_ssh_user_auth.a /builddir/build/BUILDROOT/pam_2fa-1.0-1.el7.i386/lib/security/pam_ssh_user_auth.a libtool: install: chmod 644 /builddir/build/BUILDROOT/pam_2fa-1.0-1.el7.i386/lib/security/pam_ssh_user_auth.a libtool: install: ranlib /builddir/build/BUILDROOT/pam_2fa-1.0-1.el7.i386/lib/security/pam_ssh_user_auth.a BUILDSTDERR: libtool: install: warning: remember to run `libtool --finish /lib/security/' /usr/bin/make install-exec-hook make[2]: Entering directory `/builddir/build/BUILD/pam_2fa-1.0' find /builddir/build/BUILDROOT/pam_2fa-1.0-1.el7.i386/lib/security/ -type f -name \*.la -delete find /builddir/build/BUILDROOT/pam_2fa-1.0-1.el7.i386/lib/security/ -type f -name \*.a -delete make[2]: Leaving directory `/builddir/build/BUILD/pam_2fa-1.0' make[1]: Nothing to be done for `install-data-am'. make[1]: Leaving directory `/builddir/build/BUILD/pam_2fa-1.0' + /usr/lib/rpm/find-debuginfo.sh --strict-build-id -m --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 /builddir/build/BUILD/pam_2fa-1.0 extracting debug info from /builddir/build/BUILDROOT/pam_2fa-1.0-1.el7.i386/lib/security/pam_2fa.so extracting debug info from /builddir/build/BUILDROOT/pam_2fa-1.0-1.el7.i386/lib/security/pam_ssh_user_auth.so /usr/lib/rpm/sepdebugcrcfix: Updated 2 CRC32s, 0 CRC32s did match. BUILDSTDERR: 110 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_2fa-1.0-1.el7.i686 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.fOWLs7 + umask 022 + cd /builddir/build/BUILD + cd pam_2fa-1.0 + DOCDIR=/builddir/build/BUILDROOT/pam_2fa-1.0-1.el7.i386/usr/share/doc/pam_2fa-1.0 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/pam_2fa-1.0-1.el7.i386/usr/share/doc/pam_2fa-1.0 + cp -pr README.md /builddir/build/BUILDROOT/pam_2fa-1.0-1.el7.i386/usr/share/doc/pam_2fa-1.0 + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.FgGuJT + umask 022 + cd /builddir/build/BUILD + cd pam_2fa-1.0 + LICENSEDIR=/builddir/build/BUILDROOT/pam_2fa-1.0-1.el7.i386/usr/share/licenses/pam_2fa-1.0 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/pam_2fa-1.0-1.el7.i386/usr/share/licenses/pam_2fa-1.0 + cp -pr COPYING /builddir/build/BUILDROOT/pam_2fa-1.0-1.el7.i386/usr/share/licenses/pam_2fa-1.0 + exit 0 Provides: pam_2fa = 1.0-1.el7 pam_2fa(x86-32) = 1.0-1.el7 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6 libc.so.6(GLIBC_2.0) libc.so.6(GLIBC_2.1.3) libc.so.6(GLIBC_2.3) libc.so.6(GLIBC_2.3.4) libc.so.6(GLIBC_2.4) libc.so.6(GLIBC_2.8) libcurl.so.4 liblber-2.4.so.2 libldap-2.4.so.2 libpam.so.0 libpam.so.0(LIBPAM_1.0) libpam.so.0(LIBPAM_EXTENSION_1.0) libpam.so.0(LIBPAM_MODUTIL_1.0) libykclient.so.3 libykclient.so.3(Base) rtld(GNU_HASH) Processing files: pam_ssh_user_auth-1.0-1.el7.i686 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.8lwjaG + umask 022 + cd /builddir/build/BUILD + cd pam_2fa-1.0 + DOCDIR=/builddir/build/BUILDROOT/pam_2fa-1.0-1.el7.i386/usr/share/doc/pam_ssh_user_auth-1.0 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/pam_2fa-1.0-1.el7.i386/usr/share/doc/pam_ssh_user_auth-1.0 + cp -pr README.md /builddir/build/BUILDROOT/pam_2fa-1.0-1.el7.i386/usr/share/doc/pam_ssh_user_auth-1.0 + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.bRJ0Cs + umask 022 + cd /builddir/build/BUILD + cd pam_2fa-1.0 + LICENSEDIR=/builddir/build/BUILDROOT/pam_2fa-1.0-1.el7.i386/usr/share/licenses/pam_ssh_user_auth-1.0 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/pam_2fa-1.0-1.el7.i386/usr/share/licenses/pam_ssh_user_auth-1.0 + cp -pr COPYING /builddir/build/BUILDROOT/pam_2fa-1.0-1.el7.i386/usr/share/licenses/pam_ssh_user_auth-1.0 + exit 0 Provides: pam_ssh_user_auth = 1.0-1.el7 pam_ssh_user_auth(x86-32) = 1.0-1.el7 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6 libc.so.6(GLIBC_2.0) libc.so.6(GLIBC_2.1.3) libpam.so.0 libpam.so.0(LIBPAM_1.0) libpam.so.0(LIBPAM_EXTENSION_1.0) rtld(GNU_HASH) Processing files: pam_2fa-debuginfo-1.0-1.el7.i686 Provides: pam_2fa-debuginfo = 1.0-1.el7 pam_2fa-debuginfo(x86-32) = 1.0-1.el7 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_2fa-1.0-1.el7.i386 Wrote: /builddir/build/RPMS/pam_2fa-1.0-1.el7.i686.rpm Wrote: /builddir/build/RPMS/pam_ssh_user_auth-1.0-1.el7.i686.rpm Wrote: /builddir/build/RPMS/pam_2fa-debuginfo-1.0-1.el7.i686.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.pGGYuB + umask 022 + cd /builddir/build/BUILD + cd pam_2fa-1.0 + /usr/bin/rm -rf /builddir/build/BUILDROOT/pam_2fa-1.0-1.el7.i386 + exit 0 Child return code was: 0