Known issue with MacPorts. See MacPort tickets #62394 and #61866. (Though the first post incorrectly says 12.2 SDK, when the SDK version for MacOS 11.2 is actually 11.1. See /Library/Developer/CommandLineToos/SDKs.)
I tried to include the ticket links, but seem not allowed to add links to this comment. Tickets can be found at trac.macports.org.