[Clfs-dev] Coreutils 8.22 and help2man

William Harrington kb0iic at berzerkula.org
Sat Dec 21 09:58:51 PST 2013


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



More information about the Clfs-dev mailing list