Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 396505 - dev-libs/glib-2.30.{2,3} runs ipv6 test despite no ipv6 is available
Summary: dev-libs/glib-2.30.{2,3} runs ipv6 test despite no ipv6 is available
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL: https://bugzilla.gnome.org/show_bug.c...
Whiteboard:
Keywords: TESTFAILURE
: 398945 461998 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-12-30 09:57 UTC by Dustin Polke
Modified: 2013-05-29 21:19 UTC (History)
4 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 Dustin Polke 2011-12-30 09:57:45 UTC
Tests fail because ebuild tries to run ipv6 tests though no ipv6 support is available:

TEST: socket... (pid=17250)
  /socket/ipv4_sync:                                                   OK
  /socket/ipv4_async:                                                  OK
  /socket/ipv6_sync:                                                   **
ERROR:socket.c:92:create_server: assertion failed (error == NULL): Unable to create socket: Address family not supported by protocol (g-io-error-quark, 0)
FAIL
GTester: last random seed: R02S13b571544164acd99fc52fd52ddcecda
/bin/sh: line 1: 15702 Terminated              MALLOC_CHECK_=2 MALLOC_PERTURB_=$((${RANDOM:-256} % 256)) ../../glib/gtester --verbose io-stream actions memory-input-stream memory-output-stream readwrite g-file g-file-info converter-stream data-input-stream data-output-stream g-icon buffered-input-stream buffered-output-stream sleepy-stream filter-streams volumemonitor simple-async-result srvtarget contexts gsettings gschema-compile async-close-output-stream gdbus-addresses network-address gdbus-message socket pollable tls-certificate tls-interaction cancellable gdbus-close-pending gdbus-connection gdbus-connection-loss gdbus-connection-slow gdbus-names gdbus-proxy gdbus-proxy-threads gdbus-proxy-well-known-name gdbus-introspection gdbus-threading gdbus-export gdbus-error gdbus-peer gdbus-exit-on-close gdbus-non-socket gdbus-bz627724 appinfo contenttype file live-g-file desktop-app-info unix-fd unix-streams gapplication gdbus-test-codegen gdbus-serialization
make[6]: *** [test-nonrecursive] Error 143
make[6]: Leaving directory `/var/tmp/portage/dev-libs/glib-2.30.2/work/glib-2.30.2/gio/tests'
make[5]: *** [check-am] Error 2
make[5]: Leaving directory `/var/tmp/portage/dev-libs/glib-2.30.2/work/glib-2.30.2/gio/tests'
make[4]: *** [check-recursive] Error 1
make[4]: Leaving directory `/var/tmp/portage/dev-libs/glib-2.30.2/work/glib-2.30.2/gio/tests'
make[3]: *** [check] Error 2
make[3]: Leaving directory `/var/tmp/portage/dev-libs/glib-2.30.2/work/glib-2.30.2/gio/tests'
make[2]: *** [check-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/dev-libs/glib-2.30.2/work/glib-2.30.2/gio'
make[1]: *** [check] Error 2
make[1]: Leaving directory `/var/tmp/portage/dev-libs/glib-2.30.2/work/glib-2.30.2/gio'
make: *** [check-recursive] Error 1
 * ERROR: dev-libs/glib-2.30.2 failed (test phase):
 *   emake failed

Portage 2.1.10.41 (default/linux/amd64/10.0, gcc-4.5.3, glibc-2.13-r4, 3.0.6-gentoo-nouveau x86_64)
=================================================================
System uname: Linux-3.0.6-gentoo-nouveau-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T8100_@_2.10GHz-with-gentoo-2.0.3
Timestamp of tree: Fri, 30 Dec 2011 08:45:01 +0000
app-shells/bash:          4.1_p9
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.2-r3, 3.1.4-r3
dev-util/cmake:           2.8.6-r4
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.0.3
sys-apps/openrc:          0.9.4
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:       2.20.1-r1
sys-devel/gcc:            4.5.3-r1
sys-devel/gcc-config:     1.4.1-r1
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r1
sys-kernel/linux-headers: 2.6.39 (virtual/os-headers)
sys-libs/glibc:           2.13-r4
Repositories: gentoo DuPol alon-barlev science sunrise modified-ebuilds private-ebuilds betagarden
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA PUEL cadsoft skype-eula AdobeFlash-10.1"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=core2 -msse4.1 --param l1-cache-size=32     --param l1-cache-line-size=64 --param l2-cache-size=3072 -mtune=generic"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/bin/mygenkernel /usr/sbin/run-crons /usr/share/cairo-dock/plug-ins/wifi/wifi /usr/share/gnupg/qualified.txt /usr/share/openvpn/easy-rsa /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -pipe -march=core2 -msse4.1 --param l1-cache-size=32     --param l1-cache-line-size=64 --param l2-cache-size=3072 -mtune=generic"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--ask --autounmask=n --quiet-build=n"
FEATURES="assume-digests binpkg-logs buildpkg collision-protect distlocks ebuild-locks fixlafiles multilib-strict news parallel-fetch protect-owned sandbox sfperms strict test unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox"
FFLAGS=""
GENTOO_MIRRORS="ftp://ftp.tu-clausthal.de/pub/linux/gentoo/     ftp://de-mirror.org/distro/gentoo/     ftp://mirror.netcologne.de/gentoo/     ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo     ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,relro -Wl,-z,now"
LINGUAS="en de"
MAKEOPTS="-j5"
PKGDIR="/var/lib/portage/binpkg"
PORTAGE_COMPRESS=""
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="--timeout=500"
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/DuPol /var/lib/layman/alon-barlev /var/lib/layman/science /var/lib/layman/sunrise /usr/local/portage/modified /usr/local/portage/own /var/lib/layman/betagarden"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="X X509 Xaw3d a52 aac aalib accessibility acl acpi alsa amd64 amr apm audacious audiofile bash-completion berkdb bindist bl bluetooth branding bzip2 cairo cdda cdinstall cjk cli consolekit cracklib crypt css ctype cups curl cxx dbus devil dga directfb dri dts dv dvd dvdr eds encode evo exchange exif fam fbcon fbcondecor fbsplash ffmpeg flac fontforge foomaticdb fortran ftp fuse gd gdbm gif gimp git glade gmp gphoto2 gs gsm gstreamer gtk gtkhtml gtkstyle guile hddtemp hdf5 iconv icq icu idn ieee1394 imagemagick imap imlib iproute2 jack java javascript jpeg jpeg2k kerberos keyscrub kino kpathsea lame lapack laptop latex lcms libcaca libnotify libsamplerate libsexy libv4l2 libwww live lm_sensors logrotate loop-aes lzma lzo mad memlimit mikmod mime mjpeg mmx mmxext mng modules motif mp3 mp4 mpeg mplayer mudflap multilib musepack ncurses nls nntp nowin nptl nptlonly nsplugin ntp nuv nvidia ods ogg opengl openmp opensslcrypt pam pch pcmcia pcre pda pdf pdfimport plotutils png posix ppds pppd qt3support quicktime readline rtsp rubytests samba sasl schroedinger sdl server session simplexml slang sndfile soap sockets sou speex spell sse sse2 sse3 sse4.1 ssl ssse3 startup-notification stream subversion svg swat sysfs syslog system-sqlite tcpd tga theora threads tiff tordns truetype unicode usb userlocales v4l vcd vdpau vim-syntax vorbis wcwidth wifi winbind wma wmf wxwindows x264 xanim xcomposite xinetd xls xml xmp xorg xpm xsl xulrunner xv xvfb xvid xvmc zlib" ALSA_CARDS="hda-intel mpu401" 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" CALLIGRA_FEATURES="kexi words flow plan stage tables krita karbon braindump" CAMERAS="fuji ptp2" 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="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en de" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nouveau nvidia dummy" 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_COMPRESS_FLAGS
Comment 1 Pacho Ramos gentoo-dev 2011-12-30 11:34:13 UTC
This should probably be reported to upstream also
Comment 2 Gilles Dartiguelongue (RETIRED) gentoo-dev 2011-12-30 12:08:11 UTC
I think we have a report that looks like this already. Can't remember the # though.
Comment 3 Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2012-01-07 07:39:08 UTC
I'd prefer packages like this to pass tests. How about just disabling the ipv6 test meanwhile?
Comment 4 Pacho Ramos gentoo-dev 2012-01-07 14:50:59 UTC
(In reply to comment #3)
> I'd prefer packages like this to pass tests. How about just disabling the ipv6
> test meanwhile?

It passes tests when ipv6 support is there, then, I see no sense on this blocking its stabilization

(In reply to comment #2)
> I think we have a report that looks like this already. Can't remember the #
> though.

I also think this one, or similar, was reported before... but have failed to find the bug :S
Comment 5 Pacho Ramos gentoo-dev 2012-01-15 13:16:18 UTC
*** Bug 398945 has been marked as a duplicate of this bug. ***
Comment 6 Pacho Ramos gentoo-dev 2012-01-30 11:16:28 UTC
Maybe we should skip all ipv4/ipv6 tests in next bump :-/
Comment 7 Dustin Polke 2012-04-19 13:49:14 UTC
This is still present in dev-libs/glib-2.30.3
Comment 8 Matt Turner gentoo-dev 2012-09-26 21:14:36 UTC
Still present in glib-2.32.4.

Do you guys run the test suite ...?
Comment 9 Matt Turner gentoo-dev 2012-09-26 21:15:55 UTC
The code in socket.c looks like

  g_test_add_func ("/socket/ipv6_async", test_ipv6_async);
#if defined (IPPROTO_IPV6) && defined (IPV6_V6ONLY)
  g_test_add_func ("/socket/ipv6_v4mapped", test_ipv6_v4mapped);
#endif

That looks like a fuck-up.
Comment 10 Pacho Ramos gentoo-dev 2012-09-27 06:51:17 UTC
(In reply to comment #8)
> Still present in glib-2.32.4.
> 
> Do you guys run the test suite ...?

I run, but I also have ipv6 enabled :S
Comment 11 Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2013-03-18 00:29:19 UTC
*** Bug 461998 has been marked as a duplicate of this bug. ***
Comment 12 Pacho Ramos gentoo-dev 2013-04-23 19:04:55 UTC
fixed in 2.36.1
Comment 13 Nikoli 2013-05-29 15:41:26 UTC
2.36.1 is hard masked. Should not you keep this bug open until it is unmasked and add PMASKED to keywords?
Comment 14 Pacho Ramos gentoo-dev 2013-05-29 21:19:46 UTC
I don't see the advantage of keeping the bug opened some more weeks simply to close it a bit later :/ If the problem would be more important...