* Package: dev-tcltk/tclperl-3.2-r2:0 * Repository: gentoo * Maintainer: tcltk@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking tclperl-3.2.tar.bz2 to /var/tmp/portage/dev-tcltk/tclperl-3.2-r2/work >>> Source unpacked in /var/tmp/portage/dev-tcltk/tclperl-3.2-r2/work >>> Preparing source in /var/tmp/portage/dev-tcltk/tclperl-3.2-r2/work/tclperl-3.2 ... >>> Source prepared. * Clang 16 testing: this build is using a /etc/portage/bashrc hook! >>> Configuring source in /var/tmp/portage/dev-tcltk/tclperl-3.2-r2/work/tclperl-3.2 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/dev-tcltk/tclperl-3.2-r2/work/tclperl-3.2 ... Generating a Unix-style Makefile Writing Makefile for Tcl Writing MYMETA.yml and MYMETA.json make -j4 'OPTIMIZE=-pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -fPIC' Tcl.o "/usr/bin/perl" "/usr/lib64/perl5/5.36/ExtUtils/xsubpp" -typemap '/usr/lib64/perl5/5.36/ExtUtils/typemap' Tcl.xs > Tcl.xsc mv Tcl.xsc Tcl.c x86_64-pc-linux-gnu-gcc -c -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -fno-strict-aliasing -fwrapv -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -fPIC -DVERSION=\"1.1\" -DXS_VERSION=\"1.1\" -fPIC "-I/usr/lib64/perl5/5.36/x86_64-linux/CORE" Tcl.c Tcl.xs: In function ‘XS_Tcl_eval’: Tcl.xs:23:67: warning: passing argument 4 of ‘tclEvaluate’ from incompatible pointer type [-Wincompatible-pointer-types] 23 | SvPV(SvRV(interpreter), length), script, &result, &length | ^~~~~~~ | | | STRLEN * {aka long unsigned int *} Tcl.xs:7:49: note: expected ‘int *’ but argument is of type ‘STRLEN *’ {aka ‘long unsigned int *’} 7 | extern int tclEvaluate(char *, char *, char **, int *); | ^~~~~ Tcl.xs:26:13: warning: format not a string literal and no format arguments [-Wformat-security] 26 | croak(result); | ^~~~~ tclperl.c:66:24: error: incompatible function pointer types passing 'void (PerlInterpreter *, CV *)' (aka 'void (struct interpreter *, struct cv *)') to parameter of type 'XSUBADDR_t' (aka 'void (*)(struct cv *)') [-Werror,-Wincompatible-function-pointer-types] newXS("Tcl::eval", XS_Tcl_eval, __FILE__); ^~~~~~~~~~~ /usr/lib64/perl5/5.36/x86_64-linux/CORE/embed.h:411:42: note: expanded from macro 'newXS' #define newXS(a,b,c) Perl_newXS(aTHX_ a,b,c) ^ /usr/lib64/perl5/5.36/x86_64-linux/CORE/proto.h:2584:65: note: passing argument to parameter 'subaddr' here ...CV* Perl_newXS(pTHX_ const char *name, XSUBADDR_t subaddr, const c... ^ tclperl.c:90:50: warning: cast to 'const char *' from smaller integer type 'int' [-Wint-to-pointer-cast] entry = Tcl_FindHashEntry(&perlInterpreters, (CONST char *)identifier); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/tcl.h:2564:53: note: expanded from macro 'Tcl_FindHashEntry' (*((tablePtr)->findProc))(tablePtr, (const char *)(key)) ^~~ tclperl.c:181:61: warning: cast to 'const char *' from smaller integer type 'int' [-Wint-to-pointer-cast] Tcl_SetHashValue(Tcl_CreateHashEntry(&perlInterpreters, (CONST char *)identifier, &created), my_perl); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/tcl.h:2567:55: note: expanded from macro 'Tcl_CreateHashEntry' (*((tablePtr)->createProc))(tablePtr, (const char *)(key), newPtr) ^ /usr/include/tcl.h:2550:38: note: expanded from macro 'Tcl_SetHashValue' #define Tcl_SetHashValue(h, value) ((h)->clientData = (ClientData) (value)) ^ tclperl.c:206:58: warning: cast to 'const char *' from smaller integer type 'int' [-Wint-to-pointer-cast] ...entry = Tcl_FindHashEntry(&perlInterpreters, (CONST char *)identifier); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/tcl.h:2564:53: note: expanded from macro 'Tcl_FindHashEntry' (*((tablePtr)->findProc))(tablePtr, (const char *)(key)) ^~~ tclperl.c:334:31: warning: incompatible pointer types passing 'char *(*)[0]' to parameter of type 'char ***' [-Wincompatible-pointer-types] PERL_SYS_INIT(&count, &arguments); /* note: PERL_... ^~~~~~~~~~ /usr/lib64/perl5/5.36/x86_64-linux/CORE/perl.h:3282:55: note: expanded from macro 'PERL_SYS_INIT' #define PERL_SYS_INIT(argc, argv) Perl_sys_init(argc, argv) ^~~~ /usr/lib64/perl5/5.36/x86_64-linux/CORE/proto.h:3993:53: note: passing argument to parameter 'argv' here PERL_CALLCONV void Perl_sys_init(int* argc, char*** argv); ^ 4 warnings and 1 error generated. * ERROR: dev-tcltk/tclperl-3.2-r2::gentoo failed (compile phase): * (no error message) * * Call stack: * ebuild.sh, line 122: Called src_compile * environment, line 1875: Called die * The specific snippet of code: * $(tc-getCC) -shared ${LDFLAGS} ${CFLAGS} -o tclperl.so.${PV} -DUSE_TCL_STUBS tclperl.c tclthread.c `perl -MExtUtils::Embed -e ccopts -e ldopts` /usr/$(get_libdir)/libtclstub`echo 'puts $tcl_version' | tclsh`.a Tcl.o || die * * If you need support, post the output of `emerge --info '=dev-tcltk/tclperl-3.2-r2::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-tcltk/tclperl-3.2-r2::gentoo'`. * The complete build log is located at '/var/log/portage/dev-tcltk:tclperl-3.2-r2:20221115-204629.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-tcltk/tclperl-3.2-r2/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-tcltk/tclperl-3.2-r2/temp/environment'. * Working directory: '/var/tmp/portage/dev-tcltk/tclperl-3.2-r2/work/tclperl-3.2' * S: '/var/tmp/portage/dev-tcltk/tclperl-3.2-r2/work/tclperl-3.2'