Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 115404 - games-board/qgo-1.0.3 don't compile
Summary: games-board/qgo-1.0.3 don't compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-12-13 03:35 UTC by Nickolay Kolchin-Semyonov
Modified: 2006-09-20 11:40 UTC (History)
1 user (show)

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


Attachments
corrects the offending line in mainwidget_gui.ui (qgo-1.0.4.2-mainwidget_gui.ui.patch,428 bytes, patch)
2006-06-29 15:19 UTC, Carsten Klaucke
Details | Diff
adapted ebuild to process the qgo-1.0.4.2-mainwidget_gui.ui.patch (qgo-1.0.4.2.ebuild,716 bytes, text/plain)
2006-06-29 15:23 UTC, Carsten Klaucke
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Nickolay Kolchin-Semyonov 2005-12-13 03:35:56 UTC
/usr/qt/3/bin/moc mainwidget_gui.h -o mainwidget_gui.moc 
rm -f mainwidget_gui.cpp 
/usr/qt/3/bin/uic -L @kde_widgetdir@ -nounload -i 
mainwidget_gui.h ./mainwidget_gui.ui > mainwidget_gui.cpp || rm -f 
mainwidget_gui.cpp 
echo '#include "mainwidget_gui.moc"' >> mainwidget_gui.cpp 
source='mainwidget_gui.cpp' object='mainwidget_gui.o' libtool=no \ 
depfile='.deps/mainwidget_gui.Po' tmpdepfile='.deps/mainwidget_gui.TPo' \ 
depmode=gcc3 /bin/sh ../admin/depcomp \ 
i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/qt/3/include -I.  
-DQT_THREAD_SUPPORT  -D_REENTRANT  -march=athlon-xp -msse -mfpmath=sse -mmmx 
-m3dnow -fomit-frame-pointer -ffast-math -funroll-loops -pipe -ftracer 
-funit-at-a-time -fno-exceptions -fno-check-new  -c -o mainwidget_gui.o `test 
-f 'mainwidget_gui.cpp' || echo './'`mainwidget_gui.cpp 
mainwidget_gui.cpp:29:25: normaltools.h: No such file or directory 
make[3]: *** [mainwidget_gui.o] Error 1 
make[3]: Leaving directory 
`/mnt/oktet/tmp/portage/qgo-1.0.3/work/qgo-1.0.3/src' 
make[2]: *** [all-recursive] Error 1 
make[2]: Leaving directory 
`/mnt/oktet/tmp/portage/qgo-1.0.3/work/qgo-1.0.3/src' 
make[1]: *** [all-recursive] Error 1 
make[1]: Leaving directory `/mnt/oktet/tmp/portage/qgo-1.0.3/work/qgo-1.0.3' 
make: *** [all] Error 2 
 

Reproducible: Always
Steps to Reproduce:
emerge -v =qgo-1.0.3 
 
Actual Results:  
compile error  

Expected Results:  
correct compilation  

(Please, ignore my CFLAGS --- they are have no relation to this bug) 
 
Portage 2.0.53 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.6-r0, 
2.6.14-gentoo-r2 i686) 
================================================================= 
System uname: 2.6.14-gentoo-r2 i686 AMD Athlon(tm) XP 2500+ 
Gentoo Base System version 1.12.0_pre11 
ccache version 2.4 [disabled] 
dev-lang/python:     2.3.5, 2.4.2 
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-r1 
sys-devel/binutils:  2.16.1-r1 
sys-devel/libtool:   1.5.20-r1 
virtual/os-headers:  2.6.11-r3 
ACCEPT_KEYWORDS="x86 ~x86" 
AUTOCLEAN="yes" 
CBUILD="i686-pc-linux-gnu" 
CFLAGS="-O3 -march=athlon-xp -msse -mfpmath=sse -mmmx -m3dnow 
-fomit-frame-pointer -ffast-math -funroll-loops -pipe -ftracer 
-funit-at-a-time" 
CHOST="i686-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/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d" 
CXXFLAGS="-O3 -march=athlon-xp -msse -mfpmath=sse -mmmx -m3dnow 
-fomit-frame-pointer -ffast-math -funroll-loops -pipe -ftracer 
-funit-at-a-time" 
DISTDIR="/mnt/oktet/tmp/distfiles" 
FEATURES="autoconfig distlocks sandbox sfperms strict" 
GENTOO_MIRRORS="http://distfiles.gentoo.org 
http://distro.ibiblio.org/pub/linux/distributions/gentoo" 
LANG="en_US.UTF-8" 
LC_ALL="en_US.UTF-8" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/mnt/oktet/tmp" 
PORTDIR="/usr/portage" 
PORTDIR_OVERLAY="/usr/local/portage" 
SYNC="rsync://rsync.gentoo.org/gentoo-portage" 
USE="x86 3dnow 7zip X aac aalib acl adns alsa apache2 apm arts artswrappersuid 
audiofile avi bash-completion berkdb bitmap-fonts blas browserplugin bzip2 
cairo cdr crypt cscope css cups curl dbus dga doc dts dvd dvdr dynagraph eds 
emacs emboss encode esd ethereal evo exif expat fam ffmpeg firebird firefox 
flac font-server foomaticdb fortran gd gdbm gif gimpprint ginac glibc-omitfp 
glitz glut gmp gnome gphoto2 gpm graphviz gstreamer gtk gtk2 guile hal howl 
idea idn imagemagick imlib innodb ipv6 ithreads java javascript jce joystick 
jpeg jpeg2k junit kcal kde kdeenablefinal ladspa lcms ldap libcaca libg++ 
libgda libsamplerate libwww lua lzw-tiff mad matroska mcal mhash mikmod ming 
mmx mng motif mozcalendar mozdevelop mozilla mozsvg mozxmlterm mp3 mpeg mysql 
nas ncurses nls nntp no-old-linux nptl nsplugin ocaml offensive ogg oggvorbis 
openal openexr opengl pam pcre pdflib perl pic plotutils png postgres povray 
python qhull qt quicktime rdesktop readline recode rrdtool ruby samba scanner 
sdk sdl slang sndfile speex spell sqlite sse ssl subversion svg tcltk tcpd 
tetex theora threads tidy tiff truetype truetype-fonts type1-fonts udev unicode 
usb utf8 v4l vdesktop visualization vorbis wifi win32codecs wmf xine xml xml2 
xmms xprint xv xvid yv12 zeroconf zlib userland_GNU kernel_linux elibc_glibc" 
Unset:  ASFLAGS, CTARGET, LDFLAGS, LINGUAS, MAKEOPTS
Comment 1 Nickolay Kolchin-Semyonov 2005-12-13 03:40:06 UTC
Is this related to qt-3.3.5? 
Comment 2 playmiac 2006-03-04 23:16:43 UTC
Could be, I get same error in my amd64 with qgo-1.0.4.2 and qt-3.3.5
Comment 3 Carsten Klaucke 2006-06-29 15:19:17 UTC
Created attachment 90479 [details, diff]
corrects the offending line in mainwidget_gui.ui

Seems that someone renamed normaltools.h to normaltools_ui.h but forgot to change it in mainwidget_gui.ui. This patch corrects the offending line. It's not an qt issue, it's just a small bug in the sourcecode. It works for me with the current stable qgo-1.4.0.2
Comment 4 Carsten Klaucke 2006-06-29 15:23:47 UTC
Created attachment 90480 [details]
adapted ebuild to process the qgo-1.0.4.2-mainwidget_gui.ui.patch

This ebuild is for qgo-1.4.0.2 which processes my attached patch. I hope that everything is ok, because this is my first ebuild adaptation. Ok, just a few lines. However, maintainers please check. Thanks. (This ebuild worked for me w/o problems.)
Comment 5 Mr. Bones. (RETIRED) gentoo-dev 2006-08-22 01:25:09 UTC
Reopen if this isn't fixed up in 1.5.1
Comment 6 CJ Kucera 2006-09-20 11:40:24 UTC
The attached patch fixes the compile problem for me.  1.0.4.2 is still marked as "stable" in Portage, while 1.5.1 is ~x86-masked.  If 1.5.1 isn't stable after a month still, could this patch be applied so I don't have to manually overlay just to run qgo?  Or if 1.5.1 is stable and fixes this problem, could we mark it as such so people won't run into this problem?  As it stands, the currently-"stable" version of this program in Portage won't compile.