Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 284168 - x11-plugins/gkrellm-leds-0.8.1 fails tests (needs virtualx.eclass)
Summary: x11-plugins/gkrellm-leds-0.8.1 fails tests (needs virtualx.eclass)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Jim Ramsay (lack) (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-08 13:21 UTC by Attila Stehr
Modified: 2010-07-28 13:47 UTC (History)
2 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 Attila Stehr 2009-09-08 13:21:11 UTC
(see summary & results)
Maybe a sandbox / access rights issue...

Reproducible: Always

Steps to Reproduce:
1. emerge -v gkrellm-leds

Actual Results:  
>>> Emerging (1 of 9) x11-plugins/gkrellm-leds-0.8.1
 * gkleds-0.8.1.tar.gz RMD160 SHA1 SHA256 size ;-) ...                                                                                                                                                      [ ok ]
 * checking ebuild checksums ;-) ...                                                                                                                                                                        [ ok ]
 * checking auxfile checksums ;-) ...                                                                                                                                                                       [ ok ]
 * checking miscfile checksums ;-) ...                                                                                                                                                                      [ ok ]
>>> Unpacking source...
>>> Unpacking gkleds-0.8.1.tar.gz to /var/tmp/portage/x11-plugins/gkrellm-leds-0.8.1/work
>>> Source unpacked in /var/tmp/portage/x11-plugins/gkrellm-leds-0.8.1/work
>>> Compiling source in /var/tmp/portage/x11-plugins/gkrellm-leds-0.8.1/work/gkleds-0.8.1 ...
make -j2 
gcc -Wall -O2 -fPIC `pkg-config gtk+-2.0 --cflags` -DGKLEDS_SELFCOMPILE -c -o gkleds.o src/gkleds.c 
gcc -Wall -O2 -fPIC `pkg-config gtk+-2.0 --cflags` -DGKLEDS_SELFCOMPILE -c -o gkleds_ind.o src/gkleds_ind.c
gcc -Wall -O2 -fPIC `pkg-config gtk+-2.0 --cflags` -DGKLEDS_SELFCOMPILE -c -o gkleds_conf.o src/gkleds_conf.c
src/gkleds.c: In Funktion »gkleds_conf_create«:
src/gkleds.c:581: Warnung: Typkonvertierung in Zeiger von Ganzzahl anderer Breite
src/gkleds.c:722: Warnung: Typkonvertierung in Zeiger von Ganzzahl anderer Breite
src/gkleds.c: In Funktion »spin_order_changed«:
src/gkleds.c:787: Warnung: Typkonvertierung von Zeiger auf Ganzzahl anderer Breite
src/gkleds.c:825: Warnung: Typkonvertierung in Zeiger von Ganzzahl anderer Breite
src/gkleds.c:830: Warnung: Typkonvertierung in Zeiger von Ganzzahl anderer Breite
src/gkleds.c: In Funktion »pm_idx_altered«:
src/gkleds.c:900: Warnung: Typkonvertierung von Zeiger auf Ganzzahl anderer Breite
src/gkleds.c:900: Warnung: Typkonvertierung von Zeiger auf Ganzzahl anderer Breite
gcc -shared -L/usr/X11R6/lib -lX11 -lXtst `pkg-config gtk+-2.0 --libs` -o gkleds.so gkleds.o gkleds_ind.o gkleds_conf.o
>>> Source compiled.
>>> Test phase [test]: x11-plugins/gkrellm-leds-0.8.1
make -j2 -j1 test 
make clean
make[1]: Entering directory `/var/tmp/portage/x11-plugins/gkrellm-leds-0.8.1/work/gkleds-0.8.1'
rm -rf *.o *.so* *.dll *~ \#* *.dsw *.ncb *.opt *.plg Release Debug 
rm -rf src/*~ src/\#*
rm -rf src/gkrellm2/*~ src/gkrellm2/\#*
make[1]: Leaving directory `/var/tmp/portage/x11-plugins/gkrellm-leds-0.8.1/work/gkleds-0.8.1'
make DEBUG="-DGKLEDS_DEBUG"
make[1]: Entering directory `/var/tmp/portage/x11-plugins/gkrellm-leds-0.8.1/work/gkleds-0.8.1'
gcc -Wall -O2 -fPIC `pkg-config gtk+-2.0 --cflags` -DGKLEDS_SELFCOMPILE -c -o gkleds.o src/gkleds.c 
src/gkleds.c: In Funktion »gkleds_conf_create«:
src/gkleds.c:581: Warnung: Typkonvertierung in Zeiger von Ganzzahl anderer Breite
src/gkleds.c:722: Warnung: Typkonvertierung in Zeiger von Ganzzahl anderer Breite
src/gkleds.c: In Funktion »spin_order_changed«:
src/gkleds.c:787: Warnung: Typkonvertierung von Zeiger auf Ganzzahl anderer Breite
src/gkleds.c:825: Warnung: Typkonvertierung in Zeiger von Ganzzahl anderer Breite
src/gkleds.c:830: Warnung: Typkonvertierung in Zeiger von Ganzzahl anderer Breite
src/gkleds.c: In Funktion »pm_idx_altered«:
src/gkleds.c:900: Warnung: Typkonvertierung von Zeiger auf Ganzzahl anderer Breite
src/gkleds.c:900: Warnung: Typkonvertierung von Zeiger auf Ganzzahl anderer Breite
gcc -Wall -O2 -fPIC `pkg-config gtk+-2.0 --cflags` -DGKLEDS_SELFCOMPILE -c -o gkleds_ind.o src/gkleds_ind.c
gcc -Wall -O2 -fPIC `pkg-config gtk+-2.0 --cflags` -DGKLEDS_SELFCOMPILE -c -o gkleds_conf.o src/gkleds_conf.c
gcc -shared -L/usr/X11R6/lib -lX11 -lXtst `pkg-config gtk+-2.0 --libs` -o gkleds.so gkleds.o gkleds_ind.o gkleds_conf.o
make[1]: Leaving directory `/var/tmp/portage/x11-plugins/gkrellm-leds-0.8.1/work/gkleds-0.8.1'
gkrellm --sync --demo -p gkleds.so
Kann Verzeichnis nicht anlegen: /root/.gkrellm2
Kann Verzeichnis nicht anlegen: /root/.gkrellm2/plugins
Kann Verzeichnis nicht anlegen: /root/.gkrellm2/themes
Kann Verzeichnis nicht anlegen: /root/.gkrellm2/data
Kann Verzeichnis nicht anlegen: /root/.gkrellm2/data
Kann Verzeichnis nicht anlegen: /root/.gkrellm2/data/inet
Kann Verzeichnis nicht anlegen: /root/.gkrellm2/data
Kann Verzeichnis nicht anlegen: /root/.gkrellm2/data/net

--->
"Kann Verzeichnis nicht anlegen" (maybe obviously) means "can't create directory".

Expected Results:  
passed test, clean install

Portage 2.1.6.13 (default/linux/amd64/2008.0/desktop, gcc-4.3.2, glibc-2.9_p20081201-r2, 2.6.30-gentoo-r4 x86_64)
=================================================================
System uname: Linux-2.6.30-gentoo-r4-x86_64-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_4400+-with-gentoo-1.12.11.1
Timestamp of tree: Tue, 08 Sep 2009 10:15:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p39
dev-lang/python:     2.6.2-r1
dev-python/pycrypto: 2.0.1-r8
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.6.4
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.7.9-r1, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=athlon64"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -pipe -march=athlon64"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict stricter test unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="de_DE.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="de"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
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"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext 7zip X acpi alsa amd64 applet archive bash-completion boundschecking bzip2 cairo cdinstall cdr clamav cracklib crypt cups cupsddk dbus dga directfb dri dvd dvdnav dvdr eds esd evo fam fbcon fontconfig fuse glitz gmp gnome gnutls gpm gstreamer gtk gzip hal hddtemp icu libnotify lm_sensors logitech-mouse lzma lzo md5sum memlimit mmx mmxext mp4 mudflap multilib nautilus networkmanager nls nocd nptl nptlonly offensive opengl openmp pam pda ppds pth rtc session smp spell sse sse2 ssl startup-notification symlink sysfs test threads threadsafe thunar truetype unicode usb videos xcb xml xorg xulrunner zlib" ALSA_CARDS="via82xx" 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 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de" USERLAND="GNU" VIDEO_CARDS="radeon fglrx"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Diego Elio Pettenò (RETIRED) gentoo-dev 2009-12-23 13:02:51 UTC
Since it tries to open DISPLAY you should use virtualx.eclass to test this.
Comment 2 Attila Stehr 2010-03-04 23:47:11 UTC
reported upstream

Von: 	Attila Stehr <as.gentoo@web.de>
An: 	oyvinha@ifi.uio.no
Betreff: 	test fail for gkrellm-leds-0.8.1 on gentoo linux
Datum: 	13.02.2010 02:12:12
Mailer: 	Evolution 2.28.2 

as suggested here http://forums.gentoo.org/viewtopic-t-809750-start-0-postdays-0-postorder-asc-highlight-.html
Comment 3 Attila Stehr 2010-03-05 22:55:20 UTC
Oh, looks like I got something wrong.

yngwin  	
"The tests are most likely run in a sandbox, which is why they have no access rights to stuff outside the sandbox. You need to contact the maintainer of the package with the failing test."

The maintainer (Mr. Ramsay) is assigned to this bug yet, so I guess there is nothing more I can do then.
Comment 4 Jim Ramsay (lack) (RETIRED) gentoo-dev 2010-07-28 13:47:54 UTC
Even if I were to use virtualx.eclass, this test would never run to completion, since it runs 'gkrellm --sync --demo -p gkleds.so' which requires user interaction to actually exit.

So marking this with RESTRICT="test"