Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#45806 closed defect (fixed)

arm-none-eabi-gdb build failure on 10.10 Yosemite

Reported by: bruce@… Owned by: stuartwesterman (Stuart Westerman)
Priority: Normal Milestone:
Component: ports Version: 2.3.2
Keywords: Cc: DanielO (Daniel O'Connor), neverpanic (Clemens Lang), IvoClarysse (Ivo Clarysse)
Port: arm-none-eabi-gdb

Description

No troubles encountered compiling arm-none-eabi-gcc, but the gdb counterpart fails as follows:

# port install arm-none-eabi-gdb
Warning: All compilers are either blacklisted or unavailable; defaulting to first fallback option
--->  Computing dependencies for arm-none-eabi-gdb
--->  Fetching archive for arm-none-eabi-gdb
--->  Attempting to fetch arm-none-eabi-gdb-7.5.1_0.darwin_14.x86_64.tbz2 from http://packages.macports.org/arm-none-eabi-gdb
--->  Attempting to fetch arm-none-eabi-gdb-7.5.1_0.darwin_14.x86_64.tbz2 from http://lil.fr.packages.macports.org/arm-none-eabi-gdb
--->  Attempting to fetch arm-none-eabi-gdb-7.5.1_0.darwin_14.x86_64.tbz2 from http://nue.de.packages.macports.org/macports/packages/arm-none-eabi-gdb
--->  Fetching distfiles for arm-none-eabi-gdb
--->  Verifying checksums for arm-none-eabi-gdb
--->  Extracting arm-none-eabi-gdb
--->  Configuring arm-none-eabi-gdb
Warning: All compilers are either blacklisted or unavailable; defaulting to first fallback option
[repeat the above warning 17 more times...]
--->  Building arm-none-eabi-gdb
Error: org.macports.build for port arm-none-eabi-gdb returned: command execution failed
Please see the log file for port arm-none-eabi-gdb for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_cross_arm-none-eabi-gdb/arm-none-eabi-gdb/main.log
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port arm-none-eabi-gdb failed

It fails similarly if built either of these two ways:

# port install arm-none-eabi-gdb configure.compiler=gcc
# port install arm-none-eabi-gdb configure.compiler=clang

Build log attached.

Attachments (3)

arm-none-eabi-gdb.log (277.7 KB) - added by bruce@… 10 years ago.
Build log
arm-none-eabi-gdb-fix.diff (1.6 KB) - added by DanielO (Daniel O'Connor) 10 years ago.
arm-none-eabi-gdb7.9.patch (1.6 KB) - added by IvoClarysse (Ivo Clarysse) 10 years ago.
Update to gdb 7.9

Download all attachments as: .zip

Change History (15)

Changed 10 years ago by bruce@…

Attachment: arm-none-eabi-gdb.log added

Build log

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

Owner: changed from macports-tickets@… to stuartwesterman@…

Sorry, the port blacklists clang, but clang is the only compiler available on Yosemite, so this port cannot be built on Yosemite, until someone figures out how to fix that.

comment:2 Changed 10 years ago by larryv (Lawrence Velázquez)

Perhaps we could try updating it to the latest version first?

comment:3 Changed 10 years ago by DanielO (Daniel O'Connor)

Cc: darius@… added

Cc Me!

Changed 10 years ago by DanielO (Daniel O'Connor)

Attachment: arm-none-eabi-gdb-fix.diff added

comment:4 Changed 10 years ago by DanielO (Daniel O'Connor)

The attached patch fixes it for me.

There are 2 problems - the first is the texinfo one, if you fix that it later fails in bfd due to -Werror.

Perhaps disabling -Werror would fix clang but I did not try it.

comment:5 Changed 10 years ago by stuartwesterman (Stuart Westerman)

The patch works great! Nice work! Thank you!

comment:6 Changed 10 years ago by neverpanic (Clemens Lang)

Cc: cal@… added

Cc Me!

Changed 10 years ago by IvoClarysse (Ivo Clarysse)

Attachment: arm-none-eabi-gdb7.9.patch added

Update to gdb 7.9

comment:7 Changed 10 years ago by IvoClarysse (Ivo Clarysse)

Updating to GDB 7.9 (Patch arm-none-eabi-gdb7.9.patch attached) also fixes the Yosemite build, but avoids having to patch bfd/doc/bfd.texinfo.

comment:8 Changed 10 years ago by IvoClarysse (Ivo Clarysse)

Cc: ivo.clarysse@… added

Cc Me!

comment:9 Changed 10 years ago by neverpanic (Clemens Lang)

Resolution: fixed
Status: newclosed

Thanks, r135529 with one change, namely dropping the md5 checksum. Our current guideline says rmd160/sha256 and md5 is old and should be considered broken anyway.

Since the maintainer has ignored this ticket for 6 months now, are you interested in taking over the port?

comment:10 Changed 10 years ago by stuartwesterman (Stuart Westerman)

Sorry! I'm a bad maintainer. I'll cede maintainership to whoever wants it. I'll try to be better in the future.

comment:11 Changed 10 years ago by DanielO (Daniel O'Connor)

I don't think I'd be a particularly good maintainer, although I'm happy to nag you if stuff breaks :)

comment:12 Changed 10 years ago by neverpanic (Clemens Lang)

I can also put you both on the list, if you want.

Stuart: Don't worry too much about it, we just occasionally have people that don't reply anymore at all which is why I asked. No need to change anything if your email address still works and you're not completely uninterested in the port.

Note: See TracTickets for help on using tickets.