Summary: | >=net-libs/gnutls-3.3[guile] fails tests for <dev-scheme/guile-2 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Kristian Fiskerstrand (RETIRED) <k_f> |
Component: | Current packages | Assignee: | Crypto team [DISABLED] <crypto+disabled> |
Status: | RESOLVED OBSOLETE | ||
Severity: | normal | CC: | alonbl, mattst88 |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://bugs.gentoo.org/show_bug.cgi?id=549186 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
build.log
guile-tests.tar.bz2 |
Description
Kristian Fiskerstrand (RETIRED)
![]() =============================================== GnuTLS 3.3.24: guile/tests/test-suite.log =============================================== # TOTAL: 11 # PASS: 0 # SKIP: 0 # XFAIL: 0 # FAIL: 11 # XPASS: 0 # ERROR: 0 .. contents:: :depth: 2 FAIL: anonymous-auth.scm ======================== ERROR: Unbound variable: eval-when FAIL anonymous-auth.scm (exit status: 1) FAIL: session-record-port.scm ============================= ERROR: Unbound variable: eval-when FAIL session-record-port.scm (exit status: 1) FAIL: pkcs-import-export.scm ============================ ERROR: Unbound variable: eval-when FAIL pkcs-import-export.scm (exit status: 1) FAIL: errors.scm ================ ERROR: Unbound variable: eval-when FAIL errors.scm (exit status: 1) FAIL: x509-certificates.scm =========================== ERROR: Unbound variable: eval-when FAIL x509-certificates.scm (exit status: 1) FAIL: x509-auth.scm =================== ERROR: Unbound variable: eval-when FAIL x509-auth.scm (exit status: 1) FAIL: priorities.scm ==================== ERROR: Unbound variable: eval-when FAIL priorities.scm (exit status: 1) FAIL: openpgp-keys.scm ====================== ERROR: Unbound variable: eval-when FAIL openpgp-keys.scm (exit status: 1) FAIL: openpgp-keyring.scm ========================= ERROR: Unbound variable: eval-when FAIL openpgp-keyring.scm (exit status: 1) FAIL: openpgp-auth.scm ====================== ERROR: Unbound variable: eval-when FAIL openpgp-auth.scm (exit status: 1) FAIL: srp-base64.scm ==================== ERROR: Unbound variable: eval-when FAIL srp-base64.scm (exit status: 1) Hi, Can you reproduce this or attach test logs? Thanks! (In reply to Alon Bar-Lev from comment #2) > Hi, > Can you reproduce this or attach test logs? > Thanks! All the logs were provided inline as comment. Easy to reproduce, build with tests and use guile guile-1.8.8 Created attachment 453490 [details]
build.log
Created attachment 453492 [details]
guile-tests.tar.bz2
Thanks! this is probably a dup of bug#549186, can you please checkout with guile-2 and confirm it is working for you? (In reply to Alon Bar-Lev from comment #6) > Thanks! this is probably a dup of bug#549186, can you please checkout with > guile-2 and confirm it is working for you? Separate issue, so can't know if it fixes the bug above, but halts at autogen /var/tmp/portage/net-libs/gnutls-3.3.24-r1/work/gnutls-3.3.24/src/cli-debug-args.def (for multiple attempts, including retry after a shutdown while I moved locations with my laptop) kflaptop kristianf # ps aux | grep autogen portage 25274 0.0 0.0 29184 4088 pts/2 S+ 18:09 0:00 autogen /var/tmp/portage/net-libs/gnutls-3.3.24-r1/work/gnutls-3.3.24/src/srptool-args.def portage 25275 0.0 0.0 29184 4076 pts/2 S+ 18:09 0:00 autogen /var/tmp/portage/net-libs/gnutls-3.3.24-r1/work/gnutls-3.3.24/src/psktool-args.def portage 25276 0.0 0.0 29184 4144 pts/2 S+ 18:09 0:00 autogen /var/tmp/portage/net-libs/gnutls-3.3.24-r1/work/gnutls-3.3.24/src/ocsptool-args.def portage 25277 0.0 0.0 29184 4096 pts/2 S+ 18:09 0:00 autogen /var/tmp/portage/net-libs/gnutls-3.3.24-r1/work/gnutls-3.3.24/src/serv-args.def portage 25278 0.0 0.0 29184 4008 pts/2 S+ 18:09 0:00 autogen /var/tmp/portage/net-libs/gnutls-3.3.24-r1/work/gnutls-3.3.24/src/cli-args.def portage 25279 0.0 0.0 29184 4160 pts/2 S+ 18:09 0:00 autogen /var/tmp/portage/net-libs/gnutls-3.3.24-r1/work/gnutls-3.3.24/src/cli-debug-args.def root 25750 0.0 0.0 12068 2228 pts/6 S+ 18:31 0:00 grep --colour=auto autogen kflaptop kristianf # strace -p 25274 Process 25274 attached futex(0x7f2dfe1839e0, FUTEX_WAIT_PRIVATE, 2, NULL^CProcess 25274 detached <detached ...> kflaptop kristianf # strace -p 25275 Process 25275 attached futex(0x7f330f74f9e0, FUTEX_WAIT_PRIVATE, 2, NULL^CProcess 25275 detached <detached ...> kflaptop kristianf # strace -p 25276 Process 25276 attached futex(0x7fde1214e9e0, FUTEX_WAIT_PRIVATE, 2, NULL^CProcess 25276 detached <detached ...> kflaptop kristianf # strace -p 25277 Process 25277 attached futex(0x7f91a88009e0, FUTEX_WAIT_PRIVATE, 2, NULL^CProcess 25277 detached <detached ...> kflaptop kristianf # strace -p 25278 Process 25278 attached futex(0x7fa1207d49e0, FUTEX_WAIT_PRIVATE, 2, NULL^CProcess 25278 detached <detached ...> kflaptop kristianf # strace -p 25279 Process 25279 attached futex(0x7f678219e9e0, FUTEX_WAIT_PRIVATE, 2, NULL^CProcess 25279 detached <detached ...> Similar behavior was apparently experienced in the past gnutls on funtoo ( https://bugs.funtoo.org/browse/FL-1427 ) , similar to that situation re-emerging sys-devel/autogen (on local machine rather than binpkg) seems to have loosened something. As I didn't get this issue with old guile, is there a missing subslot operator for rebuild of guile or something? In any case, gnutls itself completes install including tests at that point. Since guile 2.x is not in stable, this is still an active bug though (although can make a InVCS keyword if revisioning it with a dependency with higher dependencies). Thanks! I did not want to block anything because of guile tests, so I closed the other one. As far as I understand it affects only tests. (In reply to Alon Bar-Lev from comment #8) > Thanks! > I did not want to block anything because of guile tests, so I closed the > other one. As far as I understand it affects only tests. Unit tests are an important tool in order to ensure a working system, in particular for security components tests should always be run. Whether it is only affecting tests in general isn't possible to evaluate without in-depth knowledge of the source package. In this case that can likely be be limited in scope since the tests are specific to guile (and in separate dir), but I'm not sure at which junctures gnutls use guile. Since it is an optional use flag some information might be gained from that, though. I haven't run a check on the reverse dependencies, and whether this is required by any packages, but a use.stable.mask on the use flag could be one option. If confirmed it doesn't do any issue, test could also be RESTRICTed in the ebuild in order to not cause build failure for stable users, or even better, only the offending tests in guile/ folder can be removed from Makefile I do not like to remove the tests as then we also skip them if guild-2, which how we validate that tests works correctly. Yes, this is tricky, but we do not get that much of reports regarding the gnutls[guile] (In reply to Alon Bar-Lev from comment #10) > I do not like to remove the tests as then we also skip them if guild-2, > which how we validate that tests works correctly. Yes, this is tricky, but > we do not get that much of reports regarding the gnutls[guile] Well, one reason can be that it relates to RFC5081: Using OpenPGP Keys for Transport Layer Security (TLS) Authentication that isn't too widespread in the real world, at least three of the test that fails are OpenPGP related and I can only think of client cert use for it in TLS context, I set up a testbed at one point using mod_gnutls for it, but I'm not aware of up to date modern browser support for openpgp client certificates in general. the tests in tests on root dir seems to pass though, which is indeed likely the most important thing. *** Bug 613420 has been marked as a duplicate of this bug. *** guile:2 is stable |