Summary: | eautoreconf call from autotools-utils.eclass should respect AT_M4DIR and similar | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Justin Lecher (RETIRED) <jlec> |
Component: | Current packages | Assignee: | Michał Górny <mgorny> |
Status: | RESOLVED WORKSFORME | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Justin Lecher (RETIRED)
![]() That's weird. It seems that autotools.eclass handles that internally. I'll try to take a look at the specific package. * Autoreconfiguring '/tmp/portage/sci-libs/clipper-20100511-r1/work/clipper-2.1' ... * Running libtoolize --copy --force --install --automake ... [ ok ] * Running aclocal -I config -I config ... [ ok ] with AT_M4DIR="config" autotools-utils_src_prepare. So please run the tests with and without the use of the eclass. There must be a difference. For me it seems that eautoreconf doesn't run. (In reply to comment #3) > So please run the tests with and without the use of the eclass. There must be a > difference. For me it seems that eautoreconf doesn't run. Well, AFAICS the difference would be that we use default_src_test() which doesn't pass args. I guess that's the problem needing fixing. Could you attach your ebuild? http://dev.gentoo.org/~jlec/paste/clipper-20100511-r1.ebuild http://dev.gentoo.org/~jlec/paste/20100511-makefile.patch > Well, AFAICS the difference would be that we use default_src_test() which
> doesn't pass args.
somehow there is no check target anymore in the Makefiles after using the eclass.
You gotta 'cd ${AUTOTOOLS_BUILD_DIR}' if you don't want to use autotools-utils_src_*(). I'll turn this bug into 'fixing autotools-utils_src_test() to support args' if you don't mind. It is generally recommended to use 'autotools-utils_src_compile' instead of 'emake' as it jumps to the right directory. I don't use autotools-utils_src_test. also manually runing make check fails because the target is missing in the make file. >>> Source compiled.
make -j16 -l12 -C examples check
make: Entering directory `/var/tmp/portage/sci-libs/clipper-20100511-r1/work/clipper-2.1/examples'
make: *** No rule to make target `check'. Stop.
make: Leaving directory `/var/tmp/portage/sci-libs/clipper-20100511-r1/work/clipper-2.1/examples'
* ERROR: sci-libs/clipper-20100511-r1 failed (test phase):
* emake failed
Okay I got it :) Please do what you think is best. |