Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 76099 - Undefined Type (Arts::ObjectReference) when Building Arts
Summary: Undefined Type (Arts::ObjectReference) when Building Arts
Status: RESOLVED DUPLICATE of bug 60641
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-12-29 18:04 UTC by AJ Armstrong
Modified: 2005-07-17 13:06 UTC (History)
0 users

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 AJ Armstrong 2004-12-29 18:04:16 UTC
kde-base/arts-1.3.2 fails to compile with:


In file included from ../mcop/core.h:6,
                 from helloserver.cc:26:
../mcop/common.h: In function `void Arts::writeObject(Arts::Buffer&, T*)':
../mcop/common.h:87: error: invalid use of undefined type `struct Arts::ObjectReference'
../mcop/dispatcher.h:48: error: forward declaration of `struct Arts::ObjectReference'
../mcop/common.h:93: error: invalid use of undefined type `struct Arts::ObjectReference'
../mcop/dispatcher.h:48: error: forward declaration of `struct Arts::ObjectReference'
../mcop/common.h:94: error: invalid use of undefined type `struct Arts::ObjectReference'
../mcop/dispatcher.h:48: error: forward declaration of `struct Arts::ObjectReference'
../mcop/common.h:95: error: invalid use of undefined type `struct Arts::ObjectReference'
../mcop/dispatcher.h:48: error: forward declaration of `struct Arts::ObjectReference'
../mcop/common.h: In function `void Arts::readObject(Arts::Buffer&, T*&)':
../mcop/common.h:103: error: invalid use of undefined type `struct Arts::ObjectReference'
../mcop/dispatcher.h:48: error: forward declaration of `struct Arts::ObjectReference'
make[2]: *** [helloserver.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/arts-1.3.2/work/arts-1.3.2/examples'
make[1]: *** [check-am] Error 2
make[1]: Leaving directory `/var/tmp/portage/arts-1.3.2/work/arts-1.3.2/examples'
make: *** [check-recursive] Error 1


Adding core.idl (where ObjectReference is declared) to mcop/common.h makes this error go away, but prompts a different one. 




Reproducible: Always
Steps to Reproduce:
1.emerge kde-base/arts-1.3.2




*****************
emerge info    
*****************
Portage 2.0.51-r3 (default-linux/x86/2004.3, gcc-3.4.3, glibc-2.3.4.20040808-r1,
2.6.10-rc2-mm2 i686)
=================================================================
System uname: 2.6.10-rc2-mm2 i686 Intel(R) Pentium(R) 4 CPU 2.40GHz
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.13,sys-devel/autoconf-2.59-r6
Automake:
sys-devel/automake-1.8.5-r2,sys-devel/automake-1.5,sys-devel/automake-1.6.3,sys-devel/automake-1.4_p6,sys-devel/automake-1.9.3,sys-devel/automake-1.7.9
Binutils: sys-devel/binutils-2.15.90.0.1.1-r3
Headers:  sys-kernel/linux26-headers-2.6.8.1-r1
Libtools: sys-devel/libtool-1.5.2-r7
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O -march=pentium4 -fprefetch-loop-arrays -ftracer -fweb
-frename-registers -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.2/share/config
/usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown
/usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref
/usr/share/config /usr/share/texmf/dvipdfm/config/
/usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/
/usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O -march=pentium4 -fprefetch-loop-arrays -ftracer -fweb
-frename-registers -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig candy ccache distlocks fixpackages gpg maketest
sandbox sfperms"
GENTOO_MIRRORS="http://mirrors.tds.net/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/etc/portage/overlay"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="x86 X Xaw3d aalib acl alsa apm arts avi berkdb bitmap-fonts bluetooth
bonobo cdr crypt cups directfb divx4linux dv dvd dvdr dvdread emacs emacs-w3
encode esd ethereal fam fame fbcon flac foomaticdb fortran freetype gdbm gif gpm
gtk gtk2 gtkhtml guile imagemagick imlib ipv6 java jpeg junit leim libwww live
lzo lzw mad mikmod mjpeg mmx motif mozilla mpeg ncurses nls odbc oggvorbis
opengl oss pam pcmcia pdflib perl png python qt quicktime radeon readline ruby
sdl slang spell ssl svga tcpd tetex theora tiff truetype usb v4l xml xml2 xmms
xv xvid zlib"
Comment 1 AJ Armstrong 2004-12-29 19:16:40 UTC
A note from Gradaz in the forums:

http://forums.gentoo.org/viewtopic.php?t=256430

Indicates that this is a problem with the "maketest" FEATURE being enabled.  Disabling it makes the error go away.

Circular dependancy issue?
Comment 2 Gregorio Guidi (RETIRED) gentoo-dev 2004-12-30 03:01:50 UTC

*** This bug has been marked as a duplicate of 60641 ***