motif links against /usr/lib/libfl.a which is part of sys-devel/flex the multilib version of sys-devel/flex is not even in stable arch
libfl.a is only needed for the wmluiltok tool which is compiled on the build platform. Therefore we don't need multilib flex.
seems I got trapped by crossdev breaking multilib again
it seems to pick up the crossdev CC, not just PKG_CONFIG and I can't find a workaround other than temporarily unmerging my x86 crossdev toolchain
*** This bug has been marked as a duplicate of bug 500338 ***
(In reply to Julian Ospald (hasufell) from comment #3) > it seems to pick up the crossdev CC, not just PKG_CONFIG and I can't find a > workaround other than temporarily unmerging my x86 crossdev toolchain Does moving the first emake into a conditional help? That is, src_compile like this: multilib_src_compile() { if ! multilib_is_native_abi; then emake -C tools/wml CC="$(tc-getBUILD_CC)" LIBS="-lfl" wmluiltok fi emake }
This should be fixed in -r3. Please test.