Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 352340

Summary: dev-scheme/guile-1.8.8 fails socket.test when linux is built without IPv6 (Address family not supported by protocol)
Product: Gentoo Linux Reporter: Justin Lecher (RETIRED) <jlec>
Component: Current packagesAssignee: Scheme Project <scheme>
Status: CONFIRMED ---    
Severity: normal Keywords: TESTFAILURE
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 335657    
Attachments: /var/log/portage/build/dev-scheme/guile-1.8.8:20110121-151626.log

Description Justin Lecher (RETIRED) gentoo-dev 2011-01-21 15:20:35 UTC
Fails test, probably a ipv6 problem, as this isn't present here



$ einfo =dev-scheme/guile-1.8.8
Portage 2.2.0_alpha18 (default/linux/amd64/10.0, gcc-4.5.2, glibc-2.12.2-r0, 2.6.35-gentoo-r15 x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-2.6.35-gentoo-r15-x86_64-Intel-R-_Core-TM-_i7_CPU_860_@_2.80GHz-with-gentoo-2.0.1
Timestamp of tree: Thu, 20 Jan 2011 17:30:01 +0000
ccache version 3.1.4 [enabled]
app-shells/bash:     4.1_p7
dev-java/java-config: 2.1.11-r3
dev-lang/python:     2.6.6-r1, 2.7.1, 3.1.3
dev-util/ccache:     3.1.4
dev-util/cmake:      2.8.3-r1
sys-apps/baselayout: 2.0.1-r1
sys-apps/openrc:     0.7.0
sys-apps/sandbox:    2.4
sys-devel/autoconf:  2.13, 2.68
sys-devel/automake:  1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.21
sys-devel/gcc:       4.5.2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.4-r1
sys-devel/make:      3.81-r2
virtual/os-headers:  2.6.36.1 (sys-kernel/linux-headers)
Repositories: gentoo science sunrise dummy last-hope
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=core2 -frecord-gcc-switches -msse4.2 -g -Wimplicit-function-declaration"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/nano/ /usr/share/openvpn/easy-rsa /var/lib/hsqldb /var/spool/torque"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /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=core2 -frecord-gcc-switches -msse4.2 -g -Wenum-compare"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="-t --jobs=12 --load-average=12 --keep-going"
FEATURES="assume-digests binpkg-logs buildsyspkg ccache collision-protect distlocks fixlafiles fixpackages multilib-strict news noinfo parallel-fetch preserve-libs protect-owned sandbox sfperms sign split-log splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe -march=core2 -frecord-gcc-switches -msse4.2 -g"
GENTOO_MIRRORS=" http://gentoo.j-schmitz.net/mirror/ ftp://ftp.gentoo.mesh-solutions.com/gentoo/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo ftp://ftp.tu-clausthal.de/pub/linux/gentoo/"
LANG="en_GB.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-O1 -Wl,--hash-style=gnu -Wl,--sort-common"
LINGUAS="en"
MAKEOPTS="-j12 -l12"
PKGDIR="/usr/portage/packages"
PORTAGE_COMPRESS="lzma"
PORTAGE_COMPRESS_FLAGS="-z -9 -f -S .lzma -v"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/science /data/local/sunrise/reviewed /data/local/dummy /data/local/lh/ebuilds"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="64bit 7zip X acpi additions alsa amd64 arpwarp atlas bash-completion berkdb blas branding bzip2 c++ cairo caps cblas ccache cleartype cli command-args corefonts cracklib cups cupsddk custom-optimization cxx dbus dri dts exif fbcondecor fortran gdbm gif glibc-omitfp gmp gnome gnome-keyring gpm graphics gstreamer gtk hddtemp iconv icu ipod javascript jpeg kqemu lapack lcms ldap libnotify libsexy lm_sensors lzma mailtrain md5sum mmx mng modules mp3 mudflap multilib multiuser nagios-dns nagios-ntp nagios-ping nagios-ssh nano-syntax ncurses network-cron nis nls nptl nptlonly nsplugin objc objc++ opengl openmp openntpd pam pcre pdf perl png pppd pymol python qt-static qt3support readline rrdcgi rrdtool science sensord session smp sqlite sqlite3 sse sse2 ssl startup-notification svg sysfs system-sqlite tcpd threads tiff truetype type1 unicode x264 xcb xcomposite xinerama xorg xulrunner zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul 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 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" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" 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 ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" PHP_TARGETS="php5-3" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="i386 x86_64" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia" 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:  CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_RSYNC_EXTRA_OPTS

=================================================================
                        Package Settings
=================================================================

dev-scheme/guile-1.8.8 was built with the following:
USE="deprecated discouraged (multilib) networking nls regex threads -debug -debug-freelist -debug-malloc -elisp -emacs"
CFLAGS="-O2 -pipe -march=core2 -msse4.2 -g -Wimplicit-function-declaration -Wmissing-include-dirs"
CXXFLAGS="-O2 -pipe -march=core2 -msse4.2 -g -Wmissing-include-dirs -Wenum-compare"
Comment 1 Justin Lecher (RETIRED) gentoo-dev 2011-01-21 15:21:36 UTC
Created attachment 260439 [details]
/var/log/portage/build/dev-scheme/guile-1.8.8:20110121-151626.log

build.log
Comment 2 Panagiotis Christopoulos (RETIRED) gentoo-dev 2011-01-21 16:06:09 UTC
You mean, you don't have IPv6 enabled in your kernel at all?
Comment 3 Justin Lecher (RETIRED) gentoo-dev 2011-01-21 16:46:07 UTC
Neither in the kernel not USE=ipv6
Comment 4 Marijn Schouten (RETIRED) gentoo-dev 2011-04-13 12:25:11 UTC
Justin, could you please test with a kernel that does enable IPv6 and see if the test succeeds?
Comment 5 Justin Lecher (RETIRED) gentoo-dev 2011-04-13 13:16:09 UTC
(In reply to comment #4)
> Justin, could you please test with a kernel that does enable IPv6 and see if
> the test succeeds?

Just setting 

CONFIG_IPV6=y

in the kernel was enough.
Comment 6 Marijn Schouten (RETIRED) gentoo-dev 2011-04-13 13:53:24 UTC
reported upstream
Comment 7 Marijn Schouten (RETIRED) gentoo-dev 2011-05-04 08:32:10 UTC
on 28 April upstream says:

In 2.0 this should not cause the test suite to exit prematurely, though
it may fail; dunno.  I cherry-picked that fix back to 1.8.

whatever that may mean.
Comment 8 Cyprien Nicolas (fulax) 2019-06-23 12:58:16 UTC
(In reply to Marijn Schouten (RETIRED) from comment #7)
> on 28 April upstream says:
> 
> In 2.0 this should not cause the test suite to exit prematurely, though
> it may fail; dunno.  I cherry-picked that fix back to 1.8.

Here is the upstream patch, but not released (and never will be).

http://git.savannah.gnu.org/cgit/guile.git/commit/?h=branch_release-1-8&id=b720f244942320731e1ceb67f3648143a3316b32

It may make sense to add it if we slot guile-2.2, drop 2.0 and keep the 1.8 for texmacs and other projects not compatible with guile-2