User: helm...@debian.org
Usertags: rebootstrap

2016-03-12 17:03 To Eleanor Chen:
Hi,

2013-08-30 18:03 Eleanor Chen:
Package: src:coreutils

During cross build help2man may not run leading FTBFS, it would be
good if it uses dummy-man. Here is the patch for it, but I'm not sure
if it's an appropriate solution.

It would be very beneficial to have this patch applied, or an equivalent
solution, for cross-compilation / bootstrapping.

Several ports are in the works again, and being able to rebootstrap
easily and quickly such a fundamental package as coreutils is a very
worthwhile thing to have in some cases.

Of course the manual pages would not be "valid" initially, but even
without native recompilations of the same versions once
(re)bootstrapped, this would auto-heal when newer versions of the
package enter in the archive and get compiled for the new architecture.

Other possibilities suggested by Helmut include:

- ship pre-generated manual pages (probably a bit involved)

- to not build man pages with "nodoc" build options / profiles (so
 cross-compilation could use this profile/options)

- have "Build-Depends: $self:native <cross>" and run help2man on the
 binaries instead.

The latter has been applied for flex, for example, the patch is not very
intrusive:

 
https://bugs.debian.org/cgi-bin/bugreport.cgi?filename=flex_help2man.debdiff;bug=762180;att=1;msg=5

If you are happy to apply this and prefer this solution, we can prepare
a patch.


Cheers.
--
Manuel A. Fernandez Montecelo <manuel.montez...@gmail.com>

Reply via email to