Mock Version: 2.9 Mock Version: 2.9 Mock Version: 2.9 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/cyrus-sasl.spec'], chrootPath='/var/lib/mock/roe1-build-3652-1071/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=995gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/cyrus-sasl.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 Wrote: /builddir/build/SRPMS/cyrus-sasl-2.1.27-10.oe1.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/cyrus-sasl.spec'], chrootPath='/var/lib/mock/roe1-build-3652-1071/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=995gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/cyrus-sasl.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.Vpw2e6 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf cyrus-sasl-2.1.27 + /usr/bin/gzip -dc /builddir/build/SOURCES/cyrus-sasl-2.1.27.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd cyrus-sasl-2.1.27 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /builddir/build/SOURCES/0003-Prevent-double-free-of-RC4-context.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/fix-CVE-2019-19906.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.ydvOl7 + umask 022 + cd /builddir/build/BUILD + cd cyrus-sasl-2.1.27 + rm configure aclocal.m4 config/ltmain.sh Makefile.in + export NOCONFIGURE=yes + NOCONFIGURE=yes + aclocal --install + autoreconf --verbose --force --install -Wno-portability autoreconf: Entering directory `.' autoreconf: configure.ac: not using Gettext autoreconf: running: aclocal --force --warnings=no-portability -I m4 autoreconf: configure.ac: tracing autoreconf: running: libtoolize --copy --force libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'config'. libtoolize: copying file 'config/ltmain.sh' libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'. libtoolize: copying file 'm4/libtool.m4' libtoolize: copying file 'm4/ltoptions.m4' libtoolize: copying file 'm4/ltsugar.m4' libtoolize: copying file 'm4/ltversion.m4' libtoolize: copying file 'm4/lt~obsolete.m4' autoreconf: running: /usr/bin/autoconf --force --warnings=no-portability autoreconf: running: /usr/bin/autoheader --force --warnings=no-portability autoreconf: running: automake --add-missing --copy --force-missing --warnings=no-portability configure.ac:98: installing 'config/compile' configure.ac:70: installing 'config/missing' common/Makefile.am: installing 'config/depcomp' autoreconf: Leaving directory `.' ++ krb5-config --prefix + krb5_prefix=/usr + test x/usr = x/usr + krb5_prefix= + LIBS=-lcrypt + export LIBS + pkg-config openssl ++ pkg-config --cflags-only-I openssl + CPPFLAGS=' ' + export CPPFLAGS ++ pkg-config --libs-only-L openssl + LDFLAGS=' ' + export LDFLAGS ++ mysql_config --include + INC_DIR='-I/usr/include/mysql -I/usr/include/mysql/mysql' + test 'x-I/usr/include/mysql -I/usr/include/mysql/mysql' '!=' x-I/usr/include + CPPFLAGS='-I/usr/include/mysql -I/usr/include/mysql/mysql ' + export CPPFLAGS ++ mysql_config --libs ++ sed -e 's,-[^L][^ ]*,,g' -e 's,^ *,,' -e 's, *$,,' -e 's, *, ,g' + LIB_DIR=-L/usr/lib64/ + test x-L/usr/lib64/ '!=' x-L/usr/lib64 + LDFLAGS='-L/usr/lib64/ ' + export LDFLAGS ++ pg_config --includedir + INC_DIR=-I/usr/include + test x-I/usr/include '!=' x-I/usr/include ++ pg_config --libdir + LIB_DIR=-L/usr/lib64 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/mysql -I/usr/include/mysql/mysql -fPIC -pie -Wl,-z,relro -Wl,-z,now -I/usr/include/mysql -I/usr/include/mysql/mysql -L/usr/lib64/ + test x-L/usr/lib64 '!=' x-L/usr/lib64 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/mysql -I/usr/include/mysql/mysql -fPIC -pie -Wl,-z,relro -Wl,-z,now' + export CFLAGS + echo '-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/mysql -I/usr/include/mysql/mysql -fPIC -pie -Wl,-z,relro -Wl,-z,now' + echo '-I/usr/include/mysql -I/usr/include/mysql/mysql ' + echo '-L/usr/lib64/ ' + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/mysql -I/usr/include/mysql/mysql -fPIC -pie -Wl,-z,relro -Wl,-z,now' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fexceptions' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fexceptions -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fexceptions -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-L/usr/lib64/ ' + export LDFLAGS + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config/config.sub + '[' -f /usr/lib/rpm/openEuler/config.sub ']' + /usr/bin/rm -f ./config/config.sub ++ basename ./config/config.sub + /usr/bin/cp -fv /usr/lib/rpm/openEuler/config.sub ./config/config.sub '/usr/lib/rpm/openEuler/config.sub' -> './config/config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config/config.guess + '[' -f /usr/lib/rpm/openEuler/config.guess ']' + /usr/bin/rm -f ./config/config.guess ++ basename ./config/config.guess + /usr/bin/cp -fv /usr/lib/rpm/openEuler/config.guess ./config/config.guess '/usr/lib/rpm/openEuler/config.guess' -> './config/config.guess' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/generic-hardened-ld' ']' ++ find . -name ltmain.sh + for i in $(find . -name ltmain.sh) + /usr/bin/sed -i.backup -e 's~compiler_flags=$~compiler_flags="-Wl,-z,now -specs=/usr/lib/rpm/generic-hardened-ld"~' ./config/ltmain.sh + ./configure --build=riscv64-koji-linux-gnu --host=riscv64-koji-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 --enable-shared --disable-static --disable-java --with-plugindir=/usr/lib64/sasl2 --with-configdir=/usr/lib64/sasl2:/etc/sasl2 --disable-krb4 --enable-gssapi --with-gss_impl=mit --with-rc4 --with-dblib=berkeley --with-bdb=db --with-saslauthd=/run/saslauthd --without-pwcheck --with-ldap --with-devrandom=/dev/urandom --enable-anon --enable-cram --enable-digest --enable-ntlm --enable-plain --enable-login --enable-alwaystrue --enable-httpform --disable-otp --enable-ldapdb --enable-sql --with-mysql=yes --with-pgsql=yes --without-sqlite configure: WARNING: unrecognized options: --with-bdb configure: creating cache ./config.cache checking build system type... riscv64-koji-linux-gnu checking host system type... riscv64-koji-linux-gnu checking target system type... riscv64-koji-linux-gnu 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 UID '995' is supported by ustar format... yes checking whether GID '135' is supported by ustar format... yes checking how to create a ustar tar archive... gnutar checking for riscv64-koji-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 whether gcc understands -c and -o together... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of gcc... none checking how to run the C preprocessor... gcc -E checking for gcc... gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... (cached) none needed checking whether gcc understands -c and -o together... (cached) yes checking dependency style of gcc... (cached) none checking how to run the C preprocessor... gcc -E checking how to run the C preprocessor... gcc -E checking for gawk... (cached) gawk checking whether ln -s works... yes checking whether make sets $(MAKE)... (cached) yes 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 runpath switch... -Wl,-rpath, 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 the maximum length of command line arguments... 1572864 checking how to convert riscv64-koji-linux-gnu file names to riscv64-koji-linux-gnu format... func_convert_file_noop checking how to convert riscv64-koji-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for riscv64-koji-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for riscv64-koji-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for riscv64-koji-linux-gnu-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for riscv64-koji-linux-gnu-strip... no checking for strip... strip checking for riscv64-koji-linux-gnu-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for a working dd... /usr/bin/dd checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 checking for riscv64-koji-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... yes checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking ws2tcpip.h usability... no checking ws2tcpip.h presence... no checking for ws2tcpip.h... no checking for socket... yes checking for connect... yes checking for res_search... no checking for dn_expand... no checking for dns_lookup... no checking DB path to use... /etc/sasldb2 checking db.h usability... yes checking db.h presence... yes checking for db.h... yes checking DB library to use... berkeley checking if DB handle is kept open in SASLDB... no checking for dlopen in -ldl... yes checking PRNG to use... /dev/urandom checking for nm... /usr/bin/nm -B checking for underscore before symbols... no checking for syslog... yes checking if I should include saslauthd... /run/saslauthd checking to include Courier authdaemond support... /dev/null checking if I should include pwcheck... no checking if I should include the alwaystrue verifier... yes checking if we should enable sasl_checkapop... enabled checking CRAM-MD5... enabled checking size of long... 8 checking what directory libraries are found in... lib64 checking for RSAPublicEncrypt in -lrsaref... no checking openssl/evp.h usability... yes checking openssl/evp.h presence... yes checking for openssl/evp.h... yes checking for EVP_DigestInit in -lcrypto... yes checking for SHA256 in -lcrypto... yes checking for OpenSSL... yes checking for des_cbc_encrypt in -lcrypto... no checking for DES_cbc_encrypt in -lcrypto... yes checking openssl/des.h usability... yes checking openssl/des.h presence... yes checking for openssl/des.h... yes checking DIGEST-MD5... enabled checking SCRAM... enabled checking OTP... disabled checking SRP... disabled checking KERBEROS_V4... disabled checking for crypt... yes checking gssapi.h usability... yes checking gssapi.h presence... yes checking for gssapi.h... yes checking gssapi/gssapi_ext.h usability... yes checking gssapi/gssapi_ext.h presence... yes checking for gssapi/gssapi_ext.h... yes checking for res_search in -lresolv... no checking for gss_unwrap in -lgssapi_krb5... yes checking GSSAPI... with implementation mit checking for res_search in -lresolv... (cached) no checking for gsskrb5_register_acceptor_identity... no checking gssapi/gssapi_krb5.h usability... yes checking gssapi/gssapi_krb5.h presence... yes checking for gssapi/gssapi_krb5.h... yes checking whether gsskrb5_register_acceptor_identity is declared... yes checking for gss_decapsulate_token... yes checking for gss_encapsulate_token... yes checking for gss_oid_equal... yes checking for gss_get_name_attribute... yes checking for gss_inquire_sec_context_by_oid... yes checking for SPNEGO support in GSSAPI libraries... yes checking to use mutexes aroung GSS calls... yes checking for crypt... (cached) yes checking for pam_start in -lpam... yes checking security/pam_appl.h usability... yes checking security/pam_appl.h presence... yes checking for security/pam_appl.h... yes checking for PAM support... yes checking PLAIN... enabled checking ANONYMOUS... enabled checking LOGIN... enabled checking NTLM... enabled checking PASSDSS... disabled checking to include LDAP support... yes checking for ldap_initialize in -lldap... yes checking SQL... enabled checking for mysql_select_db in -lmysqlclient... yes checking for PQsetdbLogin in -lpq... yes configure: WARNING: SQLite3 Library not found checking LDAPDB... enabled checking ldap.h usability... yes checking ldap.h presence... yes checking for ldap.h... yes checking lber.h usability... yes checking lber.h presence... yes checking for lber.h... yes checking OpenLDAP api... yes checking for ldap_initialize in -lldap... (cached) yes checking OpenLDAP version... yes checking for dmalloc library... no checking for sfio library... no checking for getsubopt... yes checking for snprintf... yes checking for vsnprintf... yes checking for inet_aton in -lresolv... yes checking for getaddrinfo... yes checking for gai_strerror... yes checking for getnameinfo... yes checking for an ANSI C-conforming const... yes checking for inline... inline checking for mode_t... yes checking for pid_t... yes checking return type of signal handlers... void checking whether time.h and sys/time.h may both be included... yes checking for ANSI C header files... (cached) yes checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking for sys/wait.h that is POSIX.1 compatible... yes checking crypt.h usability... yes checking crypt.h presence... yes checking for crypt.h... yes checking des.h usability... no checking des.h presence... no checking for des.h... no checking for dlfcn.h... (cached) yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking malloc.h usability... yes checking malloc.h presence... yes checking for malloc.h... yes checking paths.h usability... yes checking paths.h presence... yes checking for paths.h... yes checking for strings.h... (cached) yes checking sys/file.h usability... yes checking sys/file.h presence... yes checking for sys/file.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking syslog.h usability... yes checking syslog.h presence... yes checking for syslog.h... yes checking for unistd.h... (cached) yes checking for inttypes.h... (cached) yes checking sys/uio.h usability... yes checking sys/uio.h presence... yes checking for sys/uio.h... yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking sysexits.h usability... yes checking sysexits.h presence... yes checking for sysexits.h... yes checking stdarg.h usability... yes checking stdarg.h presence... yes checking for stdarg.h... yes checking varargs.h usability... no checking varargs.h presence... no checking for varargs.h... no checking krb5.h usability... yes checking krb5.h presence... yes checking for krb5.h... yes checking whether you have ss_family in struct sockaddr_storage... yes checking whether you have sa_len in struct sockaddr... no checking for socklen_t... yes checking for gethostname... yes checking for getdomainname... yes checking for getpwnam... yes checking for getspnam... yes checking for gettimeofday... yes checking for inet_aton... yes checking for memcpy... yes checking for mkdir... yes checking for select... yes checking for socket... (cached) yes checking for strchr... yes checking for strdup... yes checking for strerror... yes checking for strspn... yes checking for strstr... yes checking for strtol... yes checking for jrand48... yes checking for getpassphrase... no checking for asprintf... yes checking for strlcat... no checking for strlcpy... no checking if getpwnam_r/getspnam_r take 5 arguments... yes checking for sphinx-build... no configure: WARNING: No sphinx-build, won't be able to regenerate docs checking for perl... perl checking for perl module Pod::POM::View::Restructured... no configure: WARNING: No Pod::POM::View::Restructured, won't be able to regenerate docs configure: updating cache ./config.cache checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating libsasl2.pc config.status: creating include/Makefile config.status: creating saslauthd/Makefile config.status: creating sasldb/Makefile config.status: creating common/Makefile config.status: creating plugins/Makefile config.status: creating lib/Makefile config.status: creating utils/Makefile config.status: creating sample/Makefile config.status: creating java/Makefile config.status: creating java/CyrusSasl/Makefile config.status: creating java/Test/Makefile config.status: creating java/javax/Makefile config.status: creating java/javax/security/Makefile config.status: creating java/javax/security/auth/Makefile config.status: creating java/javax/security/auth/callback/Makefile config.status: creating pwcheck/Makefile config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands configure: WARNING: unrecognized options: --with-bdb configure: cyrus-sasl - 2.1.27 • Prefix: /usr • Plugins: libsasldb.la libcrammd5.la libdigestmd5.la libscram.la libgssapiv2.la libgs2.la libplain.la libanonymous.la liblogin.la libntlm.la libsql.la libldapdb.la Now type 'make' to build cyrus-sasl + make sasldir=/usr/lib64/sasl2 make all-recursive make[1]: Entering directory '/builddir/build/BUILD/cyrus-sasl-2.1.27' Making all in include make[2]: Entering directory '/builddir/build/BUILD/cyrus-sasl-2.1.27/include' gcc -g -O2 -I/usr/include/mysql -I/usr/include/mysql/mysql -DOBSOLETE_CRAM_ATTR=1 -DOBSOLETE_DIGEST_ATTR=1 makemd5.c -o makemd5 rm -f md5global.h ./makemd5 md5global.h make all-am make[3]: Entering directory '/builddir/build/BUILD/cyrus-sasl-2.1.27/include' make[3]: Nothing to be done for 'all-am'. make[3]: Leaving directory '/builddir/build/BUILD/cyrus-sasl-2.1.27/include' make[2]: Leaving directory '/builddir/build/BUILD/cyrus-sasl-2.1.27/include' Making all in sasldb make[2]: Entering directory '/builddir/build/BUILD/cyrus-sasl-2.1.27/sasldb' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -fPIC -I../include -I../include -I/usr/include/mysql -I/usr/include/mysql/mysql -DOBSOLETE_CRAM_ATTR=1 -DOBSOLETE_DIGEST_ATTR=1 -Wall -W -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/mysql -I/usr/include/mysql/mysql -fPIC -pie -Wl,-z,relro -Wl,-z,now -c -o allockey.lo allockey.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -fPIC -I../include -I../include -I/usr/include/mysql -I/usr/include/mysql/mysql -DOBSOLETE_CRAM_ATTR=1 -DOBSOLETE_DIGEST_ATTR=1 -Wall -W -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/mysql -I/usr/include/mysql/mysql -fPIC -Wl,-z,relro -Wl,-z,now -c allockey.c -fPIC -DPIC -o .libs/allockey.o /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -fPIC -I../include -I../include -I/usr/include/mysql -I/usr/include/mysql/mysql -DOBSOLETE_CRAM_ATTR=1 -DOBSOLETE_DIGEST_ATTR=1 -Wall -W -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/mysql -I/usr/include/mysql/mysql -fPIC -pie -Wl,-z,relro -Wl,-z,now -c -o db_berkeley.lo db_berkeley.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -fPIC -I../include -I../include -I/usr/include/mysql -I/usr/include/mysql/mysql -DOBSOLETE_CRAM_ATTR=1 -DOBSOLETE_DIGEST_ATTR=1 -Wall -W -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/mysql -I/usr/include/mysql/mysql -fPIC -Wl,-z,relro -Wl,-z,now -c db_berkeley.c -fPIC -DPIC -o .libs/db_berkeley.o /bin/sh ../libtool --tag=CC --mode=link gcc -Wall -W -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/mysql -I/usr/include/mysql/mysql -fPIC -pie -Wl,-z,relro -Wl,-z,now -no-undefined -L/usr/lib64/ -o libsasldb.la allockey.lo db_berkeley.lo -lresolv -lcrypt -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err libtool: link: ar cru .libs/libsasldb.a .libs/allockey.o .libs/db_berkeley.o libtool: link: ranlib .libs/libsasldb.a libtool: link: ( cd ".libs" && rm -f "libsasldb.la" && ln -s "../libsasldb.la" "libsasldb.la" ) make[2]: Leaving directory '/builddir/build/BUILD/cyrus-sasl-2.1.27/sasldb' Making all in common make[2]: Entering directory '/builddir/build/BUILD/cyrus-sasl-2.1.27/common' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -fPIC -I../include -I../include -I/usr/include/mysql -I/usr/include/mysql/mysql -DOBSOLETE_CRAM_ATTR=1 -DOBSOLETE_DIGEST_ATTR=1 -Wall -W -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/mysql -I/usr/include/mysql/mysql -fPIC -pie -Wl,-z,relro -Wl,-z,now -c -o plugin_common.lo plugin_common.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -fPIC -I../include -I../include -I/usr/include/mysql -I/usr/include/mysql/mysql -DOBSOLETE_CRAM_ATTR=1 -DOBSOLETE_DIGEST_ATTR=1 -Wall -W -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/mysql -I/usr/include/mysql/mysql -fPIC -Wl,-z,relro -Wl,-z,now -c plugin_common.c -fPIC -DPIC -o .libs/plugin_common.o /bin/sh ../libtool --tag=CC --mode=link gcc -Wall -W -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/mysql -I/usr/include/mysql/mysql -fPIC -pie -Wl,-z,relro -Wl,-z,now -version-info 3:0:0 -no-undefined -L/usr/lib64/ -o libplugin_common.la plugin_common.lo -lresolv -lcrypt -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err libtool: warning: '-version-info/-version-number' is ignored for convenience libraries libtool: link: ar cru .libs/libplugin_common.a .libs/plugin_common.o libtool: link: ranlib .libs/libplugin_common.a libtool: link: ( cd ".libs" && rm -f "libplugin_common.la" && ln -s "../libplugin_common.la" "libplugin_common.la" ) /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -fPIC -I../include -I../include -I/usr/include/mysql -I/usr/include/mysql/mysql -DOBSOLETE_CRAM_ATTR=1 -DOBSOLETE_DIGEST_ATTR=1 -Wall -W -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/mysql -I/usr/include/mysql/mysql -fPIC -pie -Wl,-z,relro -Wl,-z,now -c -o crypto-compat.lo crypto-compat.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -fPIC -I../include -I../include -I/usr/include/mysql -I/usr/include/mysql/mysql -DOBSOLETE_CRAM_ATTR=1 -DOBSOLETE_DIGEST_ATTR=1 -Wall -W -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/mysql -I/usr/include/mysql/mysql -fPIC -Wl,-z,relro -Wl,-z,now -c crypto-compat.c -fPIC -DPIC -o .libs/crypto-compat.o /bin/sh ../libtool --tag=CC --mode=link gcc -Wall -W -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/mysql -I/usr/include/mysql/mysql -fPIC -pie -Wl,-z,relro -Wl,-z,now -version-info -no-undefined -L/usr/lib64/ -o libcrypto_compat.la crypto-compat.lo -lresolv -lcrypt -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err libtool: warning: '-version-info/-version-number' is ignored for convenience libraries libtool: link: ar cru .libs/libcrypto_compat.a .libs/crypto-compat.o libtool: link: ranlib .libs/libcrypto_compat.a libtool: link: ( cd ".libs" && rm -f "libcrypto_compat.la" && ln -s "../libcrypto_compat.la" "libcrypto_compat.la" ) make[2]: Leaving directory '/builddir/build/BUILD/cyrus-sasl-2.1.27/common' Making all in lib make[2]: Entering directory '/builddir/build/BUILD/cyrus-sasl-2.1.27/lib' ln -s ../plugins/gssapi.c ../plugins/gs2.c . make all-am make[3]: Entering directory '/builddir/build/BUILD/cyrus-sasl-2.1.27/lib' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -DLIBSASL_EXPORTS=1 -I../include -I../plugins -I../include -I../sasldb -I../common -DCONFIGDIR='"/usr/lib64/sasl2:/etc/sasl2"' -DPLUGINDIR='"/usr/lib64/sasl2"' -I/usr/include/mysql -I/usr/include/mysql/mysql -DOBSOLETE_CRAM_ATTR=1 -DOBSOLETE_DIGEST_ATTR=1 -Wall -W -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/mysql -I/usr/include/mysql/mysql -fPIC -pie -Wl,-z,relro -Wl,-z,now -c -o auxprop.lo auxprop.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -DLIBSASL_EXPORTS=1 -I../include -I../plugins -I../include -I../sasldb -I../common -DCONFIGDIR=\"/usr/lib64/sasl2:/etc/sasl2\" -DPLUGINDIR=\"/usr/lib64/sasl2\" -I/usr/include/mysql -I/usr/include/mysql/mysql -DOBSOLETE_CRAM_ATTR=1 -DOBSOLETE_DIGEST_ATTR=1 -Wall -W -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/mysql -I/usr/include/mysql/mysql -fPIC -Wl,-z,relro -Wl,-z,now -c auxprop.c -fPIC -DPIC -o .libs/auxprop.o /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -DLIBSASL_EXPORTS=1 -I../include -I../plugins -I../include -I../sasldb -I../common -DCONFIGDIR='"/usr/lib64/sasl2:/etc/sasl2"' -DPLUGINDIR='"/usr/lib64/sasl2"' -I/usr/include/mysql -I/usr/include/mysql/mysql -DOBSOLETE_CRAM_ATTR=1 -DOBSOLETE_DIGEST_ATTR=1 -Wall -W -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/mysql -I/usr/include/mysql/mysql -fPIC -pie -Wl,-z,relro -Wl,-z,now -c -o canonusr.lo canonusr.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -DLIBSASL_EXPORTS=1 -I../include -I../plugins -I../include -I../sasldb -I../common -DCONFIGDIR=\"/usr/lib64/sasl2:/etc/sasl2\" -DPLUGINDIR=\"/usr/lib64/sasl2\" -I/usr/include/mysql -I/usr/include/mysql/mysql -DOBSOLETE_CRAM_ATTR=1 -DOBSOLETE_DIGEST_ATTR=1 -Wall -W -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/mysql -I/usr/include/mysql/mysql -fPIC -Wl,-z,relro -Wl,-z,now -c canonusr.c -fPIC -DPIC -o .libs/canonusr.o /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -DLIBSASL_EXPORTS=1 -I../include -I../plugins -I../include -I../sasldb -I../common -DCONFIGDIR='"/usr/lib64/sasl2:/etc/sasl2"' -DPLUGINDIR='"/usr/lib64/sasl2"' -I/usr/include/mysql -I/usr/include/mysql/mysql -DOBSOLETE_CRAM_ATTR=1 -DOBSOLETE_DIGEST_ATTR=1 -Wall -W -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/mysql -I/usr/include/mysql/mysql -fPIC -pie -Wl,-z,relro -Wl,-z,now -c -o checkpw.lo checkpw.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -DLIBSASL_EXPORTS=1 -I../include -I../plugins -I../include -I../sasldb -I../common -DCONFIGDIR=\"/usr/lib64/sasl2:/etc/sasl2\" -DPLUGINDIR=\"/usr/lib64/sasl2\" -I/usr/include/mysql -I/usr/include/mysql/mysql -DOBSOLETE_CRAM_ATTR=1 -DOBSOLETE_DIGEST_ATTR=1 -Wall -W -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/mysql -I/usr/include/mysql/mysql -fPIC -Wl,-z,relro -Wl,-z,now -c checkpw.c -fPIC -DPIC -o .libs/checkpw.o In file included from /usr/include/string.h:495, from ../config.h:622, from checkpw.c:46: In function 'strncpy', inlined from 'saslauthd_verify_password' at checkpw.c:793:5: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output may be truncated copying 107 bytes from a string of length 107 [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -DLIBSASL_EXPORTS=1 -I../include -I../plugins -I../include -I../sasldb -I../common -DCONFIGDIR='"/usr/lib64/sasl2:/etc/sasl2"' -DPLUGINDIR='"/usr/lib64/sasl2"' -I/usr/include/mysql -I/usr/include/mysql/mysql -DOBSOLETE_CRAM_ATTR=1 -DOBSOLETE_DIGEST_ATTR=1 -Wall -W -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/mysql -I/usr/include/mysql/mysql -fPIC -pie -Wl,-z,relro -Wl,-z,now -c -o client.lo client.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -DLIBSASL_EXPORTS=1 -I../include -I../plugins -I../include -I../sasldb -I../common -DCONFIGDIR=\"/usr/lib64/sasl2:/etc/sasl2\" -DPLUGINDIR=\"/usr/lib64/sasl2\" -I/usr/include/mysql -I/usr/include/mysql/mysql -DOBSOLETE_CRAM_ATTR=1 -DOBSOLETE_DIGEST_ATTR=1 -Wall -W -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/mysql -I/usr/include/mysql/mysql -fPIC -Wl,-z,relro -Wl,-z,now -c client.c -fPIC -DPIC -o .libs/client.o /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -DLIBSASL_EXPORTS=1 -I../include -I../plugins -I../include -I../sasldb -I../common -DCONFIGDIR='"/usr/lib64/sasl2:/etc/sasl2"' -DPLUGINDIR='"/usr/lib64/sasl2"' -I/usr/include/mysql -I/usr/include/mysql/mysql -DOBSOLETE_CRAM_ATTR=1 -DOBSOLETE_DIGEST_ATTR=1 -Wall -W -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/mysql -I/usr/include/mysql/mysql -fPIC -pie -Wl,-z,relro -Wl,-z,now -c -o common.lo common.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -DLIBSASL_EXPORTS=1 -I../include -I../plugins -I../include -I../sasldb -I../common -DCONFIGDIR=\"/usr/lib64/sasl2:/etc/sasl2\" -DPLUGINDIR=\"/usr/lib64/sasl2\" -I/usr/include/mysql -I/usr/include/mysql/mysql -DOBSOLETE_CRAM_ATTR=1 -DOBSOLETE_DIGEST_ATTR=1 -Wall -W -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/mysql -I/usr/include/mysql/mysql -fPIC -Wl,-z,relro -Wl,-z,now -c common.c -fPIC -DPIC -o .libs/common.o common.c:114:22: warning: cast between incompatible function types from 'int (*)(void *, const char **)' to 'int (*)(void)' [-Wcast-function-type] 114 | SASL_CB_GETPATH, (sasl_callback_ft)&_sasl_getpath, NULL | ^ common.c:117:26: warning: cast between incompatible function types from 'int (*)(void *, char **)' to 'int (*)(void)' [-Wcast-function-type] 117 | SASL_CB_GETCONFPATH, (sasl_callback_ft)&_sasl_getconfpath, NULL | ^ common.c: In function 'sasl_set_path': common.c:230:39: warning: cast between incompatible function types from 'int (*)(void *, const char **)' to 'int (*)(void)' [-Wcast-function-type] 230 | default_getpath_cb.proc = (sasl_callback_ft)&_sasl_getpath_simple; | ^ common.c:244:43: warning: cast between incompatible function types from 'int (*)(void *, const char **)' to 'int (*)(void)' [-Wcast-function-type] 244 | default_getconfpath_cb.proc = (sasl_callback_ft)&_sasl_getconfpath_simple; | ^ common.c: In function '_sasl_global_getopt': common.c:1416:9: warning: cast between incompatible function types from 'int (* const)(void)' to 'int (*)(void *, const char *, const char *, const char **, unsigned int *)' [-Wcast-function-type] 1416 | if (((sasl_getopt_t *)(callback->proc))(callback->context, | ^ common.c: In function '_sasl_conn_getopt': common.c:1457:9: warning: cast between incompatible function types from 'int (* const)(void)' to 'int (*)(void *, const char *, const char *, const char **, unsigned int *)' [-Wcast-function-type] 1457 | && (((sasl_getopt_t *)(callback->proc))(callback->context, | ^ common.c: In function '_sasl_getcallback': common.c:1734:13: warning: cast between incompatible function types from 'int (*)(void *, const char *, const char *, const char **, unsigned int *)' to 'int (*)(void)' [-Wcast-function-type] 1734 | *pproc = (sasl_callback_ft)&_sasl_conn_getopt; | ^ common.c:1737:13: warning: cast between incompatible function types from 'int (*)(void *, const char *, const char *, const char **, unsigned int *)' to 'int (*)(void)' [-Wcast-function-type] 1737 | *pproc = (sasl_callback_ft)&_sasl_global_getopt; | ^ common.c:1782:14: warning: cast between incompatible function types from 'int (*)(void *, int, const char *)' to 'int (*)(void)' [-Wcast-function-type] 1782 | *pproc = (sasl_callback_ft)&_sasl_syslog; | ^ common.c:1795:14: warning: cast between incompatible function types from 'int (*)(void *, int, const char **, size_t *)' {aka 'int (*)(void *, int, const char **, long unsigned int *)'} to 'int (*)(void)' [-Wcast-function-type] 1795 | *pproc = (sasl_callback_ft)&_sasl_getsimple; | ^ common.c:1799:14: warning: cast between incompatible function types from 'int (*)(void *, char *, int)' to 'int (*)(void)' [-Wcast-function-type] 1799 | *pproc = (sasl_callback_ft)&_sasl_verifyfile; | ^ common.c:1803:14: warning: cast between incompatible function types from 'int (*)(sasl_conn_t *, void *, const char *, unsigned int, const char *, unsigned int, const char *, unsigned int, struct propctx *)' {aka 'int (*)(struct sasl_conn *, void *, const char *, unsigned int, const char *, unsigned int, const char *, unsigned int, struct propctx *)'} to 'int (*)(void)' [-Wcast-function-type] 1803 | *pproc = (sasl_callback_ft)&_sasl_proxy_policy; | ^ common.c: In function '_sasl_find_verifyfile_callback': common.c:2160:5: warning: cast between incompatible function types from 'int (*)(void *, char *, int)' to 'int (*)(void)' [-Wcast-function-type] 2160 | (sasl_callback_ft)&_sasl_verifyfile, | ^ /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -DLIBSASL_EXPORTS=1 -I../include -I../plugins -I../include -I../sasldb -I../common -DCONFIGDIR='"/usr/lib64/sasl2:/etc/sasl2"' -DPLUGINDIR='"/usr/lib64/sasl2"' -I/usr/include/mysql -I/usr/include/mysql/mysql -DOBSOLETE_CRAM_ATTR=1 -DOBSOLETE_DIGEST_ATTR=1 -Wall -W -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/mysql -I/usr/include/mysql/mysql -fPIC -pie -Wl,-z,relro -Wl,-z,now -c -o config.lo config.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -DLIBSASL_EXPORTS=1 -I../include -I../plugins -I../include -I../sasldb -I../common -DCONFIGDIR=\"/usr/lib64/sasl2:/etc/sasl2\" -DPLUGINDIR=\"/usr/lib64/sasl2\" -I/usr/include/mysql -I/usr/include/mysql/mysql -DOBSOLETE_CRAM_ATTR=1 -DOBSOLETE_DIGEST_ATTR=1 -Wall -W -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/mysql -I/usr/include/mysql/mysql -fPIC -Wl,-z,relro -Wl,-z,now -c config.c -fPIC -DPIC -o .libs/config.o /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -DLIBSASL_EXPORTS=1 -I../include -I../plugins -I../include -I../sasldb -I../common -DCONFIGDIR='"/usr/lib64/sasl2:/etc/sasl2"' -DPLUGINDIR='"/usr/lib64/sasl2"' -I/usr/include/mysql -I/usr/include/mysql/mysql -DOBSOLETE_CRAM_ATTR=1 -DOBSOLETE_DIGEST_ATTR=1 -Wall -W -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/mysql -I/usr/include/mysql/mysql -fPIC -pie -Wl,-z,relro -Wl,-z,now -c -o external.lo external.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -DLIBSASL_EXPORTS=1 -I../include -I../plugins -I../include -I../sasldb -I../common -DCONFIGDIR=\"/usr/lib64/sasl2:/etc/sasl2\" -DPLUGINDIR=\"/usr/lib64/sasl2\" -I/usr/include/mysql -I/usr/include/mysql/mysql -DOBSOLETE_CRAM_ATTR=1 -DOBSOLETE_DIGEST_ATTR=1 -Wall -W -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/mysql -I/usr/include/mysql/mysql -fPIC -Wl,-z,relro -Wl,-z,now -c external.c -fPIC -DPIC -o .libs/external.o /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -DLIBSASL_EXPORTS=1 -I../include -I../plugins -I../include -I../sasldb -I../common -DCONFIGDIR='"/usr/lib64/sasl2:/etc/sasl2"' -DPLUGINDIR='"/usr/lib64/sasl2"' -I/usr/include/mysql -I/usr/include/mysql/mysql -DOBSOLETE_CRAM_ATTR=1 -DOBSOLETE_DIGEST_ATTR=1 -Wall -W -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/mysql -I/usr/include/mysql/mysql -fPIC -pie -Wl,-z,relro -Wl,-z,now -c -o md5.lo md5.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -DLIBSASL_EXPORTS=1 -I../include -I../plugins -I../include -I../sasldb -I../common -DCONFIGDIR=\"/usr/lib64/sasl2:/etc/sasl2\" -DPLUGINDIR=\"/usr/lib64/sasl2\" -I/usr/include/mysql -I/usr/include/mysql/mysql -DOBSOLETE_CRAM_ATTR=1 -DOBSOLETE_DIGEST_ATTR=1 -Wall -W -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/mysql -I/usr/include/mysql/mysql -fPIC -Wl,-z,relro -Wl,-z,now -c md5.c -fPIC -DPIC -o .libs/md5.o /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -DLIBSASL_EXPORTS=1 -I../include -I../plugins -I../include -I../sasldb -I../common -DCONFIGDIR='"/usr/lib64/sasl2:/etc/sasl2"' -DPLUGINDIR='"/usr/lib64/sasl2"' -I/usr/include/mysql -I/usr/include/mysql/mysql -DOBSOLETE_CRAM_ATTR=1 -DOBSOLETE_DIGEST_ATTR=1 -Wall -W -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/mysql -I/usr/include/mysql/mysql -fPIC -pie -Wl,-z,relro -Wl,-z,now -c -o saslutil.lo saslutil.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -DLIBSASL_EXPORTS=1 -I../include -I../plugins -I../include -I../sasldb -I../common -DCONFIGDIR=\"/usr/lib64/sasl2:/etc/sasl2\" -DPLUGINDIR=\"/usr/lib64/sasl2\" -I/usr/include/mysql -I/usr/include/mysql/mysql -DOBSOLETE_CRAM_ATTR=1 -DOBSOLETE_DIGEST_ATTR=1 -Wall -W -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/mysql -I/usr/include/mysql/mysql -fPIC -Wl,-z,relro -Wl,-z,now -c saslutil.c -fPIC -DPIC -o .libs/saslutil.o /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -DLIBSASL_EXPORTS=1 -I../include -I../plugins -I../include -I../sasldb -I../common -DCONFIGDIR='"/usr/lib64/sasl2:/etc/sasl2"' -DPLUGINDIR='"/usr/lib64/sasl2"' -I/usr/include/mysql -I/usr/include/mysql/mysql -DOBSOLETE_CRAM_ATTR=1 -DOBSOLETE_DIGEST_ATTR=1 -Wall -W -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/mysql -I/usr/include/mysql/mysql -fPIC -pie -Wl,-z,relro -Wl,-z,now -c -o server.lo server.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -DLIBSASL_EXPORTS=1 -I../include -I../plugins -I../include -I../sasldb -I../common -DCONFIGDIR=\"/usr/lib64/sasl2:/etc/sasl2\" -DPLUGINDIR=\"/usr/lib64/sasl2\" -I/usr/include/mysql -I/usr/include/mysql/mysql -DOBSOLETE_CRAM_ATTR=1 -DOBSOLETE_DIGEST_ATTR=1 -Wall -W -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/mysql -I/usr/include/mysql/mysql -fPIC -Wl,-z,relro -Wl,-z,now -c server.c -fPIC -DPIC -o .libs/server.o server.c: In function 'load_config': server.c:623:15: warning: cast between incompatible function types from 'int (* const)(void)' to 'int (*)(void *, char **)' [-Wcast-function-type] 623 | result = ((sasl_getconfpath_t *)(getconfpath_cb->proc))(getconfpath_cb->context, | ^ server.c:661:19: warning: cast between incompatible function types from 'int (* const)(void)' to 'int (*)(void *, const char *, sasl_verify_type_t)' {aka 'int (*)(void *, const char *, enum )'} [-Wcast-function-type] 661 | result = ((sasl_verifyfile_t *)(verifyfile_cb->proc))(verifyfile_cb->context, | ^ server.c: In function 'sasl_server_init': server.c:913:9: warning: cast between incompatible function types from 'int (* const)(void)' to 'int (*)(void *, const char *, sasl_verify_type_t)' {aka 'int (*)(void *, const char *, enum )'} [-Wcast-function-type] 913 | ret = ((sasl_verifyfile_t *)(vf->proc))(vf->context, | ^ /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -DLIBSASL_EXPORTS=1 -I../include -I../plugins -I../include -I../sasldb -I../common -DCONFIGDIR='"/usr/lib64/sasl2:/etc/sasl2"' -DPLUGINDIR='"/usr/lib64/sasl2"' -I/usr/include/mysql -I/usr/include/mysql/mysql -DOBSOLETE_CRAM_ATTR=1 -DOBSOLETE_DIGEST_ATTR=1 -Wall -W -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/mysql -I/usr/include/mysql/mysql -fPIC -pie -Wl,-z,relro -Wl,-z,now -c -o seterror.lo seterror.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -DLIBSASL_EXPORTS=1 -I../include -I../plugins -I../include -I../sasldb -I../common -DCONFIGDIR=\"/usr/lib64/sasl2:/etc/sasl2\" -DPLUGINDIR=\"/usr/lib64/sasl2\" -I/usr/include/mysql -I/usr/include/mysql/mysql -DOBSOLETE_CRAM_ATTR=1 -DOBSOLETE_DIGEST_ATTR=1 -Wall -W -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/mysql -I/usr/include/mysql/mysql -fPIC -Wl,-z,relro -Wl,-z,now -c seterror.c -fPIC -DPIC -o .libs/seterror.o /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -DLIBSASL_EXPORTS=1 -I../include -I../plugins -I../include -I../sasldb -I../common -DCONFIGDIR='"/usr/lib64/sasl2:/etc/sasl2"' -DPLUGINDIR='"/usr/lib64/sasl2"' -I/usr/include/mysql -I/usr/include/mysql/mysql -DOBSOLETE_CRAM_ATTR=1 -DOBSOLETE_DIGEST_ATTR=1 -Wall -W -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/mysql -I/usr/include/mysql/mysql -fPIC -pie -Wl,-z,relro -Wl,-z,now -c -o dlopen.lo dlopen.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -DLIBSASL_EXPORTS=1 -I../include -I../plugins -I../include -I../sasldb -I../common -DCONFIGDIR=\"/usr/lib64/sasl2:/etc/sasl2\" -DPLUGINDIR=\"/usr/lib64/sasl2\" -I/usr/include/mysql -I/usr/include/mysql/mysql -DOBSOLETE_CRAM_ATTR=1 -DOBSOLETE_DIGEST_ATTR=1 -Wall -W -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/mysql -I/usr/include/mysql/mysql -fPIC -Wl,-z,relro -Wl,-z,now -c dlopen.c -fPIC -DPIC -o .libs/dlopen.o dlopen.c: In function '_sasl_get_plugin': dlopen.c:369:10: warning: cast between incompatible function types from 'int (* const)(void)' to 'int (*)(void *, const char *, sasl_verify_type_t)' {aka 'int (*)(void *, const char *, enum )'} [-Wcast-function-type] 369 | r = ((sasl_verifyfile_t *)(verifyfile_cb->proc)) | ^ dlopen.c: In function '_sasl_load_plugins': dlopen.c:469:15: warning: cast between incompatible function types from 'int (* const)(void)' to 'int (*)(void *, const char **)' [-Wcast-function-type] 469 | result = ((sasl_getpath_t *)(getpath_cb->proc))(getpath_cb->context, | ^ /bin/sh ../libtool --tag=CC --mode=link gcc -Wall -W -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/mysql -I/usr/include/mysql/mysql -fPIC -pie -Wl,-z,relro -Wl,-z,now -version-info 3:0:0 -no-undefined -L/usr/lib64/ -o libsasl2.la -rpath /usr/lib64 auxprop.lo canonusr.lo checkpw.lo client.lo common.lo config.lo external.lo md5.lo saslutil.lo server.lo seterror.lo dlopen.lo -ldl ../common/libplugin_common.la -lresolv -lcrypt -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err libtool: link: gcc -shared -fPIC -DPIC .libs/auxprop.o .libs/canonusr.o .libs/checkpw.o .libs/client.o .libs/common.o .libs/config.o .libs/external.o .libs/md5.o .libs/saslutil.o .libs/server.o .libs/seterror.o .libs/dlopen.o -Wl,--whole-archive ../common/.libs/libplugin_common.a -Wl,--no-whole-archive -L/usr/lib64/ -ldl -lresolv -lcrypt -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -Wl,-z,now -specs=/usr/lib/rpm/openEuler/openEuler-hardened-ld -O2 -g -fstack-protector-strong -grecord-gcc-switches -Wl,-z -Wl,relro -Wl,-z -Wl,now -Wl,-soname -Wl,libsasl2.so.3 -o .libs/libsasl2.so.3.0.0 gcc: fatal error: cannot read spec file '/usr/lib/rpm/openEuler/openEuler-hardened-ld': No such file or directory compilation terminated. make[3]: Leaving directory '/builddir/build/BUILD/cyrus-sasl-2.1.27/lib' make[3]: *** [Makefile:596: libsasl2.la] Error 1 make[2]: *** [Makefile:509: all] Error 2 make[2]: Leaving directory '/builddir/build/BUILD/cyrus-sasl-2.1.27/lib' make[1]: *** [Makefile:684: all-recursive] Error 1 make[1]: Leaving directory '/builddir/build/BUILD/cyrus-sasl-2.1.27' make: *** [Makefile:552: all] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.ydvOl7 (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.ydvOl7 (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.9/site-packages/mockbuild/util.py", line 600, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/cyrus-sasl.spec