Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build fails on ArchLinux #61

Open
GoogleCodeExporter opened this issue Mar 14, 2015 · 3 comments
Open

Build fails on ArchLinux #61

GoogleCodeExporter opened this issue Mar 14, 2015 · 3 comments

Comments

@GoogleCodeExporter
Copy link

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/[email protected]/msg14429.html

Original issue reported on code.google.com by [email protected] on 7 Jun 2013 at 6:59

@GoogleCodeExporter
Copy link
Author

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 [email protected] on 19 Jun 2013 at 5:16

Attachments:

@GoogleCodeExporter
Copy link
Author

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 [email protected] on 5 Jan 2014 at 5:49

@GoogleCodeExporter
Copy link
Author

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 [email protected] on 7 Jul 2014 at 1:35

Attachments:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant