Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 253637 - app-misc/workrave-1.9.0 stabilization request
Summary: app-misc/workrave-1.9.0 stabilization request
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal enhancement
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords: STABLEREQ
: 277018 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-01-04 01:05 UTC by Gilles Dartiguelongue (RETIRED)
Modified: 2010-03-07 14:50 UTC (History)
4 users (show)

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


Attachments
crash fix (no-sound-driver.patch,409 bytes, patch)
2009-04-12 07:39 UTC, basic
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Gilles Dartiguelongue (RETIRED) gentoo-dev 2009-01-04 01:05:15 UTC
Hi arches, app-misc/workrave-1.9.0 has been in tree since 22 Nov 2008.

Please do your magic, target keywords are:  amd64 ppc x86

Thanks in advance
Comment 1 Markus Meier gentoo-dev 2009-01-04 17:21:16 UTC
fails here on amd64/x86:

make[5]: Entering directory `/var/tmp/portage/app-misc/workrave-1.9.0/work/workrave-1.9.0/frontend/common/src/kde'
/bin/sh ../../../../libtool --tag=CXX   --mode=compile i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../../../..   -DQT_THREAD_SUPPORT  -D_REENTRANT -DWORKRAVE
_PKGDATADIR="\"/usr/share/workrave\"" -D_XOPEN_SOURCE=600 -W -I../../../../common/src/ -I../../../../frontend/common/include -I ../../../../common/include -I
 ../../../../common/include/unix -I ../../../../backend/include  -I/usr/kde/3.5/include -I/usr/kde/3.5/include -I/usr/qt/3/include     -O2 -march=i686 -pipe 
-Os -g -DNDEBUG -MT libworkrave_frontend_common_kde_la-KdeSoundPlayer.lo -MD -MP -MF .deps/libworkrave_frontend_common_kde_la-KdeSoundPlayer.Tpo -c -o libwor
krave_frontend_common_kde_la-KdeSoundPlayer.lo `test -f 'KdeSoundPlayer.cc' || echo './'`KdeSoundPlayer.cc
mkdir .libs
 i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../../../.. -DQT_THREAD_SUPPORT -D_REENTRANT -DWORKRAVE_PKGDATADIR=\"/usr/share/workrave\" -D_XOPEN_SOURCE=600 -
W -I../../../../common/src/ -I../../../../frontend/common/include -I ../../../../common/include -I ../../../../common/include/unix -I ../../../../backend/inc
lude -I/usr/kde/3.5/include -I/usr/kde/3.5/include -I/usr/qt/3/include -O2 -march=i686 -pipe -Os -g -DNDEBUG -MT libworkrave_frontend_common_kde_la-KdeSoundP
layer.lo -MD -MP -MF .deps/libworkrave_frontend_common_kde_la-KdeSoundPlayer.Tpo -c KdeSoundPlayer.cc  -fPIC -DPIC -o .libs/libworkrave_frontend_common_kde_l
a-KdeSoundPlayer.o
KdeSoundPlayer.hh:35: error: 'SounCapability' has not been declared
KdeSoundPlayer.hh:36: error: 'string' has not been declared
KdeSoundPlayer.hh:37: error: 'SoundEvent' has not been declared
KdeSoundPlayer.hh:37: error: 'void KdeSoundPlayer::play_sound(int)' cannot be overloaded
KdeSoundPlayer.hh:36: error: with 'void KdeSoundPlayer::play_sound(int)'
KdeSoundPlayer.cc:49: error: 'bool KdeSoundPlayer::capability' is not a static member of 'class KdeSoundPlayer'
KdeSoundPlayer.cc:49: error: 'SounCapability' was not declared in this scope
KdeSoundPlayer.cc:50: error: expected ',' or ';' before '{' token
KdeSoundPlayer.cc:56: error: variable or field 'play_sound' declared void
KdeSoundPlayer.cc:56: error: 'int KdeSoundPlayer::play_sound' is not a static member of 'class KdeSoundPlayer'
KdeSoundPlayer.cc:56: error: 'string' was not declared in this scope
KdeSoundPlayer.cc:57: error: expected ',' or ';' before '{' token
KdeSoundPlayer.cc:62: error: variable or field 'play_sound' declared void
KdeSoundPlayer.cc:62: error: 'int KdeSoundPlayer::play_sound' is not a static member of 'class KdeSoundPlayer'
KdeSoundPlayer.cc:62: error: 'SoundEvent' was not declared in this scope
KdeSoundPlayer.cc:63: error: expected ',' or ';' before '{' token
make[5]: *** [libworkrave_frontend_common_kde_la-KdeSoundPlayer.lo] Error 1
make[5]: Leaving directory `/var/tmp/portage/app-misc/workrave-1.9.0/work/workrave-1.9.0/frontend/common/src/kde'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/var/tmp/portage/app-misc/workrave-1.9.0/work/workrave-1.9.0/frontend/common/src'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/app-misc/workrave-1.9.0/work/workrave-1.9.0/frontend/common'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/app-misc/workrave-1.9.0/work/workrave-1.9.0/frontend'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/app-misc/workrave-1.9.0/work/workrave-1.9.0'
make: *** [all] Error 2
 * 
 * ERROR: app-misc/workrave-1.9.0 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2793:  Called gnome2_src_compile
 *             environment, line 2170:  Called die
 * The specific snippet of code:
 *       emake || die "compile failure"
 *  The die message:
 *   compile failure

Portage 2.1.6.4 (default/linux/x86/2008.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.27.10 i686)
=================================================================
System uname: Linux-2.6.27.10-i686-Intel-R-_Core-TM-2_Duo_CPU_T8300_@_2.40GHz-with-glibc2.0
Timestamp of tree: Fri, 02 Jan 2009 18:00:01 +0000
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7-r1, 2.1.6-r1
dev-lang/python:     2.4.4-r14, 2.5.2-r7
dev-python/pycrypto: 2.0.1-r6
dev-util/cmake:      2.4.6-r1
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.63
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.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /opt/openfire/resources/security/ /opt/openjms/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib/fax /usr/share/config /var/bind /var/lib/hsqldb /var/qmail/alias /var/qmail/control /var/spool/fax/etc /var/spool/torque"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /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="-O2 -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="collision-protect distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict test unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LDFLAGS="-Wl,-O1"
LINGUAS="en en_GB de"
MAKEOPTS="-j2"
PKGDIR="/mnt/packages"
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="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acl acpi alsa apache2 avahi berkdb bluetooth branding bzip2 cairo cdr cli cracklib crypt cups dbus dri dvd dvdr dvdread eds emboss encode esd evo examples fam firefox fortran gdbm gif gnome gpm gstreamer gtk hal iconv ipv6 isdnlog jpeg kde ldap libnotify mad midi mikmod mp3 mpeg mudflap ncurses nls nptl nptlonly ogg opengl openmp pam pcre pdf perl png ppds pppd python qt3 qt3support qt4 quicktime readline reflection sdl session source spell spl ssl startup-notification svg sysfs tcpd test tiff truetype unicode usb vorbis win32codecs x86 xml xorg xulrunner xv zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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 evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_GB de" USERLAND="GNU" VIDEO_CARDS="fbdev glint i810 intel mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa vga via vmware voodoo"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 2 Gilles Dartiguelongue (RETIRED) gentoo-dev 2009-01-04 18:43:48 UTC
erm, looks like I need more upstream stabbing. I guess you have USE="kde" which is the only use I don't test. Well, unCCing arches, I'll call you back when I have a fix for this.
Comment 3 Leonid Evdokimov 2009-02-05 11:51:46 UTC
Also fails on x86:

make[5]: *** No rule to make target `workrave.desktop', needed by `all-am'.  Stop.
make[5]: Leaving directory `/var/tmp/portage/app-misc/workrave-1.9.0/work/workrave-1.9.0/frontend/gtkmm/src'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/var/tmp/portage/app-misc/workrave-1.9.0/work/workrave-1.9.0/frontend/gtkmm/src'
...

USE="dbus nls xml -arts -debug -distribution -gnome -kde"
Comment 4 Leonid Evdokimov 2009-03-27 08:09:45 UTC
Moreover, if I fix the issue with `workrave.desktop` using trivial patch to makefile then workrave fails right at startup:

$ gdb workrave 
(gdb) r
Starting program: /usr/bin/workrave 
[Thread debugging using libthread_db enabled]
[New Thread 0xb6dcc6d0 (LWP 18602)]
[New Thread 0xb6ab2b90 (LWP 18605)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb6dcc6d0 (LWP 18602)]
0x080a6684 in SoundPlayer::sync_settings (this=0x8828880) at SoundPlayer.cc:398
398     SoundPlayer.cc: No such file or directory.
        in SoundPlayer.cc
(gdb) bt
#0  0x080a6684 in SoundPlayer::sync_settings (this=0x8828880) at SoundPlayer.cc:398
#1  0x080a6e0c in SoundPlayer::register_sound_events (this=0x8828880, theme=@0xbfcdc6c4) at SoundPlayer.cc:334
#2  0x080a6f28 in SoundPlayer (this=0x8828880) at SoundPlayer.cc:317
#3  0x08065741 in GUI::init_sound_player (this=0x87d2ea8) at GUI.cc:888
#4  0x080665ec in GUI::main (this=0x87d2ea8) at GUI.cc:205
#5  0x08082e6a in run (argc=1, argv=0xbfcdc804) at main.cc:54
#6  0x08082ea1 in main (argc=Cannot access memory at address 0x0
) at main.cc:71
Comment 5 basic 2009-04-12 07:39:03 UTC
Created attachment 188060 [details, diff]
crash fix

this should fix the crash
Comment 6 Maik Nijhuis 2009-07-08 12:56:53 UTC
*** Bug 277018 has been marked as a duplicate of this bug. ***
Comment 7 Romain Perier (RETIRED) gentoo-dev 2009-07-09 06:03:45 UTC
Please also have a look to https://bugs.gentoo.org/show_bug.cgi?id=277026, posted by diego
Comment 8 Frédéric Barthelery 2009-11-03 15:11:22 UTC
(In reply to comment #5)
> Created an attachment (id=188060) [details]
> crash fix
> 
> this should fix the crash
> 
I think this patch should be pushed in the tree.
Comment 9 Pacho Ramos gentoo-dev 2010-03-07 14:50:39 UTC
It's clear that 1.9.0 is not ready to be stabilized, but 1.9.1 was added a few time ago by Guilles and it fixes some crashes and bugs

Please try with 1.9.1 instead and, if still valid with it, please open a bug report (one per issue).