Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 363647 - sys-apps/groff-1.21: src/libs/gnulib/configure run manually by build system
Summary: sys-apps/groff-1.21: src/libs/gnulib/configure run manually by build system
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal with 3 votes (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
: 375109 412523 423165 429968 432062 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-04-14 21:56 UTC by Yixun Lan
Modified: 2012-11-13 19:52 UTC (History)
8 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log, from temp/build.log (build.log,12.23 KB, text/plain)
2011-04-14 21:57 UTC, Yixun Lan
Details
config log, work/groff-1.21/src/libs/gnulib/config.log (config.log,11.80 KB, text/plain)
2011-04-14 21:58 UTC, Yixun Lan
Details
Fix for groff 1.21 cross-compilation problem (groff-1.21-cross-compile.patch,423 bytes, patch)
2011-10-19 19:15 UTC, Peter Tworek
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Yixun Lan archtester gentoo-dev 2011-04-14 21:56:36 UTC
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.
Comment 1 Yixun Lan archtester gentoo-dev 2011-04-14 21:57:30 UTC
Created attachment 269997 [details]
build.log, from temp/build.log
Comment 2 Yixun Lan archtester gentoo-dev 2011-04-14 21:58:13 UTC
Created attachment 269999 [details]
config log, work/groff-1.21/src/libs/gnulib/config.log
Comment 3 SpanKY gentoo-dev 2011-04-15 08:12:47 UTC
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 ...
Comment 4 Pacho Ramos gentoo-dev 2011-07-14 09:42:26 UTC
*** Bug 375109 has been marked as a duplicate of this bug. ***
Comment 5 Peter Tworek 2011-10-19 19:15:52 UTC
Created attachment 290261 [details, diff]
Fix for groff 1.21 cross-compilation problem
Comment 6 spartacus06 2012-03-05 20:33:02 UTC
Confirmed that the patch fixes the issue when cross compiling for armv6zk-hardfloat-linux-gnueabi.
Comment 7 SpanKY gentoo-dev 2012-04-18 16:09:58 UTC
*** Bug 412523 has been marked as a duplicate of this bug. ***
Comment 8 SpanKY gentoo-dev 2012-06-27 23:27:29 UTC
*** Bug 423165 has been marked as a duplicate of this bug. ***
Comment 9 SpanKY gentoo-dev 2012-08-05 16:45:09 UTC
*** Bug 429968 has been marked as a duplicate of this bug. ***
Comment 10 Diego Augusto Molina 2012-08-06 22:51:18 UTC
(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.
Comment 11 Samuli Suominen (RETIRED) gentoo-dev 2012-08-07 06:02:24 UTC
(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?
Comment 12 SpanKY gentoo-dev 2012-08-20 19:49:09 UTC
*** Bug 432062 has been marked as a duplicate of this bug. ***
Comment 13 Dennis Schridde 2012-09-14 16:36:45 UTC
Is a fix for this to be expected to arrive in the portage tree, soon?
Comment 14 Johann Schmitz (ercpe) (RETIRED) gentoo-dev 2012-10-27 13:34:58 UTC
I can confirm that the patch in c5 works for an armv6j-hardfloat-linux-gnueabi crossdev environment. Can we include it in the tree?
Comment 15 Justin Lecher (RETIRED) gentoo-dev 2012-10-28 18:05:05 UTC
Mike,
am I allowed to commit that?