Created attachment 464496 [details] x11-libs:gtk+-2.24.31-r1:20170219-233134.log.xz libtool: compile: x86_64-pc-linux-gnu-gcc -m32 -DHAVE_CONFIG_H -I. -I/home/portage/x11-libs/gtk+-2.24.31-r1/work/gtk+-2.24.31/modules/printbackends/cups -I../ ../.. -I/home/portage/x11-libs/gtk+-2.24.31-r1/work/gtk+-2.24.31 -I/home/portage/x11-libs/gtk+-2.24.31-r1/work/gtk+-2.24.31/gtk -I../../../gtk -I/home/portage/ x11-libs/gtk+-2.24.31-r1/work/gtk+-2.24.31/gdk -I../../../gdk -DGTK_PRINT_BACKEND_ENABLE_UNSUPPORTED -pthread -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 - I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libdrm -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include /harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib32/glib-2.0/include -I//usr/include/freetype2 -I/usr/include/freetype2 -DG_DISABLE_CAST_CH ECKS -DG_DISABLE_SINGLE_INCLUDES -DATK_DISABLE_SINGLE_INCLUDES -DGDK_PIXBUF_DISABLE_SINGLE_INCLUDES -DGTK_DISABLE_SINGLE_INCLUDES -frecord-gcc-switches -g -pip e -O2 -Wall -Wformat=2 -march=amdfam10 -mno-ssse3 -mno-movbe -mno-aes -mno-sha -mno-pclmul -mno-lwp -mno-fma -mno-fma4 -mno-xop -mno-bmi -mno-bmi2 -mno-tbm -mn o-avx -mno-avx2 -mno-sse4.2 -mno-sse4.1 -mno-rtm -mno-hle -mno-rdrnd -mno-f16c -mno-fsgsbase -mno-xsave -mno-xsaveopt -mno-avx512f -mno-avx512er -mno-avx512cd -mno-avx512pf -mtune=amdfam10 -Wno-comment -c /home/portage/x11-libs/gtk+-2.24.31-r1/work/gtk+-2.24.31/modules/printbackends/cups/gtkprintbackendcups.c -fPIC -DPIC -o .libs/gtkprintbackendcups.o /home/portage/x11-libs/gtk+-2.24.31-r1/work/gtk+-2.24.31/modules/printbackends/cups/gtkprintbackendcups.c:285:1: error: static declaration of ‘ippGetRange’ follows non-static declaration ippGetRange (ipp_attribute_t *attr, ^ In file included from /usr/include/cups/cups.h:34:0, from /home/portage/x11-libs/gtk+-2.24.31-r1/work/gtk+-2.24.31/modules/printbackends/cups/gtkprintbackendcups.c:41: /usr/include/cups/ipp.h:942:13: note: previous declaration of ‘ippGetRange’ was here extern int ippGetRange(ipp_attribute_t *attr, int element, ^ /home/portage/x11-libs/gtk+-2.24.31-r1/work/gtk+-2.24.31/modules/printbackends/cups/gtkprintbackendcups.c: In function ‘ippGetRange’: /home/portage/x11-libs/gtk+-2.24.31-r1/work/gtk+-2.24.31/modules/printbackends/cups/gtkprintbackendcups.c:289:16: error: dereferencing pointer to incomplete type *upper = attr->values[element].range.upper; ^ /home/portage/x11-libs/gtk+-2.24.31-r1/work/gtk+-2.24.31/modules/printbackends/cups/gtkprintbackendcups.c:290:15: error: dereferencing pointer to incomplete type return (attr->values[element].range.lower); ^ /home/portage/x11-libs/gtk+-2.24.31-r1/work/gtk+-2.24.31/modules/printbackends/cups/gtkprintbackendcups.c: In function ‘cups_print_cb’: /home/portage/x11-libs/gtk+-2.24.31-r1/work/gtk+-2.24.31/modules/printbackends/cups/gtkprintbackendcups.c:276:40: error: dereferencing pointer to incomplete type #define ippGetInteger(attr, index) attr->values[index].integer ^ /home/portage/x11-libs/gtk+-2.24.31-r1/work/gtk+-2.24.31/modules/printbackends/cups/gtkprintbackendcups.c:520:11: note: in expansion of macro ‘ippGetInteger’ job_id = ippGetInteger (attr, 0); ^ /home/portage/x11-libs/gtk+-2.24.31-r1/work/gtk+-2.24.31/modules/printbackends/cups/gtkprintbackendcups.c: In function ‘httpGetHostname’: /home/portage/x11-libs/gtk+-2.24.31-r1/work/gtk+-2.24.31/modules/printbackends/cups/gtkprintbackendcups.c:915:15: error: dereferencing pointer to incomplete type if (http->hostname[0] == '/') ^ /home/portage/x11-libs/gtk+-2.24.31-r1/work/gtk+-2.24.31/modules/printbackends/cups/gtkprintbackendcups.c:918:27: error: dereferencing pointer to incomplete type g_strlcpy (s, http->hostname, slen); ^ /home/portage/x11-libs/gtk+-2.24.31-r1/work/gtk+-2.24.31/modules/printbackends/cups/gtkprintbackendcups.c: In function ‘request_password’: /home/portage/x11-libs/gtk+-2.24.31-r1/work/gtk+-2.24.31/modules/printbackends/cups/gtkprintbackendcups.c:275:49: error: dereferencing pointer to incomplete type #define ippGetOperation(ipp_request) ipp_request->request.op.operation_id ^ /home/portage/x11-libs/gtk+-2.24.31-r1/work/gtk+-2.24.31/modules/printbackends/cups/gtkprintbackendcups.c:1080:15: note: in expansion of macro ‘ippGetOperation’ switch (ippGetOperation (dispatch->request->ipp_request)) ^ /home/portage/x11-libs/gtk+-2.24.31-r1/work/gtk+-2.24.31/modules/printbackends/cups/gtkprintbackendcups.c:275:49: error: dereferencing pointer to incomplete type #define ippGetOperation(ipp_request) ipp_request->request.op.operation_id ^ /home/portage/x11-libs/gtk+-2.24.31-r1/work/gtk+-2.24.31/modules/printbackends/cups/gtkprintbackendcups.c:1108:17: note: in expansion of macro ‘ippGetOperation’ if (ippGetOperation (dispatch->request->ipp_request) == 0) ^ /home/portage/x11-libs/gtk+-2.24.31-r1/work/gtk+-2.24.31/modules/printbackends/cups/gtkprintbackendcups.c: In function ‘cups_dispatch_add_poll’: /home/portage/x11-libs/gtk+-2.24.31-r1/work/gtk+-2.24.31/modules/printbackends/cups/gtkprintbackendcups.c:1174:60: error: dereferencing pointer to incomplete type dispatch->data_poll->fd = dispatch->request->http->fd; ^ /home/portage/x11-libs/gtk+-2.24.31-r1/work/gtk+-2.24.31/modules/printbackends/cups/gtkprintbackendcups.c: In function ‘cups_request_job_info_cb’: /home/portage/x11-libs/gtk+-2.24.31-r1/work/gtk+-2.24.31/modules/printbackends/cups/gtkprintbackendcups.c:1705:23: error: dereferencing pointer to incomplete type for (attr = response->attrs; attr != NULL; attr = attr->next) ^ /home/portage/x11-libs/gtk+-2.24.31-r1/work/gtk+-2.24.31/modules/printbackends/cups/gtkprintbackendcups.c:1705:57: error: dereferencing pointer to incomplete type for (attr = response->attrs; attr != NULL; attr = attr->next) ^ /home/portage/x11-libs/gtk+-2.24.31-r1/work/gtk+-2.24.31/modules/printbackends/cups/gtkprintbackendcups.c:1707:16: error: dereferencing pointer to incomplete type if (!attr->name) ^ [and so on]
Created attachment 469384 [details] x11-libs:gtk+-3.22.11:20170403-060537.log.xz
/home/portage/x11-libs/gtk+-3.22.11/work/gtk+-3.22.11/configure: line 27544: /usr/bin/i686-pc-linux-gnu-cups-config: No such file or directory ^^ how is that possible with cups[${MULTILIB_USEDEP}] properly present in gtk+ ebuild? What's wrong with your 32bit cups?
This looks similar to https://bugs.gentoo.org/show_bug.cgi?id=515508 but I see no reason this would happen with an up-to-date system as dependencies are properly requesting multilib support and CUPS_CONFIG is explicitely being passed for this. Could you add config.log and emerge --info net-print/cups x11-libs/gtk+ ?
Just finished rebuilding gtk+ with ABI_X86="64 32" and it went through just fine. I'm marking this NEEDINFO waiting for input from previous comment.