Configure fails with: configure: error: Package requirements (libffi >= 3.0.0) were not met Reproducible: Always Steps to Reproduce: 1. emerge --oneshot =dev-libs/glib-2.38.2-r1
Created attachment 374356 [details] emerge log file
Whoops, I have >=dev-libs/libffi-3.0 installed, so I will look into this before further wasting any of your time. --- # eix libffi [I] dev-libs/libffi Available versions: 3.0.11 ~3.0.12 ~3.0.13 ~3.0.13-r1 {debug pax_kernel static-libs test ABI_MIPS="n32 n64 o32" ABI_X86="32 64 x32"} Installed versions: 3.0.11(11:11:04 PM 06/04/2012)(-debug -static-libs -test) Homepage: http://sourceware.org/libffi/ Description: a portable, high level programming interface to various calling conventions. [I] virtual/libffi Available versions: 3.0.10 3.0.11 ~3.0.13-r1 {ABI_MIPS="n32 n64 o32" ABI_X86="32 64 x32"} Installed versions: 3.0.11(10:10:32 PM 04/05/2014) Description: A virtual for the Foreign Function Interface implementation Found 2 matches.
(In reply to Pariksheet Nanda from comment #1) Like your log file says: > !!! Please attach the following file when seeking support: > !!! /var/tmp/portage/dev-libs/glib-2.38.2-r1/work/glib-2.38.2-x86/config.log Please attach it :) Also, please attach the output of "emerge --info". Also, make sure you are not using sys-devel/crossdev for x86 (current versions of crossdev install a /usr/bin/i686-pc-linux-gnu-pkg-config wrapper script for cross-compiling x86 packages on amd64, and this wrapper is incompatible with building natively multilib ebuilds like glib).
This is resolved after re-emerging libffi. I recently globally added "32" onto ABI_X86, which I think is what caused this (since revdep-rebuild didn't find anything wrong). Thanks for the quick response and sorry again for the noise.