Nice recently, dev-libs/check is multible ABI aware, and this work nice if you don't enable subunit USE flag. When you enable it, you then get the following error. Here native ABI is x86_64 and ABI_X86 is define to "32 64" # USE=subunit ABI_X86=32 emerge -v =dev-libs/check-0.9.12 [ebuild R ] dev-libs/check-0.9.12 USE="subunit* -static-libs" ABI_X86="32 (64) (-x32)" 0 kB (..) libtool: link: x86_64-pc-linux-gnu-gcc -m32 -shared -fPIC -DPIC .libs/check.o .libs/check_error.o .libs/check_list.o .libs/check_log.o .libs/check_msg.o .libs/check_pack.o .libs/check_print.o .libs/check_run.o .libs/check_str.o -Wl,--whole-archive ../lib/.libs/libcompat.a -Wl,--no-whole-archive -Wl,--as-needed -lsubunit -lrt -lm -m32 -pthread -march=native -O2 -Wl,-O1 -pthread -Wl,-soname -Wl,libcheck.so.0 -Wl,-version-script -Wl,.libs/libcheck.ver -o .libs/libcheck.so.0.0.0 libtool: link: (cd .libs/libcheckinternal.lax/libcompat.a && ar x "/var/tmp/portage/dev-libs/check-0.9.12/work/check-0.9.12-x86/src/../lib/.libs/libcompat.a") /usr/lib/gcc/x86_64-pc-linux-gnu/4.8.2/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-pc-linux-gnu/4.8.2/../../../libsubunit.so when searching for -lsubunit /usr/lib/gcc/x86_64-pc-linux-gnu/4.8.2/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/libsubunit.so when searching for -lsubunit /usr/lib/gcc/x86_64-pc-linux-gnu/4.8.2/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lsubunit collect2: error: ld returned 1 exit status libtool: link: ar cru .libs/libcheckinternal.a .libs/check.o .libs/check_error.o .libs/check_list.o .libs/check_log.o .libs/check_msg.o .libs/check_pack.o .libs/check_print.o .libs/check_run.o .libs/check_str.o .libs/libcheckinternal.lax/libcompat.a/libcompat.o Makefile:476: recipe for target 'libcheck.la' failed make[2]: *** [libcheck.la] Error 1 make[2]: *** Waiting for unfinished jobs.... libtool: link: ranlib .libs/libcheckinternal.a libtool: link: rm -fr .libs/libcheckinternal.lax libtool: link: ( cd ".libs" && rm -f "libcheckinternal.la" && ln -s "../libcheckinternal.la" "libcheckinternal.la" ) make[2]: Leaving directory '/var/tmp/portage/dev-libs/check-0.9.12/work/check-0.9.12-x86/src' Makefile:555: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory '/var/tmp/portage/dev-libs/check-0.9.12/work/check-0.9.12-x86' Makefile:400: recipe for target 'all' failed make: *** [all] Error 2 * ERROR: dev-libs/check-0.9.12::gentoo failed (compile phase): * emake failed * In fact, when you enable subunit USE flag, then dev-python/subunit is needed as a DEPEND, but dev-python/subunit is not multiple ABI aware. Full log attached, and emerge --info Reproducible: Always
Created attachment 377314 [details] build.log
Created attachment 377316 [details] emerge --info
Still exists in dev-libs/check-0.9.13.
+*check-0.9.13-r1 (12 Jun 2014) + + 12 Jun 2014; Michał Górny <mgorny@gentoo.org> +check-0.9.13-r1.ebuild: + Depend on multilib version of dev-python/subunit, bug #510892. Though I had to drop ~amd64-fbsd. Suggest turning this into KEYWORDREQ.
(In reply to Michał Górny from comment #4) > +*check-0.9.13-r1 (12 Jun 2014) > + > + 12 Jun 2014; Michał Górny <mgorny@gentoo.org> +check-0.9.13-r1.ebuild: > + Depend on multilib version of dev-python/subunit, bug #510892. > > Though I had to drop ~amd64-fbsd. Suggest turning this into KEYWORDREQ. ACK, work fine here
thanks for feedback