[Clfs-dev] Coreutils 8.22 and help2man

Martin Ward macros_the_black at ntlworld.com
Sat Dec 21 10:47:34 PST 2013


On 21/12/13 17:58, William Harrington wrote:
>
> On Dec 21, 2013, at 11:48 AM, William Harrington wrote:
>
>> But now we get:
>>
>>  CCLD     src/libstdbuf.so
>>  GEN      man/chroot.1
>> /bin/sh: line 13: --source=GNU coreutils 8.22: command not found
>
> Verbose
>
> make[2]: Entering directory `/mnt/clfs/sources/coreutils-8.22'
> name=`echo man/chroot.1 | sed 's|.*/||; s|\.1$||'` || exit 1;   \
>         case $name in                                                   \
>           install) prog='ginstall';;                                    \
>              test) prog='[';;                                           \
>                 *) prog=$name;;                                 \
> esac;                                                           \
>         rm -f man/chroot.1 
> man/chroot.1-t                                      \
>           && t=man/chroot.td \
>           && rm -rf $t                                                  \
>           && /bin/mkdir -p $t                                           \
>           && (cd $t && ln -s 
> '/mnt/clfs/sources/coreutils-8.22/src/'$prog $name) \
>           &&                                            \
>                      --source='GNU coreutils 8.22'                      \
>                      --include=./man/$name.x                    \
>                      --output=$t/$name.1 $t/$name                       \
>                      --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
> /bin/sh: line 13: --source=GNU coreutils 8.22: command not found
> make[2]: *** [man/chroot.1] Error 127
>
>
> It's probably expecting the second instance of run_help2man in the 
> Makefile to be there.
>
> Also in the Makefile: HELP2MAN = ${SHELL} 
> /mnt/clfs/sources/coreutils-8.22/build-aux/missing help2man
>
> Sincerely,
>
> William Harrington
> _______________________________________________
> Clfs-dev mailing list
> Clfs-dev at lists.cross-lfs.org
> http://lists.cross-lfs.org/listinfo.cgi/clfs-dev-cross-lfs.org
>
Hi

Gentoo fakes it out by doing this


set -- man/*.x

touch ${@/%x/1}


so it shouldn't try to re-generate/build the man-pages


martin



More information about the Clfs-dev mailing list