You receive this bug because this package does not respect my system's CC ( x86_64-pc-linux-gnu-gcc - /usr/bin/x86_64-pc-linux-gnu-gcc ) and calls directly gcc -/usr/bin/gcc The possible solutions to fix this issue are: 1)Fix the buildsystem, if you can 2)inherit toolchain-funcs and use tc-export CC 3)inherit toolchain-funcs and use emake CC="$(tc-getCC)" g-ir-scanner: compile: gcc -Wall -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/p11-kit-1 -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -O2 -pipe -mtune=itanium2 -Wno-strict-aliasing -Wno-sign-compare -I.. -I.. -I/usr/include/p11-kit-1 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -c -o /var/tmp/portage/app-crypt/gcr-3.4.1-r2/work/gcr-3.4.1/gck/tmp-introspectfpEa2E/Gck-1.o /var/tmp/portage/app-crypt/gcr-3.4.1-r2/work/gcr-3.4.1/gck/tmp-introspectfpEa2E/Gck-1.c
This same problem has been reported a few times already, this is due to g-ir-scanner integration. *** This bug has been marked as a duplicate of bug 447612 ***
FTR, bug #447612 is another occurence of this problem.