[MacPorts] #59904: gnutls @3.6.6: fatal error: 'nettle/nettle-stdint.h' file not found (was: gnutls @3.6.6 : Failed to build gnutls: command execution failed)

MacPorts noreply at macports.org
Fri Jan 3 01:09:15 UTC 2020


#59904: gnutls @3.6.6: fatal error: 'nettle/nettle-stdint.h' file not found
------------------------+-------------------------
  Reporter:  homer3018  |      Owner:  Schamschula
      Type:  defect     |     Status:  assigned
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:  2.6.2
Resolution:             |   Keywords:
      Port:  gnutls     |
------------------------+-------------------------
Changes (by ryandesign):

 * status:  new => assigned
 * owner:  (none) => Schamschula


Comment:

 The log shows that the error is:

 {{{
 :info:build In file included from gost/gost28147.c:40:
 :info:build gost/nettle-write.h:40:10: fatal error: 'nettle/nettle-
 stdint.h' file not found
 :info:build #include <nettle/nettle-stdint.h>
 :info:build          ^~~~~~~~~~~~~~~~~~~~~~~~
 :info:build 1 error generated.
 }}}

 I see that you are using the latest nettle 3.5.1, but are building gnutls
 3.3.6. This is out of date, possibly to such a degree that it is
 incompatible with the latest nettle. The version of gnutls currently in
 MacPorts is 3.6.11.1.

 I see that you are building gnutls from a local Portfile in
 /Users/seb/ports/devel/gnutls. Try removing that Portfile and building our
 copy of the Portfile from the standard location instead.

 I see that the darktable build instructions advise you to create this
 local ports tree and patch a number of our Portfiles. Obviously that's not
 how we intended for MacPorts to be used so we cannot recommend doing that.
 If you are not using it for your own Portfile development, consider
 removing or moving aside your entire /Users/seb/ports directory or
 removing the corresponding entry from sources.conf and see if that
 resolves the issues you are experiencing. You may need to uninstall and
 reinstall any ports that you modified by following their instructions.

 Also, note that we have darktable in MacPorts (`sudo port install
 darktable`); you don't need to build it from source yourself nor do any
 patching of our Portfiles to install it.

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


More information about the macports-tickets mailing list