Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 877132 Details for
Bug 919224
net-dns/idnkit-2.3 - localconverter.c: error: passing argument 2 of iconv from incompatible pointer type [-Wincompatible-pointer-types]
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
net-dns:idnkit-2.3:20231204-072309.log
net-dns:idnkit-2.3:20231204-072309.log (text/plain), 18.39 KB, created by
Toralf Förster
on 2023-12-04 20:16:11 UTC
(
hide
)
Description:
net-dns:idnkit-2.3:20231204-072309.log
Filename:
MIME Type:
Creator:
Toralf Förster
Created:
2023-12-04 20:16:11 UTC
Size:
18.39 KB
patch
obsolete
> * Package: net-dns/idnkit-2.3:0 > * Repository: gentoo > * USE: abi_x86_64 amd64 elibc_glibc kernel_linux > * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox > >>>> Unpacking source... >>>> Unpacking idnkit-2.3.tar.bz2 to /var/tmp/portage/net-dns/idnkit-2.3/work >>>> Source unpacked in /var/tmp/portage/net-dns/idnkit-2.3/work >>>> Preparing source in /var/tmp/portage/net-dns/idnkit-2.3/work/idnkit-2.3 ... >>>> Source prepared. >>>> Configuring source in /var/tmp/portage/net-dns/idnkit-2.3/work/idnkit-2.3 ... > * econf: updating idnkit-2.3/config.guess with /usr/share/gnuconfig/config.guess > * econf: updating idnkit-2.3/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 --disable-dependency-tracking --docdir=/usr/share/doc/idnkit-2.3 --htmldir=/usr/share/doc/idnkit-2.3/html --libdir=/usr/lib64 --disable-static --disable-liteonly >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 thread-safe mkdir -p... /bin/mkdir -p >checking for gawk... gawk >checking whether make sets $(MAKE)... yes >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 we are using the GNU C compiler... yes >checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes >checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... none needed >checking for style of include used by make... GNU >checking dependency style of x86_64-pc-linux-gnu-gcc... none >checking whether ln -s works... yes >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/nm -B >checking the name lister (/usr/bin/nm -B) interface... BSD nm >checking the maximum length of command line arguments... 1572864 >checking whether the shell understands some XSI constructs... yes >checking whether the shell understands "+="... yes >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-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... 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/nm -B output from x86_64-pc-linux-gnu-gcc object... ok >checking for sysroot... no >checking for x86_64-pc-linux-gnu-mt... no >checking for mt... mt >checking if mt is a manifest tool... no >checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E >checking for ANSI C header files... yes >checking for sys/types.h... yes >checking for sys/stat.h... yes >checking for stdlib.h... yes >checking for string.h... yes >checking for memory.h... yes >checking for strings.h... yes >checking for inttypes.h... yes >checking for stdint.h... yes >checking for unistd.h... yes >checking 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 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 perl... /usr/bin/perl >checking for unistd.h... (cached) yes >checking locale.h usability... yes >checking locale.h presence... yes >checking for locale.h... yes >checking langinfo.h usability... yes >checking langinfo.h presence... yes >checking for langinfo.h... yes >checking pwd.h usability... yes >checking pwd.h presence... yes >checking for pwd.h... yes >checking sys/param.h usability... yes >checking sys/param.h presence... yes >checking for sys/param.h... yes >checking for setlocale... yes >checking for nl_langinfo... yes >checking for iconv... yes >checking for codeset name UTF-8... yes >checking that generated files are newer than configure... done >configure: creating ./config.status >config.status: creating Makefile >config.status: creating data/Makefile >config.status: creating include/Makefile >config.status: creating lib/Makefile >config.status: creating tools/idncheck/Makefile >config.status: creating tools/idncmp/Makefile >config.status: creating tools/idnconv/Makefile >config.status: creating conf/Makefile >config.status: creating man/Makefile >config.status: creating map/Makefile >config.status: creating util/Makefile >config.status: creating test/Makefile >config.status: creating test/common/Makefile >config.status: creating test/api/Makefile >config.status: creating test/asclower/Makefile >config.status: creating test/auto/Makefile >config.status: creating test/bidicheck/Makefile >config.status: creating test/checkname/Makefile >config.status: creating test/combcheck/Makefile >config.status: creating test/command/Makefile >config.status: creating test/comparenames/Makefile >config.status: creating test/ctxjcheck/Makefile >config.status: creating test/ctxocheck/Makefile >config.status: creating test/decodename/Makefile >config.status: creating test/delimitermap/Makefile >config.status: creating test/encodename/Makefile >config.status: creating test/hyphcheck/Makefile >config.status: creating test/idnconv/Makefile >config.status: creating test/language/Makefile >config.status: creating test/languagelocal/Makefile >config.status: creating test/lencheck/Makefile >config.status: creating test/libidnkitlite/Makefile >config.status: creating test/loadconf/Makefile >config.status: creating test/localcheck/Makefile >config.status: creating test/localconv/Makefile >config.status: creating test/localencoding/Makefile >config.status: creating test/lowercase/Makefile >config.status: creating test/map/Makefile >config.status: creating test/misc/Makefile >config.status: creating test/nfc/Makefile >config.status: creating test/nfccheck/Makefile >config.status: creating test/nfkc/Makefile >config.status: creating test/normalization/Makefile >config.status: creating test/overflow/Makefile >config.status: creating test/prefcheck/Makefile >config.status: creating test/prohcheck/Makefile >config.status: creating test/result/Makefile >config.status: creating test/rtcheck/Makefile >config.status: creating test/rtconv/Makefile >config.status: creating test/tldlocal/Makefile >config.status: creating test/tr46check/Makefile >config.status: creating test/tr46map/Makefile >config.status: creating test/unascheck/Makefile >config.status: creating test/undoiferr/Makefile >config.status: creating test/unicodeconv/Makefile >config.status: creating test/utf8/Makefile >config.status: creating test/version/Makefile >config.status: creating test/width/Makefile >config.status: creating include/config.h >config.status: executing depfiles commands >config.status: executing libtool commands >>>> Source configured. >>>> Compiling source in /var/tmp/portage/net-dns/idnkit-2.3/work/idnkit-2.3 ... >make -j4 >Making all in data >make[1]: Entering directory '/var/tmp/portage/net-dns/idnkit-2.3/work/idnkit-2.3/data' >make[1]: Nothing to be done for 'all'. >make[1]: Leaving directory '/var/tmp/portage/net-dns/idnkit-2.3/work/idnkit-2.3/data' >Making all in include >make[1]: Entering directory '/var/tmp/portage/net-dns/idnkit-2.3/work/idnkit-2.3/include' >make all-am >make[2]: Entering directory '/var/tmp/portage/net-dns/idnkit-2.3/work/idnkit-2.3/include' >test -d idn || mkdir idn >rm -f idn/version.h.tmp >sed -e 's/[@]VERSION[@]/2.3/' \ > -e 's/[@]MAJOR_VERSION[@]/2/' \ > -e 's/[@]MINOR_VERSION[@]/2/' \ > ./idn/version.h.in > idn/version.h.tmp >if test ! -f idn/version.h; then \ > mv -f idn/version.h.tmp idn/version.h; \ >else \ > if cmp idn/version.h.tmp idn/version.h; then \ > rm -f idn/version.h.tmp; \ > else \ > mv -f idn/version.h.tmp idn/version.h; \ > fi \ >fi >make[2]: Leaving directory '/var/tmp/portage/net-dns/idnkit-2.3/work/idnkit-2.3/include' >make[1]: Leaving directory '/var/tmp/portage/net-dns/idnkit-2.3/work/idnkit-2.3/include' >Making all in lib >make[1]: Entering directory '/var/tmp/portage/net-dns/idnkit-2.3/work/idnkit-2.3/lib' >/bin/sh ../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include -I../include -I../include -DSYSCONFDIR=\"/etc\" -O3 -pipe -march=native -fno-diagnostics-color -c -o libidnkit_la-api.lo `test -f 'api.c' || echo './'`api.c >/bin/sh ../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include -I../include -I../include -DSYSCONFDIR=\"/etc\" -O3 -pipe -march=native -fno-diagnostics-color -c -o libidnkit_la-debug.lo `test -f 'debug.c' || echo './'`debug.c >/bin/sh ../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include -I../include -I../include -DSYSCONFDIR=\"/etc\" -O3 -pipe -march=native -fno-diagnostics-color -c -o libidnkit_la-ctxrule.lo `test -f 'ctxrule.c' || echo './'`ctxrule.c >/bin/sh ../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include -I../include -I../include -DSYSCONFDIR=\"/etc\" -O3 -pipe -march=native -fno-diagnostics-color -c -o libidnkit_la-delimitermap.lo `test -f 'delimitermap.c' || echo './'`delimitermap.c >libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include -I../include -I../include -DSYSCONFDIR=\"/etc\" -O3 -pipe -march=native -fno-diagnostics-color -c ctxrule.c -fPIC -DPIC -o .libs/libidnkit_la-ctxrule.o >libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include -I../include -I../include -DSYSCONFDIR=\"/etc\" -O3 -pipe -march=native -fno-diagnostics-color -c debug.c -fPIC -DPIC -o .libs/libidnkit_la-debug.o >libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include -I../include -I../include -DSYSCONFDIR=\"/etc\" -O3 -pipe -march=native -fno-diagnostics-color -c delimitermap.c -fPIC -DPIC -o .libs/libidnkit_la-delimitermap.o >libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include -I../include -I../include -DSYSCONFDIR=\"/etc\" -O3 -pipe -march=native -fno-diagnostics-color -c api.c -fPIC -DPIC -o .libs/libidnkit_la-api.o >/bin/sh ../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include -I../include -I../include -DSYSCONFDIR=\"/etc\" -O3 -pipe -march=native -fno-diagnostics-color -c -o libidnkit_la-encodingalias.lo `test -f 'encodingalias.c' || echo './'`encodingalias.c >/bin/sh ../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include -I../include -I../include -DSYSCONFDIR=\"/etc\" -O3 -pipe -march=native -fno-diagnostics-color -c -o libidnkit_la-foreignmap.lo `test -f 'foreignmap.c' || echo './'`foreignmap.c >/bin/sh ../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include -I../include -I../include -DSYSCONFDIR=\"/etc\" -O3 -pipe -march=native -fno-diagnostics-color -c -o libidnkit_la-foreignset.lo `test -f 'foreignset.c' || echo './'`foreignset.c >libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include -I../include -I../include -DSYSCONFDIR=\"/etc\" -O3 -pipe -march=native -fno-diagnostics-color -c encodingalias.c -fPIC -DPIC -o .libs/libidnkit_la-encodingalias.o >libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include -I../include -I../include -DSYSCONFDIR=\"/etc\" -O3 -pipe -march=native -fno-diagnostics-color -c foreignset.c -fPIC -DPIC -o .libs/libidnkit_la-foreignset.o >libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include -I../include -I../include -DSYSCONFDIR=\"/etc\" -O3 -pipe -march=native -fno-diagnostics-color -c foreignmap.c -fPIC -DPIC -o .libs/libidnkit_la-foreignmap.o >/bin/sh ../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include -I../include -I../include -DSYSCONFDIR=\"/etc\" -O3 -pipe -march=native -fno-diagnostics-color -c -o libidnkit_la-labellist.lo `test -f 'labellist.c' || echo './'`labellist.c >libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include -I../include -I../include -DSYSCONFDIR=\"/etc\" -O3 -pipe -march=native -fno-diagnostics-color -c labellist.c -fPIC -DPIC -o .libs/libidnkit_la-labellist.o >/bin/sh ../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include -I../include -I../include -DSYSCONFDIR=\"/etc\" -O3 -pipe -march=native -fno-diagnostics-color -c -o libidnkit_la-lang.lo `test -f 'lang.c' || echo './'`lang.c >/bin/sh ../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include -I../include -I../include -DSYSCONFDIR=\"/etc\" -O3 -pipe -march=native -fno-diagnostics-color -c -o libidnkit_la-langalias.lo `test -f 'langalias.c' || echo './'`langalias.c >libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include -I../include -I../include -DSYSCONFDIR=\"/etc\" -O3 -pipe -march=native -fno-diagnostics-color -c lang.c -fPIC -DPIC -o .libs/libidnkit_la-lang.o >libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include -I../include -I../include -DSYSCONFDIR=\"/etc\" -O3 -pipe -march=native -fno-diagnostics-color -c langalias.c -fPIC -DPIC -o .libs/libidnkit_la-langalias.o >/bin/sh ../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include -I../include -I../include -DSYSCONFDIR=\"/etc\" -O3 -pipe -march=native -fno-diagnostics-color -c -o libidnkit_la-langlocalmap.lo `test -f 'langlocalmap.c' || echo './'`langlocalmap.c >/bin/sh ../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include -I../include -I../include -DSYSCONFDIR=\"/etc\" -O3 -pipe -march=native -fno-diagnostics-color -c -o libidnkit_la-localconverter.lo `test -f 'localconverter.c' || echo './'`localconverter.c >libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include -I../include -I../include -DSYSCONFDIR=\"/etc\" -O3 -pipe -march=native -fno-diagnostics-color -c langlocalmap.c -fPIC -DPIC -o .libs/libidnkit_la-langlocalmap.o >libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include -I../include -I../include -DSYSCONFDIR=\"/etc\" -O3 -pipe -march=native -fno-diagnostics-color -c localconverter.c -fPIC -DPIC -o .libs/libidnkit_la-localconverter.o >localconverter.c: In function 'localconverter_iconv_conv': >localconverter.c:602:21: error: passing argument 2 of 'iconv' from incompatible pointer type [-Wincompatible-pointer-types] > 602 | iconv(ictx, (const char **)NULL, &inleft, &outbuf, &outleft); > | ^ > | | > | const char ** >In file included from localconverter.c:195: >/usr/include/iconv.h:49:54: note: expected 'char ** restrict' but argument is of type 'const char **' > 49 | extern size_t iconv (iconv_t __cd, char **__restrict __inbuf, > | ~~~~~~~~~~~~~~~~~~^~~~~~~ >localconverter.c:607:26: error: passing argument 2 of 'iconv' from incompatible pointer type [-Wincompatible-pointer-types] > 607 | sz = iconv(ictx, (const char **)&inbuf, &inleft, &to, &outleft); > | ^~~~~~~~~~~~~~~~~~~~~ > | | > | const char ** >/usr/include/iconv.h:49:54: note: expected 'char ** restrict' but argument is of type 'const char **' > 49 | extern size_t iconv (iconv_t __cd, char **__restrict __inbuf, > | ~~~~~~~~~~~~~~~~~~^~~~~~~ >localconverter.c:633:26: error: passing argument 2 of 'iconv' from incompatible pointer type [-Wincompatible-pointer-types] > 633 | sz = iconv(ictx, (const char **)NULL, &inleft, &to, &outleft); > | ^ > | | > | const char ** >/usr/include/iconv.h:49:54: note: expected 'char ** restrict' but argument is of type 'const char **' > 49 | extern size_t iconv (iconv_t __cd, char **__restrict __inbuf, > | ~~~~~~~~~~~~~~~~~~^~~~~~~ >make[1]: *** [Makefile:804: libidnkit_la-localconverter.lo] Error 1 >make[1]: *** Waiting for unfinished jobs.... >make[1]: Leaving directory '/var/tmp/portage/net-dns/idnkit-2.3/work/idnkit-2.3/lib' >make: *** [Makefile:329: all-recursive] Error 1 > * ERROR: net-dns/idnkit-2.3::gentoo failed (compile phase): > * emake failed > * > * If you need support, post the output of `emerge --info '=net-dns/idnkit-2.3::gentoo'`, > * the complete build log and the output of `emerge -pqv '=net-dns/idnkit-2.3::gentoo'`. > * The complete build log is located at '/var/log/portage/net-dns:idnkit-2.3:20231204-072309.log'. > * For convenience, a symlink to the build log is located at '/var/tmp/portage/net-dns/idnkit-2.3/temp/build.log'. > * The ebuild environment file is located at '/var/tmp/portage/net-dns/idnkit-2.3/temp/environment'. > * Working directory: '/var/tmp/portage/net-dns/idnkit-2.3/work/idnkit-2.3' > * S: '/var/tmp/portage/net-dns/idnkit-2.3/work/idnkit-2.3' >
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 919224
:
877126
|
877127
|
877128
|
877129
|
877130
|
877131
| 877132 |
877133
|
877134