On 9/5/20 4:45 PM, Bruce Dubbs wrote:
I'm running into a problem with the glib-2.64.5 tests.  Two tests are failing that I don't think failed before:

166/270 glib:gio / tls-certificate
168/270 glib:gio / tls-database

They both have:
  Can't find module 'gnutls-pkcs11' specified in GIO_USE_TLS

When I look at glib-networking-2.64.3/NEWS, there is a comment:

2.59.1 - November 11, 2018

This release removes the gnutls-pkcs11 backend, which was disabled in 2.57.2, due to lack of any feedback whatsoever regarding its disablement. If you think it is still useful to you, given that the normal gnutls backend now supports PKCS#11, speak up now.
---------

Indeed we don't list glib-networking as a (circular) dependency of glib.

I can disable these tests, try to fix them, or just document the test failures.

The problem with fixing the tests is that I can't find where it defines 'gnutls-pkcs11'.

It turns out this problem was mine. When building a new system I copy several files from the previous system. In this case I copied the entire directory /etc/profile.d/. In there I had an obsolete file, gio.sh, which set GIO_USE_TLS. Unsetting this environment variable allowed all tests to pass.

Of course /etc/profile.d/gio.sh should also be deleted.

Posting here just in case someone else runs into this problem.

  -- Bruce

--
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to