make[4]: Entering directory '/var/tmp/portage/net-libs/gnutls-3.3.24-r1/work/gnu tls-3.3.24-abi_x86_64.amd64/guile/tests' FAIL: anonymous-auth.scm FAIL: session-record-port.scm FAIL: pkcs-import-export.scm FAIL: errors.scm FAIL: x509-certificates.scm FAIL: x509-auth.scm FAIL: priorities.scm FAIL: openpgp-keys.scm FAIL: openpgp-keyring.scm FAIL: openpgp-auth.scm FAIL: srp-base64.scm # emerge --info '=net-libs/gnutls-3.3.24-r1::gentoo' Portage 2.3.1 (python 3.4.3-final-0, default/linux/amd64/13.0/desktop, gcc-4.9.3, glibc-2.22-r4, 3.18.31-gentoo-kf0 x86_64) ================================================================= System Settings ================================================================= System uname: Linux-3.18.31-gentoo-kf0-x86_64-Intel-R-_Core-TM-_i7-2820QM_CPU_@_2.30GHz-with-gentoo-2.2 KiB Mem: 16312548 total, 10483320 free KiB Swap: 16559308 total, 16559308 free sh bash 4.3_p46-r1 ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1 distcc 3.2rc1 x86_64-pc-linux-gnu [disabled] app-shells/bash: 4.3_p46-r1::gentoo dev-java/java-config: 2.2.0-r3::gentoo dev-lang/perl: 5.22.2::gentoo dev-lang/python: 2.7.10-r1::gentoo, 3.3.5-r3::gentoo, 3.4.3-r1::gentoo dev-util/cmake: 3.3.1-r1::gentoo dev-util/pkgconfig: 0.28-r2::gentoo sys-apps/baselayout: 2.2::gentoo sys-apps/openrc: 0.21.7::gentoo sys-apps/sandbox: 2.10-r1::gentoo sys-devel/autoconf: 2.13::gentoo, 2.69::gentoo sys-devel/automake: 1.11.6-r1::gentoo, 1.12.6::gentoo, 1.13.4::gentoo, 1.14.1-r1::gentoo, 1.15::gentoo sys-devel/binutils: 2.25.1-r1::gentoo sys-devel/gcc: 4.9.3::gentoo sys-devel/gcc-config: 1.7.3::gentoo sys-devel/libtool: 2.4.6::gentoo sys-devel/make: 4.1-r1::gentoo sys-kernel/linux-headers: 4.3::gentoo (virtual/os-headers) sys-libs/glibc: 2.22-r4::gentoo Repositories: mrueg location: /var/lib/layman/mrueg masters: gentoo priority: 2 gentoo location: /data/gentoo sync-type: rsync sync-uri: rsync://rsync.gentoo.org/gentoo-portage priority: 3 k_f location: /usr/local/portage masters: gentoo priority: 4 mozilla location: /var/lib/layman/mozilla masters: gentoo priority: 5 science location: /var/lib/layman/science masters: gentoo priority: 6 ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="* -@EULA -no-source-code" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe -march=corei7-avx" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/gnupg/qualified.txt /var/bind /var/lib/hsqldb" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.6/ext-active/ /etc/php/cgi-php5.6/ext-active/ /etc/php/cli-php5.6/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-O2 -pipe -march=corei7-avx" DISTDIR="/data/gentoo/distfiles" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles getbinpkg merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms sign strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="en_US.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j6 -l3" PKGDIR="/data/gentoo/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git" PORTAGE_TMPDIR="/var/tmp" USE="X a52 aac acl acpi alsa amd64 berkdb bluetooth branding bzip2 cairo cdda cdr cli consolekit cracklib crypt cups curl cxx dbus dri dts dvd dvdr emboss encode exif fam firefox flac fortran gdbm gif glamor gnutls gpg gpm gtk iconv icu ipv6 jpeg latex lcms ldap libnotify mad mmx mmxext mng modules mp3 mp4 mpeg multilib ncurses networkmanager nls nptl ogg opengl openmp pam pango pcre pcsc-lite pdf png policykit ppds qt3support qt4 readline samba sdl seccomp session spell sse sse2 ssl startup-notification svg tcpd tiff truetype udev udisks unicode upower usb vaapi vdpau vorbis wxwidgets x264 xattr xcb xml xv xvid zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="canon" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" CURL_SSL="nss" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="evdev keyboard mouse synaptics" KERNEL="linux" L10N="en en_US" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="nlpsolver scripting-javascript" LINGUAS="en en_US" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby20 ruby21" USERLAND="GNU" VIDEO_CARDS="nouveau intel i915 i965" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
=============================================== 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