as the title, groff fail, it should not run test ============================================== build.log ======================== checking whether we are cross compiling... configure: error: in `/var/tmp/portage/sys-apps/groff-1.21/work/groff-1.21/src/libs/gnulib': configure: error: cannot run C compiled programs. If you meant to cross compile, use `--host'. See `config.log' for more details make[2]: Entering directory `/var/tmp/portage/sys-apps/groff-1.21/work/groff-1.21/src/libs/gnulib' make[2]: *** No rule to make target `all'. Stop. make[2]: Leaving directory `/var/tmp/portage/sys-apps/groff-1.21/work/groff-1.21/src/libs/gnulib' make[1]: *** [src/libs/gnulib] Error 2 make[1]: Leaving directory `/var/tmp/portage/sys-apps/groff-1.21/work/groff-1.21' ============================================== groff-1.21/src/libs/gnulib/config.log ============================================== configure:3433: checking whether we are cross compiling configure:3441: armv7a-hardfloat-linux-gnueabi-gcc -o conftest -O2 -ftree-vectorize -pipe -fomit-frame-pointer -march=armv7-a -mtune=cortex-a8 -mfpu=neon -ftree-vectorize -ffast-math -I/usr/armv7a-hardfloat-linux-gnueabi/usr/include/ -I/usr/armv7a-hardfloat-linux-gnueabi/include/ -L/usr/armv7a-hardfloat-linux-gnueabi/lib -L/usr/armv7a-hardfloat-linux-gnueabi/usr/lib conftest.c >&5 configure:3445: $? = 0 configure:3452: ./conftest ./configure: line 3454: ./conftest: cannot execute binary file configure:3456: $? = 126 configure:3463: error: in `/var/tmp/portage/sys-apps/groff-1.21/work/groff-1.21/src/libs/gnulib': Reproducible: Always Steps to Reproduce: 1. emerge-CROSS groff-1.21 2. 3.
Created attachment 269997 [details] build.log, from temp/build.log
Created attachment 269999 [details] config log, work/groff-1.21/src/libs/gnulib/config.log
odd, the Makefile invokes ./configure in src/libs/gnulib/ instead of doing it via the top level configure, so none of the configure args a preserved ...
*** Bug 375109 has been marked as a duplicate of this bug. ***
Created attachment 290261 [details, diff] Fix for groff 1.21 cross-compilation problem
Confirmed that the patch fixes the issue when cross compiling for armv6zk-hardfloat-linux-gnueabi.
*** Bug 412523 has been marked as a duplicate of this bug. ***
*** Bug 423165 has been marked as a duplicate of this bug. ***
*** Bug 429968 has been marked as a duplicate of this bug. ***
(In reply to comment #9) > *** Bug 429968 has been marked as a duplicate of this bug. *** Patch works perfectly cross-compiling for armv6j-hardfloat-linux-gnueabi. I was working on sys-apps/groff-1.21-r1 and filed Bug 429968. The patch works for both ebuilds. In that report there's also a patch for the sys-apps/groff-1.21-r1 ebuild. Would that patch be relevant here? I can also provide the patch for the sys-apps/groff-1.21 ebuild.
(In reply to comment #10) > (In reply to comment #9) > > *** Bug 429968 has been marked as a duplicate of this bug. *** > > Patch works perfectly cross-compiling for armv6j-hardfloat-linux-gnueabi. > I was working on sys-apps/groff-1.21-r1 and filed Bug 429968. The patch > works for both ebuilds. In that report there's also a patch for the > sys-apps/groff-1.21-r1 ebuild. Would that patch be relevant here? I can also > provide the patch for the sys-apps/groff-1.21 ebuild. Is Comment #5 that has the exactly same patch somehow unclear?
*** Bug 432062 has been marked as a duplicate of this bug. ***
Is a fix for this to be expected to arrive in the portage tree, soon?
I can confirm that the patch in c5 works for an armv6j-hardfloat-linux-gnueabi crossdev environment. Can we include it in the tree?
Mike, am I allowed to commit that?
should be all set now in the tree; thanks for the report! Commit message: Add fix from upstream for cross-compiling gnulib http://sources.gentoo.org/sys-apps/groff/files/groff-1.21-gnulib-cross.patch?rev=1.1 http://sources.gentoo.org/sys-apps/groff/groff-1.21-r1.ebuild?r1=1.4&r2=1.5 http://sources.gentoo.org/sys-apps/groff/groff-1.21.ebuild?r1=1.10&r2=1.11