Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 239363

Summary: app-office/openoffice-3.0.0 fail to build with use kde if you have kde:4.1 installed with -kdeprefix
Product: Gentoo Linux Reporter: Alexey Shvetsov <alexxy>
Component: New packagesAssignee: Gentoo Office Team <office>
Status: RESOLVED DUPLICATE    
Severity: normal CC: daniel, loki_val, pqGungnir
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 239356    
Bug Blocks:    

Description Alexey Shvetsov archtester gentoo-dev 2008-10-02 19:16:12 UTC
openoffice will fail on linking phase because it tryes to link to kdelibs:4.1 instead of kdelibs:3.5 if you have kde:4.1 installed with -kdeprefix

Reproducible: Always

Steps to Reproduce:
1.install kde:4.1 with -kdeprefix use flag
2. set kde use flag
3. emerge openoffice-3*

Actual Results:  
openoffice will fail to build

Expected Results:  
openoffice will build
Comment 1 Hanno Zysik (geki) 2008-10-02 21:26:34 UTC
I have enabled kde4(p.masked version in tree), not kde4.1, for my version.
The result of oo<app> execution is a defunc'ed kdefilepicker and openoffice will not start, naturally. ;)

I am going to debug that on my next build.

Well, JFYI. I wonder if any distribution has kde4 enabled for openoffice and running already.
Comment 2 Peter Alfredsen (RETIRED) gentoo-dev 2008-10-03 23:52:10 UTC
Also present in openoffice-3.0.0_rc3:

Making: ../unxlngx6.pro/lib/libvclplug_kdelx.so
x86_64-pc-linux-gnu-g++ -Wl,-z,combreloc -Wl,-z,defs -Wl,--as-needed -Wl,-Bsymbolic-functions -Wl,--dynamic-list-cpp-new -Wl,--dynamic-list-cpp-typeinfo -Wl,-rpath,'$ORIGIN:$ORIGIN/../ure-link/lib' -shared -L../unxlngx6.pro/lib -L../lib -L/var/tmp/portage/app-office/openoffice-3.0.0_rc3/work/ooo/build/ooo300-m8/solenv/unxlngx6/lib -L/var/tmp/portage/app-office/openoffice-3.0.0_rc3/work/ooo/build/ooo300-m8/solver/300/unxlngx6.pro/lib -L/var/tmp/portage/app-office/openoffice-3.0.0_rc3/work/ooo/build/ooo300-m8/solenv/unxlngx6/lib -L/opt/sun-jdk-1.6.0.07/lib64 -L/opt/sun-jdk-1.6.0.07/jre/lib/amd64 -L/opt/sun-jdk-1.6.0.07/jre/lib/amd64/server -L/opt/sun-jdk-1.6.0.07/jre/lib/amd64/native_threads -L/usr/lib ../unxlngx6.pro/slo/vclplug_kde_dflt_version.o -o ../unxlngx6.pro/lib/libvclplug_kdelx.so ../unxlngx6.pro/slo/kdedata.o ../unxlngx6.pro/slo/salnativewidgets-kde.o -L/usr/kde/3.5/lib64 -L/usr/qt/3/lib64 -lkdeui -lkdecore -lqt-mt -lvclplug_genlx -lvcllx -lpsplx -ltllx -lvos3gcc3 -luno_sal -lXrandr -lX11 -lXext -ldl -lpthread -lm
../unxlngx6.pro/slo/kdedata.o: In function `KDEXLib::Init()':
/var/tmp/portage/app-office/openoffice-3.0.0_rc3/work/ooo/build/ooo300-m8/vcl/unx/kde/kdedata.cxx:136: undefined reference to `KAboutData::KAboutData(char const*, char const*, char const*, char const*, int, char const*, char const*, char const*, char const*)'
/var/tmp/portage/app-office/openoffice-3.0.0_rc3/work/ooo/build/ooo300-m8/vcl/unx/kde/kdedata.cxx:140: undefined reference to `KAboutData::addAuthor(char const*, char const*, char const*, char const*)'
/var/tmp/portage/app-office/openoffice-3.0.0_rc3/work/ooo/build/ooo300-m8/vcl/unx/kde/kdedata.cxx:178: undefined reference to `KCmdLineArgs::init(int, char**, KAboutData const*, bool)'
/var/tmp/portage/app-office/openoffice-3.0.0_rc3/work/ooo/build/ooo300-m8/vcl/unx/kde/kdedata.cxx:180: undefined reference to `KApplication::disableAutoDcopRegistration()'
../unxlngx6.pro/slo/kdedata.o: In function `VCLKDEApplication':
/var/tmp/portage/app-office/openoffice-3.0.0_rc3/work/ooo/build/ooo300-m8/vcl/unx/kde/kdedata.cxx:70: undefined reference to `KApplication::KApplication(bool, bool)'
../unxlngx6.pro/slo/kdedata.o: In function `KApplication::metaObject() const':
/usr/kde/3.5/include/kapplication.h:97: undefined reference to `KApplication::staticMetaObject()'
../unxlngx6.pro/slo/kdedata.o:(.data.rel.ro._ZTV17VCLKDEApplication[vtable for VCLKDEApplication]+0x18): undefined reference to `KApplication::className() const'
../unxlngx6.pro/slo/kdedata.o:(.data.rel.ro._ZTV17VCLKDEApplication[vtable for VCLKDEApplication]+0x20): undefined reference to `KApplication::qt_cast(char const*)'
../unxlngx6.pro/slo/kdedata.o:(.data.rel.ro._ZTV17VCLKDEApplication[vtable for VCLKDEApplication]+0x28): undefined reference to `KApplication::qt_invoke(int, QUObject*)'
../unxlngx6.pro/slo/kdedata.o:(.data.rel.ro._ZTV17VCLKDEApplication[vtable for VCLKDEApplication]+0x30): undefined reference to `KApplication::qt_emit(int, QUObject*)'
../unxlngx6.pro/slo/kdedata.o:(.data.rel.ro._ZTV17VCLKDEApplication[vtable for VCLKDEApplication]+0x38): undefined reference to `KApplication::qt_property(int, int, QVariant*)'
../unxlngx6.pro/slo/kdedata.o:(.data.rel.ro._ZTV17VCLKDEApplication[vtable for VCLKDEApplication]+0xf0): undefined reference to `KApplication::virtual_hook(int, void*)'
../unxlngx6.pro/slo/kdedata.o:(.data.rel.ro._ZTV17VCLKDEApplication[vtable for VCLKDEApplication]+0x118): undefined reference to `non-virtual thunk to KApplication::virtual_hook(int, void*)'
../unxlngx6.pro/slo/salnativewidgets-kde.o: In function `readColor':
/var/tmp/portage/app-office/openoffice-3.0.0_rc3/work/ooo/build/ooo300-m8/vcl/unx/kde/salnativewidgets-kde.cxx:1760: undefined reference to `KConfigBase::readColorEntry(char const*, QColor const*) const'
../unxlngx6.pro/slo/salnativewidgets-kde.o: In function `KDESalFrame::UpdateSettings(AllSettings&)':
/var/tmp/portage/app-office/openoffice-3.0.0_rc3/work/ooo/build/ooo300-m8/vcl/unx/kde/salnativewidgets-kde.cxx:1866: undefined reference to `KConfigBase::setGroup(char const*)'
/var/tmp/portage/app-office/openoffice-3.0.0_rc3/work/ooo/build/ooo300-m8/vcl/unx/kde/salnativewidgets-kde.cxx:1870: undefined reference to `KConfigBase::hasKey(char const*) const'
/var/tmp/portage/app-office/openoffice-3.0.0_rc3/work/ooo/build/ooo300-m8/vcl/unx/kde/salnativewidgets-kde.cxx:1874: undefined reference to `KConfigBase::hasKey(char const*) const'
/var/tmp/portage/app-office/openoffice-3.0.0_rc3/work/ooo/build/ooo300-m8/vcl/unx/kde/salnativewidgets-kde.cxx:1878: undefined reference to `KConfigBase::hasKey(char const*) const'
/var/tmp/portage/app-office/openoffice-3.0.0_rc3/work/ooo/build/ooo300-m8/vcl/unx/kde/salnativewidgets-kde.cxx:1882: undefined reference to `KConfigBase::hasKey(char const*) const'
/var/tmp/portage/app-office/openoffice-3.0.0_rc3/work/ooo/build/ooo300-m8/vcl/unx/kde/salnativewidgets-kde.cxx:1886: undefined reference to `KConfigBase::hasKey(char const*) const'
../unxlngx6.pro/slo/salnativewidgets-kde.o:/var/tmp/portage/app-office/openoffice-3.0.0_rc3/work/ooo/build/ooo300-m8/vcl/unx/kde/salnativewidgets-kde.cxx:1890: more undefined references to `KConfigBase::hasKey(char const*) const' follow
../unxlngx6.pro/slo/salnativewidgets-kde.o: In function `KDESalFrame::UpdateSettings(AllSettings&)':
/var/tmp/portage/app-office/openoffice-3.0.0_rc3/work/ooo/build/ooo300-m8/vcl/unx/kde/salnativewidgets-kde.cxx:1901: undefined reference to `KConfigBase::setGroup(char const*)'
/var/tmp/portage/app-office/openoffice-3.0.0_rc3/work/ooo/build/ooo300-m8/vcl/unx/kde/salnativewidgets-kde.cxx:1904: undefined reference to `KConfigBase::hasKey(char const*) const'
/var/tmp/portage/app-office/openoffice-3.0.0_rc3/work/ooo/build/ooo300-m8/vcl/unx/kde/salnativewidgets-kde.cxx:1984: undefined reference to `KMainWindow::KMainWindow(QWidget*, char const*, unsigned int)'
/var/tmp/portage/app-office/openoffice-3.0.0_rc3/work/ooo/build/ooo300-m8/vcl/unx/kde/salnativewidgets-kde.cxx:1985: undefined reference to `KMainWindow::createGUI(QString const&, bool)'
/var/tmp/portage/app-office/openoffice-3.0.0_rc3/work/ooo/build/ooo300-m8/vcl/unx/kde/salnativewidgets-kde.cxx:2037: undefined reference to `KMainWindow::toolBar(char const*)'
../unxlngx6.pro/slo/salnativewidgets-kde.o: In function `readEntryUntranslated':
/var/tmp/portage/app-office/openoffice-3.0.0_rc3/work/ooo/build/ooo300-m8/vcl/unx/kde/salnativewidgets-kde.cxx:1753: undefined reference to `KConfigBase::readEntryUntranslated(char const*, QString const&) const'
../unxlngx6.pro/slo/salnativewidgets-kde.o: In function `KDESalFrame::UpdateSettings(AllSettings&)':
/var/tmp/portage/app-office/openoffice-3.0.0_rc3/work/ooo/build/ooo300-m8/vcl/unx/kde/salnativewidgets-kde.cxx:1896: undefined reference to `KConfigBase::readFontEntry(char const*, QFont const*) const'
collect2: ld returned 1 exit status
dmake:  Error code 1, while making '../unxlngx6.pro/lib/libvclplug_kdelx.so'
Running processes: 1
mkdir ../../unxlngx6.pro/misc/ooo/
mkdir: cannot create directory `../../unxlngx6.pro/misc/ooo/': File exists
rm -f ../../unxlngx6.pro/misc/ooo/module_ooo.ulf
ulfex -p scp2 -i module_ooo.ulf -o ../../unxlngx6.pro/misc/ooo/module_ooo.ulf.unxlngx6.pro -m localize.sdf -l all

Comment 3 Billy DeVincentis 2008-10-04 19:25:21 UTC
I am trying to emerge it a second time right now. If it again fails, I am going to try simply moving /usr/kde/4.1 to trash temporarily and then emerging openoffice and when it complete (if it completes) return kde4.1 to usr
Comment 4 Billy DeVincentis 2008-10-04 23:08:01 UTC
This time it emerged.
Comment 5 Matthias Liebig 2008-10-09 13:05:06 UTC
The same issue occurs also for openoffice 2.4, see bug #238539 .
Comment 6 Andreas Proschofsky (RETIRED) gentoo-dev 2008-10-09 15:24:56 UTC

*** This bug has been marked as a duplicate of bug 238539 ***