[MacPorts] #51451: gnutls @3.4.12: build fails on 10.6, undefined symbol strndup.

MacPorts noreply at macports.org
Sun May 22 08:28:30 PDT 2016


#51451: gnutls @3.4.12: build fails on 10.6, undefined symbol strndup.
-----------------------+----------------------
  Reporter:  devans@…  |      Owner:  mps@…
      Type:  defect    |     Status:  reopened
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:
Resolution:            |   Keywords:
      Port:  gnutls    |
-----------------------+----------------------

Comment (by Peter_Dyballa@…):

 Replying to [comment:8 mps@…]:
 > Replying to [comment:7 Peter_Dyballa@…]:
 > > A similar error happens on PPC Tiger, Mac OS X 10.4.11:
 >
 > Did you run {{{sudo port sync}}} after the patch was committed?

 No. I ran the regular `port selfupdate`. And only one patch file appeared:

 {{{
 -rw-r--r--   1 root  wheel  1036 20 Mai 20:30 patch-tests-
 pkcs11-pkcs11-mock.c.diff
 }}}

 which has the correct contents. I can see that patch being applied:

 {{{
 DEBUG: patch phase started at Sun May 22 14:59:40 CEST 2016
 DEBUG: Executing org.macports.patch (gnutls)
 --->  Applying patches to gnutls
 --->  Applying patch-tests-pkcs11-pkcs11-mock.c.diff
 }}}

 But I think this line

 {{{
 +#include <Availability.h>
 }}}

 introduces the actual error, which is:

 {{{
 pkcs11/pkcs11-mock.c:21:26: error: Availability.h: No such file or
 directory
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/51451#comment:9>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list