Opened 5 years ago

Last modified 2 years ago

#50571 new defect

msp430-binutils fails to build

Reported by: guillaumesalagnac Owned by: g5pw (Aljaž Srebrnič)
Priority: Normal Milestone:
Component: ports Version: 2.3.4
Keywords: Cc: help@…, mojca (Mojca Miklavec)
Port: msp430-binutils


I want to install msp430-gcc and friends, but msp430-binutils fails to build (this is MacPorts 2.3.4 on OSX 10.11.3, if that matters). In the logfile, I believe the relevant error messages are these:

:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_cross_msp430-binutils/msp430-binutils/work/binutils-2.21.1/bfd/doc/msp430-bfd.texinfo:325: unknown command `colophon'
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_cross_msp430-binutils/msp430-binutils/work/binutils-2.21.1/bfd/doc/msp430-bfd.texinfo:336: unknown command `cygnus'

The problem looks due to a bug in binutils which was fixed in version 2.23, cf thus the issue should be quite straightforward to fix in macports, but I don't have the skill to do so.

Any help would be warmly welcome

Change History (6)

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

Keywords: texinfo removed
Owner: changed from macports-tickets@… to g5pw@…

In the future, please Cc the port maintainers (port info --maintainers msp430-binutils), if any.

comment:2 Changed 5 years ago by help@…

Cc: help@… added

Cc Me!

comment:3 Changed 5 years ago by help@…

Want to point out that it's the same for all crossbinutils ports, obviously, for example i386-elf-binutils and x86_64-elf-binutils (which BTW have different maintainers, but I can't add them to cc). I worked around it by adding the following lines to Portfile:

build.args "MAKEINFO=/usr/bin/makeinfo"
destroot.args "MAKEINFO=/usr/bin/makeinfo"

But of course updating the version is a much better fix;)

Last edited 5 years ago by help@… (previous) (diff)

comment:4 Changed 5 years ago by help@…

binutils-2.23.1 doesn't contain the fix for this issue, checked 2.26 - it does and builds fine.

comment:5 Changed 2 years ago by mojca (Mojca Miklavec)

Cc: mojca added
Note: See TracTickets for help on using tickets.