coreutils
[Top][All Lists]
Advanced

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

Re: Cross compiling coreutils and manpages


From: Christer Solskogen
Subject: Re: Cross compiling coreutils and manpages
Date: Fri, 07 Nov 2014 13:07:54 +0100
User-agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0

On 07.11.2014 04:41, Mike Frysinger wrote:
On 06 Nov 2014 22:36, Christer Solskogen wrote:
Cross compiling coreutils *and* generate the manpages at the same time
seems to be a hard thing to do. Is it possible to create them in any
other way?

unfortunately, current wisdom is this is working as intended

for Gentoo, i maintain a prebuilt tarball of the man pages you can unpack over
top the existing source release and get sanity again.
http://distfiles.gentoo.org/distfiles/coreutils-8.23-man.tar.xz

Thanks, but mine still fails :/

name=`echo man/chroot.1 | sed 's|.*/||; s|\.1$||'` || exit 1;   \
case $name in                                                   \
  install) prog='ginstall'; argv=$name;;                        \
     test) prog='['; argv='[';;                                 \
        *) prog=$name; argv=$prog;;                             \
esac;                                                           \
rm -f man/chroot.1 man/chroot.1-t \
  && t=man/chroot.td                                                    \
  && rm -rf $t                                                  \
&& /home/solskogen/obj/tools/bin/mkdir -p $t \ && (cd $t && ln -s '/home/solskogen/obj/work/coreutils-8.23.ventrix/src/'$prog $argv) \ && perl -- /home/solskogen/src/source/coreutils-8.23/man/help2man \
             --source='GNU coreutils 8.23'                      \

--include=/home/solskogen/src/source/coreutils-8.23/man/$name.x \
             --output=$t/$name.1 $t/$argv                       \
             --info-page='coreutils \(aq'$name' invocation\(aq' \
  && sed \
       -e 's|man/chroot\.td/||g' \
       -e '/For complete documentation/d' \
       $t/$name.1 > man/chroot.1-t                      \
  && rm -rf $t                                                  \
  && chmod a-w man/chroot.1-t                                           \
  && mv man/chroot.1-t man/chroot.1
help2man: can't get `--help' info from man/chroot.td/chroot
Try `--no-discard-stderr' if option outputs to stderr
Makefile:14065: recipe for target 'man/chroot.1' failed
make[2]: *** [man/chroot.1] Error 1
make[2]: Leaving directory '/home/solskogen/obj/work/coreutils-8.23.ventrix'
Makefile:11097: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/solskogen/obj/work/coreutils-8.23.ventrix'
Makefile:5764: recipe for target 'all' failed
make: *** [all] Error 2






reply via email to

[Prev in Thread] Current Thread [Next in Thread]