D: [iurt_root_command] chroot Installing /home/pterjan/rpmbuild/SRPMS/gnucobol-3.2-1.mga10.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.47WfXi + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf gnucobol-3.2 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/gnucobol-3.2.tar.xz + STATUS=0 + '[' 0 -ne 0 ']' + cd gnucobol-3.2 + rm -rf /home/pterjan/rpmbuild/BUILD/gnucobol-3.2-SPECPARTS + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/gnucobol-3.2-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + install -Dpm644 /home/pterjan/rpmbuild/SOURCES/newcob.val-20160501.tar.gz tests/cobol85/newcob.val.tar.gz + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.EYAuDb + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd gnucobol-3.2 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + autoreconf -vfi -I m4 autoreconf: export WARNINGS= autoreconf: Entering directory '.' autoreconf: running: autopoint --force Copying file ABOUT-NLS Copying file build_aux/config.rpath Copying file m4/extern-inline.m4 Copying file m4/fcntl-o.m4 Copying file m4/glibc2.m4 Copying file m4/glibc21.m4 Copying file m4/intdiv0.m4 Copying file m4/intl.m4 Copying file m4/intldir.m4 Copying file m4/intmax.m4 Copying file m4/inttypes-pri.m4 Copying file m4/inttypes_h.m4 Copying file m4/lcmessage.m4 Copying file m4/lock.m4 Copying file m4/longlong.m4 Copying file m4/printf-posix.m4 Copying file m4/size_max.m4 Copying file m4/stdint_h.m4 Copying file m4/threadlib.m4 Copying file m4/uintmax_t.m4 Copying file m4/visibility.m4 Copying file m4/wchar_t.m4 Copying file m4/wint_t.m4 Copying file m4/xsize.m4 Copying file po/Makefile.in.in Copying file po/Makevars.template Copying file po/Rules-quot Copying file po/insert-header.sin Copying file po/remove-potcdate.sin autoreconf: running: aclocal -I m4 --force -I m4 --install aclocal: overwriting 'm4/libtool.m4' with '/usr/share/aclocal/libtool.m4' aclocal: overwriting 'm4/ltversion.m4' with '/usr/share/aclocal/ltversion.m4' autoreconf: configure.ac: tracing autoreconf: running: libtoolize --copy --force libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'build_aux'. libtoolize: copying file 'build_aux/ltmain.sh' libtoolize: putting macros in AC_CONFIG_MACRO_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: configure.ac: not using Intltool autoreconf: configure.ac: not using Gtkdoc autoreconf: running: aclocal -I m4 --force -I m4 --install autoreconf: running: /usr/bin/autoconf --include=m4 --force configure.ac:541: warning: AC_PROG_LEX without either yywrap or noyywrap is obsolete ./lib/autoconf/programs.m4:743: _AC_PROG_LEX is expanded from... ./lib/autoconf/programs.m4:736: AC_PROG_LEX is expanded from... aclocal.m4:728: AM_PROG_LEX is expanded from... m4/ax_prog_flex.m4:47: AX_PROG_FLEX is expanded from... configure.ac:541: the top level autoreconf: running: /usr/bin/autoheader --include=m4 --force autoreconf: running: automake --add-missing --copy --force-missing configure.ac:371: installing 'build_aux/compile' configure.ac:130: installing 'build_aux/missing' bin/Makefile.am: installing 'build_aux/depcomp' autoreconf: 'build_aux/install-sh' is updated autoreconf: Leaving directory '.' + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -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_aux/config.guess + '[' -f /usr/lib/rpm/mageia/config.guess ']' ++ basename ./build_aux/config.guess + cp -af /usr/lib/rpm/mageia/config.guess ./build_aux/config.guess + for i in $(find ${CONFIGURE_TOP} -name config.guess -o -name config.sub) ++ basename ./build_aux/config.sub + '[' -f /usr/lib/rpm/mageia/config.sub ']' ++ basename ./build_aux/config.sub + cp -af /usr/lib/rpm/mageia/config.sub ./build_aux/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_aux/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 --disable-rpath --disable-static --enable-hardening --with-db --with-xml2 --with-curses=ncursesw --with-json=json-c 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 for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking for make... make checking whether make can handle common constructs... yes checking whether make supports order-only prerequisites... yes checking whether CFLAGS -O can be modified... no 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 whether make supports the include directive... yes (GNU style) checking dependency style of gcc... none 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 wchar.h... yes checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking whether _XOPEN_SOURCE should be defined... no checking for __INTEL_COMPILER... no checking for __clang__... no checking for __xlc__... no checking for __WATCOMC__... no checking for __SUNPRO_C... no checking how to error on warnings during configure checks... -Wall -Werror checking whether linking with LDFLAGS / LIBS works... yes checking for x86_64-mageia-linux-gnu-windres... no checking for windres... no checking for x86_64-mageia-linux-gnu-ar... no checking for x86_64-mageia-linux-gnu-lib... no checking for x86_64-mageia-linux-gnu-link... no checking for ar... ar checking the archiver (ar) interface... ar checking build system type... x86_64-mageia-linux-gnu checking host system type... x86_64-mageia-linux-gnu checking how to print strings... printf checking for a sed that does not truncate output... /usr/bin/sed checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for fgrep... /usr/bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking 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... ar checking for archiver @FILE support... @ checking for x86_64-mageia-linux-gnu-strip... no checking for strip... strip checking for x86_64-mageia-linux-gnu-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for a working dd... /usr/bin/dd checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 checking for x86_64-mageia-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no checking for 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 for shl_load... no checking for shl_load in -ldld... no checking for dlopen... yes checking whether a program can dlopen itself... yes checking whether a statically linked program can dlopen itself... yes 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 for flex... no checking for lex... no checking if flex is the lexer generator... no checking for bison... no checking for byacc... no checking if bison is the parser generator... no checking for diff arguments... --strip-trailing-cr checking whether ln -s works... yes checking whether make sets $(MAKE)... (cached) yes checking for ld used by gcc... /usr/bin/ld -m elf_x86_64 checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes checking for shared library run path origin... done checking for sys/types.h... (cached) yes checking for signal.h... yes checking for stddef.h... yes checking for sys/time.h... yes checking for locale.h... yes checking for fcntl.h... yes checking for dlfcn.h... (cached) yes checking for an ANSI C-conforming const... yes checking whether byte ordering is bigendian... no checking for size_t... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for sig_atomic_t... yes checking for inline keyword... __inline checking for vprintf... yes checking for memmove... yes checking for memset... yes checking for setlocale... yes checking for fcntl... yes checking for strerror... yes checking for strcasecmp... yes checking for strchr... yes checking for strrchr... yes checking for strdup... yes checking for strstr... yes checking for strtol... yes checking for gettimeofday... yes checking for localeconv... yes checking for getexecname... no checking for canonicalize_file_name... yes checking for popen... yes checking for raise... yes checking for readlink... yes checking for realpath... yes checking for setenv... yes checking for strcoll... yes checking for flockfile... yes checking for timezone variable access... yes checking for designated initializers... yes configure: Checks for math library ... configure: none needed checking whether to build with code coverage support... no checking for x86_64-mageia-linux-gnu-pkg-config... /usr/bin/x86_64-mageia-linux-gnu-pkg-config checking pkg-config is at least version 0.9.0... yes configure: Checks for GMP/MPIR ... checking for gmp... yes checking for gmp.h... yes checking whether linking against libgmp with "-lgmp " works... yes checking matching GMP version... yes (6.3) checking for __gmp_get_memory_functions in -lgmp... yes checking for libxml-2.0... yes checking for libxml/xmlwriter.h... yes checking for libxml/xmlversion.h... yes checking for libxml/uri.h... yes checking for libxml/parser.h... yes checking for libxml/tree.h... yes checking for LIBXML_WRITER_ENABLED defined in libxml/xmlwriter.h... yes checking whether linking against libxml2 with "-lxml2 " works... yes configure: Checks for JSON handler checking for json-c... yes checking for json.h... yes checking whether linking against libjson-c with "-ljson-c " works... yes checking for clock_gettime and CLOCK_REALTIME... yes checking for isfinite... yes checking for fdatasync... yes checking for sigaction... yes checking for fmemopen... yes checking for gcc options needed to detect all undeclared functions... none needed checking whether fdatasync is declared... yes checking whether fmemopen is declared... yes configure: Checks for curses ... checking for initscr in -lncursesw... yes checking for ncursesw/ncurses.h... yes checking for ncurses _nc_freeall function... yes checking for ncurses use_legacy_coding function... yes checking for curses color_set function... yes checking for curses resize_term function... yes checking for curses define_key function... yes checking for curses mouseinterval function... yes checking for curses has_mouse function... yes checking for curses mousemask function and mmask_t... yes configure: Checks for Berkeley DB ... checking for db.h... yes configure: db.h reports version "-Berkeley DB 5.3.28: (September 9, 2013)-" checking for Berkeley DB db.h version >= 4.1... yes (5.3) checking for Berkeley DB library with version 5.3... yes configure: BDB library version 5.3 found as -ldb-5.3 checking for _WIN32... no checking for dlopen in -lc... yes checking for support of computed gotos... yes configure: Checks for different sizes ... checking size of long int... 8 checking size of long long... 8 checking size of long... 8 checking size of void *... 8 checking whether size of long int = size of long long... yes checking whether long is 32 bits... no checking whether pointer is longer than 32 bits... yes checking for aligned attribute... yes checking for pure attribute... yes checking for constructor attribute... yes checking whether NLS is requested... yes checking for msgfmt... /usr/bin/msgfmt checking for gmsgfmt... /usr/bin/msgfmt checking for xgettext... /usr/bin/xgettext checking for msgmerge... /usr/bin/msgmerge checking for CFPreferencesCopyAppValue... (cached) no checking for CFLocaleCopyPreferredLanguages... no checking for GNU gettext in libc... yes checking whether to use NLS... yes checking where the gettext function comes from... libc checking for nl_langinfo and CODESET... yes checking for perl... perl checking for debug option -ggdb3... yes checking for debug option -fasynchronous-unwind-tables... yes configure: Compile with hardening options checking for -fstack-protector-strong option... yes checking for -pipe option... yes checking for gcc pointer sign option... yes checking for ld bind now option... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating libcob/Makefile config.status: creating lib/Makefile config.status: creating cobc/Makefile config.status: creating bin/Makefile config.status: creating po/Makefile.in config.status: creating doc/Makefile config.status: creating config/Makefile config.status: creating copy/Makefile config.status: creating tests/Makefile config.status: creating tests/cobol85/Makefile config.status: creating extras/Makefile config.status: creating bin/cob-config config.status: creating pre-inst-env config.status: creating tests/atlocal config.status: creating tests/run_prog_manual.sh config.status: creating config.h config.status: executing tests/atconfig commands config.status: executing depfiles commands config.status: executing libtool commands config.status: executing po-directories commands config.status: creating po/POTFILES config.status: creating po/Makefile config.status: executing chmod commands configure: GnuCOBOL Configuration: configure: CC gcc configure: CFLAGS -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fstack-protector-strong -pipe -finline-functions -fsigned-char -Wall -Wwrite-strings -Wmissing-prototypes -Wno-format-y2k configure: LDFLAGS -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -Wl,-z,relro,-z,now,-O1 configure: LIBCOB_LIBS -lgmp -lxml2 -ljson-c -lncursesw -ldb-5.3 configure: COB_CC gcc configure: COB_CFLAGS -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fstack-clash-protection -fcf-protection=full -fstack-protector-strong -pipe -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -I/usr/include -Wno-unused -fsigned-char -Wno-pointer-sign -O configure: COB_LDFLAGS -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -fstack-protector-strong configure: COB_DEBUG_FLAGS -ggdb3 -fasynchronous-unwind-tables configure: COB_LIBS -L/usr/lib64 -lcob configure: COB_CONFIG_DIR /usr/share/gnucobol/config configure: COB_COPY_DIR /usr/share/gnucobol/copy configure: COB_LIBRARY_PATH /usr/lib64/gnucobol configure: COB_OBJECT_EXT o configure: COB_MODULE_EXT so configure: COB_EXE_EXT configure: COB_SHARED_OPT -shared configure: COB_PIC_FLAGS -fPIC -DPIC configure: COB_EXPORT_DYN -Wl,--export-dynamic configure: COB_STRIP_CMD strip --strip-unneeded configure: Dynamic loading: System configure: Use gettext for international messages: yes configure: Use fcntl for file locking: yes configure: Use math multiple precision library: gmp configure: Use curses library for screen I/O: ncursesw configure: Use Berkeley DB for INDEXED I/O: yes configure: Used for XML I/O: libxml2 configure: Used for JSON I/O: json-c + /usr/bin/make -O -j16 V=1 VERBOSE=1 make all-recursive Making all in . make[2]: Nothing to be done for 'all-am'. Making all in lib make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/gnucobol-3.2/lib' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I.. -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fstack-protector-strong -pipe -finline-functions -fsigned-char -Wall -Wwrite-strings -Wmissing-prototypes -Wno-format-y2k -c -o dummymac.lo dummymac.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I.. -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fstack-protector-strong -pipe -finline-functions -fsigned-char -Wall -Wwrite-strings -Wmissing-prototypes -Wno-format-y2k -c dummymac.c -fPIC -DPIC -o .libs/dummymac.o make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gnucobol-3.2/lib' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/gnucobol-3.2/lib' /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-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fstack-protector-strong -pipe -finline-functions -fsigned-char -Wall -Wwrite-strings -Wmissing-prototypes -Wno-format-y2k -static -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -Wl,-z,relro,-z,now,-O1 -o libsupport.la dummymac.lo libtool: link: ar cr .libs/libsupport.a .libs/dummymac.o libtool: link: ranlib .libs/libsupport.a libtool: link: ( cd ".libs" && rm -f "libsupport.la" && ln -s "../libsupport.la" "libsupport.la" ) make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gnucobol-3.2/lib' Making all in libcob make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/gnucobol-3.2/libcob' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../lib -I../lib -I/usr/include/libxml2 -I/usr/include/json-c -DLOCALEDIR=\"/usr/share/locale\" -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fstack-protector-strong -pipe -finline-functions -fsigned-char -Wall -Wwrite-strings -Wmissing-prototypes -Wno-format-y2k -c -o cconv.lo cconv.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../lib -I../lib -I/usr/include/libxml2 -I/usr/include/json-c -DLOCALEDIR=\"/usr/share/locale\" -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fstack-protector-strong -pipe -finline-functions -fsigned-char -Wall -Wwrite-strings -Wmissing-prototypes -Wno-format-y2k -c cconv.c -fPIC -DPIC -o .libs/cconv.o cconv.c: In function 'cob_load_collation': cconv.c:165:41: warning: '%s' directive writing up to 4088 bytes into a region of size between 4069 and 4095 [-Wformat-overflow=] 165 | sprintf (filename, "%s%c%s.ttbl", config_dir, SLASH_CHAR, col_name); | ^~ In file included from /usr/include/stdio.h:980, from cconv.c:24: In function 'sprintf', inlined from 'cob_load_collation' at cconv.c:165:3: /usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output 7 or more bytes (assuming 4121) into a destination of size 4096 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gnucobol-3.2/libcob' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/gnucobol-3.2/libcob' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../lib -I../lib -I/usr/include/libxml2 -I/usr/include/json-c -DLOCALEDIR=\"/usr/share/locale\" -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fstack-protector-strong -pipe -finline-functions -fsigned-char -Wall -Wwrite-strings -Wmissing-prototypes -Wno-format-y2k -c -o cobgetopt.lo cobgetopt.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../lib -I../lib -I/usr/include/libxml2 -I/usr/include/json-c -DLOCALEDIR=\"/usr/share/locale\" -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fstack-protector-strong -pipe -finline-functions -fsigned-char -Wall -Wwrite-strings -Wmissing-prototypes -Wno-format-y2k -c cobgetopt.c -fPIC -DPIC -o .libs/cobgetopt.o make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gnucobol-3.2/libcob' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/gnucobol-3.2/libcob' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../lib -I../lib -I/usr/include/libxml2 -I/usr/include/json-c -DLOCALEDIR=\"/usr/share/locale\" -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fstack-protector-strong -pipe -finline-functions -fsigned-char -Wall -Wwrite-strings -Wmissing-prototypes -Wno-format-y2k -c -o common.lo common.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../lib -I../lib -I/usr/include/libxml2 -I/usr/include/json-c -DLOCALEDIR=\"/usr/share/locale\" -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fstack-protector-strong -pipe -finline-functions -fsigned-char -Wall -Wwrite-strings -Wmissing-prototypes -Wno-format-y2k -c common.c -fPIC -DPIC -o .libs/common.o common.c: In function 'print_info_detailed': common.c:9714:17: error: implicit declaration of function 'xmlCleanupParser' [-Wimplicit-function-declaration] 9714 | xmlCleanupParser (); | ^~~~~~~~~~~~~~~~ make[2]: *** [Makefile:620: common.lo] Error 1 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gnucobol-3.2/libcob' make[2]: *** Waiting for unfinished jobs.... make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/gnucobol-3.2/libcob' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../lib -I../lib -I/usr/include/libxml2 -I/usr/include/json-c -DLOCALEDIR=\"/usr/share/locale\" -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fstack-protector-strong -pipe -finline-functions -fsigned-char -Wall -Wwrite-strings -Wmissing-prototypes -Wno-format-y2k -c -o strings.lo strings.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../lib -I../lib -I/usr/include/libxml2 -I/usr/include/json-c -DLOCALEDIR=\"/usr/share/locale\" -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fstack-protector-strong -pipe -finline-functions -fsigned-char -Wall -Wwrite-strings -Wmissing-prototypes -Wno-format-y2k -c strings.c -fPIC -DPIC -o .libs/strings.o make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gnucobol-3.2/libcob' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/gnucobol-3.2/libcob' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../lib -I../lib -I/usr/include/libxml2 -I/usr/include/json-c -DLOCALEDIR=\"/usr/share/locale\" -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fstack-protector-strong -pipe -finline-functions -fsigned-char -Wall -Wwrite-strings -Wmissing-prototypes -Wno-format-y2k -c -o mlio.lo mlio.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../lib -I../lib -I/usr/include/libxml2 -I/usr/include/json-c -DLOCALEDIR=\"/usr/share/locale\" -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fstack-protector-strong -pipe -finline-functions -fsigned-char -Wall -Wwrite-strings -Wmissing-prototypes -Wno-format-y2k -c mlio.c -fPIC -DPIC -o .libs/mlio.o make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gnucobol-3.2/libcob' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/gnucobol-3.2/libcob' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../lib -I../lib -I/usr/include/libxml2 -I/usr/include/json-c -DLOCALEDIR=\"/usr/share/locale\" -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fstack-protector-strong -pipe -finline-functions -fsigned-char -Wall -Wwrite-strings -Wmissing-prototypes -Wno-format-y2k -c -o termio.lo termio.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../lib -I../lib -I/usr/include/libxml2 -I/usr/include/json-c -DLOCALEDIR=\"/usr/share/locale\" -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fstack-protector-strong -pipe -finline-functions -fsigned-char -Wall -Wwrite-strings -Wmissing-prototypes -Wno-format-y2k -c termio.c -fPIC -DPIC -o .libs/termio.o make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gnucobol-3.2/libcob' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/gnucobol-3.2/libcob' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../lib -I../lib -I/usr/include/libxml2 -I/usr/include/json-c -DLOCALEDIR=\"/usr/share/locale\" -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fstack-protector-strong -pipe -finline-functions -fsigned-char -Wall -Wwrite-strings -Wmissing-prototypes -Wno-format-y2k -c -o reportio.lo reportio.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../lib -I../lib -I/usr/include/libxml2 -I/usr/include/json-c -DLOCALEDIR=\"/usr/share/locale\" -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fstack-protector-strong -pipe -finline-functions -fsigned-char -Wall -Wwrite-strings -Wmissing-prototypes -Wno-format-y2k -c reportio.c -fPIC -DPIC -o .libs/reportio.o make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gnucobol-3.2/libcob' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/gnucobol-3.2/libcob' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../lib -I../lib -I/usr/include/libxml2 -I/usr/include/json-c -DLOCALEDIR=\"/usr/share/locale\" -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fstack-protector-strong -pipe -finline-functions -fsigned-char -Wall -Wwrite-strings -Wmissing-prototypes -Wno-format-y2k -c -o call.lo call.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../lib -I../lib -I/usr/include/libxml2 -I/usr/include/json-c -DLOCALEDIR=\"/usr/share/locale\" -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fstack-protector-strong -pipe -finline-functions -fsigned-char -Wall -Wwrite-strings -Wmissing-prototypes -Wno-format-y2k -c call.c -fPIC -DPIC -o .libs/call.o make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gnucobol-3.2/libcob' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/gnucobol-3.2/libcob' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../lib -I../lib -I/usr/include/libxml2 -I/usr/include/json-c -DLOCALEDIR=\"/usr/share/locale\" -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fstack-protector-strong -pipe -finline-functions -fsigned-char -Wall -Wwrite-strings -Wmissing-prototypes -Wno-format-y2k -c -o move.lo move.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../lib -I../lib -I/usr/include/libxml2 -I/usr/include/json-c -DLOCALEDIR=\"/usr/share/locale\" -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fstack-protector-strong -pipe -finline-functions -fsigned-char -Wall -Wwrite-strings -Wmissing-prototypes -Wno-format-y2k -c move.c -fPIC -DPIC -o .libs/move.o make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gnucobol-3.2/libcob' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/gnucobol-3.2/libcob' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../lib -I../lib -I/usr/include/libxml2 -I/usr/include/json-c -DLOCALEDIR=\"/usr/share/locale\" -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fstack-protector-strong -pipe -finline-functions -fsigned-char -Wall -Wwrite-strings -Wmissing-prototypes -Wno-format-y2k -c -o numeric.lo numeric.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../lib -I../lib -I/usr/include/libxml2 -I/usr/include/json-c -DLOCALEDIR=\"/usr/share/locale\" -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fstack-protector-strong -pipe -finline-functions -fsigned-char -Wall -Wwrite-strings -Wmissing-prototypes -Wno-format-y2k -c numeric.c -fPIC -DPIC -o .libs/numeric.o make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gnucobol-3.2/libcob' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/gnucobol-3.2/libcob' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../lib -I../lib -I/usr/include/libxml2 -I/usr/include/json-c -DLOCALEDIR=\"/usr/share/locale\" -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fstack-protector-strong -pipe -finline-functions -fsigned-char -Wall -Wwrite-strings -Wmissing-prototypes -Wno-format-y2k -c -o screenio.lo screenio.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../lib -I../lib -I/usr/include/libxml2 -I/usr/include/json-c -DLOCALEDIR=\"/usr/share/locale\" -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fstack-protector-strong -pipe -finline-functions -fsigned-char -Wall -Wwrite-strings -Wmissing-prototypes -Wno-format-y2k -c screenio.c -fPIC -DPIC -o .libs/screenio.o make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gnucobol-3.2/libcob' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/gnucobol-3.2/libcob' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../lib -I../lib -I/usr/include/libxml2 -I/usr/include/json-c -DLOCALEDIR=\"/usr/share/locale\" -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fstack-protector-strong -pipe -finline-functions -fsigned-char -Wall -Wwrite-strings -Wmissing-prototypes -Wno-format-y2k -c -o intrinsic.lo intrinsic.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../lib -I../lib -I/usr/include/libxml2 -I/usr/include/json-c -DLOCALEDIR=\"/usr/share/locale\" -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fstack-protector-strong -pipe -finline-functions -fsigned-char -Wall -Wwrite-strings -Wmissing-prototypes -Wno-format-y2k -c intrinsic.c -fPIC -DPIC -o .libs/intrinsic.o make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gnucobol-3.2/libcob' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/gnucobol-3.2/libcob' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../lib -I../lib -I/usr/include/libxml2 -I/usr/include/json-c -DLOCALEDIR=\"/usr/share/locale\" -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fstack-protector-strong -pipe -finline-functions -fsigned-char -Wall -Wwrite-strings -Wmissing-prototypes -Wno-format-y2k -c -o fileio.lo fileio.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../lib -I../lib -I/usr/include/libxml2 -I/usr/include/json-c -DLOCALEDIR=\"/usr/share/locale\" -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fstack-protector-strong -pipe -finline-functions -fsigned-char -Wall -Wwrite-strings -Wmissing-prototypes -Wno-format-y2k -c fileio.c -fPIC -DPIC -o .libs/fileio.o make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gnucobol-3.2/libcob' make[1]: *** [Makefile:658: all-recursive] Error 1 make: *** [Makefile:566: all] Error 2 error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.EYAuDb (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.EYAuDb (%build) I: [iurt_root_command] ERROR: chroot