Making: ../unxlngi6.pro/lib/libvclplug_kde680li.so i686-pc-linux-gnu-g++ -Wl,-z,noexecstack -Wl,-z,combreloc -Wl,-z,defs -Wl,-Bsymbolic-functions -Wl,--dynamic-list-cpp-new -Wl,--dynamic-list-cpp-typeinfo -Wl,--hash-style=gnu -Wl,-rpath,'$ORIGIN:$ORIGIN/../ure-link/lib' -shared -L../unxlngi6.pro/lib -L../lib -L/var/tmp/portage/app-office/openoffice-2.4.1/work/ooo/build/OOH680_m17/solenv/unxlngi6/lib -L/var/tmp/portage/app-office/openoffice-2.4.1/work/ooo/build/OOH680_m17/solver/680/unxlngi6.pro/lib -L/var/tmp/portage/app-office/openoffice-2.4.1/work/ooo/build/OOH680_m17/solenv/unxlngi6/lib -L/opt/sun-jdk-1.6.0.07/lib -L/opt/sun-jdk-1.6.0.07/jre/lib/i386 -L/opt/sun-jdk-1.6.0.07/jre/lib/i386/client -L/opt/sun-jdk-1.6.0.07/jre/lib/i386/native_threads -L/usr/lib -L/usr/lib/xulrunner-1.9/sdk/lib ../unxlngi6.pro/slo/vclplug_kde_dflt_version.o -o ../unxlngi6.pro/lib/libvclplug_kde680li.so ../unxlngi6.pro/slo/kdedata.o ../unxlngi6.pro/slo/salnativewidgets-kde.o -L/usr/kde/3.5/lib -L/usr/qt/3/lib -lkdeui -lkdecore -lqt-mt -lvclplug_gen680li -lvcl680li -lpsp680li -ltl680li -lvos3gcc3 -luno_sal -lX11 -lXext -ldl -lpthread -lm ../unxlngi6.pro/slo/kdedata.o: In function `KDEXLib::Init()': kdedata.cxx:(.text+0x656): undefined reference to `KAboutData::KAboutData(char const*, char const*, char const*, char const*, int, char const*, char const*, char const*, char const*)' kdedata.cxx:(.text+0x67d): undefined reference to `KAboutData::addAuthor(char const*, char const*, char const*, char const*)' kdedata.cxx:(.text+0x8c7): undefined reference to `KCmdLineArgs::init(int, char**, KAboutData const*, bool)' kdedata.cxx:(.text+0x8cc): undefined reference to `KApplication::disableAutoDcopRegistration()' kdedata.cxx:(.text+0x8e7): undefined reference to `KApplication::KApplication(bool, bool)' ../unxlngi6.pro/slo/kdedata.o: In function `KApplication::metaObject() const': kdedata.cxx:(.text._ZNK12KApplication10metaObjectEv[KApplication::metaObject() const]+0x14): undefined reference to `KApplication::staticMetaObject()' ../unxlngi6.pro/slo/kdedata.o:(.data.rel.ro._ZTV17VCLKDEApplication[vtable for VCLKDEApplication]+0xc): undefined reference to `KApplication::className() const' ../unxlngi6.pro/slo/kdedata.o:(.data.rel.ro._ZTV17VCLKDEApplication[vtable for VCLKDEApplication]+0x10): undefined reference to `KApplication::qt_cast(char const*)' ../unxlngi6.pro/slo/kdedata.o:(.data.rel.ro._ZTV17VCLKDEApplication[vtable for VCLKDEApplication]+0x14): undefined reference to `KApplication::qt_invoke(int, QUObject*)' ../unxlngi6.pro/slo/kdedata.o:(.data.rel.ro._ZTV17VCLKDEApplication[vtable for VCLKDEApplication]+0x18): undefined reference to `KApplication::qt_emit(int, QUObject*)' ../unxlngi6.pro/slo/kdedata.o:(.data.rel.ro._ZTV17VCLKDEApplication[vtable for VCLKDEApplication]+0x1c): undefined reference to `KApplication::qt_property(int, int, QVariant*)' ../unxlngi6.pro/slo/kdedata.o:(.data.rel.ro._ZTV17VCLKDEApplication[vtable for VCLKDEApplication]+0x78): undefined reference to `KApplication::virtual_hook(int, void*)' ../unxlngi6.pro/slo/kdedata.o:(.data.rel.ro._ZTV17VCLKDEApplication[vtable for VCLKDEApplication]+0x8c): undefined reference to `non-virtual thunk to KApplication::virtual_hook(int, void*)' ../unxlngi6.pro/slo/salnativewidgets-kde.o: In function `readColor(KConfig*, char const*)': salnativewidgets-kde.cxx:(.text+0xcc2): undefined reference to `KConfigBase::readColorEntry(char const*, QColor const*) const' ../unxlngi6.pro/slo/salnativewidgets-kde.o: In function `KDESalFrame::UpdateSettings(AllSettings&)': salnativewidgets-kde.cxx:(.text+0x10ff): undefined reference to `KConfigBase::setGroup(char const*)' salnativewidgets-kde.cxx:(.text+0x1113): undefined reference to `KConfigBase::hasKey(char const*) const' salnativewidgets-kde.cxx:(.text+0x115a): undefined reference to `KConfigBase::hasKey(char const*) const' salnativewidgets-kde.cxx:(.text+0x11a4): undefined reference to `KConfigBase::hasKey(char const*) const' salnativewidgets-kde.cxx:(.text+0x11ee): undefined reference to `KConfigBase::hasKey(char const*) const' salnativewidgets-kde.cxx:(.text+0x1238): undefined reference to `KConfigBase::hasKey(char const*) const' ../unxlngi6.pro/slo/salnativewidgets-kde.o:salnativewidgets-kde.cxx:(.text+0x1282): more undefined references to `KConfigBase::hasKey(char const*) const' follow ../unxlngi6.pro/slo/salnativewidgets-kde.o: In function `KDESalFrame::UpdateSettings(AllSettings&)': salnativewidgets-kde.cxx:(.text+0x12fd): undefined reference to `KConfigBase::readFontEntry(char const*, QFont const*) const' salnativewidgets-kde.cxx:(.text+0x135a): undefined reference to `KConfigBase::setGroup(char const*)' salnativewidgets-kde.cxx:(.text+0x136e): undefined reference to `KConfigBase::hasKey(char const*) const' salnativewidgets-kde.cxx:(.text+0x138b): undefined reference to `KConfigBase::readEntryUntranslated(char const*, QString const&) const' salnativewidgets-kde.cxx:(.text+0x18ad): undefined reference to `KMainWindow::KMainWindow(QWidget*, char const*, unsigned int)' salnativewidgets-kde.cxx:(.text+0x18cc): undefined reference to `KMainWindow::createGUI(QString const&, bool)' salnativewidgets-kde.cxx:(.text+0x1bc8): undefined reference to `KMainWindow::toolBar(char const*)' collect2: ld returned 1 exit status dmake: Error code 1, while making '../unxlngi6.pro/lib/libvclplug_kde680li.so' ---* tg_merge.mk *--- ERROR: Error 65280 occurred while making /var/tmp/portage/app-office/openoffice-2.4.1/work/ooo/build/OOH680_m17/vcl/util make: *** [stamp/build] Error 1 * * ERROR: app-office/openoffice-2.4.1 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 5366: 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-2.4.1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/app-office/openoffice-2.4.1/temp/environment'. * !!! When you file a bug report, please include the following information: GENTOO_VM=sun-jdk-1.6 CLASSPATH="" JAVA_HOME="/opt/sun-jdk-1.6.0.07" JAVACFLAGS="-source 1.4 -target 1.4" COMPILER="" and of course, the output of emerge --info emerge --info Portage 2.2_rc9 (default/linux/x86/2008.0/desktop, gcc-4.3.1, glibc-2.8_p20080602-r0, 2.6.24-21-generic i686) ================================================================= System uname: Linux-2.6.24-21-generic-i686-Genuine_Intel-R-_CPU_T2050_@_1.60GHz-with-glibc2.0 Timestamp of tree: Tue, 23 Sep 2008 10:16:01 +0000 app-shells/bash: 3.2_p39 dev-java/java-config: 1.3.7, 2.1.6-r1 dev-lang/python: 2.5.2-r8 sys-apps/baselayout: 2.0.0 sys-apps/openrc: 0.2.5 sys-apps/sandbox: 1.2.18.1-r3 sys-devel/autoconf: 2.13, 2.63 sys-devel/automake: 1.7.9-r1, 1.9.6-r2, 1.10.1-r1 sys-devel/binutils: 2.18-r3 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 2.2.6a virtual/os-headers: 2.6.26 ACCEPT_KEYWORDS="x86 ~x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=prescott -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/env /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /usr/shutdown /var/lib/hsqldb" 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/splash /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-O2 -march=prescott -pipe" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="--with-bdeps y" FEATURES="distlocks parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="ftp://www.anheng.com.cn/gentoo" LANG="C" LC_ALL="C" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LINGUAS="af am ar as_IN az be be_BY bg bn bo br bs ca cs csb cy da de de_FR dz el en en_GB en_US en_ZA eo es es_AR es_ES es_LA et et_EE eu fa fi fo fr fr_CA fy fy_NL ga ga_IE gl gu gu_IN he hi hi_IN hr hsb hu hy id is it ja ka kk km kn ko ku la lo lt lv mk ml ml_IN mn mr_IN ms mt nb nb_NO nds ne nl nn nn_NO no nr ns nso oc or_IN pa pa_IN pl pt pt_BR pt_PT ro ru rw se sh sh_YU si sk sl sq sr sr@Latn sr_CS ss st sv sv_SE sw_TZ ta ta_IN te te_IN tg th ti_ER tk tl tn tr ts uk ur_IN uz uz@cyrillic ve vi wa xh zh zh_CN zh_HK zh_TW zu" 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" PORTDIR_OVERLAY="/usr/local/portage/layman/sunrise /usr/local/portage/layman/gentoo-china /usr/local/portage/layman/kde-testing /usr/portage/local" SYNC="rsync://rsync.asia.gentoo.org/gentoo-portage" USE="X aac acl acpi alsa berkdb bluetooth branding bzip2 cairo cdr cjk cli cracklib crypt cups dbus dri dvd dvdr dvdread emacs emboss encode expat fam firefox fortran gdbm gif git gnutls gpm hal iconv ipv6 isdnlog java java6 jpeg kde kerberos latex ldap libnotify mad midi mikmod mmx mmxext mp3 mpeg mudflap ncurses nls nptl nptlonly nsplugin ogg opengl openmp pam pcre pdf perl png ppds pppd python qt3 qt3support qt4 quicktime readline real reflection samba sdl session spell spl sse sse2 ssl startup-notification subversion svg sysfs tcpd tiff truetype unicode usb v4l v4l2 vorbis win32codecs x86 xcomposite xml xorg xulrunner xv 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" 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="evdev keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="af am ar as_IN az be be_BY bg bn bo br bs ca cs csb cy da de de_FR dz el en en_GB en_US en_ZA eo es es_AR es_ES es_LA et et_EE eu fa fi fo fr fr_CA fy fy_NL ga ga_IE gl gu gu_IN he hi hi_IN hr hsb hu hy id is it ja ka kk km kn ko ku la lo lt lv mk ml ml_IN mn mr_IN ms mt nb nb_NO nds ne nl nn nn_NO no nr ns nso oc or_IN pa pa_IN pl pt pt_BR pt_PT ro ru rw se sh sh_YU si sk sl sq sr sr@Latn sr_CS ss st sv sv_SE sw_TZ ta ta_IN te te_IN tg th ti_ER tk tl tn tr ts uk ur_IN uz uz@cyrillic ve vi wa xh zh zh_CN zh_HK zh_TW zu" USERLAND="GNU" VIDEO_CARDS="i810" Unset: CPPFLAGS, CTARGET, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS kde-base/kdelibs: 3.5.10 4.1.1-r4
I think it is because of installing KDE 4.1.1 without kdeprefix enabled. The emerge works while kdelibs built with kdeprefix enabled.
*** Bug 239363 has been marked as a duplicate of this bug. ***
*** Bug 240600 has been marked as a duplicate of this bug. ***
I have problem with OpenOffice 3.0.0 and KDE 4.1.2 without kdeprefix http://bugs.gentoo.org/show_bug.cgi?id=238642#c17 I trying with USE=" .. -kdeprefix ..." and have a problems with vcl module laptok ~ # emerge -av openoffice These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild U ] app-office/openoffice-3.0.0 [2.4.1] USE="cups dbus gstreamer gtk java kde ldap nsplugin%* odk opengl pam -binfilter -debug -eds -gnome -mono (-firefox%*) (-seamonkey%) (-xulrunner%*)" LINGUAS="pl -af -ar -as_IN -be_BY -bg -bn -br -bs -ca -cs -cy -da -de -dz -el -en -en_GB -en_US -en_ZA -eo -es -et -fa -fi -fr -ga -gl -gu_IN -he -hi_IN -hr -hu -it -ja -km -ko -ku -lt -lv -mk -ml_IN -mr_IN -nb -ne -nl -nn -nr -ns -or_IN -pa_IN -pt -pt_BR -ru -rw -sh -sk -sl -sr -ss -st -sv -sw_TZ -ta_IN -te_IN -tg -th -ti_ER-tn -tr -ts -uk -ur_IN -ve -vi -xh -zh_CN -zh_TW -zu" 0 kB Total: 1 package (1 upgrade), Size of downloads: 0 kB Would you like to merge these packages? [Yes/No] [...] 1 module(s): vcl need(s) to be rebuilt Reason(s): ERROR: error 65280 occurred while making /var/tmp/portage/app-office/openoffice-3.0.0/work/ooo/build/ooo300-m9/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/32693 make: *** [stamp/build] Error 1
*** Bug 239831 has been marked as a duplicate of this bug. ***
As I don't use KDE myself: Is this happening with KDE-packages from the tree or from an overlay?
It happens with the kde-4.1.2 from the tree on my machine.
Adding KDE-herd for advice, please take a look
kdelibs:4.1 and kdepimlibs:4.1 are the particular packages that cause the openoffice build to fail. Unmerging them will allow the build to complete. Until this problem is resolved, I suggest that the openoffice ebuild dies when either of these packages are detected with USE="-kdeprefix"
(In reply to comment #9) > kdelibs:4.1 and kdepimlibs:4.1 are the particular packages that cause the > openoffice build to fail. Unmerging them will allow the build to complete. > Until this problem is resolved, I suggest that the openoffice ebuild dies when > either of these packages are detected with USE="-kdeprefix" > openoffice *will* build if you disable use kde for it
*** Bug 242108 has been marked as a duplicate of this bug. ***
*** Bug 242152 has been marked as a duplicate of this bug. ***
with USE flag -kde, openoffice-3.0.0 compiled :)
@KDE-herd: Again the request for some input / help here. The problem is that the KDE 4.1 install seems to interfere in some ways. (OOo doesn't use KDE4 at all atm). Unless there is some quick workaround / response to that I'm going to unmask OOo 3.0 with a simple warning about the build breakage soonish.
Created attachment 168670 [details, diff] openoffice-3.0.0.ebuild.patch Suggested patch for openoffice-3.0.0 ebuild, this will make emerge die in the beginning and not halfway through the build.
(In reply to comment #15) > Created an attachment (id=168670) [edit] > openoffice-3.0.0.ebuild.patch > > Suggested patch for openoffice-3.0.0 ebuild, this will make emerge die in the > beginning and not halfway through the build. > Thanks for the patch, this is in now, indeed better than just failing
That's weird… I have kdeprefix flag globally enabled yet I am unable to compile openoffice. Same error about vcl module. kdelibs-3.5.9-r4 is installed too. It is an amd64-system. enabled USE flags for openoffice: "cups dbus gstreamer gtk java kde ldap linguas_en opengl pam".
hmm, even if I unmerge kdelibs:4.1 and kdepimlibs:4.1 openoffice still fails on vcl with kde USE flag. I guess there might be some stale kde files somewhere as I did try to compile kde without kdepath once.
I am having this issue with openoffice-3.0.0, but I am running kde-3.5.10 and gcc-4.3.2. It reports that module "sc" needs to be rebuilt. Portage 2.2_rc12 (default/linux/amd64/2008.0, gcc-4.3.2, glibc-2.8_p20080602-r0, 2.6.27-gentoo x86_64) ================================================================= System uname: Linux-2.6.27-gentoo-x86_64-Intel-R-_Core-TM-2_Quad_CPU_Q6600_@_2.40GHz-with-glibc2.2.5 Timestamp of tree: Fri, 17 Oct 2008 16:45:03 +0000 distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled] ccache version 2.4 [enabled] app-shells/bash: 3.2_p39 dev-lang/python: 2.5.2-r8 dev-util/ccache: 2.4-r8 dev-util/cmake: 2.4.8 sys-apps/baselayout: 2.0.0 sys-apps/openrc: 0.3.0-r1 sys-apps/sandbox: 1.2.18.1-r3 sys-devel/autoconf: 2.13, 2.63 sys-devel/automake: 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1 sys-devel/binutils: 2.18-r3 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 2.2.6a virtual/os-headers: 2.6.26 ACCEPT_KEYWORDS="amd64 ~amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=core2 -O2 -pipe -fomit-frame-pointer" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-march=core2 -O2 -pipe -fomit-frame-pointer" DISTDIR="/mnt/nfs_portage/distfiles" FEATURES="ccache distcc distlocks parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://gentoo.mirrors.tds.net/gentoo ftp://gentoo.mirrors.tds.net/gentoo http://ftp.twaren.net/Linux/Gentoo/" LDFLAGS="-Wl,-O1" MAKEOPTS="-j7" PKGDIR="/mnt/nfs_portage/packages" PORTAGE_COMPRESS="gzip" PORTAGE_COMPRESS_FLAGS="-9" 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="/mnt/nfs_portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage" USE="X a52 aac acl acpi alsa amarok amd64 asf audiofile avi bash-completion berkdb bzip2 cdr cli cracklib crypt ctype cups dirac dlloader dri dts dv dvd dvdr dvdread encode ffmpeg flac foomaticdb fortran frontendonly ftp g77 gdbm gif iconv imap imlib innodb ip4100 joystick jpeg kde kdeenablefinal kdexdeltas lcms libg++ libwww live lm_sensors logrotate mad maildir matroska midi mime mmx mmxext mng mp3 mpeg mudflap multilib mysql ncurses nls nptl nptlonly nsplugin nvidia ogg oggvorbis openal opengl openmp pcre pdf perl png python qt qt3 quicktime readline samba sdl session smp speex spl sse sse2 ssl ssse3 subversion svg sysfs syslog taglib tcpd theora tiff transcode truetype unicode usb v4l vhosts vorbis x264 xine xinerama xml xml2 xorg xv xvid xvmc zlib" ALSA_CARDS="emu10k1" 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" CAMERAS="ptp2" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="nvidia" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS
This bug might be related with http://bugs.gentoo.org/show_bug.cgi?id=237556
the problem doesn't seem to be the prefix but the other bug 237556 as mentioned
*** Bug 242906 has been marked as a duplicate of this bug. ***
(In reply to comment #14) > @KDE-herd: Again the request for some input / help here. The problem is that > the KDE 4.1 install seems to interfere in some ways. (OOo doesn't use KDE4 at > all atm). > > Unless there is some quick workaround / response to that I'm going to unmask > OOo 3.0 with a simple warning about the build breakage soonish. > Andreas, sorry for taking so long to report back. I've been busy and haven't followed bugs for the past week. Other KDE members have been very busy as well. OOo3.0 was having problems with KDE-4.1.2 built with -kdeprefix, but the latest updates to kdelibs and kdebase-startkde (3.5.10 and 4.1.2) should have fix it. Users with KDE-3.5.9 should still be affected by this bug. I believe the preferred solution is to ask for 3.5.10 to be marked stable.
I've just tried to build oo after a sync, but the problem is still there. (~amd64). I've latest ~ packages installed (4.1.2 and 3.5.10). From latest comment it seems that it should build fine, or am I missing something? (the error is exactly the same as reported before)
I think I've figured out the root of the problem. OOO uses the KDE3.5 API exclusively; it doesn't support KDE4 at all. You can tell by the "undefined reference to KApplication::KApplication(bool, bool)" error in the compile output of comment #1. This is the function signature for the KApplication ctor in KDE3.5, but not in KDE4 (cf http://api.kde.org/3.5-api/kdelibs-apidocs/kdecore/html/classKApplication.html and http://api.kde.org/4.1-api/kdelibs-apidocs/kdeui/html/classKApplication.html). Even if you have the kdelibs-3.5 installed on a machine that runs KDE4, the OOO build process looks for libkdecore in /usr/lib before it looks for it in /usr/kde/3.5/lib. So the linker finds the KDE4 version of libkdecore in /usr/lib before it finds the KDE3.5 version of libkdecore in /usr/kde/3.5/lib, tries to link against it, and fails. I've filed a bug upstream to tell them to fix their linker options: http://www.openoffice.org/issues/show_bug.cgi?id=95552 I would recommend changing this bug to CANTFIX because the USE flag filter is the best we can do until upstream either ports OOO to the KDE4 API, or fixes their build system.
There's a workaround at the upstream bug report. Is it possible to get this included in an -r1 ebuild or something similar?
(In reply to comment #26) > There's a workaround at the upstream bug report. Is it possible to get this > included in an -r1 ebuild or something similar? > I'm not so comfortable with go-oo build system, so it took me a while to 'insert' the patch into it; I also wanted to ensure it really builds and runs before posting anything here.
Created attachment 172085 [details, diff] Patched ebuild
Created attachment 172087 [details, diff] The upstream workaround patch, sligtly modified The go-oo build system seems to require .diff extension for patches. Also, it have to be applicable with -p0 . (If there is any possibility to change that, I'd be glad to know it.)
I've applied the patch and succesfully compiled OOo-3.0 on amd64. Thanks! :)
Can we push the updated ebuild into the tree? Maybe as unstable, so that not everybody not using kde-4 has to rebuild oder manually mask it. OOo-3.0.1 will be released on January 15th, so there are nearly 2 months users could benefit of this.
*** Bug 248924 has been marked as a duplicate of this bug. ***
I don't know if it is related to this, but I suspect it could be: I just discovered that my version of openoffice 3.0 built with the modified ebuild from this bug hangs whenever I try to access a file selection menu (that is, open, save as, export as pdf)...
(In reply to comment #33) > I don't know if it is related to this, but I suspect it could be: I just > discovered that my version of openoffice 3.0 built with the modified ebuild > from this bug hangs whenever I try to access a file selection menu (that is, > open, save as, export as pdf)... > I guess KDE4 libraries are being picked up at runtime. In that case, starting writer as LD_LIBRARY_PATH=/usr/kde/3.5/lib64 oowriter should 'fix' the problem. Can you confirm that? If it did not work, could you attach result of ldd /usr/lib64/openoffice/basis-link/program/libvclplug_kdelx.so here?
Created attachment 176168 [details] Output of ldd /usr/lib64/openoffice/basis-link/program/libvclplug_kdelx.so Running with LD_LIBRARY_PATH set makes no difference -- i still get crashes when trying to access theh file selector dialogs. I've attached the ldd output as requested.
Sigh, the native KDE filepicker is implemented as an application, but my patch only affects building of shared libraries. Result of it is the filepicker still uses KDE4/Qt4 libraries.
Created attachment 176433 [details, diff] Shuffles linker options for linking apps in the same manner as previous version did for shared libraries
->Toke: Could you try the new patch? Ebuild stays the same as before.
The new patch seems to have solved it. Open/save-dialogs work without crashing now, and I can succesfully both open and save documents. :)
any hope to have in portage asap?
add security to cc, because this bug is preventing ~kde users access to a non-vulnerable version of openoffice, see bug #235824, glsa 200812-13
The old patch allowed openoffice to build here. I haven't been using it, so I can't comment about runtime issues, but given comment #39, it would seem the new patch fixed those issues. I'm currently building it with the new patch. I'll let you know if it runs well here.
After some testing that it doesn't interfere with non-kde builds I've put the proposed patch in portage now. Thanks to everyone here for working this out, especially to David for the patch.
*** Bug 270157 has been marked as a duplicate of this bug. ***
(In reply to comment #44) > *** Bug 270157 has been marked as a duplicate of this bug. *** Well, could you please reopen the bug? 3.1.0 doesn't work with the kde flag enabled.
Reopening as requested.
*** Bug 270273 has been marked as a duplicate of this bug. ***
Confirm 3.1.0 with kde fails. Builds with -kde. Care for config?
(In reply to comment #48) > Confirm 3.1.0 with kde fails. Builds with -kde. Care for config? same here.
(In reply to comment #49) > > Confirm 3.1.0 with kde fails. Builds with -kde. Care for config? Same here.
*** Bug 269815 has been marked as a duplicate of this bug. ***
Same here. I run AMD64 with ~amd64 as accepted_keyword and KDE in the resulting version. OO fails to build at the vcl module. Any further info needed?
Created attachment 192111 [details] openoffice-3.1.0-build.log.gz Emerge failure log of openoffice-3.1.0 using following command: "LC_ALL=C MAKEOPTS="-j1" emerge -v1 openoffice" Up to date ~x86_64 arch here.
*** Bug 270914 has been marked as a duplicate of this bug. ***
*** Bug 270801 has been marked as a duplicate of this bug. ***
Will Openoffice 3.1.0 build without the kde USE flag?
I've just reenabled the old patch in our build, hope this solves your building problems. Please give the mirrors some time to catch up and then try again. Still clueless, why this bug suddenly reappeared, 3.0.1 seemed to work fine without the patch...
(In reply to comment #56) > Will Openoffice 3.1.0 build without the kde USE flag? Yes (at least today, a couple of days ago it didn't build at all)
Created attachment 192278 [details] build.log (In reply to comment #57) > I've just reenabled the old patch in our build, hope this solves your building > problems. Please give the mirrors some time to catch up and then try again. > > Still clueless, why this bug suddenly reappeared, 3.0.1 seemed to work fine > without the patch... I grabbed the updated ebuild directly from the CVS and tried to build. It again fails. Attached is the build.log.
(In reply to comment #59) > I grabbed the updated ebuild directly from the CVS and tried to build. It again > fails. Attached is the build.log. Your build log does not show any signs of the patch being applied, so I don't think you really did build the most recent version...
(In reply to comment #60) > Your build log does not show any signs of the patch being applied, so I don't > think you really did build the most recent version... Ok, trying again. I emerged sync just now and it seems that the new version is now there. Will report back.
(In reply to comment #61) > (In reply to comment #60) > > Your build log does not show any signs of the patch being applied, so I don't > > think you really did build the most recent version... > > Ok, trying again. I emerged sync just now and it seems that the new version is > now there. > > Will report back. Tried that - unfortunately, didn't work at all (attaching build log).
Created attachment 192293 [details] Build log (3.1.0 with kde flag enabled) Build log (3.1.0 with kde flag enabled)
(In reply to comment #62) > > Tried that - unfortunately, didn't work at all (attaching build log). > Well if you look at the build log - that is not the same bug anymore, please open a seperate report about it (but from a quick look: Such sort of OpenGL-related problems are normally a user configuration problem in respect to graphics drivers...) Anyway: Out of the scope of this bug.
(In reply to comment #64) > Anyway: Out of the scope of this bug. Are you absolutely sure? You see, compiling openoffice 3.1.0 with -kde did work fine, only after enabling kde (and using emerge --newuse) the opengl bug occurred.
Created attachment 192300 [details] build.log Failed here too. Attached build.log. It might be the same OpenGL error...
(In reply to comment #66) > Created an attachment (id=192300) [edit] > build.log > > Failed here too. Attached build.log. > > It might be the same OpenGL error... > (In reply to comment #66) > Created an attachment (id=192300) [edit] > build.log > > Failed here too. Attached build.log. > > It might be the same OpenGL error... > I've created a bug for the opengl error. It happens with USE="-kde" also. See bug 271152
(In reply to comment #57) > I've just reenabled the old patch in our build, hope this solves your building > problems. Please give the mirrors some time to catch up and then try again. Thanks, it works for me with the patch (solves the error about vcl). > Still clueless, why this bug suddenly reappeared, 3.0.1 seemed to work fine > without the patch... Without the patch, 3.0.1 failed with an error similar to the vcl one, but it was about soltools instead of vcl.
(In reply to comment #68) > Without the patch, 3.0.1 failed with an error similar to the vcl one, but it > was about soltools instead of vcl. Still this obviously was triggered by some recent changes in the Gentoo KDE stuff as it worked for months before getting broken again...
Mine still fails, but this time with: 1 module(s): slideshow need(s) to be rebuilt Reason(s): ERROR: error 65280 occurred while making /var/tmp/portage/app-office/openoffice-3.1.0/work/ooo/build/ooo310-m11/slideshow/source/engine/OGLTrans Attention: if you build and deliver the above module(s) you may prolongue your the build issuing command "build --from slideshow" Is this a new bug now? To me it appears the only difference being that its the slideshow module now..
(In reply to comment #70) > Mine still fails, but this time with: > > 1 module(s): > slideshow > need(s) to be rebuilt > > Reason(s): > > ERROR: error 65280 occurred while making > /var/tmp/portage/app-office/openoffice-3.1.0/work/ooo/build/ooo310-m11/slideshow/source/engine/OGLTrans > > Attention: if you build and deliver the above module(s) you may prolongue your > the build issuing command "build --from slideshow" > > > Is this a new bug now? To me it appears the only difference being that its the > slideshow module now.. > Yes. It seems to be a different bug. It also happens if you don't have installed any package with the "kdeprefix" use flag. And it's unrelated to the "kde" use flag too. See bug 271152 for this issue.
So, the original kde-related bug seems to be fixed again, so closing.
(In reply to comment #71) > Yes. It seems to be a different bug. It also happens if you don't have > installed any package with the "kdeprefix" use flag. And it's unrelated to the > "kde" use flag too. See bug 271152 for this issue. I admit it's not the same bug, but it seems related to kde. I have no kdeprefix-ed package and my build failed at vcl module with +kde. With -kde it build fine. Bug #271152 seems unrelated to me.
I got the same slideshow error
I am getting the same problem now for openoffice 3.2
Argh! This bug is back! Did someone accidentally revert whatever patch was in place to fix this issue? Could this bug please be confirmed and re-opened? Thanks.
(In reply to comment #76) > Argh! This bug is back! Did someone accidentally revert whatever patch was in > place to fix this issue? Could this bug please be confirmed and re-opened? > Thanks. Its happening here too.