D: [iurt_root_command] chroot warning: %patchN is deprecated (5 usages found), use %patch N (or %patch -P N) Installing /home/pterjan/rpmbuild/SRPMS/openca-tools-1.3.1-5.mga10.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.ogxRIc + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf openca-tools-1.3.1 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/openca-tools-1.3.1.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd openca-tools-1.3.1 + rm -rf /home/pterjan/rpmbuild/BUILD/openca-tools-1.3.1-SPECPARTS + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/openca-tools-1.3.1-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (openca-tools-no_rpath.diff):' Patch #0 (openca-tools-no_rpath.diff): + /usr/bin/patch --no-backup-if-mismatch -f -p0 --fuzz=0 patching file configure.in Hunk #1 succeeded at 337 (offset 197 lines). + echo 'Patch #1 (openca-tools-1.3.0-drop-unused-automake-macro.patch):' Patch #1 (openca-tools-1.3.0-drop-unused-automake-macro.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p0 --fuzz=0 patching file configure.in Hunk #1 succeeded at 65 (offset 3 lines). Hunk #2 succeeded at 141 (offset 3 lines). + echo 'Patch #2 (openca-tools-1.1.0-format_not_a_string_literal_and_no_format_arguments.diff):' Patch #2 (openca-tools-1.1.0-format_not_a_string_literal_and_no_format_arguments.diff): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file src/crmf/crmf.c patching file src/scep/scep.c Hunk #1 succeeded at 510 (offset 1 line). Hunk #2 succeeded at 526 (offset 1 line). patching file src/sv/sv.c + echo 'Patch #3 (openca-tools-1.3.1-openssl11.patch):' Patch #3 (openca-tools-1.3.1-openssl11.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .openssl11 --fuzz=0 patching file include/openca/crmf_asn1.h patching file src/crmf/crmf_asn1.c patching file src/scep/scep_asn1.h patching file src/scep/scep_bio.c patching file src/scep/scep_bio.h patching file src/scep/scep.c patching file src/scep/scep_msg.c patching file src/scep/scep_msg.h patching file src/scep/scep_sigattr.c patching file src/sv/apps.c patching file src/sv/callback.c patching file src/sv/sign-crypto.c patching file src/sv/sv.c + echo 'Patch #4 (openca-tools-1.3.1-declarations.patch):' Patch #4 (openca-tools-1.3.1-declarations.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .declarations --fuzz=0 patching file src/scep/scep_msg.c patching file src/sv/sv.c + perl -pi -e 's|/etc/issue|/etc/mageia-release|g' configure.in + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.87TYfv + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd openca-tools-1.3.1 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + export 'CFLAGS=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export 'CXXFLAGS=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export 'RPM_OPT_FLAGS=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + RPM_OPT_FLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Werror=implicit-function-declaration' + autoreconf -fi autoreconf: warning: autoconf input should be named 'configure.ac', not 'configure.in' aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in' acinclude.m4:3: warning: underquoted definition of AC_CHECK_OPENSSL_PATH acinclude.m4:3: run info Automake 'Extending aclocal' acinclude.m4:3: or see https://www.gnu.org/software/automake/manual/automake.html#Extending-aclocal aclocal: warning: couldn't open directory 'm4': No such file or directory libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'build'. libtoolize: copying file 'build/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' libtoolize: Consider adding '-I m4' to ACLOCAL_AMFLAGS in Makefile.am. aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in' acinclude.m4:3: warning: underquoted definition of AC_CHECK_OPENSSL_PATH acinclude.m4:3: run info Automake 'Extending aclocal' acinclude.m4:3: or see https://www.gnu.org/software/automake/manual/automake.html#Extending-aclocal configure.in:56: warning: The macro 'AC_CANONICAL_SYSTEM' is obsolete. configure.in:56: You should run autoupdate. ./lib/autoconf/general.m4:2081: AC_CANONICAL_SYSTEM is expanded from... configure.in:56: the top level configure.in:58: warning: The macro 'AC_PROG_LIBTOOL' is obsolete. configure.in:58: You should run autoupdate. m4/libtool.m4:100: AC_PROG_LIBTOOL is expanded from... configure.in:58: the top level configure.in:66: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated. ./lib/autoconf/general.m4:2434: AC_DIAGNOSE is expanded from... aclocal.m4:773: AM_INIT_AUTOMAKE is expanded from... configure.in:66: the top level configure.in:181: warning: The macro 'AC_HEADER_STDC' is obsolete. configure.in:181: You should run autoupdate. ./lib/autoconf/headers.m4:663: AC_HEADER_STDC is expanded from... configure.in:181: the top level configure.in:213: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body ./lib/autoconf/lang.m4:199: AC_LANG_CONFTEST is expanded from... ./lib/autoconf/general.m4:2960: _AC_RUN_IFELSE 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:2979: AC_RUN_IFELSE is expanded from... acinclude.m4:236: AC_CHECK_C_OPTION is expanded from... configure.in:213: the top level configure.in:214: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body ./lib/autoconf/lang.m4:199: AC_LANG_CONFTEST is expanded from... ./lib/autoconf/general.m4:2960: _AC_RUN_IFELSE 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:2979: AC_RUN_IFELSE is expanded from... acinclude.m4:236: AC_CHECK_C_OPTION is expanded from... configure.in:214: the top level configure.in:216: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body ./lib/autoconf/lang.m4:199: AC_LANG_CONFTEST is expanded from... ./lib/autoconf/general.m4:2960: _AC_RUN_IFELSE 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:2979: AC_RUN_IFELSE is expanded from... acinclude.m4:236: AC_CHECK_C_OPTION is expanded from... configure.in:216: the top level configure.in:217: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body ./lib/autoconf/lang.m4:199: AC_LANG_CONFTEST is expanded from... ./lib/autoconf/general.m4:2960: _AC_RUN_IFELSE 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:2979: AC_RUN_IFELSE is expanded from... acinclude.m4:236: AC_CHECK_C_OPTION is expanded from... configure.in:217: the top level configure.in:218: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body ./lib/autoconf/lang.m4:199: AC_LANG_CONFTEST is expanded from... ./lib/autoconf/general.m4:2960: _AC_RUN_IFELSE 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:2979: AC_RUN_IFELSE is expanded from... acinclude.m4:236: AC_CHECK_C_OPTION is expanded from... configure.in:218: the top level configure.in:219: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body ./lib/autoconf/lang.m4:199: AC_LANG_CONFTEST is expanded from... ./lib/autoconf/general.m4:2960: _AC_RUN_IFELSE 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:2979: AC_RUN_IFELSE is expanded from... acinclude.m4:236: AC_CHECK_C_OPTION is expanded from... configure.in:219: the top level configure.in:220: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body ./lib/autoconf/lang.m4:199: AC_LANG_CONFTEST is expanded from... ./lib/autoconf/general.m4:2960: _AC_RUN_IFELSE 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:2979: AC_RUN_IFELSE is expanded from... acinclude.m4:236: AC_CHECK_C_OPTION is expanded from... configure.in:220: the top level configure.in:221: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body ./lib/autoconf/lang.m4:199: AC_LANG_CONFTEST is expanded from... ./lib/autoconf/general.m4:2960: _AC_RUN_IFELSE 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:2979: AC_RUN_IFELSE is expanded from... acinclude.m4:236: AC_CHECK_C_OPTION is expanded from... configure.in:221: the top level configure.in:222: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body ./lib/autoconf/lang.m4:199: AC_LANG_CONFTEST is expanded from... ./lib/autoconf/general.m4:2960: _AC_RUN_IFELSE 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:2979: AC_RUN_IFELSE is expanded from... acinclude.m4:236: AC_CHECK_C_OPTION is expanded from... configure.in:222: the top level configure.in:223: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body ./lib/autoconf/lang.m4:199: AC_LANG_CONFTEST is expanded from... ./lib/autoconf/general.m4:2960: _AC_RUN_IFELSE 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:2979: AC_RUN_IFELSE is expanded from... acinclude.m4:236: AC_CHECK_C_OPTION is expanded from... configure.in:223: the top level configure.in:269: warning: The macro 'AC_HELP_STRING' is obsolete. configure.in:269: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.in:269: the top level configure.in:281: warning: The macro 'AC_HELP_STRING' is obsolete. configure.in:281: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.in:281: the top level configure.in:286: warning: The macro 'AC_HELP_STRING' is obsolete. configure.in:286: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.in:286: the top level configure.in:296: warning: The macro 'AC_HELP_STRING' is obsolete. configure.in:296: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.in:296: the top level configure.in:308: warning: The macro 'AC_HELP_STRING' is obsolete. configure.in:308: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.in:308: the top level configure.in:441: warning: AC_OUTPUT should be used without arguments. configure.in:441: You should run autoupdate. autoheader: warning: autoconf input should be named 'configure.ac', not 'configure.in' automake: warning: autoconf input should be named 'configure.ac', not 'configure.in' configure.in:66: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated. For more info, see: configure.in:66: https://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_005fINIT_005fAUTOMAKE-invocation configure.in:58: installing 'build/compile' configure.in:66: installing 'build/missing' src/crmf/Makefile.am:34: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') src/crmf/Makefile.am: installing 'build/depcomp' automake: warning: autoconf input should be named 'configure.ac', not 'configure.in' src/scep/Makefile.am:47: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') parallel-tests: installing 'build/test-driver' src/sv/Makefile.am:36: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Werror=implicit-function-declaration' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-all -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=2 -fstack-protector-all -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=2 -fstack-protector-all -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 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --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' + 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 ./build/config.guess + '[' -f /usr/lib/rpm/mageia/config.guess ']' ++ basename ./build/config.guess + cp -af /usr/lib/rpm/mageia/config.guess ./build/config.guess + for i in $(find ${CONFIGURE_TOP} -name config.guess -o -name config.sub) ++ basename ./build/config.sub + '[' -f /usr/lib/rpm/mageia/config.sub ']' ++ basename ./build/config.sub + cp -af /usr/lib/rpm/mageia/config.sub ./build/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 build/ltmain.sh underlinking for plugins (cf http://wiki.mandriva.com/en/Underlinking) + /usr/lib/rpm/mageia/fix-libtool-ltmain-from-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 --enable-openssl-engine --with-openssl-prefix=/usr --with-openca-prefix=/usr/share/openca --with-openca-user=openca --with-openca-group=openca checking build system type... x86_64-mageia-linux-gnu checking host system type... x86_64-mageia-linux-gnu checking target system type... x86_64-mageia-linux-gnu checking how to print strings... printf checking for x86_64-mageia-linux-gnu-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 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 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 whether ln -s works... yes 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 for gawk... gawk 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 vfork.h... 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 -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... yes checking for egrep... (cached) /usr/bin/grep -E checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a race-free mkdir -p... /usr/bin/mkdir -p checking whether make sets $(MAKE)... yes checking whether make supports the include directive... yes (GNU style) checking whether make supports nested variables... yes checking dependency style of gcc... none checking whether to enable maintainer-specific portions of Makefiles... no checking whether ln -s works... yes checking for gawk... (cached) gawk checking for x86_64-mageia-linux-gnu-gcc... (cached) gcc checking whether the compiler supports GNU C... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to enable C11 features... (cached) none needed checking whether gcc understands -c and -o together... (cached) yes checking whether make sets $(MAKE)... (cached) yes checking for an ANSI C-conforming const... yes checking for pid_t... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for fork... yes checking for vfork... yes checking for working fork... yes checking for working vfork... (cached) yes checking for GNU libc compatible malloc... (cached) yes checking for bzero... yes checking for memset... yes checking for setenv... yes checking for socket... yes checking for strcasecmp... yes checking for strchr... yes checking for strrchr... yes checking for strstr... yes checking checking for -fstack-check support... yes checking checking for -maccumulate-outgoing-args support... yes checking for date... /usr/bin/date checking for chmod... /usr/bin/chmod checking for pkgmk... no checking for rpm... /usr/bin/rpm checking for perl... /usr/bin/perl checking for pod2man... /usr/bin/pod2man checking for openssl... /usr/bin/openssl User specified --with-openssl-prefix enable engine support : true enable debug messages : false install prefix : /usr checking for builder... no checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating src/sv/Makefile config.status: creating src/scep/Makefile config.status: creating src/crmf/Makefile config.status: creating docs/Makefile config.status: creating contrib/install-builder/openca-tools.xml config.status: creating contrib/install-builder/openca/tools.xml config.status: creating include/openca/config.h config.status: executing libtool commands config.status: executing depfiles commands + /usr/bin/make -O -j8 V=1 VERBOSE=1 Making all in src/sv make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/openca-tools-1.3.1/src/sv' gcc -DHAVE_CONFIG_H -I. -I../../include/openca -I../../include -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Werror=implicit-function-declaration -fstack-check -maccumulate-outgoing-args -c -o tools.o tools.c cc1: warning: '-fstack-check=' and '-fstack-clash-protection' are mutually exclusive; disabling '-fstack-check=' make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/openca-tools-1.3.1/src/sv' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/openca-tools-1.3.1/src/sv' gcc -DHAVE_CONFIG_H -I. -I../../include/openca -I../../include -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Werror=implicit-function-declaration -fstack-check -maccumulate-outgoing-args -c -o sign-crypto.o sign-crypto.c cc1: warning: '-fstack-check=' and '-fstack-clash-protection' are mutually exclusive; disabling '-fstack-check=' make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/openca-tools-1.3.1/src/sv' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/openca-tools-1.3.1/src/sv' gcc -DHAVE_CONFIG_H -I. -I../../include/openca -I../../include -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Werror=implicit-function-declaration -fstack-check -maccumulate-outgoing-args -c -o callback.o callback.c cc1: warning: '-fstack-check=' and '-fstack-clash-protection' are mutually exclusive; disabling '-fstack-check=' make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/openca-tools-1.3.1/src/sv' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/openca-tools-1.3.1/src/sv' gcc -DHAVE_CONFIG_H -I. -I../../include/openca -I../../include -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Werror=implicit-function-declaration -fstack-check -maccumulate-outgoing-args -c -o verify-crypto.o verify-crypto.c cc1: warning: '-fstack-check=' and '-fstack-clash-protection' are mutually exclusive; disabling '-fstack-check=' verify-crypto.c: In function 'do_verify': verify-crypto.c:130:30: warning: too many arguments for format [-Wformat-extra-args] 130 | BIO_printf (bio_out, "[Info]: Data is ready for verification.\n", ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/openca-tools-1.3.1/src/sv' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/openca-tools-1.3.1/src/sv' gcc -DHAVE_CONFIG_H -I. -I../../include/openca -I../../include -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Werror=implicit-function-declaration -fstack-check -maccumulate-outgoing-args -c -o sv.o sv.c cc1: warning: '-fstack-check=' and '-fstack-clash-protection' are mutually exclusive; disabling '-fstack-check=' sv.c: In function 'main': sv.c:460:48: warning: passing argument 8 of 'do_sign' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 460 | data, output, x509, pkey, cipher, flags, nodetach); | ^~~~~~ sv.c:72:54: note: expected 'EVP_CIPHER *' {aka 'struct evp_cipher_st *'} but argument is of type 'const EVP_CIPHER *' {aka 'const struct evp_cipher_st *'} 72 | X509 *x509, EVP_PKEY *pkey, EVP_CIPHER *cipher, int flags, int nodetach); | ~~~~~~~~~~~~^~~~~~ sv.c:476:45: warning: passing argument 7 of 'do_encrypt' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 476 | data, output, x509, cipher, flags); | ^~~~~~ sv.c:74:65: note: expected 'EVP_CIPHER *' {aka 'struct evp_cipher_st *'} but argument is of type 'const EVP_CIPHER *' {aka 'const struct evp_cipher_st *'} 74 | BIO *data, BIO *output, X509 *x509, EVP_CIPHER *cipher, int flags); | ~~~~~~~~~~~~^~~~~~ make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/openca-tools-1.3.1/src/sv' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/openca-tools-1.3.1/src/sv' gcc -DHAVE_CONFIG_H -I. -I../../include/openca -I../../include -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Werror=implicit-function-declaration -fstack-check -maccumulate-outgoing-args -c -o apps.o apps.c cc1: warning: '-fstack-check=' and '-fstack-clash-protection' are mutually exclusive; disabling '-fstack-check=' apps.c: In function 'load_key': apps.c:409:25: warning: 'ENGINE_load_private_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 409 | pkey = ENGINE_load_private_key(e, file, | ^~~~ In file included from apps.c:126: /usr/include/openssl/engine.h:638:11: note: declared here 638 | EVP_PKEY *ENGINE_load_private_key(ENGINE *e, const char *key_id, | ^~~~~~~~~~~~~~~~~~~~~~~ apps.c: In function 'load_engine': apps.c:476:5: warning: 'ENGINE_load_builtin_engines' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 476 | ENGINE_load_builtin_engines(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/engine.h:358:28: note: declared here 358 | OSSL_DEPRECATEDIN_3_0 void ENGINE_load_builtin_engines(void); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ apps.c:477:5: warning: 'ENGINE_by_id' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 477 | e = ENGINE_by_id(name); | ^ /usr/include/openssl/engine.h:336:31: note: declared here 336 | OSSL_DEPRECATEDIN_3_0 ENGINE *ENGINE_by_id(const char *id); | ^~~~~~~~~~~~ apps.c:484:9: warning: 'ENGINE_by_id' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 484 | e = ENGINE_by_id("dynamic"); | ^ /usr/include/openssl/engine.h:336:31: note: declared here 336 | OSSL_DEPRECATEDIN_3_0 ENGINE *ENGINE_by_id(const char *id); | ^~~~~~~~~~~~ apps.c:498:9: warning: 'ENGINE_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 498 | ENGINE_free(e); | ^~~~~~~~~~~ /usr/include/openssl/engine.h:493:27: note: declared here 493 | OSSL_DEPRECATEDIN_3_0 int ENGINE_free(ENGINE *e); | ^~~~~~~~~~~ apps.c:505:5: warning: 'ENGINE_init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 505 | if(!ENGINE_init(e)) { | ^~ /usr/include/openssl/engine.h:620:27: note: declared here 620 | OSSL_DEPRECATEDIN_3_0 int ENGINE_init(ENGINE *e); | ^~~~~~~~~~~ apps.c:507:9: warning: 'ENGINE_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 507 | ENGINE_free(e); | ^~~~~~~~~~~ /usr/include/openssl/engine.h:493:27: note: declared here 493 | OSSL_DEPRECATEDIN_3_0 int ENGINE_free(ENGINE *e); | ^~~~~~~~~~~ apps.c:517:9: warning: 'ENGINE_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 517 | ENGINE_free(e); | ^~~~~~~~~~~ /usr/include/openssl/engine.h:493:27: note: declared here 493 | OSSL_DEPRECATEDIN_3_0 int ENGINE_free(ENGINE *e); | ^~~~~~~~~~~ apps.c: In function 'configure_engine': apps.c:547:25: warning: 'ENGINE_ctrl_cmd_string' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 547 | if(!ENGINE_ctrl_cmd_string(e, cmd, NULL, 0)) | ^~ /usr/include/openssl/engine.h:479:5: note: declared here 479 | int ENGINE_ctrl_cmd_string(ENGINE *e, const char *cmd_name, const char *arg, | ^~~~~~~~~~~~~~~~~~~~~~ apps.c:561:25: warning: 'ENGINE_ctrl_cmd_string' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 561 | if(!ENGINE_ctrl_cmd_string(e, buf, arg, 0)) | ^~ /usr/include/openssl/engine.h:479:5: note: declared here 479 | int ENGINE_ctrl_cmd_string(ENGINE *e, const char *cmd_name, const char *arg, | ^~~~~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/openca-tools-1.3.1/src/sv' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/openca-tools-1.3.1/src/sv' /bin/sh ../../libtool --tag=CC --mode=link gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Werror=implicit-function-declaration -fstack-check -maccumulate-outgoing-args -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -o openca-sv apps.o sv.o tools.o callback.o verify-crypto.o sign-crypto.o -lcrypto -lssl -ldl libtool: link: gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Werror=implicit-function-declaration -fstack-check -maccumulate-outgoing-args -Wl,--as-needed -Wl,--no-undefined -Wl,-z -Wl,relro -Wl,-z -Wl,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -o openca-sv apps.o sv.o tools.o callback.o verify-crypto.o sign-crypto.o -lcrypto -lssl -ldl make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/openca-tools-1.3.1/src/sv' Making all in src/scep make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/openca-tools-1.3.1/src/scep' gcc -DHAVE_CONFIG_H -I. -I../../include/openca -I../../include -I/usr/include -O2 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Werror=implicit-function-declaration -fstack-check -maccumulate-outgoing-args -c -o scep_bio.o scep_bio.c cc1: warning: '-fstack-check=' and '-fstack-clash-protection' are mutually exclusive; disabling '-fstack-check=' scep_bio.c: In function 'd2i_PKCS7_ias_bio': scep_bio.c:24:48: error: passing argument 2 of 'd2i_PKCS7_ISSUER_AND_SERIAL' from incompatible pointer type [-Wincompatible-pointer-types] 24 | ret = d2i_PKCS7_ISSUER_AND_SERIAL(ias, &tmp, len); | ^~~~ | | | unsigned char ** In file included from /usr/include/openssl/objects.h:21, from /usr/include/openssl/evp.h:43, from scep.h:13, from scep_bio.h:5, from scep_bio.c:5: /usr/include/openssl/pkcs7.h:305:1: note: expected 'const unsigned char **' but argument is of type 'unsigned char **' 305 | DECLARE_ASN1_FUNCTIONS(PKCS7_ISSUER_AND_SERIAL) | ^~~~~~~~~~~~~~~~~~~~~~ make[1]: *** [Makefile:786: scep_bio.o] Error 1 make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/openca-tools-1.3.1/src/scep' make[1]: *** Waiting for unfinished jobs.... make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/openca-tools-1.3.1/src/scep' gcc -DHAVE_CONFIG_H -I. -I../../include/openca -I../../include -I/usr/include -O2 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Werror=implicit-function-declaration -fstack-check -maccumulate-outgoing-args -c -o scep_asn1.o scep_asn1.c cc1: warning: '-fstack-check=' and '-fstack-clash-protection' are mutually exclusive; disabling '-fstack-check=' make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/openca-tools-1.3.1/src/scep' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/openca-tools-1.3.1/src/scep' gcc -DHAVE_CONFIG_H -I. -I../../include/openca -I../../include -I/usr/include -O2 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Werror=implicit-function-declaration -fstack-check -maccumulate-outgoing-args -c -o scep_pk7.o scep_pk7.c cc1: warning: '-fstack-check=' and '-fstack-clash-protection' are mutually exclusive; disabling '-fstack-check=' make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/openca-tools-1.3.1/src/scep' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/openca-tools-1.3.1/src/scep' gcc -DHAVE_CONFIG_H -I. -I../../include/openca -I../../include -I/usr/include -O2 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Werror=implicit-function-declaration -fstack-check -maccumulate-outgoing-args -c -o scep_sigattr.o scep_sigattr.c cc1: warning: '-fstack-check=' and '-fstack-clash-protection' are mutually exclusive; disabling '-fstack-check=' scep_sigattr.c: In function 'SCEP_get_octect_attr_by_name': scep_sigattr.c:89:9: warning: 'ASN1_STRING_data' is deprecated: Since OpenSSL 1.1.0 [-Wdeprecated-declarations] 89 | memcpy(data, ASN1_STRING_data(asn1_type->value.octet_string), | ^~~~~~ In file included from /usr/include/openssl/objects.h:21, from /usr/include/openssl/evp.h:43, from scep.h:13, from scep_sigattr.c:12: /usr/include/openssl/asn1.h:683:40: note: declared here 683 | OSSL_DEPRECATEDIN_1_1_0 unsigned char *ASN1_STRING_data(ASN1_STRING *x); | ^~~~~~~~~~~~~~~~ scep_sigattr.c: In function 'SCEP_get_string_attr_by_name': scep_sigattr.c:126:9: warning: 'ASN1_STRING_data' is deprecated: Since OpenSSL 1.1.0 [-Wdeprecated-declarations] 126 | memcpy(data, ASN1_STRING_data(asn1_type->value.asn1_string), | ^~~~~~ /usr/include/openssl/asn1.h:683:40: note: declared here 683 | OSSL_DEPRECATEDIN_1_1_0 unsigned char *ASN1_STRING_data(ASN1_STRING *x); | ^~~~~~~~~~~~~~~~ scep_sigattr.c: In function 'SCEP_set_messageType': scep_sigattr.c:141:25: warning: embedded '\0' in format [-Wformat-contains-nul] 141 | sprintf(buf, "%d\x0", msgtype); | ^~~ scep_sigattr.c: In function 'SCEP_set_pkiStatus': scep_sigattr.c:153:26: warning: embedded '\0' in format [-Wformat-contains-nul] 153 | sprintf( buf, "%d\x0", status ); | ^~~ scep_sigattr.c: In function 'SCEP_set_failInfo': scep_sigattr.c:163:26: warning: embedded '\0' in format [-Wformat-contains-nul] 163 | sprintf( buf, "%d\x0", info ); | ^~~ make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/openca-tools-1.3.1/src/scep' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/openca-tools-1.3.1/src/scep' gcc -DHAVE_CONFIG_H -I. -I../../include/openca -I../../include -I/usr/include -O2 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Werror=implicit-function-declaration -fstack-check -maccumulate-outgoing-args -c -o scep_msg.o scep_msg.c cc1: warning: '-fstack-check=' and '-fstack-clash-protection' are mutually exclusive; disabling '-fstack-check=' scep_msg.c: In function 'SCEP_MSG_new': scep_msg.c:265:89: warning: format '%d' expects argument of type 'int', but argument 5 has type 'char *' [-Wformat=] 265 | BIO_printf( debug_bio, "%s:%d: [Debug Info] %d\n", __FILE__, __LINE__, tmp); | ~^ ~~~ | | | | int char * | %s make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/openca-tools-1.3.1/src/scep' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/openca-tools-1.3.1/src/scep' gcc -DHAVE_CONFIG_H -I. -I../../include/openca -I../../include -I/usr/include -O2 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Werror=implicit-function-declaration -fstack-check -maccumulate-outgoing-args -c -o scep.o scep.c cc1: warning: '-fstack-check=' and '-fstack-clash-protection' are mutually exclusive; disabling '-fstack-check=' scep.c: In function 'main': scep.c:292:31: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 292 | EVP_CIPHER * cipher = EVP_des_ede3_cbc(); | ^~~~~~~~~~~~~~~~ scep.c:483:31: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 483 | cipher=EVP_des_cbc(); | ^ make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/openca-tools-1.3.1/src/scep' make: *** [Makefile:505: all-recursive] Error 1 error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.87TYfv (%build) RPM build warnings: %patchN is deprecated (5 usages found), use %patch N (or %patch -P N) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.87TYfv (%build) I: [iurt_root_command] ERROR: chroot