Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 129290 - nvclock 0.8b compile error with qt use flag
Summary: nvclock 0.8b compile error with qt use flag
Status: RESOLVED DUPLICATE of bug 114872
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-04-08 16:31 UTC by Devon Warren
Modified: 2006-04-09 03:01 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 Devon Warren 2006-04-08 16:31:00 UTC
When I emerge nvclock 0.8b with the gtk and qt use flags I get:

moc qt_nvclock.h -o qt_nvclock.moc.cpp
g++ -I/usr/qt/3/include -I../backend -c qt_nvclock.moc.cpp
qt_nvclock.moc.cpp:12:2: #error "The header file 'qt_nvclock.h' doesn't include <QObject>."
qt_nvclock.moc.cpp:40: error: `const QMetaObject CTabNVidia::staticMetaObject' is not a static member of `class CTabNVidia'
qt_nvclock.moc.cpp:40: error: variable `const QMetaObject CTabNVidia::staticMetaObject' has initializer but incomplete type
qt_nvclock.moc.cpp:46: error: prototype for `const QMetaObject* CTabNVidia::metaObject() const' does not match any in class `CTabNVidia'
qt_nvclock.h:28: error: candidate is: virtual QMetaObject* CTabNVidia::metaObject() const
qt_nvclock.moc.cpp:46: error: `const QMetaObject* CTabNVidia::metaObject() const' and `virtual QMetaObject* CTabNVidia::metaObject() const' cannot be overloaded
qt_nvclock.moc.cpp: In member function `const QMetaObject* CTabNVidia::metaObject() const':
qt_nvclock.moc.cpp:47: error: cannot convert `QMetaObject*(*)()' to `const QMetaObject*' in return
qt_nvclock.moc.cpp: At global scope:
qt_nvclock.moc.cpp:51: error: no `void* CTabNVidia::qt_metacast(const char*)' member function declared in class `CTabNVidia'
qt_nvclock.moc.cpp: In member function `void* CTabNVidia::qt_metacast(const char*)':
qt_nvclock.moc.cpp:55: error: `qt_metacast' is not a member of `QWidget'
qt_nvclock.moc.cpp: At global scope:
qt_nvclock.moc.cpp:58: error: `int CTabNVidia::qt_metacall' is not a static member of `class CTabNVidia'
qt_nvclock.moc.cpp:58: error: incomplete type `QMetaObject' used in nested name specifier
qt_nvclock.moc.cpp:58: error: expected primary-expression before "int"
qt_nvclock.moc.cpp:58: error: expected primary-expression before "void"
qt_nvclock.moc.cpp:59: error: initializer expression list treated as compound expression
qt_nvclock.moc.cpp:59: error: expected `,' or `;' before '{' token
make[2]: *** [qt_nvclock.moc] Error 1
make[2]: Leaving directory `/var/tmp/portage/nvclock-0.8b/work/nvclock0.8b/src/qt'
make[1]: *** [all-recursive] Error 2
make[1]: Leaving directory `/var/tmp/portage/nvclock-0.8b/work/nvclock0.8b/src'
make: *** [all] Error 2

!!! ERROR: media-video/nvclock-0.8b failed.
Call stack:
  ebuild.sh, line 1526:   Called dyn_compile
  ebuild.sh, line 923:   Called src_compile
  nvclock-0.8b.ebuild, line 36:   Called die

!!! (no error message)
!!! If you need support, post the topmost build error, and the call stack if relevant.


without the qt use flag it compiles fine. Heres my emerge --info:

Portage 2.1_pre7-r4 (default-linux/amd64/2006.0, gcc-3.4.6, glibc-2.4-r1, 2.6.15-gentoo-r5 x86_64)
=================================================================
System uname: 2.6.15-gentoo-r5 x86_64 AMD Athlon(tm) 64 Processor 3700+
Gentoo Base System version 1.12.0_pre17
dev-lang/python:     2.4.2-r1
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O3 -pipe -msse3"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /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/lib64/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config /var/qmail/control /var/service"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-march=k8 -O3 -pipe -msse3"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://mirror.isp.net.au/ftp/pub/gentoo/ ftp://mirror.isp.net.au/pub/gentoo/ ftp://ftp.ussg.iu.edu/pub/linux/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/local/xgl-coffee /usr/local/portage-r"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 3ds 7zip X X509 a52 aac aalib accessibility acpi aim aimextras aio akode allegro alsa amarok amd ao apache2 applet arts artswrappersuid artworkextra asf async atk atlas audiofile automount avi bash-completion bcmath bdf berkdb bitmap-fonts bittorrent bl blender-game bootsplash bzip2 c++ cairo calendar canvas cdda cdinstall cdio cdparanoia cdr cdrom cegui cg chroot clamav clamd clanJavaScript cli courier cpudetection cracklib crypt cscope css csv ctype cups curl curlwrappers custom-cflags cvs cvsgraph daap dar64 dba dbus dedicated devil dga dhcp diet dio dnd doc dri dvb dvd dvdr dvdread editor eds effects emboss emoticon emul-linux-x86 encode enscript esd ethereal examples exif expat exscalibar ext-png ext-zlib extensions extraicons extramodules extras fame fastbuild fat festival ffmpeg figlet firefox flac flash flood fluidsynth fmod font-server foomaticdb force-cgi-redirect fortran fpx freetts freetype ftp gcj gd gif gimp gimpprint gimpshop glep glibc glitz glut glx gmail gmailtimestamps gmp gnome-print gnomedb gnuplot gnutls google gpgme gphoto2 gpm gps graphviz gs gstreamer gtalk gtk gtk2 gtkhtml gzip h323 hal hddtemp hlapi hpn html http httpd icq id3 ifp image imagemagick imlib imlib2 inifile inkjar input_devices_keyboard input_devices_mouse input_devices_penmount ipod ipv6 isdnlog j2ee jabber jack-tmpfs java javascript jcs jikes john jp2 jpeg jpeg2k justify jython kcal kde kdeenablefinal kdepim kig-scripting kipi ladcca ladspa lame libcaca libclamav libsamplerate libtommath libvisual libwww lids lirc lite live lm_sensors logitech-mouse lzo lzw lzw-tiff mad mapeditor maps math mbrola mcal md5sum mem-cache memlimit menubar mew mikmod mime mimencode ming mixer mjpeg mng mod mod_python modplug mono moodbar motif mozdevelop mozilla mozsha1 mozsvg mp3 mp4 mp4live mpeg mpeg2 mpeg4 mpegts mpi mplayer msession musepack music musicbrainz mysql mythtv ncurses net network new-login nforce2 njb nls nntp nptl nptlonly nsplugin nspr ntfs ntlm numarray numeric nvidia oav ode offensive ogg oggvorbis ogm ogre ole on-the-fly-crypt openal openexr opengl openntpd openssh openssl osc oscache oscar oss paint_patch pam pango password pcapnav pci pcre pda pdf pdfkit pdflib perl php physfs pic player plib plotutils plugin png portaudio posix povray ppds pppd prelude priority pyste python qt qt4 quicktime rar rdesktop readline realms recode reiser4 reiserfs remix rplay rrdtool rsh rss rtc ruby sametime sample scanner sdk sdl sendfile sensord server session sftp shared shorten silvercity silverxp simplexml skins slp smime sms sndfile soap sockets sounds speech speedo speex spell spl spreadsheet sql sqlite sqlite3 ssl stats stencil-buffer stream subp subtitles subversion svg svgz switch_all_desktops syslog szip tcltk tcpd theora thesaurus thumbnail tidy tiff timidity tokenizer tomsfastmath toolbar tools transcode truetype truetype-fonts type1 type1-fonts udev uml unicode usb v4l v4l2 vcd vcdimager vchroot vfat vhosts video_cards_nv video_cards_nvidia videos virus-scan visualization vlm vnc voice vorbis wifi wma wma123 wmp wordperfect wv wxgtk1 wxwindows x11vnc x264 xanim xcomposite xface xine xml xml2 xmms xpm xprint xrandr xscreensaver xsl xslt xv xvid xvmc yahoo zip zlib elibc_glibc kernel_linux userland_GNU video_cards_v4l"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-04-09 03:01:39 UTC

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