* Package: dev-lang/gnucobol-3.2:0 * Repository: gentoo * Maintainer: tupone@gentoo.org * USE: abi_x86_64 amd64 berkdb elibc_glibc kernel_linux nls xml * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking gnucobol-3.2.tar.xz to /var/tmp/portage/dev-lang/gnucobol-3.2/work >>> Source unpacked in /var/tmp/portage/dev-lang/gnucobol-3.2/work >>> Preparing source in /var/tmp/portage/dev-lang/gnucobol-3.2/work/gnucobol-3.2 ... * Applying gnucobol-3.1.2-gentoo.patch ... [ ok ] * Running eautoreconf in '/var/tmp/portage/dev-lang/gnucobol-3.2/work/gnucobol-3.2' ... * Running 'autopoint --force' ... [ ok ] * Running 'libtoolize --install --copy --force --automake' ... [ ok ] * Running 'aclocal -I m4 --install --system-acdir=/var/tmp/portage/dev-lang/gnucobol-3.2/temp/aclocal' ... [ ok ] * Running 'autoconf --force' ... [ ok ] * Running 'autoheader' ... [ ok ] * Running 'automake --add-missing --copy --force-missing' ... [ ok ] * Running elibtoolize in: gnucobol-3.2/ * Running elibtoolize in: gnucobol-3.2/build_aux/ * Applying portage/1.2.0 patch ... * Applying sed/1.5.6 patch ... * Applying as-needed/2.4.3 patch ... * Applying color-record/2.4.7 patch ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/dev-lang/gnucobol-3.2/work/gnucobol-3.2 ... * econf: updating gnucobol-3.2/build_aux/config.guess with /usr/share/gnuconfig/config.guess * econf: updating gnucobol-3.2/build_aux/config.sub with /usr/share/gnuconfig/config.sub * econf: updating gnucobol-3.2/config.guess with /usr/share/gnuconfig/config.guess * econf: updating gnucobol-3.2/config.sub with /usr/share/gnuconfig/config.sub ./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --datarootdir=/usr/share --disable-dependency-tracking --disable-silent-rules --disable-static --docdir=/usr/share/doc/gnucobol-3.2 --htmldir=/usr/share/doc/gnucobol-3.2/html --with-sysroot=/ --libdir=/usr/lib64 --with-db --without-json --with-xml2 --enable-nls --with-curses=ncursesw CURSES_LIBS=-L/usr/lib64 -lncursesw -ltinfow checking for a BSD-compatible install... /usr/lib/portage/python3.11/ebuild-helpers/xattr/install -c checking whether build environment is sane... yes checking for a race-free mkdir -p... /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-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-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 x86_64-pc-linux-gnu-gcc accepts -g... yes checking for x86_64-pc-linux-gnu-gcc option to enable C11 features... none needed checking whether x86_64-pc-linux-gnu-gcc understands -c and -o together... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of x86_64-pc-linux-gnu-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-pc-linux-gnu-windres... x86_64-pc-linux-gnu-windres checking for x86_64-pc-linux-gnu-ar... x86_64-pc-linux-gnu-ar checking the archiver (x86_64-pc-linux-gnu-ar) interface... ar checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking how to print strings... printf checking for a sed that does not truncate output... /bin/sed checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for fgrep... /bin/grep -F checking for ld used by x86_64-pc-linux-gnu-gcc... /usr/x86_64-pc-linux-gnu/bin/ld checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/x86_64-pc-linux-gnu-nm -B checking the name lister (/usr/bin/x86_64-pc-linux-gnu-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-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/x86_64-pc-linux-gnu/bin/ld option to reload object files... -r checking for x86_64-pc-linux-gnu-file... no checking for file... file checking for x86_64-pc-linux-gnu-objdump... x86_64-pc-linux-gnu-objdump checking how to recognize dependent libraries... pass_all checking for x86_64-pc-linux-gnu-dlltool... x86_64-pc-linux-gnu-dlltool checking how to associate runtime and link libraries... printf %s\n checking for x86_64-pc-linux-gnu-ar... (cached) x86_64-pc-linux-gnu-ar checking for archiver @FILE support... @ checking for x86_64-pc-linux-gnu-strip... x86_64-pc-linux-gnu-strip checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib checking command to parse /usr/bin/x86_64-pc-linux-gnu-nm -B output from x86_64-pc-linux-gnu-gcc object... ok checking for sysroot... / checking for a working dd... /bin/dd checking how to truncate binary pipes... /bin/dd bs=4096 count=1 checking for x86_64-pc-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 x86_64-pc-linux-gnu-gcc supports -fno-rtti -fno-exceptions... no checking for x86_64-pc-linux-gnu-gcc option to produce PIC... -fPIC -DPIC checking if x86_64-pc-linux-gnu-gcc PIC flag -fPIC -DPIC works... yes checking if x86_64-pc-linux-gnu-gcc static flag -static works... yes checking if x86_64-pc-linux-gnu-gcc supports -c -o file.o... yes checking if x86_64-pc-linux-gnu-gcc supports -c -o file.o... (cached) yes checking whether the x86_64-pc-linux-gnu-gcc linker (/usr/x86_64-pc-linux-gnu/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... no 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... flex checking for lex output file root... lex.yy checking for lex library... none needed checking for library containing yywrap... -lfl checking whether yytext is a pointer... yes checking if flex is the lexer generator... yes checking for bison... bison -y checking if bison is the parser generator... yes 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 x86_64-pc-linux-gnu-gcc... /usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64 checking if the linker (/usr/x86_64-pc-linux-gnu/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-pc-linux-gnu-pkg-config... /usr/bin/x86_64-pc-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 clock_gettime and CLOCK_REALTIME... yes checking for isfinite... yes checking for fdatasync... yes checking for sigaction... yes checking for fmemopen... yes checking for x86_64-pc-linux-gnu-gcc options needed to detect all undeclared functions... (cached) none needed checking whether fdatasync is declared... yes checking whether fmemopen is declared... yes configure: Checks for curses ... checking whether linking initscr works with CURSES_LIBS, given as "-L/usr/lib64 -lncursesw -ltinfow"... 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 6.0.35: (February 26, 2015)-" checking for Berkeley DB db.h version >= 4.1... yes (6.0) checking for Berkeley DB library with version 6.0... yes configure: BDB library version 6.0 found as -ldb-6.0 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/gmsgfmt 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 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 x86_64-pc-linux-gnu-gcc configure: CFLAGS -O2 -pipe -march=native -fno-diagnostics-color -pipe -finline-functions -fsigned-char -Wall -Wwrite-strings -Wmissing-prototypes -Wno-format-y2k configure: LDFLAGS -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -Wl,-z,relro,-z,now,-O1 configure: LIBCOB_LIBS -lgmp -lxml2 -L/usr/lib64 -lncursesw -ltinfow -ldb-6.0 configure: COB_CC x86_64-pc-linux-gnu-gcc configure: COB_CFLAGS -pipe -march=native -fno-diagnostics-color -pipe -Wno-unused -fsigned-char -Wno-pointer-sign configure: COB_LDFLAGS -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 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 x86_64-pc-linux-gnu-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: JSON I/O (disabled): NO >>> Source configured. >>> Compiling source in /var/tmp/portage/dev-lang/gnucobol-3.2/work/gnucobol-3.2 ... make -j4 make all-recursive make[1]: Entering directory '/var/tmp/portage/dev-lang/gnucobol-3.2/work/gnucobol-3.2' Making all in . make[2]: Entering directory '/var/tmp/portage/dev-lang/gnucobol-3.2/work/gnucobol-3.2' make[2]: Leaving directory '/var/tmp/portage/dev-lang/gnucobol-3.2/work/gnucobol-3.2' Making all in lib make[2]: Entering directory '/var/tmp/portage/dev-lang/gnucobol-3.2/work/gnucobol-3.2/lib' /bin/sh ../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I.. -O2 -pipe -march=native -fno-diagnostics-color -pipe -finline-functions -fsigned-char -Wall -Wwrite-strings -Wmissing-prototypes -Wno-format-y2k -c -o dummymac.lo dummymac.c libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I.. -O2 -pipe -march=native -fno-diagnostics-color -pipe -finline-functions -fsigned-char -Wall -Wwrite-strings -Wmissing-prototypes -Wno-format-y2k -c dummymac.c -fPIC -DPIC -o .libs/dummymac.o /bin/sh ../libtool --tag=CC --mode=link x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -pipe -finline-functions -fsigned-char -Wall -Wwrite-strings -Wmissing-prototypes -Wno-format-y2k -static -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -Wl,-z,relro,-z,now,-O1 -o libsupport.la dummymac.lo libtool: link: x86_64-pc-linux-gnu-ar cr .libs/libsupport.a .libs/dummymac.o libtool: link: x86_64-pc-linux-gnu-ranlib .libs/libsupport.a libtool: link: ( cd ".libs" && rm -f "libsupport.la" && ln -s "../libsupport.la" "libsupport.la" ) make[2]: Leaving directory '/var/tmp/portage/dev-lang/gnucobol-3.2/work/gnucobol-3.2/lib' Making all in libcob make[2]: Entering directory '/var/tmp/portage/dev-lang/gnucobol-3.2/work/gnucobol-3.2/libcob' /bin/sh ../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../lib -I../lib -I/usr/include/libxml2 -DLOCALEDIR=\"/usr/share/locale\" -O2 -pipe -march=native -fno-diagnostics-color -pipe -finline-functions -fsigned-char -Wall -Wwrite-strings -Wmissing-prototypes -Wno-format-y2k -c -o common.lo common.c /bin/sh ../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../lib -I../lib -I/usr/include/libxml2 -DLOCALEDIR=\"/usr/share/locale\" -O2 -pipe -march=native -fno-diagnostics-color -pipe -finline-functions -fsigned-char -Wall -Wwrite-strings -Wmissing-prototypes -Wno-format-y2k -c -o move.lo move.c /bin/sh ../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../lib -I../lib -I/usr/include/libxml2 -DLOCALEDIR=\"/usr/share/locale\" -O2 -pipe -march=native -fno-diagnostics-color -pipe -finline-functions -fsigned-char -Wall -Wwrite-strings -Wmissing-prototypes -Wno-format-y2k -c -o numeric.lo numeric.c /bin/sh ../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../lib -I../lib -I/usr/include/libxml2 -DLOCALEDIR=\"/usr/share/locale\" -O2 -pipe -march=native -fno-diagnostics-color -pipe -finline-functions -fsigned-char -Wall -Wwrite-strings -Wmissing-prototypes -Wno-format-y2k -c -o strings.lo strings.c libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../lib -I../lib -I/usr/include/libxml2 -DLOCALEDIR=\"/usr/share/locale\" -O2 -pipe -march=native -fno-diagnostics-color -pipe -finline-functions -fsigned-char -Wall -Wwrite-strings -Wmissing-prototypes -Wno-format-y2k -c common.c -fPIC -DPIC -o .libs/common.o libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../lib -I../lib -I/usr/include/libxml2 -DLOCALEDIR=\"/usr/share/locale\" -O2 -pipe -march=native -fno-diagnostics-color -pipe -finline-functions -fsigned-char -Wall -Wwrite-strings -Wmissing-prototypes -Wno-format-y2k -c move.c -fPIC -DPIC -o .libs/move.o libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../lib -I../lib -I/usr/include/libxml2 -DLOCALEDIR=\"/usr/share/locale\" -O2 -pipe -march=native -fno-diagnostics-color -pipe -finline-functions -fsigned-char -Wall -Wwrite-strings -Wmissing-prototypes -Wno-format-y2k -c strings.c -fPIC -DPIC -o .libs/strings.o libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../lib -I../lib -I/usr/include/libxml2 -DLOCALEDIR=\"/usr/share/locale\" -O2 -pipe -march=native -fno-diagnostics-color -pipe -finline-functions -fsigned-char -Wall -Wwrite-strings -Wmissing-prototypes -Wno-format-y2k -c numeric.c -fPIC -DPIC -o .libs/numeric.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]: *** Waiting for unfinished jobs.... make[2]: Leaving directory '/var/tmp/portage/dev-lang/gnucobol-3.2/work/gnucobol-3.2/libcob' make[1]: *** [Makefile:658: all-recursive] Error 1 make[1]: Leaving directory '/var/tmp/portage/dev-lang/gnucobol-3.2/work/gnucobol-3.2' make: *** [Makefile:566: all] Error 2 * ERROR: dev-lang/gnucobol-3.2::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=dev-lang/gnucobol-3.2::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-lang/gnucobol-3.2::gentoo'`. * The complete build log is located at '/var/log/portage/dev-lang:gnucobol-3.2:20240227-233116.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-lang/gnucobol-3.2/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-lang/gnucobol-3.2/temp/environment'. * Working directory: '/var/tmp/portage/dev-lang/gnucobol-3.2/work/gnucobol-3.2' * S: '/var/tmp/portage/dev-lang/gnucobol-3.2/work/gnucobol-3.2'