Summary: | qt-3.3.8-r2 fails to compile, cannot find ibase.h | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Steve Warren <warrensg2001> |
Component: | [OLD] KDE | Assignee: | Qt Bug Alias <qt> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | esigra, wltjr |
Priority: | High | ||
Version: | 2007.0 | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 168077 | ||
Attachments: |
Emerge log for qt-3.3.8-r2
Emerge info emerge -pv qt-3.3.8-r2 |
Description
Steve Warren
2007-05-24 18:54:27 UTC
Please attach your emerge --info data and the emerge log. Set PORT_LOGDIR in /etc/make.conf if you don't have it - check /etc/make.conf.example for details - try to emerge qt again and then post the log. i686-pc-linux-gnu-g++ -c -pipe -fno-exceptions -Wall -W -O3 -march=pentium4 -pipe -fno-strict-aliasing -D_REENTRANT -fPIC -DQT_TABLET_SUPPORT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_PLUGIN -DQT_SHARED -I/var/tmp/portage/x11-libs/qt-3.3.8-r2/work/qt-x11-free-3.3.8/mkspecs/linux-g++ -I. -I/usr/include/freetype2 -I../../../../include -I/usr/include -I.moc/release-shared-mt/ -o .obj/qsql_ibase.o ../../../../src/sql/drivers/ibase/qsql_ibase.cpp ../../../../src/sql/drivers/ibase/qsql_ibase.cpp:20:19: error: ibase.h: No such file or directory ../../../../src/sql/drivers/ibase/qsql_ibase.cpp:46: error: 'ISC_STATUS' has not been declared ../../../../src/sql/drivers/ibase/qsql_ibase.cpp: In function 'bool getIBaseError(QString&, int*, long int&)': . . . ../../../../src/sql/drivers/ibase/qsql_ibase.cpp:1032: error: 'class QIBaseResultPrivate' has no member named 'sqlda' make[3]: *** [.obj/qsql_ibase.o] Error 1 make[3]: Leaving directory `/var/tmp/portage/x11-libs/qt-3.3.8-r2/work/qt-x11-free-3.3.8/plugins/src/sqldrivers/ibase' make[2]: *** [sub-ibase] Error 2 make[2]: Leaving directory `/var/tmp/portage/x11-libs/qt-3.3.8-r2/work/qt-x11-free-3.3.8/plugins/src/sqldrivers' make[1]: *** [sub-sqldrivers] Error 2 make[1]: Leaving directory `/var/tmp/portage/x11-libs/qt-3.3.8-r2/work/qt-x11-free-3.3.8/plugins/src' make: *** [sub-plugins] Error 2 !!! ERROR: x11-libs/qt-3.3.8-r2 failed. Call stack: ebuild.sh, line 1615: Called dyn_compile ebuild.sh, line 972: Called qa_call 'src_compile' ebuild.sh, line 44: Called src_compile qt-3.3.8-r2.ebuild, line 215: Called die !!! (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-3.3.8-r2/temp/build.log'. localhost ~ # emerge --info Portage 2.1.2.7 (default-linux/x86/2007.0, gcc-4.1.2, glibc-2.5-r2, 2.6.21-gentoo-r1-01 i686) ================================================================= System uname: 2.6.21-gentoo-r1-01 i686 Intel(R) Pentium(R) 4 CPU 3.20GHz Gentoo Base System release 1.12.10 Timestamp of tree: Wed, 23 May 2007 02:29:01 +0000 dev-java/java-config: 1.3.7, 2.0.32 dev-lang/python: 2.4.4-r4 dev-python/pycrypto: 2.0.1-r5 sys-apps/sandbox: 1.2.18.1 sys-devel/autoconf: 2.13, 2.61 sys-devel/automake: 1.4_p6, 1.6.3, 1.7.9-r1, 1.9.6-r2, 1.10 sys-devel/binutils: 2.17 sys-devel/gcc-config: 1.3.16 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.21 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O3 -march=pentium4 -fomit-frame-pointer -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/X11/xkb" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c" CXXFLAGS="-O3 -march=pentium4 -fomit-frame-pointer -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks metadata-transfer sandbox sfperms strict userpriv usersandbox" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LINGUAS="en_US ja ko zh_CN zh_TW" MAKEOPTS="-j2" 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" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X a52 aac aalib acl acpi aim alsa arts audiofile avi bash-completion berkdb bitmap-fonts bonobo bzlib cdb cdr cjk cli cracklib crypt cups curl curlwrappers dga dio divix4linux dri dvd dvdr encode esd fam fbcon firebird flac font-server foomaticdb fortran ftp gb gd gdbm gif gnome gnutils gphoto2 gpm gstreamer gtk gtk2 iconv ipv6 isdnlog jack java jikes jpeg kde libg++ mad mbox midi mime mmx mozilla mpeg msn mudflap ncurses nls nptl nptlonly nsplugin nvidia oggvorbis openall opengl openmp oss pam pcre pdflib perl posix pppd python quicktime readline reflection samba session slang sockets softmmu spell spl sse sse2 ssl svga tcl tcpd tetex theora tiff tk truetype truetype-fonts type1-fonts unicode videos win32codecs x86 xine xml xml2 xorg yahoo zlib" ALSA_CARDS="emu10k1" 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_US ja ko zh_CN zh_TW" USERLAND="GNU" VIDEO_CARDS="apm ark chips cirrus cyrix dummy fbdev glint i128 i740 i810 imstt mach64 mga neomagic nsc nv r128 radeon rendition s3 s3virge savage siliconmotion sis sisusb tdfx tga trident tseng v4l vesa vga via vmware voodoo" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY Please attach the full log in the "Create a new attachment" link above the "Additional Comments" text box. Created attachment 120211 [details]
Emerge log for qt-3.3.8-r2
Created attachment 120213 [details]
Emerge info
Please attach the output of emerge -pv =qt-3.3.8-r2, qlist -IUv x11-libs/qt or eix x11-libs/qt Created attachment 120230 [details]
emerge -pv qt-3.3.8-r2
localhost ~ # emerge -pv =x11-libs/qt-3.3.8-r2 These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild N ] x11-libs/qt-3.3.8-r2 USE="cups firebird gif ipv6 opengl -debug -doc -examples -immqt -immqt-bc -mysql -nas -nis -odbc -postgres -sqlite -xinerama" 0 kB Total: 1 package (1 new), Size of downloads: 0 kB The bug is related to the firebird use flag. QT-3.3.8-r2 compiles with: USE="-firebird" emerge --oneshot =x11-libs/qt-3.3.8-r2 The location of the ibase.h file must have changed. What version of firebird do you have installed, and where is the ibase.h file located? Firebird version is: firebird-2.0.1.12855.0-r3 Location of ibase.h is: /opt/firebird/include/ibase.h ccing maintainer. It looks like firebird-2 is in a new location (/opt), so we probably will need to add its include directories into the Qt ebuilds. In general though, I don't know if there are any issues using firebird 2 with Qt or not. Hoping the maintainer can have a look see and try it out. Firebird 2 is not in a new location. Firebird has always resided in /opt and will slowly be integrated into the system to comply with FHS. ibase.h was never linked/placed into /usr/share/include. Don't take my word there, look at past ebuilds :) I can't find anything that would place ibase.h anywhere other than /opt It's a qt test that fails, not the actual compilation. Actual compilation has ibase.h in it's path but can fail on 64bit systems. Granted both 1.5.x and 2.0.x need some work still. Mostly 2.0.x and FHS integration/compliance. Thanks William - you are totally correct! I've added /opt/firebird/include to the includepath when the firebird use flag is used. Resync in a little bit and try the emerge again; hopefully that will fix the issue. Can you also do the same with qt4.x ebuilds. They have the same problem. Also qt has other issues with Firebird on amd64. I modified that bug so this one is blocking it. Even though they are not totally related. They are two issues that effect qt. One the tests missing the path or etc to ibase.h and failing. Two that build on 64bit systems will fail, due to qt using wrong pointer size or etc. ( Covered in other bug ) I added it into 4.3. Will do on 4.2 if you confirm that it fixes the issue. same with psql bug is fixed in x11-libs/qt-3.3.8-r3 and x11-libs/qt-4.3.0-r2. Thanks. :) Portage 2.1.3.3 (default-linux/amd64/2007.0/no-multilib, gcc-4.2.0, glibc-2.6-r0, 2.6.22-gentoo-r2 x86_64) ================================================================= System uname: 2.6.22-gentoo-r2 x86_64 Intel(R) Core(TM)2 CPU 6600 @ 2.40GHz Gentoo Base System release 2.0.0_rc2 Timestamp of tree: Wed, 08 Aug 2007 17:20:01 +0000 distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] dev-java/java-config: 1.3.7, 2.0.9999 dev-lang/python: 2.4.4-r4 dev-python/pycrypto: 2.0.1-r6 sys-apps/sandbox: 1.2.18.1 sys-devel/autoconf: 2.13, 2.61-r1 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.17-r1 sys-devel/gcc-config: 1.3.16 sys-devel/libtool: 1.5.24 virtual/os-headers: 2.6.22-r2 ACCEPT_KEYWORDS="amd64 ~amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-mmmx -msse -msse2 -msse3 -march=nocona -O2 -pipe -fomit-frame-pointer" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /opt/openjms/config /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/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/rc.d /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/wget" CXXFLAGS="-mmmx -msse -msse2 -msse3 -march=nocona -O2 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://mirror.switch.ch/ftp/mirror/gentoo/ http://gentoo.inode.at/ http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ http://ftp.linux.ee/pub/gentoo/distfiles/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/" LANG="en_US.UTF-8" LC_ALL="en_US.UTF-8" LINGUAS="en" 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/java-overlay /usr/portage/local/layman/sunrise /usr/portage/local/layman/vmware /usr/portage/local/layman/mysql-experimental /usr/portage/local/layman/d /usr/portage/local/layman/jokey /usr/portage/local/layman/bangert /usr/portage/local/layman/webapps-experimental /usr/portage/local/layman/wrobel /usr/portage/local/layman/wschlich /usr/portage/local/layman/wschlich-testing /usr/portage/local/layman/trapni /usr/portage/local/layman/nx /usr/portage/local/layman/plan9 /usr/portage/local/layman/science /usr/portage/local/layman/x11 /usr/portage/local/layman/voip /usr/portage/local/layman/gentopia /usr/portage/local/layman/kde /usr/portage/local/layman/dertobi123 /usr/portage/local/layman/efika /usr/portage/local/layman/dev-zero /usr/portage/local/layman/genstef /usr/portage/local/layman/chtekk-apps /usr/portage/local/layman/lila-theme /usr/portage/local/layman/liquidx /usr/portage/local/layman/mozilla /usr/portage/local/layman/vdr-experimental /usr/portage/local/layman/vdr-1.5 /usr/portage/local/layman/gnome-experimental /usr/portage/local/layman/rox /usr/portage/local/layman/pythonhead /usr/portage/local/layman/java-gcj-overlay /usr/portage/local/layman/vdr-testing /usr/portage/local/layman/vdr-testing /usr/portage/local/layman/php-experimental /usr/portage/local/layman/php-experimental /usr/portage/local/layman/php-testing /usr/portage/local/layman/php-testing /usr/portage/local/layman/enlightenment /usr/portage/local/layman/enlightenment /usr/portage/local/layman/chtekk-syscp /usr/portage/local/layman/chtekk-syscp /usr/portage/local/layman/marineam-xen /usr/portage/local/layman/marineam-xen /usr/portage/local/layman/swegener /usr/portage/local/layman/xen /usr/portage/local/layman/philantrop /usr/portage/local/layman/vps /usr/portage/local/manual/personal /usr/portage/local/manual/java-experimental /usr/portage/local/manual/chewi-overlay /usr/portage/local/manual/java-jboss /usr/portage/local/manual/artwork" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="7zip X X509 a52 aac aalib accessibility acl acpi administrator afs aiglx alsa amd64 amr ao apache2 apisupport ares artworkextra asf atom audiofile avi bash-completion bashcompletion bcmath bcp bitmap-fonts bjam bluetooth bogofilter bonjour boo boost bsf bzip2 cairo calendar caps catalogs cdb cdda cddb cdr cg chardet checkpath chm cli clock-screen commons-fileupload commons-httpclient corba cpudetection cracklib crypt cscope css ctype cups curl d daap dbus dga divx djvu dlloader dnd doc double-precision dri dts dv dvb dvd dvdnav dvdr dvdread dvi dxr3 dynamicplugin eclipse eds elisp emboss emovix enca encode esd evo exif expat extensions extrafilters fam fame fasttrack fat ffmpeg fftw flac flash flexresp flexresp2 fltk fontconfig fortran fpx freemarker ftp gadu galago gd gdbm gif glade glep glib glitz glut gmedia gmp gnome gnomecanvas gnu gnutella gnutls gpm graphviz gre groupwise gs gsl gstreamer gtk gtk2 guile hal harness hddtemp hesiod hfs ical icecast iconv icu ide identity idle idn ieee1394 imagemagick imap imlib inifile inline ipod ipv6 isdnlog j2ee jack jai java java5 javacomm javamail javascript jbig jfs jmf jms jmx jpeg jpeg2k json kerberos key-screen keyring kqemu krb4 krb5 ladspa lame latex lcms ldap ldap-sasl lesstif libg++ libnotify libsamplerate libsexy linux-smp-stats lm_sensors lua lyrics lzo mad magic md5sum meanwhile midi mikmod mime mjpeg mmap mmx mng mode-owner modplug motif mouse mozdevelop mozsha1 mp2 mp3 mp3rtp mpeg mpi mplayer msn mudflap mule musepack musicbrainz mysql mysqli nas nb ncurses neXt network networking nis njb nls nntp nptl nptlonly nsplugin ntfs ocaml odbc offensive ogg ole openal openct openexr opengl openmp oss pam pango passwordsave pbs pccts pcre pcsc-lite pdf pdflib perfprofiling perl php pike plotutils pmu png pnm pop posix ppds pppd prediction prelude profile profiler pulseaudio pyste python qq qt3 qt3support qt4 query-browser rar react readline realmedia reflection regex remote rle rrdcgi rtc rtsp ruby samba sasl schedule sdl search-screen sensord serpentine server servletapi session sguil shout sid silc simple skins slang slp smp sms sndfile soa soap sound source sox speex spell spl sqlite srt srv sse sse2 ssl ssse3 stream streamripper svg svgz swig taglib tagwriting tcl tcpd testtools tetex tga theora threads tidy tiff timestats timidity tk tomcat tools trayicon truetype truetype-fonts tta type1-fonts udev uml unicode usb v4l v4l2 vcd vdr velocity vim-pager vim-with-x visualweb vlm vorbis wavpack webdav wma wmf wmp workbench wxwindows x264 xanim xface xforms xfs xhtml xim xml xmlreader xmlrpc xmlwriter xmpi xorg xpm xscreensaver xsl xulrunner xv xvid xvmc yaz yv12 zephyr zip zlib zora zvbi" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci 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 mulaw multi null plug rate route share shm softvol" 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="fglrx" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS So is this resolved now and can we close the bug? (In reply to comment #21) > So is this resolved now and can we close the bug? To the best of my knowledge, yes. Ok I have moved Firebird out of /opt and into /usr :) Includes are now in /usr/include. arch/stable still has it installed in /opt. Just for a heads up :) ping QT peeps, closing this bug is kinda up to you all. If you want to sign off on it or not. Or if you need more from me as the firebird maintainer. Ok I tested this myself, and it seems fine so I am closing bug, qt slackers :) |