[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: crossbuild support: help2man considered harmful



On Wed, Nov 07, 2007 at 05:08:43PM +0000, Neil Williams wrote:

> I've come across one issue: help2man
> 
> If packages (like coreutils) use 'help2man' during the build, help2man
> tries to execute the compiled binary to get the error output to make
> into the manpage. Needless to say executing the compiled binary in a
> cross-build causes a build failure.

IMHO this is a bug in automake, so discuss it with automake upstream.
Automake should just treat help2man as it was unavailable when
cross-compiling.

> Just a heads-up to anyone thinking of using help2man in their build -
> if the package is likely to be used in an embedded environment, you can
> expect a bug report from me. :-)

If you get automake fixed then that bug report becomes "please run
autoreconf".

Gabor

-- 
     ---------------------------------------------------------
     MTA SZTAKI Computer and Automation Research Institute
                Hungarian Academy of Sciences
     ---------------------------------------------------------



Reply to: