[MacPorts] #54060: gss-1.0.3 does not build on Leopard or Snow Leopard

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

[MacPorts] #54060: gss-1.0.3 does not build on Leopard or Snow Leopard

MacPorts
#54060: gss-1.0.3 does not build on Leopard or Snow Leopard
----------------------------------------+-----------------
 Reporter:  josephsacco                 |      Owner:
     Type:  defect                      |     Status:  new
 Priority:  Normal                      |  Milestone:
Component:  ports                       |    Version:
 Keywords:  gss, Leopard, Snow Leopard  |       Port:  gss
----------------------------------------+-----------------
 gss does not build on Leopard or Snow Leopard because of getline(), which
 is called from gettrimline() in src/gss.c, is is not available in the OSX
 system library for 10.6 and earler.

 A work-around is to replace the missing getline() function in gss.c.  I
 "borrowed" code to do this from #53359 and created a patch file that
 allowed gss to build.

 -Joseph

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

Re: [MacPorts] #54060: gss-1.0.3 does not build on Leopard or Snow Leopard

MacPorts
#54060: gss-1.0.3 does not build on Leopard or Snow Leopard
--------------------------+----------------------------------------
  Reporter:  josephsacco  |      Owner:
      Type:  defect       |     Status:  new
  Priority:  Normal       |  Milestone:
 Component:  ports        |    Version:
Resolution:               |   Keywords:  gss, Leopard, Snow Leopard
      Port:  gss          |
--------------------------+----------------------------------------
Changes (by josephsacco):

 * Attachment "Portfile.diff" added.

 Portfile diff

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

Re: [MacPorts] #54060: gss-1.0.3 does not build on Leopard or Snow Leopard

MacPorts
In reply to this post by MacPorts
#54060: gss-1.0.3 does not build on Leopard or Snow Leopard
--------------------------+----------------------------------------
  Reporter:  josephsacco  |      Owner:
      Type:  defect       |     Status:  new
  Priority:  Normal       |  Milestone:
 Component:  ports        |    Version:
Resolution:               |   Keywords:  gss, Leopard, Snow Leopard
      Port:  gss          |
--------------------------+----------------------------------------
Changes (by josephsacco):

 * Attachment "patch-src-gss.diff" added.

 patch to add getline() to src/gss.c

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

Re: [MacPorts] #54060: gss @1.0.3: Undefined symbols: _getline (was: gss-1.0.3 does not build on Leopard or Snow Leopard)

MacPorts
In reply to this post by MacPorts
#54060: gss @1.0.3: Undefined symbols: _getline
--------------------------+------------------------------------------
  Reporter:  josephsacco  |      Owner:
      Type:  defect       |     Status:  new
  Priority:  Normal       |  Milestone:
 Component:  ports        |    Version:
Resolution:               |   Keywords:  leopard snowleopard haspatch
      Port:  gss          |
--------------------------+------------------------------------------
Changes (by ryandesign):

 * keywords:  gss, Leopard, Snow Leopard => leopard snowleopard haspatch


Comment:

 The developers of gss should fix this.

 The problem was reported to them here: http://lists.gnu.org/archive/html
 /help-gss/2017-04/msg00000.html

 Perhaps you'd like to report your fix to them there as well.

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

Re: [MacPorts] #54060: gss @1.0.3: Undefined symbols: _getline

MacPorts
In reply to this post by MacPorts
#54060: gss @1.0.3: Undefined symbols: _getline
--------------------------+------------------------------------------
  Reporter:  josephsacco  |      Owner:
      Type:  defect       |     Status:  new
  Priority:  Normal       |  Milestone:
 Component:  ports        |    Version:
Resolution:               |   Keywords:  leopard snowleopard haspatch
      Port:  gss          |
--------------------------+------------------------------------------

Comment (by josephsacco):

 Replying to [comment:1 ryandesign]:
 > The developers of gss should fix this.
 >
 > The problem was reported to them here: http://lists.gnu.org/archive/html
 /help-gss/2017-04/msg00000.html
 >
 > Perhaps you'd like to report your fix to them there as well.



 '''Done...'''

 -Joseph

--
Ticket URL: <https://trac.macports.org/ticket/54060#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] #54060: gss @1.0.3: Undefined symbols: _getline

MacPorts
In reply to this post by MacPorts
#54060: gss @1.0.3: Undefined symbols: _getline
--------------------------+------------------------------------------
  Reporter:  josephsacco  |      Owner:
      Type:  defect       |     Status:  new
  Priority:  Normal       |  Milestone:
 Component:  ports        |    Version:
Resolution:               |   Keywords:  leopard snowleopard haspatch
      Port:  gss          |
--------------------------+------------------------------------------

Comment (by kencu):

 Pull Request: <https://github.com/macports/macports-ports/pull/664>

--
Ticket URL: <https://trac.macports.org/ticket/54060#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] #54060: gss @1.0.3: Undefined symbols: _getline

MacPorts
In reply to this post by MacPorts
#54060: gss @1.0.3: Undefined symbols: _getline
--------------------------+------------------------------------------
  Reporter:  josephsacco  |      Owner:  kencu
      Type:  defect       |     Status:  closed
  Priority:  Normal       |  Milestone:
 Component:  ports        |    Version:
Resolution:  fixed        |   Keywords:  leopard snowleopard haspatch
      Port:  gss          |
--------------------------+------------------------------------------
Changes (by kencu):

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


Comment:

 In [changeset:"98b23d68bd007593ac7dc3affb43475e49329b39/macports-ports"
 98b23d68bd007593ac7dc3affb43475e49329b39/macports-ports]:
 {{{
 #!ConfigurableCommitTicketReference repository="macports-ports"
 revision="98b23d68bd007593ac7dc3affb43475e49329b39"
 gss: fix error for missing getline()

 add PortGroup snowleopard_fixes
 closes: https://trac.macports.org/ticket/54060
 }}}

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