Summary: | app-office/openoffice-3.1.1_beta1: configure failed at checking for Qt4 libraries | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Martin Samek <mr> |
Component: | [OLD] Development | Assignee: | Gentoo Office Team <office> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | Adrian.Bassett, aidanamarks, ashutiwary, b.brachaczek, david.w.noon, magowiz, neomagus00, rahul, seclorum, shade.poczta, steffen, thomas.bettler |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
configure log
Modified patch with kde4 support. |
Description
Martin Samek
2009-08-04 17:10:38 UTC
Please paste the output of 'emerge --info' into a bugzilla comment to assist the maintainers in resolving this issue emerge --info Portage 2.2_rc36 (default/linux/x86/2008.0/desktop, gcc-4.3.2, glibc-2.9_p20081201-r2, 2.6.30-gentoo-r4 i686) ================================================================= System uname: Linux-2.6.30-gentoo-r4-i686-Intel-R-_Pentium-R-_4_CPU_3.00GHz-with-glibc2.1 Timestamp of tree: Wed, 05 Aug 2009 13:30:01 +0000 distcc 3.1 i686-pc-linux-gnu [disabled] app-shells/bash: 3.2_p39 dev-java/java-config: 2.1.8-r1 dev-lang/python: 2.5.4-r3 dev-util/cmake: 2.6.4 sys-apps/baselayout: 2.0.1 sys-apps/openrc: 0.4.3-r3 sys-apps/sandbox: 2.0 sys-devel/autoconf: 2.13, 2.63-r1 sys-devel/automake: 1.7.9-r1, 1.9.6-r2, 1.10.2 sys-devel/binutils: 2.18-r3 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6a virtual/os-headers: 2.6.27-r2 ACCEPT_KEYWORDS="x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -mtune=prescott -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/config" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-O2 -mtune=prescott -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests distlocks fixpackages parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch" GENTOO_MIRRORS="http://trumpetti.atm.tut.fi/gentoo/ " LANG="cs_CZ" LC_ALL="cs_CZ.UTF-8" LDFLAGS="-Wl,-O1" LINGUAS="cs" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" 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" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X a52 accessibility acpi alsa bash-completion berkdb branding bzip2 cairo cdr chm cli consolekit cracklib cscope cups dbus dri dts dvd dvdr dvdread exif fam fortran gdbm gif hal iconv ieee1394 isdnlog java java6 jpeg jpeg2k kde live logitech-mouse mmx mmxext mp3 mpeg mudflap ncurses network nls nptl nptlonly nsplugin ogg opengl openmp pam parport pcre pdf perl png policykit ppds pppd python qt3 qt3support qt4 quicktime readline reflection rtc rtsp samba sdl session slang spell spl sse sse2 ssl startup-notification stream svg sysfs tcpd threads tiff truetype unicode usb vdpau vorbis webkit win32codecs x264 x86 xcb xcomposite xinerama xml xorg xosd xulrunner xv xvid zlib" ALSA_CARDS="hda-intel" 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" ELIBC="glibc" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="cs" USERLAND="GNU" VIDEO_CARDS="nvidia" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS I compiled 3.1.1_beta1 on ~amd64 and it works. I compiled it with distcc and didnt had any problem. Office starts and looks nice, it looks nice with that qt4 gui, and with ikons from kde4. There is story that openoffice compiled from source, should have gentoo logo on splash, its true? (never compileed it myslef so asking). Going for more testing of java and other stuff now. I tried to compile updated ebuild from Portage, but somehow configure script is still unable to see Qt4 libs. I have two boxes and same behavior. Both of them are x86. Qt version is 4.5.1. It seems that configure script is searching for the libqt-mt.so. Created attachment 200300 [details] configure log (In reply to comment #5) > It seems that configure script is searching for the libqt-mt.so. > From where did you get that info? This file is from qt3. Dunno why but i dont see Ooo 3.1.1_beta1 from portage checking on configure for Qt4. my flags: Installed versions: 3.1.1_beta1(19:37:47 05.08.2009)(bash-completion binfilter cups dbus eds java kde ldap linguas_en linguas_pl nsplugin opengl pam) Im adding my configure Sorry, I looked at wrong line in configure script. But It changes nothing. Still It can't find Qt lib. Here is the tricky part of configure script. There is a wrong path to Qt4 libs on x86 branch. For amd64 it's ok. Given patch is /usr/lib, but there is no file libQtCore.so. It is in /usr/lib/qt4. if test "$test_kde4" = "yes" -a "$ENABLE_KDE4" = "TRUE" ; then qt_incdirs="$QTINC $QTDIR /usr/include/qt4 /usr/include $x_includes" qt_libdirs="$QTLIB /usr/lib $x_libraries" kde_incdirs="/usr/include $x_includes" kde_libdirs="/usr/lib $x_libraries" if test "$build_cpu" == "x86_64" ; then qt_libdirs="$qt_libdirs /usr/lib64/qt4 /usr/lib64/qt /usr/lib64" kde_libdirs="$kde_libdirs /usr/lib64 /usr/lib64/kde4" fi qt_test_include="Qt/qobject.h" qt_test_library="libQtCore.so" kde_test_include="ksharedptr.h" kde_test_library="libkdeui.so" { $as_echo "$as_me:$LINENO: checking for Qt4 headers" >&5 $as_echo_n "checking for Qt4 headers... " >&6; } qt_header_dir="no" for inc_dir in $qt_incdirs ; do if test -r "$inc_dir/$qt_test_include" ; then qt_header_dir="$inc_dir" break fi done { $as_echo "$as_me:$LINENO: result: $qt_header_dir" >&5 $as_echo "$qt_header_dir" >&6; } if test "x$qt_header_dir" = "xno" ; then { { $as_echo "$as_me:$LINENO: error: Qt4 headers not found. Please specify the root of your Qt4 installation by exporting QTDIR before running \"configure\"." >&5 $as_echo "$as_me: error: Qt4 headers not found. Please specify the root of your Qt4 installation by exporting QTDIR before running \"configure\"." >&2;} { (exit 1); exit 1; }; } fi Yes, confirmed. I did symlinks and now it works. Compilation failed later with: par2script -i ../unxlngi6.pro/par,/var/tmp/portage/app-office/openoffice-3.1.1_beta2/work/ooo/build/ooo310-m17/solver/310/unxlngi6.pro/par @@/var/tmp/portage/app-office/openoffice-3.1.1_beta2/temp/mkgY1msf -o ../unxlngi6.pro/bin/osl/sdkoo.ins Reading par files Collecting items Collecting assigned items Searching for Undefinitions Removing assigned GIDs without definitions Adding definitions without assignment to the root Control of multiple assignments Control of definitions with missing assignments Checking directory definitions ... Checking module definitions ... Checking module assignments ... Checking StarRegistry ... Checking Root Module ... gid_Module_Root_SDK Checking Shortcut assignments ... Checking missing parents ... Shorten lines at modules Creating setup script Saving script Module 'scp2' delivered successfully. 84 files copied, 4 files unchanged 1 module(s): vcl need(s) to be rebuilt Reason(s): ERROR: error 65280 occurred while making /var/tmp/portage/app-office/openoffice-3.1.1_beta2/work/ooo/build/ooo310-m17/vcl/util Attention: if you build and deliver the above module(s) you may prolongue your the build issuing command "build --from vcl" rmdir /tmp/16677 make: *** [stamp/build] Error 1 * * ERROR: app-office/openoffice-3.1.1_beta2 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 5338: Called die * The specific snippet of code: * make || die "Build failed" * The die message: * Build failed * * 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/app-office/openoffice-3.1.1_beta2/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/app-office/openoffice-3.1.1_beta2/temp/environment'. * Created attachment 200403 [details]
Modified patch with kde4 support.
I have modified kde4-configure patch. Now configure is finishing ok at x86. I have added Qt4 path /usr/lib/qt4 to qt_libdirs variable. Martin, how do you apply this patch? I added it to the other patches in src_prepare, but the patch fails. Actually, this patch is taken from dist archive ooo-build-3.1.0.99.2.tar.gz, where is in path patches/dev300/. I have altered line 107, where add new path. Than I repacked archive and regen ebuild manifest. I know, it's ugly, but ebuild maintainer should fix this. I'll try to provide patch for src_prepare usage. Issue still exists with non-beta release. I can confirm still exists in 3.1.1 on x86. Does any body have contact for maintainer? I can't find it. Solution is simple. Just fixed this in gentoo cvs. Though not sure this will be sufficient for amd64 (cause the qt4-libdir should be different), so leaving open for user feedback. amd64 configure works fine. Only x86 qt4 libs path was wrong. Successful on x86 with kde support. So we can close the bug. Thanks to everyone, especially Martin! Closing (In reply to comment #20) > Thanks to everyone, especially Martin! Closing > I still have this problem on x86 with openoffice-3.1.1, I have qt-4.5.2 and kde-4.3.1 installed. (In reply to comment #21) > I still have this problem on x86 with openoffice-3.1.1, I have qt-4.5.2 and > kde-4.3.1 installed. <AOL>Me too!<\AOL> I tried the build today when emerge sync re-enabled the kde USE flag and the ebuild died saying it was unable to find QTDIR. (In reply to comment #22) > (In reply to comment #21) > > I still have this problem on x86 with openoffice-3.1.1, I have qt-4.5.2 and > > kde-4.3.1 installed. > > <AOL>Me too!<\AOL> > > I tried the build today when emerge sync re-enabled the kde USE flag and the > ebuild died saying it was unable to find QTDIR. > I can also confirm, can we reopen this. This bug is now fixed : from Changelog : 28 Oct 2009; Andreas Proschofsky <suka@gentoo.org> openoffice-3.1.1.ebuild, files/gentoo-3.1.1.diff: Bump to ooo-build-3.1.1.4, also re-fix kde4/qt4-support |