[MacPorts] #54217: gdb 7.12.1 does not work on macOS Sierra

classic Classic list List threaded Threaded
9 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[MacPorts] #54217: gdb 7.12.1 does not work on macOS Sierra

MacPorts
#54217: gdb 7.12.1 does not work on macOS Sierra
--------------------+-------------------
 Reporter:  plinss  |      Owner:
     Type:  defect  |     Status:  new
 Priority:  Normal  |  Milestone:
Component:  ports   |    Version:  2.4.1
 Keywords:  gdb     |       Port:  gdb
--------------------+-------------------
 Apparently there's still a patch required for gdb to work on Sierra
 10.12.4+

 Applying this patch appear to work:
 https://raw.githubusercontent.com/Homebrew/formula-
 patches/9d3dbc2/gdb/0001-darwin-nat.c-handle-Darwin-16-aka-Sierra.patch

 Also, setting the procmod group interferes with codesigning gdb (which is
 now required on Sierra).

 Attaching a patch to the portfile to address these.

--
Ticket URL: <https://trac.macports.org/ticket/54217>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [MacPorts] #54217: gdb 7.12.1 does not work on macOS Sierra

MacPorts
#54217: gdb 7.12.1 does not work on macOS Sierra
---------------------+-------------------
  Reporter:  plinss  |      Owner:
      Type:  defect  |     Status:  new
  Priority:  Normal  |  Milestone:
 Component:  ports   |    Version:  2.4.1
Resolution:          |   Keywords:  gdb
      Port:  gdb     |
---------------------+-------------------
Changes (by plinss):

 * Attachment "Portfile-rrdtool.diff" added.

 Patch to portfile

--
Ticket URL: <https://trac.macports.org/ticket/54217>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [MacPorts] #54217: gdb 7.12.1 does not work on macOS Sierra

MacPorts
In reply to this post by MacPorts
#54217: gdb 7.12.1 does not work on macOS Sierra
---------------------+-------------------
  Reporter:  plinss  |      Owner:
      Type:  defect  |     Status:  new
  Priority:  Normal  |  Milestone:
 Component:  ports   |    Version:  2.4.1
Resolution:          |   Keywords:  gdb
      Port:  gdb     |
---------------------+-------------------
Changes (by plinss):

 * Attachment "patch-gdb-darwin-nat.c.diff" added.

 Patch to gdb (slight edit to correct path)

--
Ticket URL: <https://trac.macports.org/ticket/54217>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [MacPorts] #54217: gdb 7.12.1 does not work on macOS Sierra

MacPorts
In reply to this post by MacPorts
#54217: gdb 7.12.1 does not work on macOS Sierra
---------------------+----------------------
  Reporter:  plinss  |      Owner:
      Type:  defect  |     Status:  new
  Priority:  Normal  |  Milestone:
 Component:  ports   |    Version:  2.4.1
Resolution:          |   Keywords:  haspatch
      Port:  gdb     |
---------------------+----------------------
Changes (by mf2k):

 * cc: plinss (removed)
 * keywords:  gdb => haspatch


Comment:

 Thanks!

 As reporter, you do not need to Cc yourself.

--
Ticket URL: <https://trac.macports.org/ticket/54217#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [MacPorts] #54217: gdb 7.12.1 does not work on macOS Sierra

MacPorts
In reply to this post by MacPorts
#54217: gdb 7.12.1 does not work on macOS Sierra
---------------------+----------------------
  Reporter:  plinss  |      Owner:
      Type:  defect  |     Status:  new
  Priority:  Normal  |  Milestone:
 Component:  ports   |    Version:  2.4.1
Resolution:          |   Keywords:  haspatch
      Port:  gdb     |
---------------------+----------------------

Comment (by plinss):

 Neglected to mention this fixes the issue: "During startup program
 terminated with signal ?, unknown signal." while attempting to run any
 program.

 FWIW, the same patch is being used by homebrew, see:
 https://github.com/Homebrew/homebrew-core/blob/master/Formula/gdb.rb

--
Ticket URL: <https://trac.macports.org/ticket/54217#comment:3>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [MacPorts] #54217: gdb 7.12.1 does not work on macOS Sierra

MacPorts
In reply to this post by MacPorts
#54217: gdb 7.12.1 does not work on macOS Sierra
---------------------+----------------------
  Reporter:  plinss  |      Owner:
      Type:  defect  |     Status:  new
  Priority:  Normal  |  Milestone:
 Component:  ports   |    Version:  2.4.1
Resolution:          |   Keywords:  haspatch
      Port:  gdb     |
---------------------+----------------------
Changes (by mf2k):

 * cc: uliano, rickyz, plinss, lks100 (added)


Comment:

 Has duplicate #52889.

--
Ticket URL: <https://trac.macports.org/ticket/54217#comment:4>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [MacPorts] #54217: gdb 7.12.1 does not work on macOS Sierra

MacPorts
In reply to this post by MacPorts
#54217: gdb 7.12.1 does not work on macOS Sierra
---------------------+----------------------
  Reporter:  plinss  |      Owner:  raimue
      Type:  defect  |     Status:  closed
  Priority:  Normal  |  Milestone:
 Component:  ports   |    Version:  2.4.1
Resolution:  fixed   |   Keywords:  haspatch
      Port:  gdb     |
---------------------+----------------------
Changes (by raimue):

 * owner:   => raimue
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"380ef99dde4cec0516cba66797d478ff0d97239d/macports-ports"
 380ef99dde4cec0516cba66797d478ff0d97239d/macports-ports]:
 {{{
 #!ConfigurableCommitTicketReference repository="macports-ports"
 revision="380ef99dde4cec0516cba66797d478ff0d97239d"
 gdb: Fix running on macOS >= 10.12.4

 Also replace outdated taskgated instructions with a link to the gdb wiki
 for codesigning.

 Closes: https://trac.macports.org/ticket/54217
 }}}

--
Ticket URL: <https://trac.macports.org/ticket/54217#comment:5>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [MacPorts] #54217: gdb 7.12.1 does not work on macOS Sierra

MacPorts
In reply to this post by MacPorts
#54217: gdb 7.12.1 does not work on macOS Sierra
---------------------+----------------------
  Reporter:  plinss  |      Owner:  raimue
      Type:  defect  |     Status:  closed
  Priority:  Normal  |  Milestone:
 Component:  ports   |    Version:  2.4.1
Resolution:  fixed   |   Keywords:  haspatch
      Port:  gdb     |
---------------------+----------------------

Comment (by raimue):

 Thank you for your contribution. Committed with an additional increase of
 `revision`, since this changes files installed by the port.

--
Ticket URL: <https://trac.macports.org/ticket/54217#comment:6>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [MacPorts] #54217: gdb 7.12.1 does not work on macOS Sierra

MacPorts
In reply to this post by MacPorts
#54217: gdb 7.12.1 does not work on macOS Sierra
---------------------+----------------------
  Reporter:  plinss  |      Owner:  raimue
      Type:  defect  |     Status:  closed
  Priority:  Normal  |  Milestone:
 Component:  ports   |    Version:  2.4.1
Resolution:  fixed   |   Keywords:  haspatch
      Port:  gdb     |
---------------------+----------------------

Comment (by raimue):

 In [changeset:"defab74d7e9f649efba07635867e7d324a5d0e36/macports-ports"
 defab74d7e9f649efba07635867e7d324a5d0e36/macports-ports]:
 {{{
 #!ConfigurableCommitTicketReference repository="macports-ports"
 revision="defab74d7e9f649efba07635867e7d324a5d0e36"
 gdb: add missing patch file

 Forgot to add this in 380ef99dde4cec0516cba66797d478ff0d97239d.

 See: https://trac.macports.org/ticket/54217
 }}}

--
Ticket URL: <https://trac.macports.org/ticket/54217#comment:7>
MacPorts <https://www.macports.org/>
Ports system for macOS
Loading...