Summary: | sys-devel/autogen fails to cross-compile: checking whether strcspn matches prototype and works...: configure: error: cannot run test program while cross compiling | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Thomas Sachau <tommy> |
Component: | Current packages | Assignee: | Gentoo Toolchain Maintainers <toolchain> |
Status: | CONFIRMED --- | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | https://sourceforge.net/p/autogen/bugs/167/ | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | build.log |
Description
Thomas Sachau
2012-07-07 16:54:44 UTC
Created attachment 317508 [details]
build.log
the configure script uses `guile-config`. doesn't seem easy to disentangle, so filed a bug upstream for it. http://git.savannah.gnu.org/cgit/guile.git/commit/meta/guile.m4?id=ccd0ae1fbb1c8c942a89bf84272377b341739e0f switched guile.m4 to use pkg-config instead. Now autogen fails on other minor bits to start cross-compilation: ... checking whether strcspn matches prototype and works... configure: error: in `/tmp/portage-tmpdir/portage/sys-devel/autogen-5.18.16-r1/work/autogen-5.18.16': configure: error: cannot run test program while cross compiling See `config.log' for more details !!! Please attach the following file when seeking support: !!! /tmp/portage-tmpdir/portage/sys-devel/autogen-5.18.16-r1/work/autogen-5.18.16/config.log The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cc36ef1ffb1a0245ee2c26e057e4542a301eb3bc commit cc36ef1ffb1a0245ee2c26e057e4542a301eb3bc Author: Sergei Trofimovich <slyfox@gentoo.org> AuthorDate: 2019-08-24 09:48:40 +0000 Commit: Sergei Trofimovich <slyfox@gentoo.org> CommitDate: 2019-08-24 09:48:52 +0000 sys-devel/autogen: override *_cv_* fro corss-case, bug #425174 A few autogen configure tests require running the program on machine: export ag_cv_run_strcspn=no export libopts_cv_with_libregex=yes Pass these to get past ./configure. Autogen still reexecutes itself at build time. Will need more fixes if feasible at all. Reported-by: Thomas Sachau Bug: https://bugs.gentoo.org/425174 Package-Manager: Portage-2.3.72, Repoman-2.3.17 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org> sys-devel/autogen/autogen-5.18.16-r1.ebuild | 7 +++++++ 1 file changed, 7 insertions(+) |