The debugging USE flag for EINA requires valgrind to be installed but valgrind fails to build on the ARMv6j (Raspberry Pi) so this USE flag will cause failure during the emerge of valgrind.
This bug is directly related to: https://bugs.gentoo.org/show_bug.cgi?id=475660
pi /usr/src/linux $ USE="debug" emerge -av eina * IMPORTANT: 9 news items need reading for repository 'gentoo'. * Use eselect news to read news items. These are the packages that would be merged, in reverse order: Calculating dependencies... done! [ebuild R ~] dev-libs/eina-1.7.6 USE="debug* default-mempool doc mempool-buddy mempool-chained mempool-fixed-bitmap mempool-pass-through nls static-libs (-altivec) (-mmx) (-sse) (-sse2) {-test}" 0 kB [ebuild N ~] dev-util/valgrind-3.8.1-r1 USE="(-mpi)" 0 kB Total: 2 packages (1 new, 1 reinstall), Size of downloads: 0 kB Would you like to merge these packages? [Yes/No] n Quitting.
*** This bug has been marked as a duplicate of bug 475660 ***
When ./configure is run on the EINA package there are 5 relevent options here: --disable-magic-debug --enable-debug-threads --disable-safety-checks --enable-valgrind --enable-debug-malloc What I was trying to do was enable the internel messages that are only available when compiled with the debug option. Those are separate and distinct from the valgrind memory debugging.
USE=debug should be USE=valgrind.
splitting USE=debug & USE=valgrind has been done in the latest version already