Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 41718 - cuyo 1.8.1 fails to build
Summary: cuyo 1.8.1 fails to build
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-15 16:28 UTC by Henryk Plötz
Modified: 2004-02-22 02:01 UTC (History)
0 users

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


Attachments
emerge log for cuyo-1.8.1 (cuyo-1.8.1.log,15.33 KB, text/plain)
2004-02-15 16:31 UTC, Henryk Plötz
Details
patch to cuyo-1.8.1.ebuild (cuyo.patch,389 bytes, patch)
2004-02-15 17:00 UTC, Henryk Plötz
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Henryk Plötz 2004-02-15 16:28:20 UTC
When trying to emerge cuyo 1.8.1 compile fails with lots of "No such file or directory" und "FOO undeclared" errors. (Will attach an emerge log.) Looking at the configure output, it seems ./configure doesn't detect Qt.

Reproducible: Always
Steps to Reproduce:
1. emerge cuyo

Actual Results:  
Compile fails

Expected Results:  
It should've compiled

Portage 2.0.50-r1 (default-x86-1.4, gcc-3.3.2, glibc-2.2.5-r2,2.3.2-r9, 2.4.22)
=================================================================
System uname: 2.4.22 i686 Intel(R) Pentium(R) 4 Mobile CPU 1.80GHz
Gentoo Base System version 1.4.3.13
distcc 2.11.1 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
Autoconf: sys-devel/autoconf-2.58
Automake: sys-devel/automake-1.7.7
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer -fstack-protector -ggdb"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /opt/tomcat/conf /usr/X11R6/lib/X11/xkb
/usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3/share/config
/usr/share/config /usr/share/texmf/tex/generic/config/
/usr/share/texmf/tex/platex/config/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer -fstack-protector -ggdb"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache nostrip sandbox userpriv usersandbox"
GENTOO_MIRRORS="http://128.213.5.34/gentoo/
http://mirrors.sec.informatik.tu-darmstadt.de/gentoo http://gentoo.mirror.sdv.fr
http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ http://gentoo.inode.at/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/opt/ebuilds"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="X aalib acl activefilter alsa apm arts avi berkdb bonobo cdr crypt cups dga
directfb dvd encode esd evo faad fbcon flash foomaticdb gb gd gdbm ggi gif gnome
gpm gtk gtk2 gtkhtml guile hbci hostap-noplx icc imap imlib java jpeg kde ldap
libg++ libwww lirc mad maildir mikmod motif mozaccess-builtin mozcalendar
mozilla mozirc mozsvg mozxmlterm mpeg mysql ncurses nls oav ofx oggvorbis opengl
oss pam pcmcia pdflib perl plotutils png pnp postgres ppds python qt quicktime
radeon rage128 readline samba sdl skey slang slp snmp spell sse sse2 ssl stroke
svga tcltk tcpd tetex truetype usb vim-with-x x86 xface xml xml2 xmms xosd xv zlib"
Comment 1 Henryk Plötz 2004-02-15 16:31:25 UTC
Created attachment 25691 [details]
emerge log for cuyo-1.8.1
Comment 2 Henryk Plötz 2004-02-15 16:59:01 UTC
Removing the line -with-qt-dir=/usr/qt/${qtver} from the ebuild fixes the first problem (Qt is now detected) and adds another:

/usr/qt/3/include/qglobal.h:696: error: ISO C++ does not support `long long'
/usr/qt/3/include/qglobal.h:697: error: ISO C++ does not support `long long'

This can be 'fixed' by adding -Wno-long-long to the CXXFLAGS. 

I'm attaching a diff to the ebuild with which cuyo compiles on my machine.
Comment 3 Henryk Plötz 2004-02-15 17:00:32 UTC
Created attachment 25694 [details, diff]
patch to cuyo-1.8.1.ebuild
Comment 4 SpanKY gentoo-dev 2004-02-22 02:01:12 UTC
*sold* to the man with no pants

thanks for the fix, added to cvs :)