Opened 9 years ago

Closed 6 years ago

#49550 closed defect (worksforme)

arm-none-eabi-gcc port doesn't build

Reported by: DanielO (Daniel O'Connor) Owned by:
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: mojca (Mojca Miklavec)
Port: arm-none-eabi-gcc

Description (last modified by ryandesign (Ryan Carsten Schmidt))

The arm-none-eabi-gcc port fails to build due to a problem with the documentation.

During the build I get...

:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_port
s_cross_arm-none-eabi-binutils/arm-none-eabi-binutils/work/binutils-2.23.1/bfd/doc/arm-none-eabi-bfd.texinfo:325:
unknown command `colophon'
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_port
s_cross_arm-none-eabi-binutils/arm-none-eabi-binutils/work/binutils-2.23.1/bfd/doc/arm-none-eabi-bfd.texinfo:336:
unknown command `cygnus'

I tried installing the latest texinfo but it still fails so I edited the file and removed the mention of colophon and cygnus and it got past that but then stopped at..

:info:build /usr/bin/clang -DHAVE_CONFIG_H -I. -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_cross_arm-none-eabi-binutils/arm-none-eabi-binutils/work/binutils-2.23.1/gas  -I. -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_cross_arm-none-eabi-binutils/arm-none-eabi-binutils/work/binutils-2.23.1/gas -I../bfd -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_cross_arm-none-eabi-binutils/arm-none-eabi-binutils/work/binutils-2.23.1/gas/config -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_cross_arm-none-eabi-binutils/arm-none-eabi-binutils/work/binutils-2.23.1/gas/../include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_cross_arm-none-eabi-binutils/arm-none-eabi-binutils/work/binutils-2.23.1/gas/.. -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_cross_arm-none-eabi-binutils/arm-none-eabi-binutils/work/binutils-2.23.1/gas/../bfd -DLOCALEDIR="\"/opt/local/share/locale\""  -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -pipe -Os -arch x86_64 -MT ecoff.o -MD -MP -MF .deps/ecoff.Tpo -c -o ecoff.o /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_cross_arm-none-eabi-binutils/arm-none-eabi-binutils/work/binutils-2.23.1/gas/ecoff.c
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_cross_arm-none-eabi-binutils/arm-none-eabi-binutils/work/binutils-2.23.1/binutils/doc/arm-none-eabi-binutils.texi:4378: warning: @itemx should not begin @table
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_cross_arm-none-eabi-binutils/arm-none-eabi-binutils/work/binutils-2.23.1/binutils/doc/arm-none-eabi-binutils.texi:4386: @itemx must follow @item
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_cross_arm-none-eabi-binutils/arm-none-eabi-binutils/work/binutils-2.23.1/binutils/doc/arm-none-eabi-binutils.texi:4390: @itemx must follow @item
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_cross_arm-none-eabi-binutils/arm-none-eabi-binutils/work/binutils-2.23.1/binutils/doc/arm-none-eabi-binutils.texi:4396: @itemx must follow @item
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_cross_arm-none-eabi-binutils/arm-none-eabi-binutils/work/binutils-2.23.1/binutils/doc/arm-none-eabi-binutils.texi:4400: @itemx must follow @item
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_cross_arm-none-eabi-binutils/arm-none-eabi-binutils/work/binutils-2.23.1/binutils/doc/arm-none-eabi-binutils.texi:4410: @itemx must follow @item
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_cross_arm-none-eabi-binutils/arm-none-eabi-binutils/work/binutils-2.23.1/binutils/doc/arm-none-eabi-binutils.texi:2385: warning: node next `ranlib' in menu `readelf' and in sectioning `size' differ
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_cross_arm-none-eabi-binutils/arm-none-eabi-binutils/work/binutils-2.23.1/binutils/doc/arm-none-eabi-binutils.texi:2463: warning: node prev `size' in menu `readelf' and in sectioning `ranlib' differ
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_cross_arm-none-eabi-binutils/arm-none-eabi-binutils/work/binutils-2.23.1/binutils/doc/arm-none-eabi-binutils.texi:2687: warning: node next `strip' in menu `elfedit' and in sectioning `c++filt' differ
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_cross_arm-none-eabi-binutils/arm-none-eabi-binutils/work/binutils-2.23.1/binutils/doc/arm-none-eabi-binutils.texi:3221: warning: node next `nlmconv' in menu `windres' and in sectioning `windmc' differ
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_cross_arm-none-eabi-binutils/arm-none-eabi-binutils/work/binutils-2.23.1/binutils/doc/arm-none-eabi-binutils.texi:3326: warning: node next `windmc' in menu `dlltool' and in sectioning `windres' differ
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_cross_arm-none-eabi-binutils/arm-none-eabi-binutils/work/binutils-2.23.1/binutils/doc/arm-none-eabi-binutils.texi:3326: warning: node prev `windmc' in menu `windres' and in sectioning `nlmconv' differ
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_cross_arm-none-eabi-binutils/arm-none-eabi-binutils/work/binutils-2.23.1/binutils/doc/arm-none-eabi-binutils.texi:3487: warning: node next `windres' in menu `windmc' and in sectioning `dlltool' differ
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_cross_arm-none-eabi-binutils/arm-none-eabi-binutils/work/binutils-2.23.1/binutils/doc/arm-none-eabi-binutils.texi:3487: warning: node prev `windres' in menu `nlmconv' and in sectioning `windmc' differ
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_cross_arm-none-eabi-binutils/arm-none-eabi-binutils/work/binutils-2.23.1/binutils/doc/arm-none-eabi-binutils.texi:3681: warning: node next `dlltool' in menu `Common Options' and in sectioning `readelf' differ
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_cross_arm-none-eabi-binutils/arm-none-eabi-binutils/work/binutils-2.23.1/binutils/doc/arm-none-eabi-binutils.texi:3681: warning: node prev `dlltool' in menu `windmc' and in sectioning `windres' differ
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_cross_arm-none-eabi-binutils/arm-none-eabi-binutils/work/binutils-2.23.1/binutils/doc/arm-none-eabi-binutils.texi:4084: warning: node next `readelf' in menu `size' and in sectioning `elfedit' differ
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_cross_arm-none-eabi-binutils/arm-none-eabi-binutils/work/binutils-2.23.1/binutils/doc/arm-none-eabi-binutils.texi:4084: warning: node prev `readelf' in menu `ranlib' and in sectioning `dlltool' differ
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_cross_arm-none-eabi-binutils/arm-none-eabi-binutils/work/binutils-2.23.1/binutils/doc/arm-none-eabi-binutils.texi:4338: warning: node next `elfedit' in menu `c++filt' and in sectioning `Common Options' differ
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_cross_arm-none-eabi-binutils/arm-none-eabi-binutils/work/binutils-2.23.1/binutils/doc/arm-none-eabi-binutils.texi:4338: warning: node prev `elfedit' in menu `strip' and in sectioning `readelf' differ
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_cross_arm-none-eabi-binutils/arm-none-eabi-binutils/work/binutils-2.23.1/binutils/doc/arm-none-eabi-binutils.texi:4432: warning: node prev `Common Options' in menu `dlltool' and in sectioning `elfedit' differ
:info:build make[3]: *** [arm-none-eabi-binutils.info] Error 1
:info:build make[3]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_cross_arm-none-eabi-binutils/arm-none-eabi-binutils/work/build/binutils/doc'

This is using a fully patched El Capitan and MacPorts installed 2 days ago.

Change History (9)

comment:1 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Owner: changed from macports-tickets@… to stuartwesterman@…

comment:2 Changed 9 years ago by stuartwesterman (Stuart Westerman)

The port seems to install fine on OS X Yosemite (10.10.5). See below:

wei@r [~]$ sudo port install arm-none-eabi-gcc
--->  Computing dependencies for arm-none-eabi-gcc
--->  Dependencies to be installed: arm-none-eabi-binutils
--->  Fetching archive for arm-none-eabi-binutils
--->  Attempting to fetch arm-none-eabi-binutils-2.23.1_2.darwin_14.x86_64.tbz2 from http://packages.macports.org/arm-none-eabi-binutils
--->  Attempting to fetch arm-none-eabi-binutils-2.23.1_2.darwin_14.x86_64.tbz2.rmd160 from http://packages.macports.org/arm-none-eabi-binutils
--->  Installing arm-none-eabi-binutils @2.23.1_2
--->  Activating arm-none-eabi-binutils @2.23.1_2
--->  Cleaning arm-none-eabi-binutils
--->  Fetching archive for arm-none-eabi-gcc
--->  Attempting to fetch arm-none-eabi-gcc-5.1.0_1.darwin_14.x86_64.tbz2 from http://packages.macports.org/arm-none-eabi-gcc
--->  Attempting to fetch arm-none-eabi-gcc-5.1.0_1.darwin_14.x86_64.tbz2.rmd160 from http://packages.macports.org/arm-none-eabi-gcc
--->  Installing arm-none-eabi-gcc @5.1.0_1
--->  Activating arm-none-eabi-gcc @5.1.0_1
--->  Cleaning arm-none-eabi-gcc
--->  Updating database of binaries
--->  Scanning binaries for linking errors
--->  No broken files found.
wei@r [~]$ uname -a
Darwin r.local 14.5.0 Darwin Kernel Version 14.5.0: Tue Sep  1 21:23:09 PDT 2015; root:xnu-2782.50.1~1/RELEASE_X86_64 x86_64
wei@r [~]$ sw_vers
ProductName:	Mac OS X
ProductVersion:	10.10.5
BuildVersion:	14F1021
wei@r [~]$

I'll try to get an El Capitan machine up and investigate the problem.

comment:3 in reply to:  description Changed 9 years ago by stuartwesterman (Stuart Westerman)

Seems to install fine with my El Capitan machine. I'll take a closer look and see if I can reproduce the error.

mb@mbr[~]$ sudo port install arm-none-eabi-gcc
Password:
--->  Computing dependencies for arm-none-eabi-gcc
--->  Cleaning arm-none-eabi-gcc
--->  Scanning binaries for linking errors
--->  No broken files found.
mb@mbr[~]$ sw_vers
ProductName:	Mac OS X
ProductVersion:	10.11.2
BuildVersion:	15C27e
mb@mbr[~]$
Last edited 9 years ago by stuartwesterman (Stuart Westerman) (previous) (diff)

comment:4 Changed 9 years ago by macports@…

This issue only occurs if texinfo package is installed. To reproduce the problem, first install texinfo then attempt to install arm-none-eabi-gcc.

In other words: It's also possible to workaround this problem by temporarily uninstalling texinfo and restoring it after arm-none-eabi-gcc has been installed.

Last edited 9 years ago by macports@… (previous) (diff)

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

Owner: stuartwesterman deleted
Status: newassigned

comment:6 Changed 6 years ago by mojca (Mojca Miklavec)

Cc: mojca added

comment:7 Changed 6 years ago by mojca (Mojca Miklavec)

Was this fixed in the meantime? I need more time to test since other bits and pieces seem to be broken for me.

comment:8 Changed 6 years ago by DanielO (Daniel O'Connor)

I gave up on it and ended up getting the builds from ARM themselves so I couldn't say.

comment:9 Changed 6 years ago by mojca (Mojca Miklavec)

Resolution: worksforme
Status: assignedclosed
Version: 2.3.4

Thanks a lot for the feedback.

I fixed the other problem and I retried building with texinfo enabled and that seems to work fine for me now. I don't know how and when, but I strongly suspect that this problem was fixed at some point in the meantime, so I'm closing this bug. (This was definitely not the only affected port.)

Note: See TracTickets for help on using tickets.