[MacPorts] #69956: xmms2 fails to configure: err: ld: unknown option: -Bstatic
MacPorts
noreply at macports.org
Sat Sep 28 17:29:09 UTC 2024
#69956: xmms2 fails to configure: err: ld: unknown option: -Bstatic
---------------------------+--------------------
Reporter: barracuda156 | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.9.3
Resolution: | Keywords:
Port: xmms2 |
---------------------------+--------------------
Comment (by barracuda156):
Replying to [comment:3 kencu]:
> there is no expectation for contributors to test on anything other than
clang, and on the last three systems.
>
> to have ports work on older systems or with nonstandard compilers,
people who use those systems are expected to add useful and acceptable
modifications.
>
> So no point being snippy. The Portfile code is not wrong — just has to
be tweaked for corner cases.
A good practice is to add flags unconditionally when one is sure they work
for all supported systems. Since the failure was with some clang and no
testing done with gcc (which is okay), the flag should have been added
conditionally on the compiler being clang.
This would not require any exotic hardware or special knowledge, just a
couple of extra lines of code.
--
Ticket URL: <https://trac.macports.org/ticket/69956#comment:4>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list