[gnutls-devel] Guile-GnuTLS | FTBFS against 3.8.1 (#15)

Read-only notification of GnuTLS library development activities gnutls-devel at lists.gnutls.org
Sun Aug 6 14:28:36 CEST 2023



Andreas Metzler created an issue: https://gitlab.com/gnutls/guile/-/issues/15



Hello,

both 3.7.12 and 3.7.14 do not build successfully with gnutls 3.8.1:

~~~
make[3]: Entering directory '/dev/shm/GUILE-GNUTLS/guile-gnutls-3.7.14/b4deb/guile'
Making all in src
make[4]: Entering directory '/dev/shm/GUILE-GNUTLS/guile-gnutls-3.7.14/b4deb/guile/src'
GUILE_AUTO_COMPILE=0 /usr/bin/guile-3.0 -L ../../../guile/modules "../../../guile/src/make-enum-map.scm" > "enum-map.i.c.tmp"
mv "enum-map.i.c.tmp" "enum-map.i.c"
[...]
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../../guile/src -I../.. -I../../../lib/includes -I../../lib/includes -I../../../extra/includes -I../.. -I. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wno-strict-prototypes -Wno-unused-parameter -I/usr/include/guile/3.0 -pthread -I/usr/include/p11-kit-1 -g -O2 -ffile-prefix-map=/dev/shm/GUILE-GNUTLS/guile-gnutls-3.7.14=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c ../../../guile/src/core.c  -fPIC -DPIC -o .libs/guile_gnutls_v_2_la-core.o
[...]
./enum-map.i.c: In function 'scm_gnutls_connection_flag_to_c_string':
./enum-map.i.c:333:10: error: 'GNUTLS_NO_EXTENSIONS' undeclared (first use in this function); did you mean 'GNUTLS_EXT_NONE'?
  333 |        { GNUTLS_NO_EXTENSIONS, "no-extensions" },
      |          ^~~~~~~~~~~~~~~~~~~~
      |          GNUTLS_EXT_NONE
./enum-map.i.c:333:10: note: each undeclared identifier is reported only once for each function it appears in
In file included from /usr/include/guile/3.0/libguile/threads.h:29,
                 from /usr/include/guile/3.0/libguile/async.h:25,
                 from /usr/include/guile/3.0/libguile.h:35,
                 from ../../../guile/src/core.c:32:
./enum-map.i.c: In function 'scm_gnutls_define_enums':
./enum-map.i.c:2205:78: error: 'GNUTLS_NO_EXTENSIONS' undeclared (first use in this function); did you mean 'GNUTLS_EXT_NONE'?
[...]
(sid)ametzler at argenau:/tmp/GUILE-GNUTLS/guile-gnutls-3.7.14$ grep -h1r GNUTLS_NO
_EXTENSIONS
#endif /* not NO_GNUTLS_NONBLOCK */
#ifndef NO_GNUTLS_NO_EXTENSIONS
       { GNUTLS_NO_EXTENSIONS, "no-extensions" },
#endif /* not NO_GNUTLS_NO_EXTENSIONS */
#ifndef NO_GNUTLS_NO_REPLAY_PROTECTION
--
#endif /* not NO_GNUTLS_NONBLOCK */
#ifndef NO_GNUTLS_NO_EXTENSIONS
  SCM_NEWSMOB (enum_smob, scm_tc16_gnutls_connection_flag_enum, (scm_t_bits) GNUTLS_NO_EXTENSIONS);
  enum_values = scm_cons (enum_smob, enum_values);
  scm_c_define ("connection-flag/no-extensions", enum_smob);
#endif /* not NO_GNUTLS_NO_EXTENSIONS */
#ifndef NO_GNUTLS_NO_REPLAY_PROTECTION
~~~

Looks like this is caused by "no-extensions" in guile/modules/gnutls/build/enums.scm.

cu Andreas

-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/guile/-/issues/15
You're receiving this email because of your account on gitlab.com.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gnupg.org/pipermail/gnutls-devel/attachments/20230806/44dfa896/attachment.html>


More information about the Gnutls-devel mailing list