[MacPorts] #59904: gnutls @3.6.6: fatal error: 'nettle/nettle-stdint.h' file not found

MacPorts noreply at macports.org
Fri May 8 06:09:53 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     |
------------------------+-------------------------

Comment (by ryandesign):

 Replying to [comment:3 homer3018]:
 > >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 have no idea why It's trying to install v 3.3.6 instead of 3.6.11.1

 Presumably because the version of gnutls in the custom ports that
 darktable provided to you is 3.3.6, presumably because that was the
 current version at the time that they created their modified ports.

 > Trying
 > {{{
 > $ sudo port install gnutls @3.6.11.1
 > }}}
 >
 > ends up the same way.

 That's correct. `sudo port install` does not pay any attention to any
 version number that you might specify. MacPorts can only install the one
 and only version of a port that exists in the ports tree (or, in your
 case, since you have multiple ports trees—the modified darktable one and
 the official MacPorts one—the first port it finds).

 > >I see that you are building gnutls from a local Portfile in
 /Users/seb/ports/devel/gnutls.
 > I have no idea why it is like so.

 Presumably because you followed the instructions on the darktable web site
 that told you to set up /Users/seb/ports with their specially modified
 ports.

 > >Try removing that Portfile and building our copy of the Portfile from
 the standard location instead.
 > I'm sorry but I have no idea about how to do that either.

 Delete the directory /Users/seb/ports. Remove references to it from
 sources.conf. Undo any other changes the darktable web site told you to
 make to your MacPorts installation. Finally, run `sudo port install
 darktable`.

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


More information about the macports-tickets mailing list