sammielove45 / propgcc

Automatically exported from code.google.com/p/propgcc
1 stars 1 forks source link

Build fails on ArchLinux #61

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Download source, prepare to build
2. ./rebuild.sh
3. implosion

What is the expected output? What do you see instead?
Expected: build success
Instead: (relevant information only)
./chew -f ../../../../propgcc/binutils/bfd/doc/doc.str 
<../../../../propgcc/binutils/bfd/doc/../mmo.c >mmo.tmp
/bin/sh ../../../../propgcc/binutils/bfd/doc/../../move-if-change mmo.tmp 
mmo.texi
restore=: && backupdir=".am$$" && \
rm -rf $backupdir && mkdir $backupdir && \
if (makeinfo --split-size=5000000 --split-size=5000000 --version) >/dev/null 
2>&1; then \
  for f in bfd.info bfd.info-[0-9] bfd.info-[0-9][0-9] bfd.i[0-9] bfd.i[0-9][0-9]; do \
    if test -f $f; then mv $f $backupdir; restore=mv; else :; fi; \
  done; \
else :; fi && \
if makeinfo --split-size=5000000 --split-size=5000000   -I 
../../../../propgcc/binutils/bfd/doc \
 -o bfd.info `test -f 'bfd.texinfo' || echo '../../../../propgcc/binutils/bfd/doc/'`bfd.texinfo; \
then \
  rc=0; \
else \
  rc=$?; \
  $restore $backupdir/* `echo "./bfd.info" | sed 's|[^/]*$||'`; \
fi; \
rm -rf $backupdir; exit $rc
../../../../propgcc/binutils/bfd/doc/bfd.texinfo:325: unknown command `colophon'
../../../../propgcc/binutils/bfd/doc/bfd.texinfo:336: unknown command `cygnus'
make[3]: *** [bfd.info] Error 1
make[3]: Leaving directory `/home/kate/hg/build/binutils/bfd/doc'
Making info in po
make[3]: Entering directory `/home/kate/hg/build/binutils/bfd/po'
( if test 'x../../../../propgcc/binutils/bfd/po' != 'x.'; then \
    posrcprefix='../../../../propgcc/binutils/bfd/'; \
  else \
    posrcprefix="../"; \
  fi; \
  rm -f SRC-POTFILES-t SRC-POTFILES \
    && (sed -e '/^#/d' \
            -e '/^[     ]*$/d' \
        -e "s@.*@   $posrcprefix& \\\\@" < ../../../../propgcc/binutils/bfd/po/SRC-POTFILES.in \
    | sed -e '$s/\\$//') > SRC-POTFILES-t \
    && chmod a-w SRC-POTFILES-t \
    && mv SRC-POTFILES-t SRC-POTFILES )
( rm -f BLD-POTFILES-t BLD-POTFILES \
    && (sed -e '/^#/d' \
            -e '/^[     ]*$/d' \
        -e "s@.*@   ../& \\\\@" < ../../../../propgcc/binutils/bfd/po/BLD-POTFILES.in \
    | sed -e '$s/\\$//') > BLD-POTFILES-t \
    && chmod a-w BLD-POTFILES-t \
    && mv BLD-POTFILES-t BLD-POTFILES )
cd .. \
  && CONFIG_FILES=po/Makefile.in:po/Make-in \
     CONFIG_HEADERS= /bin/sh ./config.status
config.status: creating po/Makefile.in
config.status: executing depfiles commands
config.status: executing libtool commands
config.status: executing default-1 commands
config.status: executing bfd_stdint.h commands
config.status: executing default commands
make[3]: Leaving directory `/home/kate/hg/build/binutils/bfd/po'
make[3]: Entering directory `/home/kate/hg/build/binutils/bfd/po'
make[3]: Nothing to be done for `info'.
make[3]: Leaving directory `/home/kate/hg/build/binutils/bfd/po'
make[3]: Entering directory `/home/kate/hg/build/binutils/bfd'
make[3]: Nothing to be done for `info-am'.
make[3]: Leaving directory `/home/kate/hg/build/binutils/bfd'
make[2]: *** [info-recursive] Error 1
make[2]: Leaving directory `/home/kate/hg/build/binutils/bfd'
make[1]: *** [all-bfd] Error 2
make[1]: Leaving directory `/home/kate/hg/build/binutils'
make: *** [all] Error 2
binutils make failed.

What version of the product are you using? On what operating system?
Clang 3.2
Texinfo 5.1
ArchLinux, Up-to-date with Linux 3.9.4-1

Please provide any additional information below.

Apparently this is an issue with binutils, as documented at 
http://sourceware.org/bugzilla/show_bug.cgi?id=15183

There is a possible patch available at: 
http://www.mail-archive.com/bug-binutils@gnu.org/msg14429.html

Original issue reported on code.google.com by toroidal...@gmail.com on 7 Jun 2013 at 6:59

GoogleCodeExporter commented 9 years ago
I have attached a patch file which fixes all build issues I had on ArchLinux. 
Build was completed with gcc 4.8 and Texinfo 5.1. 

Could one of the maintainers please verify that this patch doesn't break 
building on other systems?

Original comment by toroidal...@gmail.com on 19 Jun 2013 at 5:16

Attachments:

GoogleCodeExporter commented 9 years ago
This is caused by newer Texinfo. This is fixed in newer versions of GCC. You 
can probably re-use most of their patches.

Original comment by dan.chok...@gmail.com on 5 Jan 2014 at 5:49

GoogleCodeExporter commented 9 years ago
ugh. ran into this today with texinfo 5.2. can only hope the GCC under propgcc 
is upgraded at some point. meh.

I edited the patch to not patch the C file and only patch the texinfo files. 
(The patch  to the C file is currently integrated it seems).

apply with patch -p1 

Original comment by yakumo9...@gmail.com on 7 Jul 2014 at 1:35

Attachments: