Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 96201 - can't emerge tuxcards with qt-4 installed
Summary: can't emerge tuxcards with qt-4 installed
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All All
: High minor (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-06-15 11:54 UTC by Christian Hesse
Modified: 2005-06-16 09:52 UTC (History)
1 user (show)

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 Christian Hesse 2005-06-15 11:54:26 UTC
I tried to emerge tuxcards, but it tries to use my installed qt-4 to build... 
Bad idea. :)

Reproducible: Always
Steps to Reproduce:
1. emerge tuxcards
Actual Results:  
root@logo:~# emerge tuxcards
Calculating dependencies ...done!
>>> emerge (1 of 1) app-text/tuxcards-1.2 to /
>>> md5 files   ;-) tuxcards-1.1.ebuild
>>> md5 files   ;-) tuxcards-1.2.ebuild
>>> md5 files   ;-) files/digest-tuxcards-1.1
>>> md5 files   ;-) files/digest-tuxcards-1.2
>>> md5 src_uri ;-) tuxcards-1.2.tar.gz
>>> Unpacking source...
>>> Unpacking tuxcards-1.2.tar.gz to /mnt/data/tmp/portage/tuxcards-1.2/work
>>> Source unpacked.
Project MESSAGE: Configuring for multi-threaded Qt...
g++ -c -pipe -Os -march=pentium-m -pipe -D_REENTRANT -Wall -W -DQT_NO_DEBUG -
DQT_CORE_LIB -DQT_GUI_LIB -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/
qt4/QtGui -I/usr/include/qt4/QtCore -I/usr/include/qt4 -Ioutput/moc -o output/
bin/cactus.o src/gui/cactusbar/cactus.cpp
g++ -c -pipe -Os -march=pentium-m -pipe -D_REENTRANT -Wall -W -DQT_NO_DEBUG -
DQT_CORE_LIB -DQT_GUI_LIB -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/
qt4/QtGui -I/usr/include/qt4/QtCore -I/usr/include/qt4 -Ioutput/moc -o output/
bin/informationformat.o src/information/informationformat.cpp
In file included from src/gui/cactusbar/cactus.h:21,
                 from src/gui/cactusbar/cactus.cpp:47:
src/gui/cactusbar/cactusshoot.h:27:22: qptrlist.h: No such file or directory
In file included from src/gui/cactusbar/cactus.h:21,
                 from src/gui/cactusbar/cactus.cpp:47:
src/gui/cactusbar/cactusshoot.h:41: error: ISO C++ forbids declaration of 
`QPtrList' with no type
src/gui/cactusbar/cactusshoot.h:41: error: expected `;' before '<' token
In file included from src/gui/cactusbar/cactus.h:22,
                 from src/gui/cactusbar/cactus.cpp:47:
src/gui/cactusbar/imagemanager.h:34: error: ISO C++ forbids declaration of 
`QPtrList' with no type
src/gui/cactusbar/imagemanager.h:34: error: expected `;' before '<' token
In file included from src/gui/cactusbar/CCactusBar.h:21,
                 from src/gui/cactusbar/cactus.cpp:49:
src/gui/cactusbar/../colorbar/CColorBar.h:33: error: `white' was not declared in 
this scope
src/gui/cactusbar/cactus.cpp: In member function `void Cactus::run()':
src/gui/cactusbar/cactus.cpp:109: error: no matching function for call to 
`QTimer::start(const int&, bool)'
/usr/include/qt4/QtCore/qtimer.h:62: note: candidates are: void QTimer::
start(int)
/usr/include/qt4/QtCore/qtimer.h:64: note:                 void QTimer::start()
src/gui/cactusbar/cactus.cpp: In member function `void Cactus::simulate()':
src/gui/cactusbar/cactus.cpp:212: error: 'class QTimer' has no member named 
'changeInterval'
src/information/informationformat.cpp: In member function `QPixmap 
InformationFormat::getPixmap()':
src/information/informationformat.cpp:63: error: 'class QPixmap' has no member 
named 'convertFromImage'
make: *** [output/bin/cactus.o] Error 1
make: *** Waiting for unfinished jobs....
make: *** [output/bin/informationformat.o] Error 1

!!! ERROR: app-text/tuxcards-1.2 failed.
!!! Function src_compile, Line 32, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.

Expected Results:  
emerge should finish without errors.

Portage 2.0.51.22-r1 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r0, 2.6.
12-rc6+ i686)
=================================================================
System uname: 2.6.12-rc6+ i686 Intel(R) Pentium(R) M processor 1400MHz
Gentoo Base System version 1.6.12
ccache version 2.4 [disabled]
dev-lang/python:     2.4.1
sys-apps/sandbox:    1.2.9
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.5
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.18
virtual/os-headers:  2.6.11-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-Os -march=pentium-m -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/
share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /
usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/env.d"
CXXFLAGS="-Os -march=pentium-m -pipe"
DISTDIR="/mnt/data/distfiles"
FEATURES="autoconfig confcache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ ftp://sunsite.
informatik.rwth-aachen.de/pub/Linux/gentoo http://linux.rz.ruhr-uni-bochum.de/
download/gentoo-mirror/ ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ http://
ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp.uni-erlangen.de/pub/mirrors/
gentoo ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo ftp://ftp.
wh2.tu-dresden.de/pub/mirrors/gentoo ftp://ftp.join.uni-muenster.de/pub/linux/
distributions/gentoo ftp://ftp6.uni-muenster.de/pub/linux/distributions/gentoo 
http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://ftp-stud.fht-
esslingen.de/pub/Mirrors/gentoo/ ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/
gentoo/ ftp://ftp.gentoo.mesh-solutions.com/gentoo/"
LANG="en_US"
MAKEOPTS="-j 2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/mnt/data/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage_overlay"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 7zip X a52 aac aalib acpi alsa apache2 audiofile avi berkdb bidi 
bitmap-fonts cddb cdparanoia cdr crypt cups curl dga divx4linux dpms dts dv dvb 
dvd dvdread emboss encode extensions fam fame fbcon fbsplash ffmpeg flac 
foomaticdb fping gdbm gif glitz gnutls gtk gtk2 hal ieee1394 imagemagick imlib 
imlib2 ipv6 java javascript jpeg jpeg2k kde kdeenablefinal kqemu libcaca libg++ 
libwww live lzo mad matroska mikmod mmx mmx2 mmxext mng motif mozsvg mp3 mpeg 
mplayer mysql mythtv ncurses network nls nptl nptlonly nvidia odbc ogg oggvorbis 
opengl pam pcre pdflib perl pic png pthreads python qt quicktime rdesktop 
readline real rtc samba sasl sdl slang smime softmmu spell sqlite sse sse2 ssl 
subtitles svg tcltk tcpd tga theora threads tiff truetype truetype-fonts type1-
fonts unicode usb userlocales v4l v4l2 vcd vidix vorbis win32codecs wmf xanim 
xine xml xml2 xmms xv xvid xvmc zeroconf zlib userland_GNU kernel_linux 
elibc_glibc"
Unset:  ASFLAGS, CTARGET, LC_ALL, LDFLAGS, LINGUAS
Comment 1 Andrej Kacian (RETIRED) gentoo-dev 2005-06-16 01:10:13 UTC
Well, I'll change the dependencies to require qt3 for now, and I'll try
contacting upstream about qt4. There hasn't been much activity upstream for
quite some time though...
Comment 2 Caleb Tennis (RETIRED) gentoo-dev 2005-06-16 05:28:51 UTC
What is your QTDIR set as? 
Comment 3 Christian Hesse 2005-06-16 06:35:51 UTC
eworm@logo:~$ echo $QTDIR
/usr/qt/3
Comment 4 Caleb Tennis (RETIRED) gentoo-dev 2005-06-16 06:42:23 UTC
Does it help if you change in the ebuild: 
 
'qmake tuxcards.pro' 
 
to 
 
'$QTDIR/bin/qmake tuxcards.pro' 
 
? 
Comment 5 Andrej Kacian (RETIRED) gentoo-dev 2005-06-16 08:15:15 UTC
I have fixed the dependencies to require qt3 explicitly, and made it to use
qt3's qmake (by using full path to it). KDE team, please advise if this is the
correct(tm) way, and reopen if needed.

Christian, please resync in few hours and try the new ebuild. Reopen if this is
still not fixed. It builds with qt3 on my box with qt4 also installed though, so
there shouldn't be any problem.

Oh, and thanks for reporting. :)
Comment 6 Christian Hesse 2005-06-16 09:52:47 UTC
Looks good. Thanks!