Opened 10 years ago

Closed 10 years ago

#43973 closed defect (fixed)

gdb not upgrading on Yosemite.

Reported by: adaminsull@… Owned by: stuartwesterman (Stuart Westerman)
Priority: Normal Milestone:
Component: ports Version: 2.3.0
Keywords: yosemite haspatch Cc: cooljeanius (Eric Gallager), mmpestorich (Mike M Pestorich), mopihopi, ryandesign (Ryan Carsten Schmidt)
Port: gdb

Description

I have command line tools but /usr/include/machine/setjmp.h does not exist.

Error: org.macports.build for port gdb returned: command execution failed
Please see the log file for port gdb for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_gdb/gdb/main.log
Error: Unable to upgrade port: 1
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets

Attachments (2)

main.log (29.1 KB) - added by adaminsull@… 10 years ago.
Main.log file.
patch-darwin-nat.diff (1.1 KB) - added by mmpestorich (Mike M Pestorich) 10 years ago.
Here's a patch that will make this compile until it gets fixed upstream.

Download all attachments as: .zip

Change History (10)

Changed 10 years ago by adaminsull@…

Attachment: main.log added

Main.log file.

comment:1 Changed 10 years ago by mopihopi

:info:build darwin-nat.c:45:10: fatal error: 'machine/setjmp.h' file not found

<machine/setjmp.h> should probably be <setjmp.h> in gdb/darwin-nat.c. You may want to check whether that fixes it, and report upstream to gdb.

comment:2 Changed 10 years ago by mf2k (Frank Schima)

Keywords: yosemite added
Owner: changed from macports-tickets@… to dweber@…

In the future, please Cc the port maintainers (port info --maintainers gdb).

comment:3 Changed 10 years ago by adaminsull@…

Yes, this worked. Thanks.

Changed 10 years ago by mmpestorich (Mike M Pestorich)

Attachment: patch-darwin-nat.diff added

Here's a patch that will make this compile until it gets fixed upstream.

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

Keywords: haspatch added
Owner: changed from dweber@… to macports-tickets@…

dweber has retired. See #43834.

comment:6 Changed 10 years ago by mf2k (Frank Schima)

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

comment:7 Changed 10 years ago by cooljeanius (Eric Gallager)

Cc: egall@… added

Cc Me!

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

Cc: mmpestorich@… mopihopi@… ryandesign@… added
Resolution: fixed
Status: newclosed

Thanks for the patch. Committed in r126776.

Note: See TracTickets for help on using tickets.