Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 456054 - dev-libs/wayland-1.0.4 fails some test due to XDG_RUNTIME_DIR not set
Summary: dev-libs/wayland-1.0.4 fails some test due to XDG_RUNTIME_DIR not set
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Matt Turner
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-02-07 17:19 UTC by Xake
Modified: 2013-02-11 07:03 UTC (History)
1 user (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 Xake 2013-02-07 17:19:46 UTC
Fails:

lt-socket-test: socket-test.c:45: require_xdg_runtime_dir: Assertion `0 && "set $XDG_RUNTIME_DIR to run this test"' failed.
test "socket_path_overflow_server_create":	signal 6, fail.
lt-socket-test: socket-test.c:45: require_xdg_runtime_dir: Assertion `0 && "set $XDG_RUNTIME_DIR to run this test"' failed.
test "socket_path_overflow_client_connect":	signal 6, fail.
2 tests, 0 pass, 2 fail


Please fix this, it is as "simple" as adding (example found in gnome2-utils.eclass):

src_test() {
        export XDG_RUNTIME_DIR="${T}/run"
        emake check
}

There is still one test that fails for me after this, however at least some of them are fixed.

Portage 2.2.0_alpha161 (hardened/linux/amd64, gcc-4.7.2, glibc-2.16.0, 3.7.6-gentoo x86_64)
=================================================================
System uname: Linux-3.7.6-gentoo-x86_64-Intel-R-_Core-TM-_i7_CPU_920_@_2.67GHz-with-gentoo-2.2
KiB Mem:    18488980 total,    269200 free
KiB Swap:   20970912 total,  20853196 free
Timestamp of tree: Thu, 07 Feb 2013 10:30:01 +0000
ld GNU gold (GNU Binutils 2.23.1) 1.11
ccache version 3.1.9 [disabled]
app-shells/bash:          4.2_p42
dev-java/java-config:     2.1.12-r1
dev-lang/python:          2.7.3-r3, 3.2.3-r2
dev-util/ccache:          3.1.9
dev-util/cmake:           2.8.10.2-r1
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.11.8
sys-apps/sandbox:         2.6
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.10.3, 1.11.6, 1.12.6, 1.13.1
sys-devel/binutils:       2.23.1
sys-devel/gcc:            4.7.2
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.7 (virtual/os-headers)
sys-libs/glibc:           2.16.0
Repositories: gentoo gamerlay x11 systemd xake-overlay java-overlay Mine
Installed sets: @system
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O3 -pipe -ggdb -mtune=native -floop-interchange -floop-strip-mine -floop-block -floop-parallelize-all"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /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="-march=native -O3 -pipe -ggdb -mtune=native -floop-interchange -floop-strip-mine -floop-block -floop-parallelize-all"
DISTDIR="/var/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs buildsyspkg clean-logs compress-build-logs compressdebug config-protect-if-modified distlocks ebuild-locks fail-clean fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms splitdebug strict test unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.utf8"
LDFLAGS="-Wl,--as-needed -Wl,-O1 -Wl,--sort-common -Wl,--hash-style=gnu"
MAKEOPTS="-j12 -l20"
PKGDIR="/var/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/var/portage"
PORTDIR_OVERLAY="/var/overlays/layman/gamerlay /var/overlays/layman/x11 /var/overlays/layman/systemd /var/overlays/layman/xake-overlay /var/overlays/layman/java-overlay /var/overlays/mine"
SYNC="rsync://liten/gentoo-portage"
USE="10bit X a52 aac acl acpi action_modeswitch aio alsa amd64 amr amrnb amrwb apng applet archive ass asyncns autoipd avahi bash-completion berkdb bluetooth branding btrfs bzip2 bzr cairo call caps cdaudio cdda cdr cli clutter colord connection-sharing corefonts coverart cracklib crypt css cue cups cxx dbus dhcpcd djvu dri dts dvd dvdr dvi edd egl enca encode epspdf equalizer evo exif extensions fat fdt ffmpeg fftw firewalld flac fluidsynth fontconfig fuse gbm gcj gcrypt gdbm gdm gdu geoip gif gimp gles1 gles2 glib gmp gnome gnome-keyring gnome-online-accounts gpg gphoto2 gpm grammar graphite grilo gs gsf gsm gstreamer gtk gtk3 gtkstyle gudev hardened hires-icons hpn hwdb ical iconv icq icu id3tag idn ieee1394 infinality introspection iptc ipv6 jabber jingle jit jpeg jpeg2k justify kate kerberos keymap kvm lcdfilter lcms ldap libass libffi libkms libnotify libproxy libsamplerate llvm lm_sensors logrotate lvm lzma lzo macvtap mad map maps math matroska mdadm midi minizip mms mmx mmxext mng mod moonlight mp2 mp3 mpeg mpfr mpi msn mtp mudflap multilib musepack musicbrainz natspec nautilus ncurses network network-cron networkmanager nfs nfsidmap nfsv41 nls nntp nptl nsplugin ntfs numa nut ocr offensive office ogg openal opencl opencore-amr opengl openmp openvg optimization orc osmesa ots pam pango parted pax_kernel pcap pcre pdf pdfimport pgo playlist plugins plymouth png policykit pulseaudio python3 qt3support quicktime quvi rar raw readline realtime romio rtmp s3tc samba sbsms scanner schroedinger sdl seed sendto sensord session sip smp sms socialweb soundtouch speex spell spice sse sse2 sse3 sse4_1 ssh ssl ssse3 startup-notification subversion svg systemd tcpd telepathy tex theora thesaurus threads tiff totem tracker truetype udev udisks unicode urandom usb usbredir utp vala vcd vdpau videos vim vim-syntax virt-network vorbis wayland webkit webp wmf x264 xa xattr xcb xcomposite xinerama xml xmp xmpp xpm xps xrandr xulrunner xv xvfb xvid zeroconf zlib" ABI_X86="64" 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="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" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" DRACUT_MODULES="btrfs caps syslog systemd plymouth" 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" GRUB_PLATFORMS="pc" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="sv sv_SE en" NETBEANS_MODULES="cnd profiler dlight harness ide java websvccommon apisupport nb php enterprise javafx mobility webcommon" PHP_TARGETS="php5-3" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="i386 x86_64" RUBY_TARGETS="ruby18 ruby19" SANE_BACKENDS="net niash snapscan" USERLAND="GNU" VIDEO_CARDS="nouveau 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, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 1 Matt Turner gentoo-dev 2013-02-11 07:01:02 UTC
Done, thanks! Unfortunately, even with this set it still fails a couple of tests.
Comment 2 Matt Turner gentoo-dev 2013-02-11 07:03:52 UTC
False alarm. All tests pass :)