Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 121869 - media-gfx/k3d-0.5.0.34 compilation problem
Summary: media-gfx/k3d-0.5.0.34 compilation problem
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Graphics Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-02-06 13:07 UTC by Greisberger Christophe
Modified: 2006-02-08 11:58 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 Greisberger Christophe 2006-02-06 13:07:06 UTC
I'm re-emerging my system, after having installed QT4, to check if there are packages that have problems with it.
This problem could eventually be a QT4 problem, but I'm not sure since there is a "-I/usr/qt/3/include/" on the command line.

-----8<-----
 i686-pc-linux-gnu-g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"k3d\" -DVERSION=\"0.5.0.34\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_ALLOCA_H=1 -DHAVE_ALLOCA=1 -DHAVE_STDLIB_H=1 -DHAVE_UNISTD_H=1 -DHAVE_GETPAGESIZE=1 -DHAVE_MMAP=1 -DINTDIV0_RAISES_SIGFPE=1 -DHAVE_INTTYPES_H_WITH_UINTMAX=1 -DHAVE_STDINT_H_WITH_UINTMAX=1 -DHAVE_UNSIGNED_LONG_LONG=1 -DHAVE_UINTMAX_T=1 -DHAVE_INTTYPES_H=1 -DHAVE_ARGZ_H=1 -DHAVE_LIMITS_H=1 -DHAVE_LOCALE_H=1 -DHAVE_NL_TYPES_H=1 -DHAVE_MALLOC_H=1 -DHAVE_STDDEF_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_FEOF_UNLOCKED=1 -DHAVE_FGETS_UNLOCKED=1 -DHAVE_GETC_UNLOCKED=1 -DHAVE_GETCWD=1 -DHAVE_GETEGID=1 -DHAVE_GETEUID=1 -DHAVE_GETGID=1 -DHAVE_GETUID=1 -DHAVE_MEMPCPY=1 -DHAVE_MUNMAP=1 -DHAVE_PUTENV=1 -DHAVE_SETENV=1 -DHAVE_SETLOCALE=1 -DHAVE_STPCPY=1 -DHAVE_STRCASECMP=1 -DHAVE_STRDUP=1 -DHAVE_STRTOUL=1 -DHAVE_TSEARCH=1 -DHAVE___ARGZ_COUNT=1 -DHAVE___ARGZ_STRINGIFY=1 -DHAVE___ARGZ_NEXT=1 -DHAVE___FSETLOCKING=1 -DHAVE_ICONV=1 -DICONV_CONST= -DHAVE_LANGINFO_CODESET=1 -DHAVE_LC_MESSAGES=1 -DENABLE_NLS=1 -DHAVE_GETTEXT=1 -DHAVE_DCGETTEXT=1 -DHAVE_DLFCN_H=1 -DSIZEOF_VOIDP=4 -DK3D_PLATFORM_POSIX=1 -DK3D_HAVE_X86=1 -DHAVE_VA_COPY=1 -DVA_COPY=va_copy -DHAPY_HAVE_NUMERIC_LIMITS=1 -DHAPY_HAVE_STD_ITERATOR_TYPE=1 -DK3D_HAVE_EXPAT=1 -DK3D_HAVE_SVG_ICONS=1 -I. -I. -I.. -I.. -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -DK3D_HAVE_SIGC_2_0 -I/usr/qt/3/include/ -Wall -Wno-ctor-dtor-privacy -mtune=athlon-xp -O2 -pipe -fforce-addr -fomit-frame-pointer -fprefetch-loop-arrays -funroll-loops -frerun-cse-after-loop -frerun-loop-opt -falign-functions=4 -mmmx -m3dnow -msse -mfpmath=sse -MT user_interface.lo -MD -MP -MF .deps/user_interface.Tpo -c user_interface.cpp  -fPIC -DPIC -o .libs/user_interface.o
In file included from user_interface.cpp:534:
user_interface.moc:11:2: #error "The header file 'user_interface.cpp' doesn't include <QObject>."
In file included from user_interface.cpp:534:
user_interface.moc:38: error: `const QMetaObject libk3dqtui::timer_helper::staticMetaObject' is not a static member of `class libk3dqtui::timer_helper'
user_interface.moc:38: error: variable `const QMetaObject libk3dqtui::timer_helper::staticMetaObject' has initializer but incomplete type
user_interface.moc:44: error: prototype for `const QMetaObject* libk3dqtui::timer_helper::metaObject() const' does not match any in class `libk3dqtui::timer_helper'
user_interface.cpp:70: error: candidate is: virtual QMetaObject* libk3dqtui::timer_helper::metaObject() const
user_interface.moc:44: error: `const QMetaObject* libk3dqtui::timer_helper::metaObject() const' and `virtual QMetaObject* libk3dqtui::timer_helper::metaObject() const' cannot be overloaded
user_interface.moc: In member function `const QMetaObject* libk3dqtui::timer_helper::metaObject() const':
user_interface.moc:45: error: cannot convert `QMetaObject*(*)()' to `const QMetaObject*' in return
user_interface.moc: At global scope:
user_interface.moc:49: error: no `void* libk3dqtui::timer_helper::qt_metacast(const char*)' member function declared in class `libk3dqtui::timer_helper'
user_interface.moc: In member function `void* libk3dqtui::timer_helper::qt_metacast(const char*)':
user_interface.moc:53: error: `qt_metacast' is not a member of `QObject'
user_interface.moc: At global scope:
user_interface.moc:56: error: `int libk3dqtui::timer_helper::qt_metacall' is not a static member of `class libk3dqtui::timer_helper'
user_interface.moc:56: error: incomplete type `QMetaObject' used in nested name specifier
user_interface.moc:56: error: expected primary-expression before "int"
user_interface.moc:56: error: expected primary-expression before "void"
user_interface.moc:57: error: initializer expression list treated as compound expression
user_interface.moc:57: error: expected `,' or `;' before '{' token
user_interface.moc:91: error: `const QMetaObject libk3dqtui::viewport::staticMetaObject' is not a static member of `class libk3dqtui::viewport'
user_interface.moc:91: error: variable `const QMetaObject libk3dqtui::viewport::staticMetaObject' has initializer but incomplete type
user_interface.moc:97: error: prototype for `const QMetaObject* libk3dqtui::viewport::metaObject() const' does not match any in class `libk3dqtui::viewport'
user_interface.cpp:98: error: candidate is: virtual QMetaObject* libk3dqtui::viewport::metaObject() const
user_interface.moc:97: error: `const QMetaObject* libk3dqtui::viewport::metaObject() const' and `virtual QMetaObject* libk3dqtui::viewport::metaObject() const' cannot be overloaded
user_interface.moc: In member function `const QMetaObject* libk3dqtui::viewport::metaObject() const':
user_interface.moc:98: error: cannot convert `QMetaObject*(*)()' to `const QMetaObject*' in return
user_interface.moc: At global scope:
user_interface.moc:102: error: no `void* libk3dqtui::viewport::qt_metacast(const char*)' member function declared in class `libk3dqtui::viewport'
user_interface.moc: In member function `void* libk3dqtui::viewport::qt_metacast(const char*)':
user_interface.moc:106: error: `qt_metacast' is not a member of `QGLWidget'
user_interface.moc: At global scope:
user_interface.moc:109: error: `int libk3dqtui::viewport::qt_metacall' is not a static member of `class libk3dqtui::viewport'
user_interface.moc:109: error: incomplete type `QMetaObject' used in nested name specifier
user_interface.moc:109: error: expected primary-expression before "int"
user_interface.moc:109: error: expected primary-expression before "void"
user_interface.moc:110: error: initializer expression list treated as compound expression
user_interface.moc:110: error: expected `,' or `;' before '{' token
user_interface.moc:151: error: `const QMetaObject libk3dqtui::main_window::staticMetaObject' is not a static member of `class libk3dqtui::main_window'
user_interface.moc:151: error: variable `const QMetaObject libk3dqtui::main_window::staticMetaObject' has initializer but incomplete type
user_interface.moc:157: error: prototype for `const QMetaObject* libk3dqtui::main_window::metaObject() const' does not match any in class `libk3dqtui::main_window'
user_interface.cpp:216: error: candidate is: virtual QMetaObject* libk3dqtui::main_window::metaObject() const
user_interface.moc:157: error: `const QMetaObject* libk3dqtui::main_window::metaObject() const' and `virtual QMetaObject* libk3dqtui::main_window::metaObject() const' cannot be overloaded
user_interface.moc: In member function `const QMetaObject* libk3dqtui::main_window::metaObject() const':
user_interface.moc:158: error: cannot convert `QMetaObject*(*)()' to `const QMetaObject*' in return
user_interface.moc: At global scope:
user_interface.moc:162: error: no `void* libk3dqtui::main_window::qt_metacast(const char*)' member function declared in class `libk3dqtui::main_window'
user_interface.moc: In member function `void* libk3dqtui::main_window::qt_metacast(const char*)':
user_interface.moc:166: error: `qt_metacast' is not a member of `QMainWindow'
user_interface.moc: At global scope:
user_interface.moc:169: error: `int libk3dqtui::main_window::qt_metacall' is not a static member of `class libk3dqtui::main_window'
user_interface.moc:169: error: incomplete type `QMetaObject' used in nested name specifier
user_interface.moc:169: error: expected primary-expression before "int"
user_interface.moc:169: error: expected primary-expression before "void"
user_interface.moc:170: error: initializer expression list treated as compound expression
user_interface.moc:170: error: expected `,' or `;' before '{' token
user_interface.moc: In member function `void libk3dqtui::main_window::camera_changed(k3d::icamera*)':
user_interface.moc:191: error: incomplete type `QMetaObject' used in nested name specifier
user_interface.moc: In member function `void libk3dqtui::main_window::render_engine_changed(k3d::gl::irender_engine*)':
user_interface.moc:198: error: incomplete type `QMetaObject' used in nested name specifier
make[2]: *** [user_interface.lo] Error 1
make[2]: Leaving directory `/var/tmp/portage/k3d-0.5.0.34/work/k3d-0.5.0.34/qtui'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/var/tmp/portage/k3d-0.5.0.34/work/k3d-0.5.0.34/qtui'
make: *** [all-recursive] Error 1

!!! ERROR: media-gfx/k3d-0.5.0.34 failed.
!!! Function src_compile, Line 62, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.


-----8<-----
# emerge --info
Portage 2.0.54 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r2, 2.6.15-gentoo-r1 i686)
=================================================================
System uname: 2.6.15-gentoo-r1 i686 AMD Athlon(tm) XP 2800+
Gentoo Base System version 1.12.0_pre15
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [disabled]
dev-lang/python:     2.3.5-r2, 2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-mtune=athlon-xp -O2 -pipe -fforce-addr -fomit-frame-pointer -fprefetch-loop-arrays -funroll-loops -frerun-cse-after-loop -frerun-loop-opt -falign-functions=4 -mmmx -m3dnow -msse -mfpmath=sse"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /opt/openjms/config /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/fax /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/bind /var/qmail/control /var/spool/fax/etc"
CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/env.d"
CXXFLAGS="-mtune=athlon-xp -O2 -pipe -fforce-addr -fomit-frame-pointer -fprefetch-loop-arrays -funroll-loops -frerun-cse-after-loop -frerun-loop-opt -falign-functions=4 -mmmx -m3dnow -msse -mfpmath=sse"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp.lug.ro/gentoo/ http://gentoo.blueyonder.co.uk http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ http://ftp.du.se/pub/os/gentoo"
LANG="en_US.UTF-8"
LINGUAS="fr en de ar hu jp ro ru sp"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 3dnow X Xaw3d a52 aac aalib acl acpi adns aim alsa apache2 apm arts audiofile avi bash-completion bcmath berkdb bidi bitmap-fonts blas bluetooth bmp bzip2 calendar canna caps cdb cdinstall cdparanoia cdr chasen cjk clamav crypt cscope ctype cups curl curlwrappers dba dbm dbus dbx dga dio directfb doc dri dts dv dvb dvd dvdr dvdread emboss encode ethereal evo examples exif expat fam fastcgi fbcon fdftk ffmpeg fftw flac flash flatfile foomaticdb fortran freewnn ftp gcj gd gdbm geoip ggi gif ginac glut gmp gnome gnutls gphoto2 gstreamer gtk gtk2 gtkhtml guile hal howl iconv icq idn ieee1394 imagemagick imap imlib inifile innodb iodbc ipv6 jack java javascript jikes joystick jpeg jpeg2k junit kde kdexdeltas kerberos ladcca lapack lcms ldap lesstif libcaca libgda libwww lirc lm_sensors lua m17n-lib mad maildir matroska mbox mcal memlimit mhash migemo mikmod mime ming mmap mmx mng mnogosearch mozilla mp3 mpeg msession msn mysql mysqli nas ncurses neXt netboot netcdf nls nocd nptl nsplugin odbc offensive ofx ogg oggvorbis openal opengl osc oscar pam pcntl pcre pda pdf pdflib perl php pic plotutils png portaudio posix ppds prelude profile python qt quicktime readline recode ruby samba sasl scanner sdl session sharedext sharedmem shorten simplexml skey slang slp sndfile soap sockets socks5 source sox speex spell spl sqlite sqlite3 sse ssl svg svga sysvipc szip tcltk tcpd tetex theora threads tidy tiff tokenizer truetype truetype-fonts type1-fonts udev unicode usb utf8 v4l vcd vhosts videos vorbis wddx wifi win32codecs wmf wxwindows xface xine xinerama xml xml2 xmms xosd xpm xprint xsl xv xvid yahoo zlib video_cards_nvidia linguas_fr linguas_en linguas_de linguas_ar linguas_hu linguas_jp linguas_ro linguas_ru linguas_sp userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LC_ALL, LDFLAGS
Comment 1 Marcelo Goes (RETIRED) gentoo-dev 2006-02-06 14:18:14 UTC
Yes, it is a qt problem. I had already run into this (which is why I added =x11-libs/qt-3* to k3d's dependencies). If both qt-3 and qt-4 are installed, however, it will try to compile against qt-4 and fail horribly.

Can you fix this/report this upstream?
Comment 2 Greisberger Christophe 2006-02-07 10:09:27 UTC
Errrr. I don't know how to fix that.
Comment 3 Timothy M. Shead 2006-02-07 21:07:03 UTC
This is fixed in K-3D CVS.

A few points of which you should be aware:

* K-3D's Qt plugin is a toy to demonstrate creating an alternate UI.  K-3D's gtkmm plugin is the main UI, and the only one that can be used to do useful work.  You would be completely justified in leaving Qt out of this ebuild altogether.

* The javascript use flag for this ebuild is obsolete and unused - K-3D no longer includes a JavaScript plugin.

Cheers,
Tim Shead
Comment 4 Marcelo Goes (RETIRED) gentoo-dev 2006-02-08 11:58:09 UTC
Thanks Timothy, qt and javascript will be removed from options in new ebuilds.