Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#15730 closed defect (fixed)

i386-mingw32-binutils 2.16.91-20060119-1 build error

Reported by: vaillant@… Owned by: landonf@…
Priority: Normal Milestone:
Component: ports Version: 1.6.0
Keywords: Cc: jeremy@…
Port: i386-mingw32-binutils

Description (last modified by jmroot (Joshua Root))

Build failure on Leopard 10.5.3

--->  Building i386-mingw32-binutils with target all
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_i386-mingw32-binutils/work/build" && make all " returned error 2
Command output:         am__cwd=`pwd` && cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_i386-mingw32-binutils/work/binutils-2.16.91-20060119-1/bfd/doc && \
        rm -rf $backupdir && mkdir $backupdir && \
        for f in /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_i386-mingw32-binutils/work/binutils-2.16.91-20060119-1/bfd/doc/i386-mingw32-bfd.info /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_i386-mingw32-binutils/work/binutils-2.16.91-20060119-1/bfd/doc/i386-mingw32-bfd.info-[0-9] /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_i386-mingw32-binutils/work/binutils-2.16.91-20060119-1/bfd/doc/i386-mingw32-bfd.info-[0-9][0-9] /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_i386-mingw32-binutils/work/binutils-2.16.91-20060119-1/bfd/doc/i386-mingw32-bfd.i[0-9] /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_i386-mingw32-binutils/work/binutils-2.16.91-20060119-1/bfd/doc/i386-mingw32-bfd.i[0-9][0-9]; do \
          if test -f $f; then mv $f $backupdir; restore=mv; else :; fi; \
        done; \
        cd "$am__cwd"; \
        if /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_i386-mingw32-binutils/work/binutils-2.16.91-20060119-1/missing makeinfo --split-size=5000000 --split-size=5000000   -I /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_i386-mingw32-binutils/work/binutils-2.16.91-20060119-1/bfd/doc \
         -o /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_i386-mingw32-binutils/work/binutils-2.16.91-20060119-1/bfd/doc/i386-mingw32-bfd.info /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_i386-mingw32-binutils/work/binutils-2.16.91-20060119-1/bfd/doc/i386-mingw32-bfd.texinfo; \
        then \
          rc=0; \
          cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_i386-mingw32-binutils/work/binutils-2.16.91-20060119-1/bfd/doc; \
        else \
          rc=$?; \
          cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_i386-mingw32-binutils/work/binutils-2.16.91-20060119-1/bfd/doc && \
          $restore $backupdir/* `echo ".//opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_i386-mingw32-binutils/work/binutils-2.16.91-20060119-1/bfd/doc/i386-mingw32-bfd.info" | sed 's|[^/]*$||'`; \
        fi; \
        rm -rf $backupdir; exit $rc
WARNING: `makeinfo' is missing on your system.  You should only need it if
         you modified a `.texi' or `.texinfo' file, or any other file
         indirectly affecting the aspect of the manual.  The spurious
         call might also be the consequence of using a buggy `make' (AIX,
         DU, IRIX).  You might want to install the `Texinfo' package or
         the `GNU make' package.  Grab either from any GNU archive site.
make[3]: *** [/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_i386-mingw32-binutils/work/binutils-2.16.91-20060119-1/bfd/doc/i386-mingw32-bfd.info] Error 1
Making info in po
make[3]: Nothing to be done for `info'.
make[3]: Nothing to be done for `info-am'.
make[2]: *** [info-recursive] Error 1
make[1]: *** [all-bfd] Error 2
make: *** [all] Error 2

Error: Status 1 encountered during processing.

Attachments (1)

0001-fix-for-makeinfo-error-when-building.patch (1.6 KB) - added by jeremy@… 9 years ago.
Fix for makeinfo error when building binutils

Download all attachments as: .zip

Change History (9)

comment:1 Changed 9 years ago by vaillant@…

sorry, missed a curly bracket. Here's the build log again

--->  Building i386-mingw32-binutils with target all
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_i386-mingw32-binutils/work/build" && make all " returned error 2
Command output:         am__cwd=`pwd` && cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_i386-mingw32-binutils/work/binutils-2.16.91-20060119-1/bfd/doc && \
        rm -rf $backupdir && mkdir $backupdir && \
        for f in /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_i386-mingw32-binutils/work/binutils-2.16.91-20060119-1/bfd/doc/i386-mingw32-bfd.info /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_i386-mingw32-binutils/work/binutils-2.16.91-20060119-1/bfd/doc/i386-mingw32-bfd.info-[0-9] /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_i386-mingw32-binutils/work/binutils-2.16.91-20060119-1/bfd/doc/i386-mingw32-bfd.info-[0-9][0-9] /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_i386-mingw32-binutils/work/binutils-2.16.91-20060119-1/bfd/doc/i386-mingw32-bfd.i[0-9] /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_i386-mingw32-binutils/work/binutils-2.16.91-20060119-1/bfd/doc/i386-mingw32-bfd.i[0-9][0-9]; do \
          if test -f $f; then mv $f $backupdir; restore=mv; else :; fi; \
        done; \
        cd "$am__cwd"; \
        if /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_i386-mingw32-binutils/work/binutils-2.16.91-20060119-1/missing makeinfo --split-size=5000000 --split-size=5000000   -I /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_i386-mingw32-binutils/work/binutils-2.16.91-20060119-1/bfd/doc \
         -o /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_i386-mingw32-binutils/work/binutils-2.16.91-20060119-1/bfd/doc/i386-mingw32-bfd.info /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_i386-mingw32-binutils/work/binutils-2.16.91-20060119-1/bfd/doc/i386-mingw32-bfd.texinfo; \
        then \
          rc=0; \
          cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_i386-mingw32-binutils/work/binutils-2.16.91-20060119-1/bfd/doc; \
        else \
          rc=$?; \
          cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_i386-mingw32-binutils/work/binutils-2.16.91-20060119-1/bfd/doc && \
          $restore $backupdir/* `echo ".//opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_i386-mingw32-binutils/work/binutils-2.16.91-20060119-1/bfd/doc/i386-mingw32-bfd.info" | sed 's|[^/]*$||'`; \
        fi; \
        rm -rf $backupdir; exit $rc
WARNING: `makeinfo' is missing on your system.  You should only need it if
         you modified a `.texi' or `.texinfo' file, or any other file
         indirectly affecting the aspect of the manual.  The spurious
         call might also be the consequence of using a buggy `make' (AIX,
         DU, IRIX).  You might want to install the `Texinfo' package or
         the `GNU make' package.  Grab either from any GNU archive site.
make[3]: *** [/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_i386-mingw32-binutils/work/binutils-2.16.91-20060119-1/bfd/doc/i386-mingw32-bfd.info] Error 1
Making info in po
make[3]: Nothing to be done for `info'.
make[3]: Nothing to be done for `info-am'.
make[2]: *** [info-recursive] Error 1
make[1]: *** [all-bfd] Error 2
make: *** [all] Error 2

Error: Status 1 encountered during processing.

comment:2 Changed 9 years ago by stephane.bachelier@…

+1

I've met the same bug on 10.5.4. The warning anout makeinfo is strange because makeinfo is installed.

Changed 9 years ago by jeremy@…

Fix for makeinfo error when building binutils

comment:3 Changed 9 years ago by jeremy@…

This is a bug with the configure script in binutils. It is an older version and doesn't handle 4.XX versions of texinfo. The attached patch to the i386-mingw32-binutils port tree should fix it. At least it did for me.

comment:4 Changed 9 years ago by jeremy@…

  • Cc jeremy@… added

Cc Me!

comment:5 Changed 9 years ago by mf2k (Frank Schima)

  • Cc landonf@… removed
  • Keywords i386-mingw32-binutils removed
  • Milestone set to Port Bugs
  • Owner changed from macports-tickets@… to landonf@…
  • Port i386-mingw32-binutils added

comment:6 Changed 9 years ago by jmroot (Joshua Root)

  • Description modified (diff)

comment:7 Changed 9 years ago by blb@…

  • Resolution set to fixed
  • Status changed from new to closed

Fixed in r45947 (maintainer timeout); thanks for the patch.

comment:8 Changed 9 years ago by anonymous

  • Milestone Port Bugs deleted

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.