[MacPorts] #68486: libfido2 @1.13.0: error: use of undeclared identifier 'kIOMainPortDefault'

MacPorts noreply at macports.org
Mon Oct 16 19:59:07 UTC 2023


#68486: libfido2 @1.13.0: error: use of undeclared identifier 'kIOMainPortDefault'
--------------------------+--------------------
  Reporter:  jasperweiss  |      Owner:  (none)
      Type:  defect       |     Status:  new
  Priority:  Normal       |  Milestone:
 Component:  ports        |    Version:  2.8.1
Resolution:               |   Keywords:  sonoma
      Port:  libfido2     |
--------------------------+--------------------

Comment (by jasperweiss):

 Replying to [comment:1 ryandesign]:
 > Please attach the main.log file.
 >
 > `kIOMainPortDefault` is
 [https://developer.apple.com/documentation/iokit/kiomainportdefault
 documented to be available on macOS 12 and later] so you should have it on
 macOS 14. Perhaps you have an outdated version of Xcode and/or the command
 line tools installed that predates macOS 12. For Sonoma, use Xcode 15
 and/or the Xcode 15 version of the CLT or later. Check ProblemHotlist
 #reinstall-clt to learn about an issue that sometimes prevents Software
 Update from notifying you your command line tools are outdated and how to
 fix that.

 I've attached the log. I've honestly never had the need to install Xcode
 so far. My understanding is that build dependencies are handled by port
 itself (which in the case of libfido2 should be clang-15, cmake, mandoc,
 pkgconfig). Libfido2 did build just fine a little while ago (without Xcode
 installed). Isn't port supposed to take care of all the dependencies?
 Installing a port on a new system usually starts off building old versions
 of clang up until the version it requires

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


More information about the macports-tickets mailing list