* Package: dev-tcltk/togl-2.0-r3:0 * Repository: gentoo * Maintainer: tcltk@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux threads userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking Togl2.0-src.tar.gz to /var/tmp/portage/dev-tcltk/togl-2.0-r3/work >>> Source unpacked in /var/tmp/portage/dev-tcltk/togl-2.0-r3/work >>> Preparing source in /var/tmp/portage/dev-tcltk/togl-2.0-r3/work/Togl2.0 ... >>> Source prepared. * Clang 16 testing: this build is using a /etc/portage/bashrc hook! >>> Configuring source in /var/tmp/portage/dev-tcltk/togl-2.0-r3/work/Togl2.0 ... ./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 --docdir=/usr/share/doc/togl-2.0-r3 --htmldir=/usr/share/doc/togl-2.0-r3/html --libdir=/usr/lib64 --disable-symbols --enable-threads checking for correct TEA configuration... ok (TEA 3.6) checking for Tcl configuration... found /usr/lib64/tclConfig.sh checking for existence of /usr/lib64/tclConfig.sh... loading checking for Tk configuration... found /usr/lib64/tkConfig.sh checking for existence of /usr/lib64/tkConfig.sh... loading configure: --exec-prefix defaulting to TCL_EXEC_PREFIX /usr 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 ISO C89... none needed checking how to run the C preprocessor... clang -E checking for a BSD-compatible install... /usr/lib/portage/python3.10/ebuild-helpers/xattr/install -c checking whether make sets $(MAKE)... yes checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -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 if the compiler understands ... yes checking whether byte ordering is bigendian... no checking for sin... no checking for main in -lieee... no checking for main in -linet... no checking net/errno.h usability... no checking net/errno.h presence... no checking for net/errno.h... no checking for connect... yes checking for gethostbyname... yes checking dirent.h... yes checking errno.h usability... yes checking errno.h presence... yes checking for errno.h... yes checking float.h usability... yes checking float.h presence... yes checking for float.h... yes checking values.h usability... yes checking values.h presence... yes checking for values.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking sys/wait.h usability... yes checking sys/wait.h presence... yes checking for sys/wait.h... yes checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking whether to link with stubs library... stubs checking for autostereo directory... checking for autostereod... no checking for Tcl private include files... Using srcdir found in tclConfig.sh: /usr/lib64/tcl8.6/include checking for Tk private include files... Using srcdir found in tkConfig.sh: /usr/lib64/tk8.6/include checking for X... libraries , headers checking for X11 header files... checking for pthread_mutex_init in -lpthread... yes checking for building with threads... yes (default) checking how to build libraries... shared checking if 64bit support is requested... no checking if 64bit Sparc VIS support is requested... no checking if compiler supports visibility "hidden"... yes checking if rpath support is requested... yes checking system version... Linux-6.0.8 checking for dlopen in -ldl... yes checking for ar... ar checking for required early compiler flags... _LARGEFILE64_SOURCE checking for 64-bit integer type... using long checking for build with symbols... no checking for tclsh... /usr/bin/tclsh8.6 checking for wish... /usr/bin/wish8.6 configure: creating ./config.status config.status: creating Makefile config.status: creating pkgIndex.tcl config.status: creating togl_ws.h >>> Source configured. '/var/tmp/portage/dev-tcltk/togl-2.0-r3/temp/clang16-errors.log' -> '/var/tmp/clang/dev-tcltk/togl-2.0-r3/clang16-errors.log' '/var/tmp/portage/dev-tcltk/togl-2.0-r3/temp/clang16-safe.log' -> '/var/tmp/clang/dev-tcltk/togl-2.0-r3/clang16-safe.log' >>> Compiling source in /var/tmp/portage/dev-tcltk/togl-2.0-r3/work/Togl2.0 ... make -j4 clang -DPACKAGE_NAME=\"Togl\" -DPACKAGE_TARNAME=\"togl\" -DPACKAGE_VERSION=\"2.0\" -DPACKAGE_STRING=\"Togl\ 2.0\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_PARAM_H=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DTCL_THREADS=1 -DMODULE_SCOPE=extern\ __attribute__\(\(__visibility__\(\"hidden\"\)\)\) -D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_IS_LONG=1 -DUSE_TCL_STUBS=1 -DUSE_TK_STUBS=1 -DAUTOSTEREOD=\"\" -I"/usr/lib64/tcl8.6/include/generic" -I"/usr/lib64/tcl8.6/include/unix" -I"/usr/lib64/tk8.6/include/generic" -I"/usr/lib64/tk8.6/include/unix" -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -Wall -Wno-implicit-int -fPIC -c `echo togl.c` -o togl.o clang -DPACKAGE_NAME=\"Togl\" -DPACKAGE_TARNAME=\"togl\" -DPACKAGE_VERSION=\"2.0\" -DPACKAGE_STRING=\"Togl\ 2.0\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_PARAM_H=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DTCL_THREADS=1 -DMODULE_SCOPE=extern\ __attribute__\(\(__visibility__\(\"hidden\"\)\)\) -D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_IS_LONG=1 -DUSE_TCL_STUBS=1 -DUSE_TK_STUBS=1 -DAUTOSTEREOD=\"\" -I"/usr/lib64/tcl8.6/include/generic" -I"/usr/lib64/tcl8.6/include/unix" -I"/usr/lib64/tk8.6/include/generic" -I"/usr/lib64/tk8.6/include/unix" -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -Wall -Wno-implicit-int -fPIC -c `echo toglProcAddr.c` -o toglProcAddr.o clang -DPACKAGE_NAME=\"Togl\" -DPACKAGE_TARNAME=\"togl\" -DPACKAGE_VERSION=\"2.0\" -DPACKAGE_STRING=\"Togl\ 2.0\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_PARAM_H=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DTCL_THREADS=1 -DMODULE_SCOPE=extern\ __attribute__\(\(__visibility__\(\"hidden\"\)\)\) -D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_IS_LONG=1 -DUSE_TCL_STUBS=1 -DUSE_TK_STUBS=1 -DAUTOSTEREOD=\"\" -I"/usr/lib64/tcl8.6/include/generic" -I"/usr/lib64/tcl8.6/include/unix" -I"/usr/lib64/tk8.6/include/generic" -I"/usr/lib64/tk8.6/include/unix" -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -Wall -Wno-implicit-int -fPIC -c `echo toglStubInit.c` -o toglStubInit.o clang -DPACKAGE_NAME=\"Togl\" -DPACKAGE_TARNAME=\"togl\" -DPACKAGE_VERSION=\"2.0\" -DPACKAGE_STRING=\"Togl\ 2.0\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_PARAM_H=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DTCL_THREADS=1 -DMODULE_SCOPE=extern\ __attribute__\(\(__visibility__\(\"hidden\"\)\)\) -D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_IS_LONG=1 -DUSE_TCL_STUBS=1 -DUSE_TK_STUBS=1 -DAUTOSTEREOD=\"\" -I"/usr/lib64/tcl8.6/include/generic" -I"/usr/lib64/tcl8.6/include/unix" -I"/usr/lib64/tk8.6/include/generic" -I"/usr/lib64/tk8.6/include/unix" -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -Wall -Wno-implicit-int -fPIC -c `echo toglStubLib.c` -o toglStubLib.o rm -f libToglstub2.0.a ar cr libToglstub2.0.a toglStubLib.o x86_64-pc-linux-gnu-ranlib libToglstub2.0.a togl.c:928:26: error: incompatible function pointer types assigning to 'void (*)(Tk_Window, Tk_ClassProcs *, ClientData)' (aka 'void (*)(struct Tk_Window_ *, struct Tk_ClassProcs *, void *)') from 'void (*const)(Tk_Window, const Tk_ClassProcs *, ClientData)' (aka 'void (*const)(struct Tk_Window_ *, const struct Tk_ClassProcs *, void *)') [-Werror,-Wincompatible-function-pointer-types] SetClassProcsPtr = tkStubsPtr->tk_SetClassProcs; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 error generated. make: *** [Makefile:357: togl.o] Error 1 * ERROR: dev-tcltk/togl-2.0-r3::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=dev-tcltk/togl-2.0-r3::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-tcltk/togl-2.0-r3::gentoo'`. * The complete build log is located at '/var/log/portage/dev-tcltk:togl-2.0-r3:20221113-145246.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-tcltk/togl-2.0-r3/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-tcltk/togl-2.0-r3/temp/environment'. * Working directory: '/var/tmp/portage/dev-tcltk/togl-2.0-r3/work/Togl2.0' * S: '/var/tmp/portage/dev-tcltk/togl-2.0-r3/work/Togl2.0'