D: [iurt_root_command] chroot warning: %patchN is deprecated (2 usages found), use %patch N (or %patch -P N) Installing /home/pterjan/rpmbuild/SRPMS/pam_mysql-0.7-0.rc1.13.mga10.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.Bvc292 + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf pam_mysql-0.7RC1 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/pam_mysql-0.7RC1.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd pam_mysql-0.7RC1 + rm -rf /home/pterjan/rpmbuild/BUILD/pam_mysql-0.7RC1-SPECPARTS + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/pam_mysql-0.7RC1-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (pam_mysql-0.7RC1-link.diff):' Patch #0 (pam_mysql-0.7RC1-link.diff): + /usr/bin/patch --no-backup-if-mismatch -f -p0 --fuzz=0 patching file Makefile.in + echo 'Patch #1 (pam_mysql-0.7RC1-scrambled.diff):' Patch #1 (pam_mysql-0.7RC1-scrambled.diff): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file pam_mysql.c + touch AUTHORS + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.isdOsA + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd pam_mysql-0.7RC1 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + autoreconf -vfi autoreconf: export WARNINGS= autoreconf: warning: autoconf input should be named 'configure.ac', not 'configure.in' 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. autoreconf: configure.in: not using Intltool autoreconf: configure.in: not using Gtkdoc autoreconf: running: aclocal --force aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in' autoreconf: running: /usr/bin/autoconf --force configure.in:6: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated. ./lib/autoconf/general.m4:2434: AC_DIAGNOSE is expanded from... aclocal.m4:9496: AM_INIT_AUTOMAKE is expanded from... configure.in:6: the top level configure.in:8: warning: 'AM_CONFIG_HEADER': this macro is obsolete. configure.in:8: You should use the 'AC_CONFIG_HEADERS' macro instead. aclocal.m4:9810: AM_CONFIG_HEADER is expanded from... configure.in:8: the top level configure.in:25: warning: The macro 'AC_PROG_LIBTOOL' is obsolete. configure.in:25: You should run autoupdate. aclocal.m4:122: AC_PROG_LIBTOOL is expanded from... configure.in:25: the top level configure.in:27: warning: The macro 'AC_HEADER_STDC' is obsolete. configure.in:27: You should run autoupdate. ./lib/autoconf/headers.m4:663: AC_HEADER_STDC is expanded from... configure.in:27: the top level configure.in:40: warning: The macro 'AC_FOREACH' is obsolete. configure.in:40: You should run autoupdate. ./lib/autoconf/general.m4:191: AC_FOREACH is expanded from... acinclude.m4:452: PAM_MYSQL_CHECK_DEFINES is expanded from... configure.in:40: the top level configure.in:40: warning: The macro 'AC_TRY_COMPILE' is obsolete. configure.in:40: You should run autoupdate. ./lib/autoconf/general.m4:2845: AC_TRY_COMPILE is expanded from... acinclude.m4:452: PAM_MYSQL_CHECK_DEFINES is expanded from... configure.in:40: the top level configure.in:45: warning: The macro 'AC_TRY_COMPILE' is obsolete. configure.in:45: You should run autoupdate. ./lib/autoconf/general.m4:2845: AC_TRY_COMPILE is expanded from... lib/m4sugar/m4sh.m4:690: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:697: AS_IF is expanded from... ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from... ./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from... acinclude.m4:3: PAM_MYSQL_CHECK_CONST is expanded from... acinclude.m4:471: PAM_MYSQL_CHECK_IPV6 is expanded from... configure.in:45: the top level configure.in:46: warning: The macro 'AC_TRY_COMPILE' is obsolete. configure.in:46: You should run autoupdate. ./lib/autoconf/general.m4:2845: AC_TRY_COMPILE is expanded from... lib/m4sugar/m4sh.m4:697: AS_IF is expanded from... ./lib/autoconf/functions.m4:66: AC_CHECK_FUNC is expanded from... lib/m4sugar/m4sh.m4:652: AS_FOR is expanded from... ./lib/autoconf/functions.m4:117: AC_CHECK_FUNCS is expanded from... acinclude.m4:489: PAM_MYSQL_CHECK_GETHOSTBYNAME_R is expanded from... configure.in:46: the top level configure.in:46: warning: The macro 'AC_TRY_COMPILE' is obsolete. configure.in:46: You should run autoupdate. ./lib/autoconf/general.m4:2845: AC_TRY_COMPILE is expanded from... lib/m4sugar/m4sh.m4:690: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:697: AS_IF is expanded from... ./lib/autoconf/general.m4:2821: _AC_COMPILE_IFELSE is expanded from... ./lib/autoconf/general.m4:2837: AC_COMPILE_IFELSE is expanded from... ./lib/autoconf/general.m4:2845: AC_TRY_COMPILE is expanded from... lib/m4sugar/m4sh.m4:697: AS_IF is expanded from... ./lib/autoconf/functions.m4:66: AC_CHECK_FUNC is expanded from... lib/m4sugar/m4sh.m4:652: AS_FOR is expanded from... ./lib/autoconf/functions.m4:117: AC_CHECK_FUNCS is expanded from... acinclude.m4:489: PAM_MYSQL_CHECK_GETHOSTBYNAME_R is expanded from... configure.in:46: the top level configure.in:82: warning: The macro 'AC_TRY_RUN' is obsolete. configure.in:82: You should run autoupdate. ./lib/autoconf/general.m4:2995: AC_TRY_RUN is expanded from... acinclude.m4:365: PAM_MYSQL_CHECK_CYRUS_SASL_V2 is expanded from... lib/m4sugar/m4sh.m4:697: AS_IF is expanded from... ./lib/autoconf/general.m4:1553: AC_ARG_WITH is expanded from... configure.in:82: the top level configure.in:100: warning: The macro 'AC_TRY_RUN' is obsolete. configure.in:100: You should run autoupdate. ./lib/autoconf/general.m4:2995: AC_TRY_RUN is expanded from... acinclude.m4:316: PAM_MYSQL_CHECK_CYRUS_SASL_V1 is expanded from... lib/m4sugar/m4sh.m4:697: AS_IF is expanded from... ./lib/autoconf/general.m4:1553: AC_ARG_WITH is expanded from... configure.in:100: the top level configure.in:120: warning: The macro 'AC_TRY_COMPILE' is obsolete. configure.in:120: You should run autoupdate. ./lib/autoconf/general.m4:2845: AC_TRY_COMPILE is expanded from... lib/m4sugar/m4sh.m4:697: AS_IF is expanded from... ./lib/autoconf/headers.m4:89: _AC_CHECK_HEADER_COMPILE is expanded from... ./lib/autoconf/headers.m4:56: AC_CHECK_HEADER is expanded from... lib/m4sugar/m4sh.m4:652: AS_FOR is expanded from... ./lib/autoconf/headers.m4:217: AC_CHECK_HEADERS is expanded from... acinclude.m4:126: PAM_MYSQL_CHECK_PAM is expanded from... lib/m4sugar/m4sh.m4:697: AS_IF is expanded from... ./lib/autoconf/general.m4:1553: AC_ARG_WITH is expanded from... configure.in:120: the top level configure.in:120: warning: The macro 'AC_TRY_COMPILE' is obsolete. configure.in:120: You should run autoupdate. ./lib/autoconf/general.m4:2845: AC_TRY_COMPILE is expanded from... lib/m4sugar/m4sh.m4:690: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:697: AS_IF is expanded from... ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from... ./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from... acinclude.m4:3: PAM_MYSQL_CHECK_CONST is expanded from... acinclude.m4:87: PAM_MYSQL_CHECK_PAM_CONSTS is expanded from... acinclude.m4:126: PAM_MYSQL_CHECK_PAM is expanded from... lib/m4sugar/m4sh.m4:697: AS_IF is expanded from... ./lib/autoconf/general.m4:1553: AC_ARG_WITH is expanded from... configure.in:120: the top level configure.in:120: warning: The macro 'AC_TRY_COMPILE' is obsolete. configure.in:120: You should run autoupdate. ./lib/autoconf/general.m4:2845: AC_TRY_COMPILE is expanded from... lib/m4sugar/m4sh.m4:690: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:697: AS_IF is expanded from... ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from... ./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from... acinclude.m4:3: PAM_MYSQL_CHECK_CONST is expanded from... acinclude.m4:3: PAM_MYSQL_CHECK_CONST is expanded from... acinclude.m4:87: PAM_MYSQL_CHECK_PAM_CONSTS is expanded from... acinclude.m4:126: PAM_MYSQL_CHECK_PAM is expanded from... lib/m4sugar/m4sh.m4:697: AS_IF is expanded from... ./lib/autoconf/general.m4:1553: AC_ARG_WITH is expanded from... configure.in:120: the top level configure.in:120: warning: The macro 'AC_TRY_COMPILE' is obsolete. configure.in:120: You should run autoupdate. ./lib/autoconf/general.m4:2845: AC_TRY_COMPILE is expanded from... acinclude.m4:20: PAM_MYSQL_CHECK_PAM_PROTOS is expanded from... acinclude.m4:126: PAM_MYSQL_CHECK_PAM is expanded from... lib/m4sugar/m4sh.m4:697: AS_IF is expanded from... ./lib/autoconf/general.m4:1553: AC_ARG_WITH is expanded from... configure.in:120: the top level configure.in:120: warning: The macro 'AC_TRY_COMPILE' is obsolete. configure.in:120: You should run autoupdate. ./lib/autoconf/general.m4:2845: AC_TRY_COMPILE is expanded from... lib/m4sugar/m4sh.m4:697: AS_IF is expanded from... ./lib/autoconf/headers.m4:89: _AC_CHECK_HEADER_COMPILE is expanded from... ./lib/autoconf/headers.m4:56: AC_CHECK_HEADER is expanded from... lib/m4sugar/m4sh.m4:652: AS_FOR is expanded from... ./lib/autoconf/headers.m4:217: AC_CHECK_HEADERS is expanded from... acinclude.m4:126: PAM_MYSQL_CHECK_PAM is expanded from... lib/m4sugar/m4sh.m4:690: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:697: AS_IF is expanded from... ./lib/autoconf/general.m4:1553: AC_ARG_WITH is expanded from... configure.in:120: the top level configure.in:120: warning: The macro 'AC_TRY_COMPILE' is obsolete. configure.in:120: You should run autoupdate. ./lib/autoconf/general.m4:2845: AC_TRY_COMPILE is expanded from... lib/m4sugar/m4sh.m4:690: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:697: AS_IF is expanded from... ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from... ./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from... acinclude.m4:3: PAM_MYSQL_CHECK_CONST is expanded from... acinclude.m4:87: PAM_MYSQL_CHECK_PAM_CONSTS is expanded from... acinclude.m4:126: PAM_MYSQL_CHECK_PAM is expanded from... lib/m4sugar/m4sh.m4:690: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:697: AS_IF is expanded from... ./lib/autoconf/general.m4:1553: AC_ARG_WITH is expanded from... configure.in:120: the top level configure.in:120: warning: The macro 'AC_TRY_COMPILE' is obsolete. configure.in:120: You should run autoupdate. ./lib/autoconf/general.m4:2845: AC_TRY_COMPILE is expanded from... lib/m4sugar/m4sh.m4:690: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:697: AS_IF is expanded from... ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from... ./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from... acinclude.m4:3: PAM_MYSQL_CHECK_CONST is expanded from... acinclude.m4:3: PAM_MYSQL_CHECK_CONST is expanded from... acinclude.m4:87: PAM_MYSQL_CHECK_PAM_CONSTS is expanded from... acinclude.m4:126: PAM_MYSQL_CHECK_PAM is expanded from... lib/m4sugar/m4sh.m4:690: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:697: AS_IF is expanded from... ./lib/autoconf/general.m4:1553: AC_ARG_WITH is expanded from... configure.in:120: the top level configure.in:120: warning: The macro 'AC_TRY_COMPILE' is obsolete. configure.in:120: You should run autoupdate. ./lib/autoconf/general.m4:2845: AC_TRY_COMPILE is expanded from... acinclude.m4:20: PAM_MYSQL_CHECK_PAM_PROTOS is expanded from... acinclude.m4:126: PAM_MYSQL_CHECK_PAM is expanded from... lib/m4sugar/m4sh.m4:690: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:697: AS_IF is expanded from... ./lib/autoconf/general.m4:1553: AC_ARG_WITH is expanded from... configure.in:120: the top level configure.in:142: warning: The macro 'AC_TRY_COMPILE' is obsolete. configure.in:142: You should run autoupdate. ./lib/autoconf/general.m4:2845: AC_TRY_COMPILE is expanded from... acinclude.m4:414: PAM_MYSQL_CHECK_MD5_HEADERS is expanded from... configure.in:142: the top level configure.in:148: warning: AC_OUTPUT should be used without arguments. configure.in:148: You should run autoupdate. autoreconf: running: /usr/bin/autoheader --force autoheader: warning: autoconf input should be named 'configure.ac', not 'configure.in' 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 '.' + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + CONFIGURE_TOP=. + '[' 1 = 1 ']' ++ find . -name config.guess -o -name config.sub + for i in $(find ${CONFIGURE_TOP} -name config.guess -o -name config.sub) ++ basename ./config.guess + '[' -f /usr/lib/rpm/mageia/config.guess ']' ++ basename ./config.guess + cp -af /usr/lib/rpm/mageia/config.guess ./config.guess + for i in $(find ${CONFIGURE_TOP} -name config.guess -o -name config.sub) ++ basename ./config.sub + '[' -f /usr/lib/rpm/mageia/config.sub ']' ++ basename ./config.sub + cp -af /usr/lib/rpm/mageia/config.sub ./config.sub + /usr/lib/rpm/mageia/force-as-needed-for-shared-lib-in-libtool Forcing -Wl,--as-needed in configure/libtool to workaround libtool bug (cf http://lists.gnu.org/archive/html/libtool-patches/2004-06/msg00002.html) + /usr/lib/rpm/mageia/drop-ld-no-undefined-for-shared-lib-modules-in-libtool Modifying ltmain.sh underlinking for plugins (cf http://wiki.mandriva.com/en/Underlinking) + /usr/lib/rpm/mageia/fix-libtool-ltmain-from-overlinking Fixing libtool's ltmain.sh to prevent overlinking (cf http://wiki.mandriva.com/en/Overlinking) + /usr/lib/rpm/mageia/fix-libtool-from-moving-options-after-libs . + /usr/lib/rpm/mageia/fix-dlsearch-path-in-libtool-for-multilib . lib64 + ./configure --host=x86_64-mageia-linux-gnu --build=x86_64-mageia-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 --disable-static --enable-share configure: WARNING: unrecognized options: --enable-share checking for a BSD-compatible install... /usr/bin/install -c checking whether sleep supports fractional seconds... true checking filesystem timestamp resolution... 0.01 checking whether build environment is sane... yes checking for a race-free mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking xargs -n works... yes checking whether to enable maintainer-specific portions of Makefiles... no checking for bison... no checking for byacc... no 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 the compiler supports GNU C++... yes checking whether g++ accepts -g... yes checking for g++ option to enable C++11 features... none needed checking whether make supports the include directive... yes (GNU style) checking dependency style of g++... none checking for x86_64-mageia-linux-gnu-gcc... gcc checking whether the compiler supports GNU C... yes checking whether gcc accepts -g... yes checking for gcc option to enable C11 features... 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... x86_64-mageia-linux-gnu checking host system type... x86_64-mageia-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 x86_64-mageia-linux-gnu file names to x86_64-mageia-linux-gnu format... func_convert_file_noop checking how to convert x86_64-mageia-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-mageia-linux-gnu-file... no checking for file... file checking for x86_64-mageia-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for x86_64-mageia-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for x86_64-mageia-linux-gnu-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for x86_64-mageia-linux-gnu-strip... no checking for strip... strip checking for x86_64-mageia-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 x86_64-mageia-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.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 egrep... (cached) /usr/bin/grep -E checking for arpa/inet.h... yes checking for netinet/in.h... yes checking for netdb.h... yes checking for string.h... (cached) yes checking for strings.h... (cached) yes checking for sys/socket.h... yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for sys/param.h... yes checking for fcntl.h... yes checking for syslog.h... yes checking for unistd.h... (cached) yes checking for stdarg.h... yes checking for errno.h... yes checking for crypt.h... yes checking for _Bool... yes checking for stdbool.h that conforms to C99 or later... 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 pid_t... yes checking for working alloca.h... yes checking for alloca... 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 x86_64-mageia-linux-gnu-pkg-config... /usr/bin/x86_64-mageia-linux-gnu-pkg-config checking pkg-config is at least version 0.9.0... 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 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 configure: WARNING: unrecognized options: --enable-share + /usr/bin/make -O -j16 V=1 VERBOSE=1 /usr/bin/make all-am make[1]: Entering directory '/home/pterjan/rpmbuild/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 -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I/usr/include/mysql -I/usr/include/mysql/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 -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I/usr/include/mysql -I/usr/include/mysql/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:33: error: passing argument 3 of 'pam_get_data' from incompatible pointer type [-Wincompatible-pointer-types] 2074 | (PAM_GET_DATA_CONST void**)pretval)) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | void ** In file included from pam_mysql.c:156: /usr/include/security/pam_modules.h:28:27: note: expected 'const void **' but argument is of type 'void **' 28 | const void **data); | ~~~~~~~~~~~~~^~~~ pam_mysql.c: In function 'pam_mysql_converse': pam_mysql.c:3153:25: error: passing argument 3 of 'pam_get_item' from incompatible pointer type [-Wincompatible-pointer-types] 3153 | (PAM_GET_ITEM_CONST void **)&conv))) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | void ** In file included from /usr/include/security/pam_appl.h:18, from pam_mysql.c:155: /usr/include/security/_pam_types.h:175:68: note: expected 'const void **' but argument is of type 'void **' 175 | pam_get_item(const pam_handle_t *pamh, int item_type, const void **item); | ~~~~~~~~~~~~~^~~~ pam_mysql.c:3196:25: error: passing argument 2 of 'conv->conv' from incompatible pointer type [-Wincompatible-pointer-types] 3196 | (PAM_CONV_CONST struct pam_message **)msgs, &resps, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | struct pam_message ** pam_mysql.c:3196:25: 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:42: error: passing argument 2 of 'pam_get_user' from incompatible pointer type [-Wincompatible-pointer-types] 3331 | if ((retval = pam_get_user(pamh, (PAM_GET_USER_CONST char **)&user, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char ** /usr/include/security/pam_modules.h:31:47: note: expected 'const char **' but argument is of type 'char **' 31 | pam_get_user(pam_handle_t *pamh, const char **user, const char *prompt); | ~~~~~~~~~~~~~^~~~ pam_mysql.c:3343:25: error: passing argument 3 of 'pam_get_item' from incompatible pointer type [-Wincompatible-pointer-types] 3343 | (PAM_GET_ITEM_CONST void **)&rhost)) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | void ** /usr/include/security/_pam_types.h:175:68: note: expected 'const void **' but argument is of type 'void **' 175 | pam_get_item(const pam_handle_t *pamh, int item_type, const void **item); | ~~~~~~~~~~~~~^~~~ pam_mysql.c:3353:33: error: passing argument 3 of 'pam_get_item' from incompatible pointer type [-Wincompatible-pointer-types] 3353 | (PAM_GET_ITEM_CONST void **)&passwd); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | void ** /usr/include/security/_pam_types.h:175:68: note: expected 'const void **' but argument is of type 'void **' 175 | 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:3576:42: error: passing argument 2 of 'pam_get_user' from incompatible pointer type [-Wincompatible-pointer-types] 3576 | if ((retval = pam_get_user(pamh, (PAM_GET_USER_CONST char **)&user, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char ** /usr/include/security/pam_modules.h:31:47: note: expected 'const char **' but argument is of type 'char **' 31 | pam_get_user(pam_handle_t *pamh, const char **user, const char *prompt); | ~~~~~~~~~~~~~^~~~ pam_mysql.c:3588:25: error: passing argument 3 of 'pam_get_item' from incompatible pointer type [-Wincompatible-pointer-types] 3588 | (PAM_GET_ITEM_CONST void **)&rhost)) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | void ** /usr/include/security/_pam_types.h:175:68: note: expected 'const void **' but argument is of type 'void **' 175 | 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:3737:42: error: passing argument 2 of 'pam_get_user' from incompatible pointer type [-Wincompatible-pointer-types] 3737 | if ((retval = pam_get_user(pamh, (PAM_GET_USER_CONST char **)&user, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char ** /usr/include/security/pam_modules.h:31:47: note: expected 'const char **' but argument is of type 'char **' 31 | pam_get_user(pam_handle_t *pamh, const char **user, const char *prompt); | ~~~~~~~~~~~~~^~~~ pam_mysql.c:3749:25: error: passing argument 3 of 'pam_get_item' from incompatible pointer type [-Wincompatible-pointer-types] 3749 | (PAM_GET_ITEM_CONST void **)&rhost)) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | void ** /usr/include/security/_pam_types.h:175:68: note: expected 'const void **' but argument is of type 'void **' 175 | pam_get_item(const pam_handle_t *pamh, int item_type, const void **item); | ~~~~~~~~~~~~~^~~~ pam_mysql.c:3849:41: error: passing argument 3 of 'pam_get_item' from incompatible pointer type [-Wincompatible-pointer-types] 3849 | (PAM_GET_ITEM_CONST void **)&old_passwd); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | void ** /usr/include/security/_pam_types.h:175:68: note: expected 'const void **' but argument is of type 'void **' 175 | pam_get_item(const pam_handle_t *pamh, int item_type, const void **item); | ~~~~~~~~~~~~~^~~~ pam_mysql.c:3949:25: error: passing argument 3 of 'pam_get_item' from incompatible pointer type [-Wincompatible-pointer-types] 3949 | (PAM_GET_ITEM_CONST void **)&new_passwd); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | void ** /usr/include/security/_pam_types.h:175:68: note: expected 'const void **' but argument is of type 'void **' 175 | 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:4110:42: error: passing argument 2 of 'pam_get_user' from incompatible pointer type [-Wincompatible-pointer-types] 4110 | if ((retval = pam_get_user(pamh, (PAM_GET_USER_CONST char **)&user, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char ** /usr/include/security/pam_modules.h:31:47: note: expected 'const char **' but argument is of type 'char **' 31 | pam_get_user(pam_handle_t *pamh, const char **user, const char *prompt); | ~~~~~~~~~~~~~^~~~ pam_mysql.c:4122:25: error: passing argument 3 of 'pam_get_item' from incompatible pointer type [-Wincompatible-pointer-types] 4122 | (PAM_GET_ITEM_CONST void **)&rhost)) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | void ** /usr/include/security/_pam_types.h:175:68: note: expected 'const void **' but argument is of type 'void **' 175 | 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:4213:42: error: passing argument 2 of 'pam_get_user' from incompatible pointer type [-Wincompatible-pointer-types] 4213 | if ((retval = pam_get_user(pamh, (PAM_GET_USER_CONST char **)&user, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char ** /usr/include/security/pam_modules.h:31:47: note: expected 'const char **' but argument is of type 'char **' 31 | pam_get_user(pam_handle_t *pamh, const char **user, const char *prompt); | ~~~~~~~~~~~~~^~~~ pam_mysql.c:4225:25: error: passing argument 3 of 'pam_get_item' from incompatible pointer type [-Wincompatible-pointer-types] 4225 | (PAM_GET_ITEM_CONST void **)&rhost)) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | void ** /usr/include/security/_pam_types.h:175:68: note: expected 'const void **' but argument is of type 'void **' 175 | pam_get_item(const pam_handle_t *pamh, int item_type, const void **item); | ~~~~~~~~~~~~~^~~~ make[1]: *** [Makefile:497: pam_mysql.lo] Error 1 make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/pam_mysql-0.7RC1' make: *** [Makefile:373: all] Error 2 error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.isdOsA (%build) RPM build warnings: %patchN is deprecated (2 usages found), use %patch N (or %patch -P N) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.isdOsA (%build) I: [iurt_root_command] ERROR: chroot