See the whole build log attached. The failing line is: x86_64-pc-linux-gnu-gcc -DPACKAGE_NAME=\"zlibtcl\" -DPACKAGE_TARNAME=\"zlibtcl\" -DPACKAGE_VERSION=\"1.2.5\" -DPACKAGE_STRING=\"zlibtcl\ 1.2.5\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DBUILD_zlibtcl=/\*\*/ -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 -DNO_VIZ=/\*\*/ -D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_IS_LONG=1 -DUSE_TCL_STUBS=1 -I"." -I"/usr/include" -march=native -O2 -pipe -pipe -O2 -fomit-frame-pointer -Wall -Wwrite-strings -fPIC -DPNG_NO_READ_APNG -DPNG_NO_WRITE_APNG -DZEXTERN=MODULE_SCOPE -c `echo zlibtclStubInit.c` -o zlibtclStubInit.o In file included from zlibtcl.h:56:0, from zlibtcl.c:21: zlibtclDecls.h:123:14: error: expected ')' before 'file' zlibtclDecls.h:123:14: error: expected ')' before '->' token make[1]: *** [zlibtcl.o] Error 1 make[1]: *** Waiting for unfinished jobs.... In file included from zlibtcl.h:56:0, from zlibtclStubInit.c:5: zlibtclDecls.h:123:14: error: expected ')' before 'file' zlibtclDecls.h:123:14: error: expected ')' before '->' token make[1]: *** [zlibtclStubInit.o] Error 1 Reproducible: Always
Created attachment 337976 [details] The build log
emerge --info tkimg please.
Sorry, I've just found that this ebuild was from my local overlay. I didn't notice it when posting this bug