Page MenuHomeFreeBSD

Mk/Uses/gssapi.mk: don't set GSSAPILDFLAGS for USES=gssapi
AbandonedPublic

Authored by pkubaj on May 17 2019, 10:59 AM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Apr 12, 5:06 PM
Unknown Object (File)
Jan 27 2024, 12:28 PM
Unknown Object (File)
Dec 21 2023, 8:14 PM
Unknown Object (File)
Dec 20 2023, 2:27 AM
Unknown Object (File)
Nov 22 2023, 4:22 PM
Unknown Object (File)
Nov 22 2023, 4:22 PM
Unknown Object (File)
Nov 22 2023, 4:21 PM
Unknown Object (File)
Nov 13 2023, 5:06 PM
Subscribers
None

Details

Reviewers
linimon
mat
tcberner
hrs
Group Reviewers
O5: Ports Framework(Owns No Changed Paths)
portmgr
Summary

Setting GSSAPILDFLAGS for USES=gssapi causes -L/usr/lib to be added to LDFLAGS.

This breaks compilation of some ports, like www/squid on GCC architectures when new GCC from ports needs to be used.

The new GCC tries to link to libstdc++ and fails. Not setting it explicitely causes /usr/local/lib/gcc8/libstdc++.so to be taken instead and /usr/lib is searched for libraries anyway, just with lower priority.

Tested on powerpc64 and amd64 on www/squid.

PR: 237275

Diff Detail

Repository
rP FreeBSD ports repository
Lint
No Lint Coverage
Unit
No Test Coverage
Build Status
Buildable 25530
Build 24145: arc lint + arc unit

Event Timeline

Adding USES=gssapi's maintainer.

Accept as your mentor, you still need to have approval from the maintainer, @hrs.

Wondering if this needs an exp-run.

Any info about this issue?

It affects all ports that need USES=compiler:* gssapi:base.

Any info about this issue?

It affects all ports that need USES=compiler:* gssapi:base.

Well, there are still two open points :

I have no clue what this affects, so:

In D20289#438042, @mat wrote:

Wondering if this needs an exp-run.

And ask the maintainer for approval:

In D20289#438040, @mat wrote:

Accept as your mentor, you still need to have approval from the maintainer, @hrs.

In D20289#444423, @mat wrote:

Any info about this issue?

It affects all ports that need USES=compiler:* gssapi:base.

Well, there are still two open points :

I have no clue what this affects, so:

In D20289#438042, @mat wrote:

Wondering if this needs an exp-run.

And ask the maintainer for approval:

In D20289#438040, @mat wrote:

Accept as your mentor, you still need to have approval from the maintainer, @hrs.

Yes, I meant to ping hrs, not you.

@mat
Considering long overtime of this DR (and previously PR at bugzilla), can I just commit it as it is?