Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 249683 - app-misc/workrave-1.9.0 - SoundPlayer.cc:395: error: invalid use of incomplete type ‘struct ISoundDriver’
Summary: app-misc/workrave-1.9.0 - SoundPlayer.cc:395: error: invalid use of incomplet...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-12-03 06:50 UTC by shigubuhua
Modified: 2008-12-27 12:09 UTC (History)
2 users (show)

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


Attachments
build.log (build.log,89.29 KB, text/plain)
2008-12-15 01:14 UTC, shigubuhua
Details

Note You need to log in before you can comment on or make changes to this bug.
Description shigubuhua 2008-12-03 06:50:38 UTC
SoundPlayer.cc:310:4: warning: #warning Sound card support disabled.
SoundPlayer.cc: In destructor ‘virtual SoundPlayer::~SoundPlayer()’:
SoundPlayer.cc:319: warning: possible problem detected in invocation of delete operator:
SoundPlayer.cc:319: warning: invalid use of incomplete type ‘struct ISoundDriver’
../../../frontend/common/include/SoundPlayer.hh:30: warning: forward declaration of ‘struct ISoundDriver’
SoundPlayer.cc:319: note: neither the destructor nor the class-specific operator delete will be called, even if they are declared when the class is defined.
SoundPlayer.cc: In member function ‘void SoundPlayer::sync_settings()’:
SoundPlayer.cc:395: error: invalid use of incomplete type ‘struct ISoundDriver’
../../../frontend/common/include/SoundPlayer.hh:30: error: forward declaration of ‘struct ISoundDriver’
SoundPlayer.cc:406: error: invalid use of incomplete type ‘struct ISoundDriver’
../../../frontend/common/include/SoundPlayer.hh:30: error: forward declaration of ‘struct ISoundDriver’
SoundPlayer.cc: In member function ‘void SoundPlayer::load_sound_theme(const std::string&, SoundPlayer::Theme&)’:
SoundPlayer.cc:471: error: ‘realpath’ was not declared in this scope
SoundPlayer.cc: In member function ‘void SoundPlayer::play_sound(SoundPlayer::SoundEvent)’:
SoundPlayer.cc:600: error: invalid use of incomplete type ‘struct ISoundDriver’
../../../frontend/common/include/SoundPlayer.hh:30: error: forward declaration of ‘struct ISoundDriver’
SoundPlayer.cc:602: error: invalid use of incomplete type ‘struct ISoundDriver’
../../../frontend/common/include/SoundPlayer.hh:30: error: forward declaration of ‘struct ISoundDriver’
SoundPlayer.cc:611: error: invalid use of incomplete type ‘struct ISoundDriver’
../../../frontend/common/include/SoundPlayer.hh:30: error: forward declaration of ‘struct ISoundDriver’
SoundPlayer.cc: In member function ‘void SoundPlayer::play_sound(std::string)’:
SoundPlayer.cc:634: error: invalid use of incomplete type ‘struct ISoundDriver’
../../../frontend/common/include/SoundPlayer.hh:30: error: forward declaration of ‘struct ISoundDriver’
SoundPlayer.cc: In member function ‘void SoundPlayer::set_sound_enabled(SoundPlayer::SoundEvent, bool)’:
SoundPlayer.cc:721: error: invalid use of incomplete type ‘struct ISoundDriver’
../../../frontend/common/include/SoundPlayer.hh:30: error: forward declaration of ‘struct ISoundDriver’
SoundPlayer.cc: In member function ‘void SoundPlayer::set_sound_wav_file(SoundPlayer::SoundEvent, const std::string&)’:
SoundPlayer.cc:747: error: invalid use of incomplete type ‘struct ISoundDriver’
../../../frontend/common/include/SoundPlayer.hh:30: error: forward declaration of ‘struct ISoundDriver’
SoundPlayer.cc: In member function ‘bool SoundPlayer::capability(SoundPlayer::SoundCapability)’:
SoundPlayer.cc:759: error: invalid use of incomplete type ‘struct ISoundDriver’
../../../frontend/common/include/SoundPlayer.hh:30: error: forward declaration of ‘struct ISoundDriver’
make[5]: *** [libworkrave_frontend_common_la-SoundPlayer.lo] Error 1
make[5]: *** Waiting for unfinished jobs....
make[4]: *** [all-recursive] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

 * 
 * ERROR: app-misc/workrave-1.9.0 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2828:  Called gnome2_src_compile
 *             environment, line 2196:  Called die
 * The specific snippet of code:
 *       emake || die "compile failure"
 *  The die message:
 *   compile failure
 * 
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/app-misc/workrave-1.9.0/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-misc/workrave-1.9.0/temp/environment'.
 * 


Reproducible: Always




# emerge --info
Portage 2.2_rc16 (default/linux/amd64/2008.0/desktop, gcc-4.3.2, glibc-2.8_p20080602-r0, 2.6.27-gentoo-r4 x86_64)
=================================================================
System uname: Linux-2.6.27-gentoo-r4-x86_64-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_3600+-with-glibc2.2.5
Timestamp of tree: Tue, 02 Dec 2008 21:45:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p48
dev-java/java-config: 1.3.7-r1, 2.1.6-r1
dev-lang/python:     2.5.2-r8
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r8
dev-util/cmake:      2.6.2
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.3.0-r1
sys-apps/sandbox:    1.2.18.1-r3
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.19
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O2 -pipe -fomit-frame-pointer -fweb"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=k8 -O2 -pipe -fomit-frame-pointer -fweb"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks metadata-transfer parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://61.135.158.199 ftp://gentoo.anheng.com.cn/gentoo http://mirrors.acm.cs.rpi.edu/gentoo http://mirror.mcs.anl.gov/pub/gentoo http://gentoo.inode.at/ http://gentoo.gg3.net/ http://ftp.twaren.net/Linux/Gentoo/ http://gentoo.tiscali.nl/"
LANG="zh_CN.UTF-8"
LC_ALL="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--hash-style=gnu"
LINGUAS="zh_CN zh en"
MAKEOPTS="-j3 -s"
PKGDIR="/usr/portage/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/layman/gentoo-china /usr/local/portage/layman/science /usr/local/portage/layman/gnash-cvs /usr/portage/local/my-overlay"
SYNC="rsync://61.135.158.199/gentoo-portage"
USE="3dnow 3dnowext X acl acpi alsa amd64 apic bash-completion berkdb bluetooth branding bzip2 cairo cdr cjk clflush cli cmov cmp_legacy cr8_legacy cracklib crypt cups cx16 cx8 dbus de dri dvd dvdr dvdread emboss encode evo extapic fam firefox fontconfig fortran fpu fxsr fxsr_opt gdbm gif gpm gtk hal ht iconv isdnlog jpeg lahf_lm ldap libnotify lm mad mca mce midi mikmod mmx mmxext mp3 mpeg msr mtrr mudflap multilib ncurses nls nptl nptlonly nx ogg opengl openmp pae pam pat pcre pdf perl pge png pni ppds pppd pse pse36 python qt3 qt3support qt4 quicktime rdtscp readline reflection rep_good samba sdl sep session spell spl sse sse2 ssl startup-notification svg svm syscall sysfs tcpd threads tiff truetype tsc unicode usb vim-syntax vme vorbis xml xorg xv zlib" ALSA_CARDS="ALC861 MCP55 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 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" CAMERAS="canon ptp2" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="zh_CN zh en" USERLAND="GNU" VIDEO_CARDS="ati radeon fglrx"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Gilles Dartiguelongue (RETIRED) gentoo-dev 2008-12-14 23:37:42 UTC
emerge -pv workrave and full build.log would be nice.
Comment 2 shigubuhua 2008-12-15 01:05:37 UTC
(In reply to comment #1)
> emerge -pv workrave and full build.log would be nice.
> 

emerge -pv workrave

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild     U ] app-misc/workrave-1.9.0 [1.8.5] USE="dbus nls xml -arts -debug -distribution -gnome -kde" 6,324 kB
Comment 3 shigubuhua 2008-12-15 01:14:27 UTC
Created attachment 175295 [details]
build.log

build.log
Comment 4 Gilles Dartiguelongue (RETIRED) gentoo-dev 2008-12-27 12:08:50 UTC
fixed without a bump, thanks for reporting.
Comment 5 Gilles Dartiguelongue (RETIRED) gentoo-dev 2008-12-27 12:09:01 UTC
fixed without a bump, thanks for reporting.