Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 120316 - qt-4.1.0-r2 fails to build on AMD64
Summary: qt-4.1.0-r2 fails to build on AMD64
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High major (vote)
Assignee: Qt Bug Alias
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-25 09:06 UTC by Vladimir G. Ivanovic
Modified: 2006-08-23 05:57 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 Vladimir G. Ivanovic 2006-01-25 09:06:36 UTC
g++ -c -m64 -pipe -I/usr/include/mysql -march=k8 -pipe -O2 -D_REENTRANT -Wall -W -fPIC -DQT_EDITION=QT_EDITION_DESKTOP -DQDESIGNER_SDK_LIBRARY -DQDESIGNER_EXTENSION_LIBRARY -DQDESIGNER_UILIB_LIBRARY -DQDESIGNER_SHARED_LIBRARY -DQT_DESIGNER -DQT_NO_DEBUG -DQT_XML_LIB -DQT_GUI_LIB -DQT_CORE_LIB -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_SHARED -I../../../../mkspecs/linux-g++-64 -I. -I../../../../include/QtCore -I../../../../include/QtGui -I../../../../include/QtXml -I../../../../include -Iextension -Isdk -Iuilib -Ishared -I.moc/release-shared -Ishared -o .obj/release-shared/moc_tree_widget_p.o .moc/release-shared/moc_tree_widget_p.cpp
In file included from ../../../../include/QtCore/qrect.h:1,
                 from ../../../../include/QtGui/../../src/gui/painting/qpaintdevice.h:28,
                 from ../../../../include/QtGui/qpaintdevice.h:1,
                 from ../../../../include/QtGui/../../src/gui/kernel/qwidget.h:29,
                 from ../../../../include/QtGui/qwidget.h:1,
                 from ../../../../include/QtGui/../../src/gui/widgets/qframe.h:27,
                 from ../../../../include/QtGui/qframe.h:1,
                 from ../../../../include/QtGui/../../src/gui/widgets/qabstractscrollarea.h:27,
                 from ../../../../include/QtGui/qabstractscrollarea.h:1,
                 from ../../../../include/QtGui/../../src/gui/itemviews/qabstractitemview.h:27,
                 from ../../../../include/QtGui/qabstractitemview.h:1,
                 from ../../../../include/QtGui/../../src/gui/itemviews/qlistview.h:27,
                 from ../../../../include/QtGui/qlistview.h:1,
                 from ../../../../include/QtGui/QListView:1,
                 from .moc/debug-shared/../../shared/qtundo_p.h:44,
                 from .moc/debug-shared/moc_qtundo_p.cpp:10:
../../../../include/QtCore/../../src/corelib/tools/qrect.h:511: error: ISO C++ forbids declaration of `$' with no type
../../../../include/QtCore/../../src/corelib/tools/qrect.h:511: error: expected `;' before "void"
../../../../include/QtCore/../../src/corelib/tools/qrect.h:634: error: no `void QRectF::setBottomLeft(const QPointF&)' member function declared in class `QRectF'
make[5]: *** [.obj/debug-shared/moc_qtundo_p.o] Error 1
make[5]: Leaving directory `/var/tmp/portage/qt-4.1.0-r2/work/qt-x11-opensource-src-4.1.0/tools/designer/src/lib'

# emerge --info
Portage 2.0.54 (default-linux/amd64/2005.1, gcc-3.4.5, glibc-2.3.5-r2, 2.6.15-ck2 x86_64)
=================================================================
System uname: 2.6.15-ck2 x86_64 AMD Turion(tm) 64 Mobile Technology MT-32
Gentoo Base System version 1.12.0_pre15
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.5-r2, 2.4.2
sys-apps/sandbox:    1.2.12
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
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-Wall -march=k8 -mieee-fp -pipe -O2 -msse3 -fno-strict-aliasing -frename-registers -fweb -ffast-math"
CHOST="x86_64-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.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib64/mozilla/defaults/pref /usr/share/config /var/qmail/control /var/service"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-Wall -march=k8 -mieee-fp -pipe -O2 -msse3 -fno-strict-aliasing -frename-registers -fweb -ffast-math -fvisibility-inlines-hidden"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://www.ibiblio.org/pub/Linux/distributions/gentoo http://distfiles.gentoo.org"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/gentoo-php-overlay/production-ready /usr/local/gentoo-php-overlay/testing"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="amd64 X acl alsa apache2 audiofile avi bash-completion berkdb bitmap-fonts bonobo bzip2 cdb cdr crypt cscope cups curl dts eds emboss encode esd ethereal exif expat fam ffmpeg flac foomaticdb fortran gd gdbm gif glut gmp gnome gpm gstreamer gtk gtk2 gtkhtml guile hal idn imagemagick imlib ipv6 java jpeg junit kde lcms ldap libwww lua lzw lzw-tiff mad matroska mhash mikmod mng motif mozilla mp3 mpeg mysql ncurses nls nsplugin ogg opengl pam pcre pdflib perl php pic png python qt quicktime readline ruby samba sdl slang speex spell sqlite ssl svg tcltk tcpd tetex tiff truetype truetype-fonts type1-fonts udev usb userlocales vorbis xine xml xml2 xmms xpm xv xvid zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Comment 1 Caleb Tennis (RETIRED) gentoo-dev 2006-01-26 05:13:12 UTC
This is a bit of a scary error.

Can to go to the workdir of the ebuild and see what the contents of qrect.h look like?  It seems to be failing on that file, and it looks like it may be corrupted.

src/corelib/tools/qrect.h, specifically around line 511
Comment 2 Caleb Tennis (RETIRED) gentoo-dev 2006-08-23 05:57:37 UTC
should work with qt-4.1.4 (at least, the amd64 team seems to think so)