Summary: | x11-libs/qt-4.3.5 fails to compile with gcc 4.3 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | gapon <gapon> |
Component: | [OLD] Library | Assignee: | Qt Bug Alias <qt> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | dliana, esigra, fauli, zak.kipling |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 198121 | ||
Attachments: | compressed log file |
Description
gapon
2008-07-29 15:15:46 UTC
log file it too big... [...] from ../../../../include/QtGui/qaccessibleobject.h:1, from ../../../../include/QtGui/../../src/gui/accessible/qaccessiblewidget.h:47, from ../../../../include/QtGui/qaccessiblewidget.h:1, from qaccessiblecompat.h:47, from qaccessiblecompat.cpp:44: ../../../../include/QtCore/../../src/corelib/tools/qbytearray.h:151: warning: type qualifiers ignored on function return type ../../../../include/QtCore/../../src/corelib/tools/qbytearray.h:152: warning: type qualifiers ignored on function return type ../../../../include/QtCore/../../src/corelib/tools/qbytearray.h:154: warning: type qualifiers ignored on function return type ../../../../include/QtCore/../../src/corelib/tools/qbytearray.h:353: warning: type qualifiers ignored on function return type ../../../../include/QtCore/../../src/corelib/tools/qbytearray.h:355: warning: type qualifiers ignored on function return type ../../../../include/QtCore/../../src/corelib/tools/qbytearray.h:357: warning: type qualifiers ignored on function return type ../../../../include/QtCore/../../src/corelib/tools/qbytearray.h:398: warning: type qualifiers ignored on function return type In file included from ../../../../include/QtCore/qstring.h:1, from ../../../../include/QtCore/../../src/corelib/kernel/qobject.h:50, from ../../../../include/QtCore/qobject.h:1, from ../../../../include/QtGui/../../src/gui/accessible/qaccessible.h:48, from ../../../../include/QtGui/qaccessible.h:1, from ../../../../include/QtGui/../../src/gui/accessible/qaccessibleobject.h:47, from ../../../../include/QtGui/qaccessibleobject.h:1, from ../../../../include/QtGui/../../src/gui/accessible/qaccessiblewidget.h:47, from ../../../../include/QtGui/qaccessiblewidget.h:1, from qaccessiblecompat.h:47, from qaccessiblecompat.cpp:44: ../../../../include/QtCore/../../src/corelib/tools/qstring.h:794: warning: type qualifiers ignored on function return type ../../../../include/QtCore/../../src/corelib/tools/qstring.h:795: warning: type qualifiers ignored on function return type ../../../../include/QtCore/../../src/corelib/tools/qstring.h:796: warning: type qualifiers ignored on function return type ../../../../include/QtCore/../../src/corelib/tools/qstring.h:802: warning: type qualifiers ignored on function return type ../../../../include/QtCore/../../src/corelib/tools/qstring.h:803: warning: type qualifiers ignored on function return type rm -f libqsvg.so g++ -Wl,-O1 -Wl,--sort-common -shared -o libqsvg.so .obj/release-shared/main.o .obj/release-shared/qsvgiconengine.o -L/usr/lib/mysql -L/var/tmp/portage/x11-libs/qt-4.3.5/work/qt-x11-opensource-src-4.3.5/lib -lQtSvg -L/usr/lib/mysql -L/var/tmp/portage/x11-libs/qt-4.3.5/work/qt-x11-opensource-src-4.3.5/lib -L/usr/lib -lQtXml -lQtGui -lpng -lSM -lICE -lXrender -lXrandr -lXfixes -lXcursor -lXinerama -lfreetype -lfontconfig -lXext -lX11 -lQtCore -lz -lm -lrt -lpthread -ldl mv -f libqsvg.so ../../../../plugins/iconengines/ make[3]: Leaving directory `/var/tmp/portage/x11-libs/qt-4.3.5/work/qt-x11-opensource-src-4.3.5/src/plugins/iconengines/svgiconengine' make[2]: Leaving directory `/var/tmp/portage/x11-libs/qt-4.3.5/work/qt-x11-opensource-src-4.3.5/src/plugins/iconengines' rm -f libqtaccessiblecompatwidgets.so g++ -Wl,-O1 -Wl,--sort-common -shared -o libqtaccessiblecompatwidgets.so .obj/release-shared/main.o .obj/release-shared/q3simplewidgets.o .obj/release-shared/q3complexwidgets.o .obj/release-shared/qaccessiblecompat.o -L/usr/lib/mysql -L/var/tmp/portage/x11-libs/qt-4.3.5/work/qt-x11-opensource-src-4.3.5/lib -lQt3Support -L/usr/lib/mysql -L/var/tmp/portage/x11-libs/qt-4.3.5/work/qt-x11-opensource-src-4.3.5/lib -lQtSql -lQtXml -L/usr/lib -lQtNetwork -lQtGui -lpng -lSM -lICE -lXrender -lXrandr -lXfixes -lXcursor -lXinerama -lfreetype -lfontconfig -lXext -lX11 -lQtCore -lz -lm -lrt -lpthread -ldl mv -f libqtaccessiblecompatwidgets.so ../../../../plugins/accessible/ make[3]: Leaving directory `/var/tmp/portage/x11-libs/qt-4.3.5/work/qt-x11-opensource-src-4.3.5/src/plugins/accessible/compat' make[2]: Leaving directory `/var/tmp/portage/x11-libs/qt-4.3.5/work/qt-x11-opensource-src-4.3.5/src/plugins/accessible' make[1]: Leaving directory `/var/tmp/portage/x11-libs/qt-4.3.5/work/qt-x11-opensource-src-4.3.5/src/plugins' make: *** [sub-plugins-all-ordered] Error 2 * ERROR: x11-libs/qt-4.3.5 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 2480: Called die * The specific snippet of code: * emake all || die * The die message: * (no error message) * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/tmp/portage/x11-libs/qt-4.3.5/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/x11-libs/qt-4.3.5/temp/environment'. cattie ~ # emerge -av1 qt These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild U ] x11-libs/qt-4.3.5 [4.3.4-r1] USE="accessibility cups dbus examples firebird gif jpeg mng mysql opengl png postgres qt3support sqlite sqlite3 ssl tiff xinerama zlib -debug -doc -glib -nas -nis -odbc -pch" INPUT_DEVICES="-wacom" 0 kB Total: 1 package (1 upgrade), Size of downloads: 0 kB Those are just warnings, care to post log fragment with errors ? Ah, sorry - I will compress the log file and attach it. Created attachment 161630 [details]
compressed log file
Well, really, you could have simply search the log and paste this little fragment: ../../../sql/drivers/ibase/qsql_ibase.cpp:451: error: explicit template speciali zation cannot have a storage class ../../../sql/drivers/ibase/qsql_ibase.cpp: In function ‘char* readArrayBuffer(QL ist<QVariant>&, char*, short int, short int*, ISC_ARRAY_DESC*, QTextCodec*)’: ../../../sql/drivers/ibase/qsql_ibase.cpp:475: warning: suggest a space before ‘ ;’ or explicit braces around empty body in ‘for’ statement ../../../sql/drivers/ibase/qsql_ibase.cpp: At global scope: ../../../sql/drivers/ibase/qsql_ibase.cpp:606: error: explicit template specialization cannot have a storage class Having said that, this is a gcc 4.3 bug, that seems to be not fixed even in qt 4.4. Please, mark this bug as blocking bug 198121. If you want to write a patch by yourself, simply read http://gcc.gnu.org/gcc-4.3/porting_to.html, you'll find an explanation there of what should be done. I have no problems at all compiling qt-4.3.5 with gcc-4.3.1-r1! Portage 2.1.4.4 (default/linux/x86/2008.0, gcc-4.3.1, glibc-2.6.1-r0, 2.6.25-gentoo-r7 i686) ================================================================= System uname: 2.6.25-gentoo-r7 i686 Intel(R) Core(TM)2 CPU T7400 @ 2.16GHz Timestamp of tree: Mon, 08 Sep 2008 09:30:01 +0000 ccache version 2.4 [enabled] app-shells/bash: 3.2_p33 dev-lang/python: 2.5.2-r6 dev-util/ccache: 2.4-r7 sys-apps/baselayout: 1.12.11.1 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.61-r2 sys-devel/automake: 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1 sys-devel/binutils: 2.18-r3 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 1.5.26 virtual/os-headers: 2.6.23-r3 ACCEPT_KEYWORDS="x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=core2 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-O2 -march=core2 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LDFLAGS="-Wl,--as-needed" LINGUAS="en" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X aalib acl acpi alsa bash-completion berkdb bzip2 cli cracklib crypt dbus dga dmx dri gdbm gif glib glibc-omitfp glitz gpm gtk icc iconv isdnlog java jpeg midi mudflap ncurses nls nptl nptlonly nvidia offensive opengl openmp pam pcre perl png pppd python qt4 quicktime readline reflection sdl session spl sqlite3 ssl svga sysfs tcpd tiff truetype unicode win32codecs x86 xml xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" USERLAND="GNU" VIDEO_CARDS="nvidia" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY Qt team, please check if this bug is still valid and if we need something newer than 4.3.3 stable. (In reply to comment #9) > I have no problems at all compiling qt-4.3.5 with gcc-4.3.1-r1! It looks as though the error is in code which is only compiled with USE=firebird ... This is no longer valid for qt-sql-4.4.2[firebird]. Please re-open it if you still have issues with the latest qt-sql in portage :) |