[MacPorts] #71374: guile-gnutls fails to configure: error: A sufficiently recent GNU Guile not found

MacPorts noreply at macports.org
Tue Jan 7 08:10:22 UTC 2025


#71374: guile-gnutls fails to configure: error: A sufficiently recent GNU Guile not
found
---------------------------+----------------------
  Reporter:  barracuda156  |      Owner:  graywolf
      Type:  defect        |     Status:  assigned
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.10.4
Resolution:                |   Keywords:
      Port:  guile-gnutls  |
---------------------------+----------------------

Comment (by barracuda156):

 Replying to [comment:1 ryandesign]:
 > Please attach the config.log file mentioned in the error message.

 Error message is lying, what in fact happens is that it wants C11:
 {{{
 configure:14668: ccache /usr/bin/gcc-4.2 -std=gnu99 -o conftest -pipe -Os
 -arch ppc -I/opt/local/include/guile/3.0 -I/opt/local -I/opt/local/include
 -L/opt/local/lib -Wl,-headerpad_max_install_names -arch ppc conftest.c
 -L/opt/local/lib -lguile-3.0 -lgc -lpthread >&5
 In file included from /opt/local/include/guile/3.0/libguile/numbers.h:47,
                  from /opt/local/include/guile/3.0/libguile/array-
 handle.h:27,
                  from /opt/local/include/guile/3.0/libguile.h:32,
                  from conftest.c:24:
 /opt/local/include/guile/3.0/libguile/print.h:79: error: redefinition of
 typedef 'scm_print_state'
 /opt/local/include/guile/3.0/libguile/scm.h:824: error: previous
 declaration of 'scm_print_state' was here
 In file included from /opt/local/include/guile/3.0/libguile/threads.h:27,
                  from /opt/local/include/guile/3.0/libguile/async.h:25,
                  from /opt/local/include/guile/3.0/libguile.h:35,
                  from conftest.c:24:
 /opt/local/include/guile/3.0/libguile/dynstack.h:37: error: redefinition
 of typedef 'scm_t_dynstack'
 /opt/local/include/guile/3.0/libguile/scm.h:825: error: previous
 declaration of 'scm_t_dynstack' was here
 configure:14668: $? = 1
 configure: failed program was:
 | /* confdefs.h */
 | #define PACKAGE_NAME "Guile-GnuTLS"
 | #define PACKAGE_TARNAME "guile-gnutls"
 | #define PACKAGE_VERSION "4.0.0"
 | #define PACKAGE_STRING "Guile-GnuTLS 4.0.0"
 | #define PACKAGE_BUGREPORT "gnutls-help at lists.gnutls.org"
 | #define PACKAGE_URL "https://gitlab.com/gnutls/guile"
 | #define PACKAGE "guile-gnutls"
 | #define VERSION "4.0.0"
 | #define HAVE_STDIO_H 1
 | #define HAVE_STDLIB_H 1
 | #define HAVE_STRING_H 1
 | #define HAVE_INTTYPES_H 1
 | #define HAVE_STDINT_H 1
 | #define HAVE_STRINGS_H 1
 | #define HAVE_SYS_STAT_H 1
 | #define HAVE_SYS_TYPES_H 1
 | #define HAVE_UNISTD_H 1
 | #define STDC_HEADERS 1
 | #define HAVE_DLFCN_H 1
 | #define LT_OBJDIR ".libs/"
 | #define ENABLE_SRP 1
 | /* end confdefs.h.  */
 | #include <libguile.h>
 | int
 | main (void)
 | {
 | scm_from_locale_string ("")
 |   ;
 |   return 0;
 | }
 configure:14672: error: A sufficiently recent GNU Guile not found.
 }}}

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


More information about the macports-tickets mailing list