Opened 4 years ago
Closed 4 years ago
#61845 closed defect (fixed)
shibboleth port not building on at least Big Sur
Reported by: | scantor (Scott Cantor) | Owned by: | scantor (Scott Cantor) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | ||
Port: | shibboleth |
Description
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.
Change History (5)
comment:1 Changed 4 years ago by scantor (Scott Cantor)
comment:2 Changed 4 years ago by scantor (Scott Cantor)
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?
comment:3 Changed 4 years ago by kencu (Ken)
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>
comment:5 Changed 4 years ago by scantor (Scott Cantor)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
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.
The port does seem to build on older macOS, so it's something new in Big Sur and/or the latest toolchain.