mythdraenor / riscv-gdb

RISC-V GDB port
GNU General Public License v2.0
7 stars 8 forks source link

make error on fedora 21: unknown command `colophon' #1

Open tjyang opened 9 years ago

tjyang commented 9 years ago

Just to record this error on Fedora 21 OS. R1 google search result show similar error on different platforms.

R1: https://www.google.com/search?q=..%2F..%2F..%2Fbfd%2Fdoc%2Fbfd.texinfo%3A326%3A+unknown+command+%60colophon%27&oq=..%2F..%2F..%2Fbfd%2Fdoc%2Fbfd.texinfo%3A326%3A+unknown+command+%60colophon%27&aqs=chrome..69i57.681j0j4&sourceid=chrome&es_sm=119&ie=UTF-8#q=..%2F..%2F..%2Fbfd%2Fdoc%2Fbfd.texinfo:326:+unknown+command+%60colophon%27+fedora

else :; fi && \
if makeinfo --split-size=5000000 --split-size=5000000   -I ../../../bfd/doc \
 -o bfd.info `test -f 'bfd.texinfo' || echo '../../../bfd/doc/'`bfd.texinfo; \
then \
  rc=0; \
else \
  rc=$?; \
  $restore $backupdir/* `echo "./bfd.info" | sed 's|[^/]*$||'`; \
fi; \
rm -rf $backupdir; exit $rc
../../../bfd/doc/bfd.texinfo:326: unknown command `colophon'
../../../bfd/doc/bfd.texinfo:337: unknown command `cygnus'
Makefile:421: recipe for target 'bfd.info' failed
make[3]: *** [bfd.info] Error 1
make[3]: Leaving directory '/home2/tjyang/riscv/riscv-gdb/build/bfd/doc'
Making info in po
make[3]: Entering directory '/home2/tjyang/riscv/riscv-gdb/build/bfd/po'
make[3]: Nothing to be done for 'info'.
make[3]: Leaving directory '/home2/tjyang/riscv/riscv-gdb/build/bfd/po'
make[3]: Entering directory '/home2/tjyang/riscv/riscv-gdb/build/bfd'
make[3]: Nothing to be done for 'info-am'.
make[3]: Leaving directory '/home2/tjyang/riscv/riscv-gdb/build/bfd'
Makefile:1548: recipe for target 'info-recursive' failed
make[2]: *** [info-recursive] Error 1
make[2]: Leaving directory '/home2/tjyang/riscv/riscv-gdb/build/bfd'
Makefile:3329: recipe for target 'all-bfd' failed
make[1]: *** [all-bfd] Error 2
make[1]: Leaving directory '/home2/tjyang/riscv/riscv-gdb/build'
Makefile:849: recipe for target 'all' failed
make: *** [all] Error 2
[tjyang@fedora21 build]$ make
xfguo commented 8 years ago

There are 2 ways to fix this:

  1. Downgrade your texinfo to 4.13 version to 5.x http://askubuntu.com/questions/491184/texinfo-downgrade
  2. Remove them from code http://trac.clfs.org/ticket/926