Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 807097 Details for
Bug 870670
dev-lang/gnucobol-1.1 - common.c: error: call to undeclared library function strcasecmp with
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
dev-lang:open-cobol-1.1:20220917-111758.log
dev-lang:open-cobol-1.1:20220917-111758.log (text/plain), 14.40 KB, created by
Toralf Förster
on 2022-09-17 11:24:56 UTC
(
hide
)
Description:
dev-lang:open-cobol-1.1:20220917-111758.log
Filename:
MIME Type:
Creator:
Toralf Förster
Created:
2022-09-17 11:24:56 UTC
Size:
14.40 KB
patch
obsolete
> * Package: dev-lang/open-cobol-1.1:0 > * Repository: gentoo > * Maintainer: patrick@gentoo.org > * USE: abi_x86_64 amd64 elibc_glibc kernel_linux nls readline userland_GNU > * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox > >>>> Unpacking source... >>>> Unpacking open-cobol-1.1.tar.gz to /var/tmp/portage/dev-lang/open-cobol-1.1/work >>>> Source unpacked in /var/tmp/portage/dev-lang/open-cobol-1.1/work >>>> Preparing source in /var/tmp/portage/dev-lang/open-cobol-1.1/work/open-cobol-1.1 ... >>>> Source prepared. >>>> Configuring source in /var/tmp/portage/dev-lang/open-cobol-1.1/work/open-cobol-1.1 ... > * econf: updating open-cobol-1.1/config.sub with /usr/share/gnuconfig/config.sub > * econf: updating open-cobol-1.1/config.guess with /usr/share/gnuconfig/config.guess >./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 --disable-dependency-tracking --libdir=/usr/lib64 --without-db --enable-nls --with-readline --disable-static >checking for a BSD-compatible install... /usr/lib/portage/python3.10/ebuild-helpers/xattr/install -c >checking whether build environment is sane... yes >checking for gawk... gawk >checking whether make sets $(MAKE)... yes >checking whether to enable maintainer-specific portions of Makefiles... no >checking for x86_64-pc-linux-gnu-gcc... clang >checking for C compiler default output file name... a.out >checking whether the C compiler works... yes >checking whether we are cross compiling... no >checking for suffix of executables... >checking for suffix of object files... o >checking whether we are using the GNU C compiler... yes >checking whether clang accepts -g... yes >checking for clang option to accept ANSI C... none needed >checking for style of include used by make... GNU >checking dependency style of clang... none >checking how to run the C preprocessor... clang -E >checking for egrep... grep -E >checking for ANSI C header files... no >checking for sys/types.h... yes >checking for sys/stat.h... yes >checking for stdlib.h... yes >checking for string.h... yes >checking for memory.h... yes >checking for strings.h... yes >checking for inttypes.h... yes >checking for stdint.h... yes >checking for unistd.h... yes >checking whether ln -s works... yes >checking for a BSD-compatible install... /usr/lib/portage/python3.10/ebuild-helpers/xattr/install -c >checking build system type... x86_64-pc-linux-gnu >checking host system type... x86_64-pc-linux-gnu >checking for a sed that does not truncate output... /bin/sed >checking for ld used by clang... /usr/bin/x86_64-pc-linux-gnu-ld >checking if the linker (/usr/bin/x86_64-pc-linux-gnu-ld) is GNU ld... yes >checking for /usr/bin/x86_64-pc-linux-gnu-ld option to reload object files... -r >checking for BSD-compatible nm... /usr/bin/nm -B >checking how to recognize dependent libraries... pass_all >checking dlfcn.h usability... yes >checking dlfcn.h presence... yes >checking for dlfcn.h... yes >checking how to run the C++ preprocessor... clang++ -E >checking the maximum length of command line arguments... 1572864 >checking command to parse /usr/bin/nm -B output from clang object... ok >checking for objdir... .libs >checking for x86_64-pc-linux-gnu-ar... x86_64-pc-linux-gnu-ar >checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib >checking for x86_64-pc-linux-gnu-strip... x86_64-pc-linux-gnu-strip >checking if clang supports -fno-rtti -fno-exceptions... yes >checking for clang option to produce PIC... -fPIC >checking if clang PIC flag -fPIC works... yes >checking if clang static flag -static works... yes >checking if clang supports -c -o file.o... yes >checking whether the clang linker (/usr/bin/x86_64-pc-linux-gnu-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 for shl_load... no >checking for shl_load in -ldld... no >checking for dlopen... yes >checking whether a program can dlopen itself... no >checking if libtool supports shared libraries... yes >checking whether to build shared libraries... yes >checking whether to build static libraries... no >configure: creating libtool >checking whether make sets $(MAKE)... (cached) yes >checking for ANSI C header files... (cached) no >checking for stdint.h... (cached) yes >checking for sys/types.h... (cached) yes >checking signal.h usability... yes >checking signal.h presence... yes >checking for signal.h... yes >checking fcntl.h usability... yes >checking fcntl.h presence... yes >checking for fcntl.h... yes >checking malloc.h usability... yes >checking malloc.h presence... yes >checking for malloc.h... yes >checking locale.h usability... yes >checking locale.h presence... yes >checking for locale.h... yes >checking stddef.h usability... yes >checking stddef.h presence... yes >checking for stddef.h... yes >checking wchar.h usability... yes >checking wchar.h presence... yes >checking for wchar.h... yes >checking for dlfcn.h... (cached) yes >checking sys/time.h usability... yes >checking sys/time.h presence... yes >checking for sys/time.h... 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 inline... inline >checking for working alloca.h... yes >checking for alloca... yes >checking for vprintf... yes >checking for _doprnt... no >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 ld used by GCC... /usr/bin/x86_64-pc-linux-gnu-ld -m elf_x86_64 >checking if the linker (/usr/bin/x86_64-pc-linux-gnu-ld -m elf_x86_64) is GNU ld... yes >checking for shared library run path origin... done >checking for iconv... yes >checking for iconv declaration... > extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft); >checking for nl_langinfo and CODESET... yes >checking for getopt_long_only... yes >checking kpathsea/getopt.h usability... yes >checking kpathsea/getopt.h presence... yes >checking for kpathsea/getopt.h... yes >checking getopt.h usability... yes >checking getopt.h presence... yes >checking for getopt.h... yes >checking gmp.h usability... yes >checking gmp.h presence... yes >checking for gmp.h... yes >checking for __gmp_randinit in -lgmp... 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 whether NLS is requested... yes >checking for GNU gettext in libc... yes >checking whether to use NLS... yes >checking where the gettext function comes from... libc >checking for initscr in -lncurses... yes >checking ncurses.h usability... yes >checking ncurses.h presence... yes >checking for ncurses.h... yes >checking for dlopen in -lc... yes >configure: creating ./config.status >config.status: creating cob-config >config.status: creating Makefile >config.status: creating lib/Makefile >config.status: creating libcob/Makefile >config.status: creating cobc/Makefile >config.status: creating bin/Makefile >config.status: creating po/Makefile.in >config.status: creating texi/Makefile >config.status: creating config/Makefile >config.status: creating copy/Makefile >config.status: creating tests/atlocal >config.status: creating tests/Makefile >config.status: creating tests/cobol85/Makefile >config.status: creating config.h >config.status: executing tests/atconfig commands >config.status: executing depfiles commands >config.status: executing default-1 commands >config.status: creating po/POTFILES >config.status: creating po/Makefile > >OpenCOBOL Configuration: > > CC clang > COB_CC clang > CFLAGS -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int > COB_CFLAGS -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int > COB_EXTRA_FLAGS > LDFLAGS -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 > COB_LDFLAGS -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 > COB_LIBS -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -L/usr/lib64 -lcob -lm -lgmp -lncurses > COB_CONFIG_DIR /usr/share/open-cobol/config > COB_COPY_DIR /usr/share/open-cobol/copy > COB_LIBRARY_PATH /usr/lib64/open-cobol > COB_MODULE_EXT so > COB_SHARED_OPT -shared > COB_PIC_FLAGS -fPIC -DPIC > COB_EXPORT_DYN -Wl,--export-dynamic > COB_STRIP_CMD x86_64-pc-linux-gnu-strip --strip-unneeded > Dynamic loading System > > Use gettext for international messages: yes > Use Berkeley DB for file I/O: no > Use enhanced Berkeley DB (>= 4.1) no > Use fcntl for file locking: yes > Use ncurses/pdcurses/curses for screen I/O: yes > >>>> Source configured. >'/var/tmp/portage/dev-lang/open-cobol-1.1/temp/clang14.log' -> '/var/tmp/clang/dev-lang/open-cobol-1.1/clang14.log' >'/var/tmp/portage/dev-lang/open-cobol-1.1/temp/clang15.log' -> '/var/tmp/clang/dev-lang/open-cobol-1.1/clang15.log' >>>> Compiling source in /var/tmp/portage/dev-lang/open-cobol-1.1/work/open-cobol-1.1 ... >make -j4 >Creating defaults.h... >make all-recursive >make[1]: Entering directory '/var/tmp/portage/dev-lang/open-cobol-1.1/work/open-cobol-1.1' >Making all in lib >make[2]: Entering directory '/var/tmp/portage/dev-lang/open-cobol-1.1/work/open-cobol-1.1/lib' >clang -DHAVE_CONFIG_H -I. -I. -I.. -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c dummymac.c >rm -f libsupport.a >x86_64-pc-linux-gnu-ar cru libsupport.a dummymac.o >x86_64-pc-linux-gnu-ranlib libsupport.a >make[2]: Leaving directory '/var/tmp/portage/dev-lang/open-cobol-1.1/work/open-cobol-1.1/lib' >Making all in libcob >make[2]: Entering directory '/var/tmp/portage/dev-lang/open-cobol-1.1/work/open-cobol-1.1/libcob' >/bin/sh ../libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I. -I.. -I.. -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c -o libcob_la-common.lo `test -f 'common.c' || echo './'`common.c >/bin/sh ../libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I. -I.. -I.. -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c -o libcob_la-call.lo `test -f 'call.c' || echo './'`call.c >/bin/sh ../libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I. -I.. -I.. -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c -o libcob_la-strings.lo `test -f 'strings.c' || echo './'`strings.c >/bin/sh ../libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I. -I.. -I.. -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c -o libcob_la-move.lo `test -f 'move.c' || echo './'`move.c >mkdir .libs > clang -DHAVE_CONFIG_H -I. -I. -I.. -I.. -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c common.c -fPIC -DPIC -o .libs/libcob_la-common.o > clang -DHAVE_CONFIG_H -I. -I. -I.. -I.. -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c call.c -fPIC -DPIC -o .libs/libcob_la-call.o > clang -DHAVE_CONFIG_H -I. -I. -I.. -I.. -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c strings.c -fPIC -DPIC -o .libs/libcob_la-strings.o >common.c:755:13: error: call to undeclared library function 'strcasecmp' with > type 'int (const char *, const char *)'; ISO C99 and later do not support > implicit function declarations [-Werror,-Wimplicit-function-declaration] > if (s && strcasecmp (s, "ON") == 0) { > ^ >common.c:755:13: note: include the header <strings.h> or explicitly provide a > declaration for 'strcasecmp' > clang -DHAVE_CONFIG_H -I. -I. -I.. -I.. -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c move.c -fPIC -DPIC -o .libs/libcob_la-move.o >1 error generated. >make[2]: *** [Makefile:334: libcob_la-common.lo] Error 1 >make[2]: *** Waiting for unfinished jobs.... >call.c:542:7: error: call to undeclared library function 'strcasecmp' with type > 'int (const char *, const char *)'; ISO C99 and later do not support > implicit function declarations [-Werror,-Wimplicit-function-declaration] > if (strcasecmp (s, "LOWER") == 0) { > ^ >call.c:542:7: note: include the header <strings.h> or explicitly provide a > declaration for 'strcasecmp' >call.c:625:25: warning: passing arguments to a function without a prototype is > deprecated in all versions of C and is not supported in C2x > [-Wdeprecated-non-prototype] > return unifunc.funcint (pargv[0], pargv[1], pargv[2], pargv[3], > ^ >1 warning and 1 error generated. >make[2]: *** [Makefile:341: libcob_la-call.lo] Error 1 >make[2]: Leaving directory '/var/tmp/portage/dev-lang/open-cobol-1.1/work/open-cobol-1.1/libcob' >make[1]: *** [Makefile:339: all-recursive] Error 1 >make[1]: Leaving directory '/var/tmp/portage/dev-lang/open-cobol-1.1/work/open-cobol-1.1' >make: *** [Makefile:230: all] Error 2 > * ERROR: dev-lang/open-cobol-1.1::gentoo failed (compile phase): > * emake failed > * > * If you need support, post the output of `emerge --info '=dev-lang/open-cobol-1.1::gentoo'`, > * the complete build log and the output of `emerge -pqv '=dev-lang/open-cobol-1.1::gentoo'`. > * The complete build log is located at '/var/log/portage/dev-lang:open-cobol-1.1:20220917-111758.log'. > * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-lang/open-cobol-1.1/temp/build.log'. > * The ebuild environment file is located at '/var/tmp/portage/dev-lang/open-cobol-1.1/temp/environment'. > * Working directory: '/var/tmp/portage/dev-lang/open-cobol-1.1/work/open-cobol-1.1' > * S: '/var/tmp/portage/dev-lang/open-cobol-1.1/work/open-cobol-1.1' >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 870670
:
807091
|
807094
| 807097 |
807100
|
807103
|
807106
|
807109
|
807112