LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices


Reply
  Search this Thread
Old 03-07-2018, 02:04 PM   #1
RoLoR
Member
 
Registered: Feb 2018
Posts: 60

Rep: Reputation: Disabled
GnuTLS-3.6.2 check error tests/anonymous-auth.scm


Code:
cd gnutls-3.6.2
./configure --prefix=/usr --build=x86_64-lfs-linux-gnu --with-default-trust-store-pkcs11="pkcs11:"
make && make check
sudo make install
cd ..
cd gnutls-3.6.2/guile/
cp test-suite.log ../../.
cd ../..
rm -rf gnutls-3.6.2
above script used, producing error during tests below (test-suite.log):
Code:
========================================
   GnuTLS 3.6.2: guile/test-suite.log
========================================

# TOTAL: 8
# PASS:  7
# SKIP:  0
# XFAIL: 0
# FAIL:  1
# XPASS: 0
# ERROR: 0

.. contents:: :depth: 2

FAIL: tests/anonymous-auth.scm
==============================

           9 (primitive-load "/home/lfs/gnutls-3.6.2/guile/./tests/a?")
In ice-9/eval.scm:
    155:9  8 (_ #(#(#<directory (gnutls build tests) 23606e0>) #<p?>))
In ice-9/boot-9.scm:
    829:9  7 (catch #t #<procedure 2518680 at ice-9/eval.scm:330:13?> ?)
In ice-9/eval.scm:
    619:8  6 (_ #(#(#(#<directory (guile-user) 2340140> (. #)) #) #))
In unknown file:
           5 (handshake #<session 2529fe0>)
In ice-9/boot-9.scm:
   751:25  4 (dispatch-exception 0 gnutls-error (#<gnutls-error-e?> ?))
In ice-9/eval.scm:
    619:8  3 (_ #(#(#<directory (gnutls build tests) 23606e0>) # (?)))
In ice-9/boot-9.scm:
    142:2  2 (dynamic-wind #<procedure 252ed00 at ice-9/eval.scm:33?> ?)
In ice-9/eval.scm:
    159:9  1 (_ #(#(#<directory (gnutls build tests) 23606e0> # (?))))
In unknown file:
           0 (make-stack #t)
;;; note: source file /home/lfs/gnutls-3.6.2/guile/modules/gnutls.scm
;;;       newer than compiled /usr/lib/guile/2.2/site-ccache/gnutls.go

throw to `gnutls-error' with args (#<gnutls-error-enum An illegal parameter has been received.> handshake)
FAIL tests/anonymous-auth.scm (exit status: 1)
I'm kind of lost here what am i missing, removing libraries or leaving them during second build don't make any difference.
http://www.linuxfromscratch.org/blfs...fs/gnutls.html
Already installed without any error:
make-ca-0.7
libunistring-0.9.8
libtasn1-4.13
p11-kit-0.23.9
Doxygen-1.8.14
Guile-2.2.3
libidn2-2.0.4
Net-tools-CVS_20101030
install-tl-unx
Unbound-1.6.8
Valgrind-3.13.0
Nettle-3.4

Anyone an idea to solve this error? Any help is appreciated.

Last edited by RoLoR; 03-07-2018 at 02:07 PM. Reason: Forgot to mention nettle
 
Old 06-24-2018, 04:03 PM   #2
RoLoR
Member
 
Registered: Feb 2018
Posts: 60

Original Poster
Rep: Reputation: Disabled
I invested this a bit more; as long as there isn't guile-2.2.3 installed the install of GnuTLS works fine. On systems where guile-2.2.3 is installed you can use a workaround on configure of GnuTLS by adding --disable-guile

With guile build:
Code:
cd gnutls-3.6.2
./configure --prefix=/usr --disable-guile \
            --with-default-trust-store-pkcs11="pkcs11:"
make && make check 
sudo make install && cd ..
Without guile build:
Code:
cd gnutls-3.6.2
./configure --prefix=/usr --with-default-trust-store-pkcs11="pkcs11:"
make && make check
sudo make install && cd ..

This isn't a solution but make working with newer version then gnuTLS-3.5.18 possible

Last edited by RoLoR; 06-24-2018 at 04:13 PM. Reason: Wrapped line in code for easy reading
 
  


Reply

Tags
gnutls



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] kodi 15.1 relies on gnutls.so.28 instead of gnutls.so.30 1337_powerslacker Slackware 15 09-28-2015 10:07 AM
[SOLVED] Installing gnutls 2.x alongside gnutls 3.x yenn Slackware 3 10-27-2013 07:16 PM
GnuTLS error -53: Error in the push function | vsftpd and explicit FTP over TLS Kaiser Soze Linux - Server 0 09-05-2011 05:53 PM
SASL Auth Tests Fail on Mail Server carlosinfl Linux - Server 3 11-24-2009 01:04 PM
GNUTls compilation error Teddy_Horse Linux - Software 0 10-19-2003 05:01 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 03:16 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration