Created attachment 748053 [details] Build.log xz-compressed see build log
Created attachment 748056 [details] emerge --info
see build log emerge --sync done before.
Relevant snippet: ``` In file included from /usr/include/minizip/unzip.h:55, from gen/shim_headers/minizip_shim/third_party/zlib/contrib/minizip/unzip.h:5, from ../../third_party/zlib/google/zip_reader.h:24, from ../../third_party/zlib/google/zip_reader.cc:5: /usr/include/minizip/ioapi.h:135:51: error: expected initializer before ‘_Z_OF’ 135 | typedef voidpf (ZCALLBACK *open_file_func) _Z_OF((voidpf opaque, const char* filename, int mode)); | ^~~~~ /usr/include/minizip/ioapi.h:136:51: error: expected initializer before ‘_Z_OF’ 136 | typedef uLong (ZCALLBACK *read_file_func) _Z_OF((voidpf opaque, voidpf stream, void* buf, uLong size)); | ^~~~~ /usr/include/minizip/ioapi.h:137:51: error: expected initializer before ‘_Z_OF’ 137 | typedef uLong (ZCALLBACK *write_file_func) _Z_OF((voidpf opaque, voidpf stream, const void* buf, uLong size)); | ^~~~~ /usr/include/minizip/ioapi.h:138:51: error: expected initializer before ‘_Z_OF’ 138 | typedef int (ZCALLBACK *close_file_func) _Z_OF((voidpf opaque, voidpf stream)); | ^~~~~ /usr/include/minizip/ioapi.h:139:51: error: expected initializer before ‘_Z_OF’ 139 | typedef int (ZCALLBACK *testerror_file_func) _Z_OF((voidpf opaque, voidpf stream)); | ```
What version of sys-libs/zlib with USE flags is installed?
(In reply to Stephan Hartmann from comment #4) > What version of sys-libs/zlib with USE flags is installed? sys-libs/zlib-1.2.11-r4::gentoo was built with the following: USE="minizip (split-usr) -static-libs" ABI_X86="(64) -32 (-x32)"
re-emerged sys-libs/zlib no change
You seem to have a zconf.h somewhere in the search path of the compiler, e.g. /usr/local/include. Chromium does not ship a zconf.h.
(In reply to Stephan Hartmann from comment #7) > You seem to have a zconf.h somewhere in the search path of the compiler, > e.g. /usr/local/include. Chromium does not ship a zconf.h. Thx, Renamed /usr/local/include/zconf.h to zconf.h.org and zlib.h to zlib.h.org. Build successfull. Seems that I installed zlib from sources. Did make uninstall.