Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 203880 - net-libs/gnutls-2.2.0 fails tests with guile USE flag
Summary: net-libs/gnutls-2.2.0 fails tests with guile USE flag
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Lowest minor (vote)
Assignee: Crypto team [DISABLED]
URL:
Whiteboard:
Keywords:
Depends on: 164266
Blocks:
  Show dependency tree
 
Reported: 2007-12-31 13:20 UTC by Hans de Graaff
Modified: 2008-01-18 23:08 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Hans de Graaff gentoo-dev Security 2007-12-31 13:20:50 UTC
Making check in tests
make[2]: Entering directory `/var/tmp/portage/net-libs/gnutls-2.2.0/work/gnutls-2.2.0/guile/tests'
make  check-TESTS
make[3]: Entering directory `/var/tmp/portage/net-libs/gnutls-2.2.0/work/gnutls-2.2.0/guile/tests'
ERROR: Unbound variable: socketpair
FAIL: anonymous-auth.scm
ERROR: Unbound variable: socketpair
FAIL: session-record-port.scm
PASS: pkcs-import-export.scm
PASS: openpgp-keys.scm
PASS: openpgp-keyring.scm
ERROR: Unbound variable: socketpair
FAIL: openpgp-auth.scm
PASS: srp-base64.scm
PASS: errors.scm
PASS: x509-certificates.scm
ERROR: Unbound variable: socketpair
FAIL: x509-auth.scm
===================================
4 of 10 tests failed
Please report to bug-gnutls@gnu.org
===================================

I realized that I don't need guile support on this system apart from gnucash, and disabling this USE flag "solved" the problem for me.
Comment 1 Alon Bar-Lev (RETIRED) gentoo-dev 2007-12-31 16:12:41 UTC
I guess we should wait until guile passes its own tests first... :)
Comment 2 Marijn Schouten (RETIRED) gentoo-dev 2008-01-01 15:18:50 UTC
Hans, which guile version did you use?
Comment 3 Hans de Graaff gentoo-dev Security 2008-01-01 17:48:45 UTC
[ebuild   R   ] dev-scheme/guile-1.8.2  USE="deprecated nls regex -debug -debug-freelist -debug-malloc -discouraged -elisp -networking -threads" 0 kB 
Comment 4 Christian Faulhammer (RETIRED) gentoo-dev 2008-01-03 21:21:47 UTC
Fails in 2.0.4, too...
Comment 5 Dustin Polke 2008-01-04 12:24:54 UTC
Try to emerge guile with USE=networking. This solved it on my box.

BR,
Dustin

Portage 2.1.3.19 (default-linux/x86/2007.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.23-tuxonice-r6-devel i686)
=================================================================
System uname: 2.6.23-tuxonice-r6-devel i686 mobile AMD Athlon(tm) XP 1500+
Timestamp of tree: Fri, 04 Jan 2008 08:46:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p17-r1
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r6, 2.5.1-r4
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.10-r5
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -O2 -pipe -m3dnow -msse -mmmx"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/bin/mygenkernel /usr/sbin/run-crons"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=athlon-xp -O2 -pipe -m3dnow -msse -mmmx"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache collision-protect distlocks fixpackages metadata-transfer parallel-fetch sandbox sfperms strict test unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://pandemonium.tiscali.de/pub/gentoo/ ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ ftp://gd.tuwien.ac.at/opsys/linux/gentoo/ ftp://gentoo.inode.at/source/"
LINGUAS="en de"
MAKEOPTS="-j3"
PKGDIR="/home/ftp/binpkg/"
PORTAGE_COMPRESS=""
PORTAGE_RSYNC_EXTRA_OPTS="--timeout=500"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/layman/science /usr/local/portage/layman/alon-barlev /usr/local/portage/modified /usr/local/portage/own"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X Xaw3d a52 aac aalib accessibility acpi alsa amr amrnb amrr amrwb apache2 apm async audacious audiofile bash-completion bindist bl branding bzip2 cardbus cjk cli cpudetection cracklib crypt ctype cups dbus dga divx dri dvd dvdread eds encode evo exif expat extensions fam fbcon fbsplash ffmpeg flac foomaticdb force-cgi-redirect fortran ftp gd gdbm gedit gif gimp gimpprint glibc-omitfp gmedia gmp gs gsm gtk gtkhtml guile hddtemp icq idn imagemagick imap imlib iproute2 jack java javascript jikes jpeg jpeg2k kerberos keyscrub kpathsea latex lcms ldap libcaca libwww live lm_sensors logrotate lzo mad madwifi memlimit midi mikmod mime mmx mmxext mng motif mp2 mp3 mp4 mpeg musepack ncurses nls nntp nptl nptlonly nsplugin ogg opengl pam pam_timestamp pch pcmcia pcre pda pdf perl php plotutils png posix postgres ppds print python quicktime readline real realmedia ruby rubytests samba sasl sdl server session simplexml slang sndfile soap sockets speex spell spl sse ssl suhosin svg swat syslog tcpd test tetex tga theora tiff truetype unicode usb userlocales vcd vidix vim-syntax vim-with-x vorbis wifi win32codecs winbind wma wmf wmp wxwindows x264 x86 xanim xine xinetd xml xorg xpm xsl xulrunner xv xvid xvmc zlib" ALSA_CARDS="via82xx via82xx-modem mpu401" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="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 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" CAMERAS="fuji" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en de" USERLAND="GNU" VIDEO_CARDS="savage"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_COMPRESS_FLAGS
Comment 6 Christian Faulhammer (RETIRED) gentoo-dev 2008-01-06 18:57:58 UTC
(In reply to comment #5)
> Try to emerge guile with USE=networking. This solved it on my box.

 Yes.  crypto team,

 In src_test you must check for enabled guile USE flag and skip tests if dev-scheme/guile has been built without USE=networking.

Thanks.
Comment 7 Alon Bar-Lev (RETIRED) gentoo-dev 2008-01-06 19:14:08 UTC
Thanks.
But this is not a solution...
Maybe at pkg_setup should check this and fail merge?
Comment 8 Dustin Polke 2008-01-06 19:57:12 UTC
I guess that guile with USE=networking is not only needed for the test suite. Maybe someone can check that and add a built_with_use check to the ebuild?

Dustin
Comment 9 Alon Bar-Lev (RETIRED) gentoo-dev 2008-01-18 23:08:41 UTC
Fixed in 2.2.1, thanks!