GNU bug report logs -
#25358
Cross Compiling fails because of help2man
Previous Next
Reported by: Vishal Biswas <vshlbiswas <at> ymail.com>
Date: Wed, 4 Jan 2017 18:10:02 UTC
Severity: normal
Tags: fixed
Done: Assaf Gordon <assafgordon <at> gmail.com>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Hello,
> On Jan 6, 2017, at 10:58, Jim Meyering <jim <at> meyering.net> wrote:
>
> On Fri, Jan 6, 2017 at 1:44 AM, Assaf Gordon <assafgordon <at> gmail.com> wrote:
>>
>> We do already distribute 'doc/sed.1' in the tarball, and currently always rebuild it,
>> I wonder if it's worth making an exception in this case?
>
> I don't feel strongly about this either way. You're welcome to make the call.
>
>> AM_CONDITIONAL([CROSS_COMPILING], [test "$cross_compiling" = yes])
>
> Since that's all coreutils does, I presume it will work for us.
>
>> In that case, perhaps it's worth adding a test for perl and skipping if it doesn't exist ?
>
> This seems worthwhile.
The attach suggested patch adds all three cases to 'configure.ac',
and 'doc/sed.1' is build conditionally.
It leaves one case un-handled: cross-compilation directly from git.
If this is needed, then either 'sed' can be first built natively (and 'doc/sed.1' will be created),
or we can add a special case and create a stub doc/sed.1 file.
Comments welcomed,
- assaf
[0001-build-skip-building-man-page-if-needed.patch (application/octet-stream, attachment)]
[Message part 3 (text/plain, inline)]
This bug report was last modified 8 years and 122 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.