[MacPorts] #68974: gnupg2 @2.4.3.1: error: implicit declaration of function 'libusb_error_name' is invalid in C99

MacPorts noreply at macports.org
Sat Jun 1 03:38:24 UTC 2024


#68974: gnupg2 @2.4.3.1: error: implicit declaration of function
'libusb_error_name' is invalid in C99
-------------------------+-------------------------------------------------
  Reporter:              |      Owner:  roederja
  aarongeller            |
      Type:  defect      |     Status:  assigned
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:  2.8.1
Resolution:              |   Keywords:  catalina bigsur monterey ventura
      Port:  gnupg2      |  sonoma
-------------------------+-------------------------------------------------

Comment (by aarongeller):

 I found that the version of libusb.h under /usr/local/include/libusb-1.0
 is obsolete (dated 2008) and missing several function headers.  By soft
 linking the version of libusb.h under /opt/local/include/libusb-1.0 to
 /usr/local/include/libusb-1.0, I was able to get gnupg2 to build.

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


More information about the macports-tickets mailing list