[MacPorts] #64490: gnutls @3.6.16 +guile: does not build and install guile module gnutls

MacPorts noreply at macports.org
Sat Jan 22 12:22:57 UTC 2022


#64490: gnutls @3.6.16 +guile: does not build and install guile module gnutls
---------------------+-------------------------
  Reporter:  mwette  |      Owner:  Schamschula
      Type:  defect  |     Status:  assigned
  Priority:  Normal  |  Milestone:
 Component:  ports   |    Version:  2.7.1
Resolution:          |   Keywords:
      Port:  gnutls  |
---------------------+-------------------------

Comment (by ryandesign):

 The config.log says:
 {{{
 configure:68838: checking whether building Guile bindings
 configure:68847: result: yes
 }}}
 {{{
 configure:69114: checking for guile 2.2
 configure:69117: $PKG_CONFIG --exists --print-errors "guile-$v"
 configure:69120: $? = 0
 configure:69137: found guile 2.2
 }}}
 {{{
 configure:69685: checking whether GNU Guile is recent enough
 configure:69698: /usr/bin/clang -o conftest -pipe -Os
 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk -arch
 x86_64 -D_THREAD_SAFE -I/opt/local/include/guile/2.2 -I/opt/local/include
 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk
 -L/opt/local/lib -Wl,-headerpad_max_install_names
 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk
 -arch x86_64 -Wl,-no_weak_imports conftest.c -lintl  -L/opt/local/lib
 -lguile-2.2 -lgc >&5
 conftest.c:543:1: error: implicit declaration of function
 'scm_from_locale_string' is invalid in C99 [-Werror,-Wimplicit-function-
 declaration]
 scm_from_locale_string ("")
 ^
 1 error generated.
 }}}
 So it's just the typical implicit declaration of function problem we see
 with a zillion other ports when using Xcode 12 or later. Fix the configure
 test to include whatever header declares `scm_from_locale_string`.

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


More information about the macports-tickets mailing list