[OpenIndiana-discuss] Building GnuTLS 3.7.6 update
russell
stream at willows7.myzen.co.uk
Fri Jul 1 09:17:29 UTC 2022
Hi
By not building the Guile bindings the GnuTLS does build successfully.
CC=gcc CXX=g++ CXXFLAGS=-m64 CFLAGS="-m64 -I/usr/include/idn
-I/usr/include/idn2 -I/usr/include -I/opt/gnu/include"
LDFLAGS="-L/usr/lib -L/opt/gnu/lib"
PKG_CONFIG_PATH="/usr/lib/pkgconfig:/opt/gnu/lib/pkgconfig"
LT_SYS_LIBRARY_PATH="-L/usr/lib -L/opt/gnu/lib" ./configure
--prefix=/opt/gnu --enable-openssl-compatibility --disable-ssl2-support
--disable-dependency-tracking
--with-unbound-root-key-file=/opt/gnu/etc/unbound/root.key
--enable-libdane --disable-guile
I am running Guile 2.2.7 from the standard packages and the latest is 3.0.8.
Russell
On 7/1/22 10:01, russell wrote:
> Hi
>
> I'm attempting to build GnuTLS 3.7.6 but before starting I had to
> build unbound 1.16.1
>
> $ CC=gcc CFLAGS=-m64 PKG_CONFIG_PATH=/opt/gnu/lib/pkgconfig
> ./configure --prefix=/opt/gnu --disable-static --enable-shared=yes
>
> When I attempt to build GnuTLS 3.7.6 using
>
> CC=gcc CXX=g++ CXXFLAGS=-m64 CFLAGS="-m64 -I/usr/include/idn
> -I/usr/include/idn2 -I/usr/include -I/opt/gnu/include"
> LDFLAGS="-L/usr/lib -L/opt/gnu/lib"
> PKG_CONFIG_PATH="/usr/lib/pkgconfig:/opt/gnu/lib/pkgconfig"
> LT_SYS_LIBRARY_PATH="-L/usr/lib -L/opt/gnu/lib" ./configure
> --prefix=/opt/gnu --enable-openssl-compatibility
> --disable-ssl2-support --disable-dependency-tracking
> --with-unbound-root-key-file=/opt/gnu/etc/unbound/root.key
> --enable-libdane
>
> The above configure completes as below
>
> configure: summary of build options:
>
> version: 3.7.6 shared 63:1:33
> Host/Target system: i386-pc-solaris2.11
> Build system: i386-pc-solaris2.11
> Install prefix: /opt/gnu
> Compiler: gcc
> Valgrind: no
> CFlags: -m64 -I/usr/include/idn -I/usr/include/idn2
> -I/usr/include -I/opt/gnu/include
> Library types: Shared=yes, Static=no
> Local libtasn1: no
> Local unistring: no
> Use nettle-mini: no
> Documentation: yes (manpages: yes)
>
> configure: External hardware support:
>
> /dev/crypto: no
> AF_ALG support: no
> Hardware accel: none
> Padlock accel: no
> Random gen. variant: getentropy
> PKCS#11 support: yes
> TPM support: yes,
> TPM2 support: auto
> KTLS support: no
>
> configure:
> TPM library: /usr/lib/libtspi.so.1
>
> configure:
> TPM2 library:
>
> configure: Optional features:
> (note that included applications might not compile properly
> if features are disabled)
>
> SSL3.0 support: no
> SSL2.0 client hello: no
> Allow SHA1 sign: no
> DTLS-SRTP support: yes
> ALPN support: yes
> OCSP support: yes
> SRP support: yes
> PSK support: yes
> DHE support: yes
> ECDHE support: yes
> GOST support: yes
> Anon auth support: yes
> Heartbeat support: yes
> IDNA support: IDNA 2008 (libidn2)
> Non-SuiteB curves: yes
> FIPS140 mode: no
> Strict DER time: yes
>
> configure: Optional libraries:
>
> Guile wrappers: yes
> C++ library: yes
> DANE library: yes
> OpenSSL compat: yes
>
> configure: System files:
>
> Trust store pkcs11:
> Trust store dir:
> Trust store file:
> Blacklist file:
> CRL file:
> Configuration file: /etc/gnutls/config
> DNSSEC root key file: /opt/gnu/etc/unbound/root.key
>
> When I start gmake it completes until it gets to guile
>
> gmake[2]: Entering directory '/tmp/gnutls-3.7.6/guile'
> Making all in src
> gmake[3]: Entering directory '/tmp/gnutls-3.7.6/guile/src'
> GEN enum-map.i.c
> GEN smob-types.i.c
> GEN enums.h
> GEN smobs.h
> GEN core.x
> GEN errors.x
> gmake all-am
> gmake[4]: Entering directory '/tmp/gnutls-3.7.6/guile/src'
> CC guile_gnutls_v_2_la-core.lo
> CC guile_gnutls_v_2_la-errors.lo
> CC guile_gnutls_v_2_la-utils.lo
> CCLD guile-gnutls-v-2.la
> gmake[4]: Leaving directory '/tmp/gnutls-3.7.6/guile/src'
> gmake[3]: Leaving directory '/tmp/gnutls-3.7.6/guile/src'
> gmake[3]: Entering directory '/tmp/gnutls-3.7.6/guile'
> GEN modules/gnutls.scm
> GUILEC modules/gnutls.go
> Backtrace:
> In ice-9/boot-9.scm:
> 705:2 19 (call-with-prompt _ _ #<procedure default-prompt-handle?>)
> In ice-9/eval.scm:
> 619:8 18 (_ #(#(#<directory (guile-user) 40171910>)))
> 155:9 17 (_ _)
> In srfi/srfi-1.scm:
> 640:9 16 (for-each #<procedure 40257860 at scripts/compile.scm:?> ?)
> In scripts/compile.scm:
> 264:26 15 (_ _)
> In system/base/target.scm:
> 57:6 14 (with-target _ _)
> In system/base/compile.scm:
> 152:6 13 (compile-file _ #:output-file _ #:from _ #:to _ #:env _ ?)
> 43:4 12 (call-once _)
> In ice-9/boot-9.scm:
> 841:4 11 (with-throw-handler _ _ _)
> In system/base/compile.scm:
> 59:11 10 (_)
> 155:11 9 (_ #<closed: file 40155b28>)
> 235:18 8 (read-and-compile #<input: gnutls.scm 13> #:from _ #:to ?)
> 183:32 7 (compile-fold (#<procedure compile-tree-il (x e opts)>) ?)
> In ice-9/boot-9.scm:
> 2312:4 6 (save-module-excursion #<procedure 402ec0c0 at language?>)
> In language/scheme/compile-tree-il.scm:
> 31:15 5 (_)
> In ice-9/psyntax.scm:
> 1262:36 4 (expand-top-sequence ((eval-when (expand load eval) ?)) ?)
> 1209:24 3 (parse _ (("placeholder" placeholder)) ((top) #(# # ?)) ?)
> 285:10 2 (parse _ (("placeholder" placeholder)) ((top) #(# # ?)) ?)
> In unknown file:
> 1 (load-extension "/tmp/gnutls-3.7.6/guile/src/guile-gnu?" ?)
> In ice-9/boot-9.scm:
> 752:25 0 (dispatch-exception _ _ _)
>
> ice-9/boot-9.scm:752:25: In procedure dispatch-exception:
> In procedure dynamic-link: file:
> "/tmp/gnutls-3.7.6/guile/src/guile-gnutls-v-2", message: "file not found"
> gmake[3]: *** [Makefile:2998: modules/gnutls.go] Error 1
> gmake[3]: Leaving directory '/tmp/gnutls-3.7.6/guile'
> gmake[2]: *** [Makefile:2477: all-recursive] Error 1
> gmake[2]: Leaving directory '/tmp/gnutls-3.7.6/guile'
> gmake[1]: *** [Makefile:2254: all-recursive] Error 1
> gmake[1]: Leaving directory '/tmp/gnutls-3.7.6'
> gmake: *** [Makefile:2179: all] Error 2
>
> Any pointers how to proceed would be appreciated
>
> Russell
>
More information about the openindiana-discuss
mailing list