#61845: shibboleth port not building on at least Big Sur

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

#61845: shibboleth port not building on at least Big Sur

macports-4
#61845: shibboleth port not building on at least Big Sur
---------------------+------------------------
 Reporter:  scantor  |      Owner:  scantor
     Type:  defect   |     Status:  assigned
 Priority:  Normal   |  Milestone:
Component:  ports    |    Version:
 Keywords:           |       Port:  shibboleth
---------------------+------------------------
 The port has been failing for a bit now, and some recent fixes to the
 Apache module flags aren't helping. Something's changed in the linker step
 and it's failing to link because a lot of Apache symbols aren't defined,
 but that's normal/expected for a module since those symbols are inside
 httpd itself, so you don't include that in the link line.

 I don't know if this is only breaking on Big Sur, but that's distinctly
 possible. I have another Mac to test on that I haven't tried yet.

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

Re: #61845: shibboleth port not building on at least Big Sur

macports-4
#61845: shibboleth port not building on at least Big Sur
-------------------------+----------------------
  Reporter:  scantor     |      Owner:  scantor
      Type:  defect      |     Status:  assigned
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:
Resolution:              |   Keywords:
      Port:  shibboleth  |
-------------------------+----------------------

Comment (by scantor):

 The port does seem to build on older macOS, so it's something new in Big
 Sur and/or the latest toolchain.

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

Re: #61845: shibboleth port not building on at least Big Sur

macports-4
In reply to this post by macports-4
#61845: shibboleth port not building on at least Big Sur
-------------------------+----------------------
  Reporter:  scantor     |      Owner:  scantor
      Type:  defect      |     Status:  assigned
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:
Resolution:              |   Keywords:
      Port:  shibboleth  |
-------------------------+----------------------

Comment (by scantor):

 I believe this is quite likely due to something causing the -undefined ld
 option to be left unset. My CLI build must be getting it set to
 dynamic_lookup. I suspect the problem is that Apple's libtool knows to do
 this and GNU libtool from macports does not. Perhaps there's a standard
 way to divert to Apple's?

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

Re: #61845: shibboleth port not building on at least Big Sur

macports-4
In reply to this post by macports-4
#61845: shibboleth port not building on at least Big Sur
-------------------------+----------------------
  Reporter:  scantor     |      Owner:  scantor
      Type:  defect      |     Status:  assigned
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:
Resolution:              |   Keywords:
      Port:  shibboleth  |
-------------------------+----------------------

Comment (by kencu):

 There are a large number of ports that exhibited this issue; here are some
 example fixes:

 <https://github.com/macports/macports-
 ports/commit/dbfc06c047b3f6f9c1df7924b0afa7539cfd9d88>

 <https://github.com/macports/macports-
 ports/commit/beebadbbfe4c29f695c2647d8ffc4d2c68c80a2c>

 <https://github.com/macports/macports-
 ports/commit/d22d0cbf624ca488a4da2c6e088d9429a7cd2c22>

 a different approach <https://github.com/macports/macports-
 ports/commit/af473c9537790b3522c9c8d85ad592e4c2898420>

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

Re: #61845: shibboleth port not building on at least Big Sur

macports-4
In reply to this post by macports-4
#61845: shibboleth port not building on at least Big Sur
-------------------------+----------------------
  Reporter:  scantor     |      Owner:  scantor
      Type:  defect      |     Status:  assigned
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:
Resolution:              |   Keywords:
      Port:  shibboleth  |
-------------------------+----------------------

Comment (by scantor):

 Thanks, appreciate the links.

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

Re: #61845: shibboleth port not building on at least Big Sur

macports-4
In reply to this post by macports-4
#61845: shibboleth port not building on at least Big Sur
-------------------------+---------------------
  Reporter:  scantor     |      Owner:  scantor
      Type:  defect      |     Status:  closed
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:
Resolution:  fixed       |   Keywords:
      Port:  shibboleth  |
-------------------------+---------------------
Changes (by scantor):

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 Adding an autoreconf to the port fixed it. I suspect it just happened to
 get built originally ahead of a change to the port of libtool to add the
 flag.

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