Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 200075 - games-board/mahjongg3d-0.96 tries to compile against QT4
Summary: games-board/mahjongg3d-0.96 tries to compile against QT4
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-11-23 13:08 UTC by Pacho Ramos
Modified: 2007-11-27 16:51 UTC (History)
0 users

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


Attachments
output (output,3.16 KB, text/plain)
2007-11-26 12:14 UTC, Pacho Ramos
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Pacho Ramos gentoo-dev 2007-11-23 13:08:03 UTC
I have tried to re-emerge this, but I get:

cd src/ && /usr/bin/qmake src.pro -unix QMAKE=/usr/qt/3/bin/qmake -o Makefile
uic: File generated with too old version of Qt Designer
uic: File generated with too old version of Qt Designer
uic: File generated with too old version of Qt Designer
uic: File generated with too old version of Qt Designer
uic: File generated with too old version of Qt Designer
uic: File generated with too old version of Qt Designer
uic: File generated with too old version of Qt Designer
cd src/ && make -f Makefile 
make[1]: se ingresa al directorio `/var/tmp/portage/games-board/mahjongg3d-0.96/work/mahjongg3d.release/src'
/usr/bin/uic MainDialogBase.ui -o ui_MainDialogBase.h
uic: File generated with too old version of Qt Designer
File 'MainDialogBase.ui' is not valid
make[1]: *** [ui_MainDialogBase.h] Error 1
make[1]: se sale del directorio `/var/tmp/portage/games-board/mahjongg3d-0.96/work/mahjongg3d.release/src'
make: *** [sub-src-make_default] Error 2

My emerge --info:
Portage 2.1.3.19 (default-linux/x86/2007.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.23-gentoo-r1 i686)
=================================================================
System uname: 2.6.23-gentoo-r1 i686 Genuine Intel(R) CPU T2300 @ 1.66GHz
Timestamp of tree: Fri, 23 Nov 2007 07:46:02 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p17
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r6
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.9-r2
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.22-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium-m -pipe -fomit-frame-pointer -mfpmath=sse -msse3"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=pentium-m -pipe -fomit-frame-pointer -mfpmath=sse -msse3"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks fixpackages metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirror.ovh.net/gentoo-distfiles/ "
LANG="es_ES.UTF-8"
LC_ALL="es_ES.UTF-8"
LINGUAS="es es_ES en_US"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/sunrise /usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi aim alsa ape asf audiofile avahi avi bash-completion bcmath beagle bitmap-fonts bonobo bzip2 bzlib cairo caps cdb cddb cdparanoia cdr cdrparanoia cli cpdflib cracklib cross crypt css cups curl curlwrappers daap dbus divx4linux djvu dts dv dvb dvd dvdr dvdread eds emerald encode escreen evo exif fam fbcon ffmpeg firefox flac foomaticdb fortran ftp galago gb gcj gd gif gimp gimpprint glitz glut glx gmp gnome gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile hal hddtemp iconv imagemagick imlib ipv6 isdnlog jabber jack java jikes jpeg kde kdeenablefinal kdehiddenvisibility latex lcms lesstif libnotify lm_sensors logrotate mac mad mbox midi mikmod mime ming mmap mmx mmxext mng modplug mono motif mp3 mpeg mpi mplayer mudflap musepack musicbrainz nas ncurses nethack nls nocd nptl nptlonly nsplugin ntfs nvidia ogg oggvorbis openal opengl openmp opnegl pam pcmcia pcre pdf pdflib perl pic png pnp posix ppds pppd python qt qt3 qt4 quicktime readline real reflection reiserfs rpm rtc ruby scanner sdl seamonkey session slang slp smp sndfile sockets socks5 speex spell spl sse sse2 sse3 ssl startup-notification svg syslog tcltk tcpd tetex tga theora threads tiff timidity tk truetype truetype-fonts trusted type1-fonts unicode usb userlocales v4l v4l2 vcd videos vim vorbis wifi win32codecs wma wmf wxwindows x86 xattr xcomposite xine xml xorg xpm xv xvid zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" DVB_CARDS=" " ELIBC="glibc" INPUT_DEVICES="keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="es es_ES en_US" USERLAND="GNU" VIDEO_CARDS="nvidia nv vesa fbdev"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS


Reproducible: Always
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-11-23 14:34:03 UTC
This is plain broken, missing inherit qt3 so the DEPEND is borked, plus should use eqmake3.
Comment 2 Mr. Bones. (RETIRED) gentoo-dev 2007-11-23 18:54:19 UTC
fixed.  thanks for the bug report.
Comment 3 Pacho Ramos gentoo-dev 2007-11-25 16:01:35 UTC
I am still getting exactly the same error. I have checked Changelog in my local overlay and I am using updated ebuild version with:
src_compile() {
        eqmake3 mahjongg3d.pro
        kde_src_compile none
        emake || die "emake failed"
}
Comment 4 Mr. Bones. (RETIRED) gentoo-dev 2007-11-25 17:17:23 UTC
It's a local problem.  Builds fine for me with both qt3 and qt4 installed on a stable x86 system.
Comment 5 Pacho Ramos gentoo-dev 2007-11-25 18:38:17 UTC
I am trying to merge it with USE="-arts -debug -xinerama"

Maybe the problem would be related with this :-/

Do you think re-emerging both qt versions could help a bit?

Thanks
Comment 6 Mr. Bones. (RETIRED) gentoo-dev 2007-11-25 22:48:53 UTC
do this:

emerge -v games-board/mahjongg3d &> /tmp/output

 and attach /tmp/output as text/plain.

Maybe something in the output will show up as interesting.
Comment 7 Pacho Ramos gentoo-dev 2007-11-26 12:14:03 UTC
Created attachment 137037 [details]
output

Thanks :-)
Comment 8 Mr. Bones. (RETIRED) gentoo-dev 2007-11-26 18:31:13 UTC
/usr/bin/qmake is totally wrong.  Take your overlay out of the equation.  I think you have old files lying around or something or maybe you have QTDIR set yourself (which would also be wrong).  Try remerging qt3 as well.
Comment 9 Pacho Ramos gentoo-dev 2007-11-27 14:36:48 UTC
(In reply to comment #8)
> /usr/bin/qmake is totally wrong.  Take your overlay out of the equation.  I
> think you have old files lying around or something or maybe you have QTDIR set
> yourself (which would also be wrong).  Try remerging qt3 as well.
> 

It was a overlay fault (it was still using old ebuild)

Sorry a lot :'(, I thought that I removed ebuild from my overlay, but seems that I finally didn't do that :-(

Sorry for the lost time on this
Comment 10 Mr. Bones. (RETIRED) gentoo-dev 2007-11-27 16:51:47 UTC
no problem.  glad it's working for you now.