Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 81315 - openoffice-ximian-1.3.8 fails to compile: eds, evolution, gnome issue
Summary: openoffice-ximian-1.3.8 fails to compile: eds, evolution, gnome issue
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Office Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-02-08 18:39 UTC by Mystilleef
Modified: 2005-02-17 05:52 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mystilleef 2005-02-08 18:39:21 UTC
openoffice-ximian-1.3.8 fails to compile with the following error:

Making: ../../../unxlngi4.pro/slo/NDriver.obj
g++ -fmessage-length=0 -c -I.  -I. -I../inc -I../../inc -I../../../inc -I../../../unx/inc -I../../../unxlngi4.pro/inc -I. -I/tmp/portage/openoffice-ximian-1.3.8/work/solver/645/unxlngi4.pro/inc/stl -I/tmp/portage/openoffice-ximian-1.3.8/work/solver/645/unxlngi4.pro/inc/external -I/tmp/portage/openoffice-ximian-1.3.8/work/solver/645/unxlngi4.pro/inc -I/tmp/portage/openoffice-ximian-1.3.8/work/solenv/unxlngi4/inc -I/tmp/portage/openoffice-ximian-1.3.8/work/solenv/inc -I/tmp/portage/openoffice-ximian-1.3.8/work/res -I/tmp/portage/openoffice-ximian-1.3.8/work/solver/645/unxlngi4.pro/inc/stl -I/tmp/portage/openoffice-ximian-1.3.8/work/solenv/inc/Xp31 -I/opt/ibm-jdk-bin-1.4.2/include -I/usr/include     -I. -I../../../res -I. -O1   `pkg-config --cflags libebook-1.0` -pipe -w -pipe -frename-registers -march=athlon -fforce-mem -O2 -s -fpic -fPIC -fno-strict-aliasing -fno-for-scope -fpermissive -fno-rtti -include preinclude.h -fexceptions -fno-enforce-eh-specs   -fpic -DLINUX -DUNX -DVCL -DGCC -DC300 -DINTEL -DGXX_INCLUDE_PATH=/usr/lib/gcc/i686-pc-linux-gnu/3.4.3/include/g++-v3 -DCVER=C300 -D_USE_NAMESPACE -DGLIBC=2 -DX86 -D_PTHREADS -D_REENTRANT -DNEW_SOLAR -D_USE_NAMESPACE=1 -DSTLPORT_VERSION=400 -D__DMAKE -DUNIX -DCPPU_ENV=gcc3 -DSUPD=645 -DPRODUCT -DNDEBUG -DPRODUCT_FULL -DOSL_DEBUG_LEVEL=0 -DOPTIMIZE -DEXCEPTIONS_ON -DCUI -DSOLAR_JAVA -DSRX645   -DSHAREDLIB -D_DLL_  -DMULTITHREAD   -o ../../../unxlngi4.pro/slo/NDriver.o /tmp/portage/openoffice-ximian-1.3.8/work/connectivity/source/drivers/evoab1.5/NDriver.cxx
Package libebook-1.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `libebook-1.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libebook-1.0' found
In file included from /tmp/portage/openoffice-ximian-1.3.8/work/connectivity/source/drivers/evoab1.5/NDriver.cxx:60:
/tmp/portage/openoffice-ximian-1.3.8/work/connectivity/source/drivers/evoab1.5/NConnection.hxx:87:29: libebook/e-book.h: No such file or directory
In file included from /tmp/portage/openoffice-ximian-1.3.8/work/connectivity/source/drivers/evoab1.5/NDriver.cxx:60:
/tmp/portage/openoffice-ximian-1.3.8/work/connectivity/source/drivers/evoab1.5/NConnection.hxx:121: error: expected `;' before '*' token
/tmp/portage/openoffice-ximian-1.3.8/work/connectivity/source/drivers/evoab1.5/NConnection.hxx:157: error: expected `;' before '*' token
/tmp/portage/openoffice-ximian-1.3.8/work/connectivity/source/drivers/evoab1.5/NConnection.hxx:160: error: expected `;' before "virtual"
/tmp/portage/openoffice-ximian-1.3.8/work/connectivity/source/drivers/evoab1.5/NDriver.cxx:96:23: libbonobo.h: No such file or directory
/tmp/portage/openoffice-ximian-1.3.8/work/connectivity/source/drivers/evoab1.5/NDriver.cxx: In constructor `connectivity::evoab::OEvoabDriver::OEvoabDriver(const com::sun::star::uno::Reference<com::sun::star::lang::XMultiServiceFactory>&)':
/tmp/portage/openoffice-ximian-1.3.8/work/connectivity/source/drivers/evoab1.5/NDriver.cxx:111: error: `bonobo_init' undeclared (first use this function)
/tmp/portage/openoffice-ximian-1.3.8/work/connectivity/source/drivers/evoab1.5/NDriver.cxx:111: error: (Each undeclared identifier is reported only once for each function it appears in.)
dmake:  Error code 1, while making '../../../unxlngi4.pro/slo/NDriver.obj'
---* TG_SLO.MK *---
dmake:  Error code 255, while making 'do_it_exceptions'
---* TG_SLO.MK *---

ERROR: Error 65280 occurred while making /tmp/portage/openoffice-ximian-1.3.8/work/connectivity/source/drivers/evoab1.5

!!! ERROR: app-office/openoffice-ximian-1.3.8 failed.
!!! Function src_compile, Line 475, Exitcode 1
!!! Build failed!
!!! If you need support, post the topmost build error, NOT this status message.


Reproducible: Always
Steps to Reproduce:
1. emerge openoffice-ximian-1.3.8
2.
3.

Actual Results:  
It fails to compile.


[06:47 PM root(~)]# emerge info
Portage 2.0.51-r15 (default-linux/x86/2004.3, gcc-3.4.3,
glibc-2.3.4.20041102-r0, 2.6.11-rc2-nitro1 i686)
=================================================================
System uname: 2.6.11-rc2-nitro1 i686 AMD Athlon(tm) Processor
Gentoo Base System version 1.6.9
Python:              dev-lang/python-2.3.4-r1 [2.3.4 (#1, Feb  8 2005, 09:46:08)]
dev-lang/python:     2.3.4-r1
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.7.9-r1, 1.8.5-r3, 1.6.3, 1.9.4, 1.5
sys-devel/binutils:  2.15.92.0.2-r2
sys-devel/libtool:   1.5.10-r4
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-w -pipe -fomit-frame-pointer -frename-registers        -march=athlon
-fforce-mem -O2 -s -fpic -fPIC"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-w -pipe -fomit-frame-pointer -frename-registers      -march=athlon
-fforce-mem -O2 -s -fpic -fPIC"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache digest distlocks fixpackages sandbox sfperms"
GENTOO_MIRRORS="http://open-systems.ufl.edu/mirrors/gentoo
http://mirror.datapipe.net/gentoo http://gentoo.chem.wisc.edu/gentoo/
http://mirror.datapipe.net/gentoo http://mirror.usu.edu/mirrors/gentoo/"
LDFLAGS="-Wl,-O1 -Wl,--enable-new-dtags -Wl,--sort-common -Wl,-z,combreloc
-Wl,-s -s"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/bmg-main /usr/local/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="3dnow 3dnowex X alsa avi bindist bonobo cdparanoia cdr crypt curl dbus
dlloader dvd esd f77 faad fam flac gif gnome gnutls gstreamer gtk2 hal howl
imagemagick imlib ithreads jpeg libg++ libwww live mad mikmod mmx mmx2 mng mono
mozilla mpeg ncurses network nptl nptlonly oggvorbis opengl oss pam pdflib pic
png quicktime readline real rtc sdl speex spell ssl svg svga tcpd theora threads
tiff truetype truetype-fonts unicode usb userlocales x86 xine xml2 xv zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL
Comment 1 Mystilleef 2005-02-08 18:45:47 UTC
I am assuming the package failed to compile because I do not have evolution installed. If so, I do not understand why I need evolution, or evolution data center, to use openoffice-ximian.  I think eds should be a seperate use flag as opposed to it bundled with the gnome use flag. Not all gnome user, have, want or use evolution or evolution data center, gnome-light users most especially. 
Comment 2 Andreas Proschofsky (RETIRED) gentoo-dev 2005-02-11 12:31:56 UTC
You must have overridden the deps in the ebuild, which explicitely depend on evolution-data-server, so this is not our fault.

About eds-use-flag: Might come in the future, atm it's not so easy for build system reasons.
Comment 3 Mystilleef 2005-02-11 20:57:22 UTC
I didn't override anything. I emerged openoffice and it failed to build. I was only giving you possible reasons for the failure. Once again, I didn't tamper with the ebuild, and I do not understand why you jumped to that conclusion.
Comment 4 Mystilleef 2005-02-11 21:00:20 UTC
eds was one the deps openoffice installed on my machine. So, I do have eds installed. However, I do not have evolution installed. I was just assuming that maybe eds needed evolution or openoffice needed evolution. 
Comment 5 Andreas Proschofsky (RETIRED) gentoo-dev 2005-02-12 11:15:06 UTC
Which version of evolution-data-server do you have installed?
Comment 6 Mystilleef 2005-02-12 18:29:09 UTC
evolution-data-server-1.1.5
Comment 7 gent_bz 2005-02-13 03:07:47 UTC
The problem, fellow breakmygentoo user, is breakmygentoo (and the openoffice-ximian ebuild being ever so slightly imprecise).

Mystilleef, emerge --oneshot \<evolution-data-server-1.1 and this *should* solve the problem.  (it's slotted, and so should install alongside 1.1.5)

For the openoffice-ximian ebuild, explicitly requiring evolution-data-server < 1.1 would be correct and helpful :)  (but not technically essential...)
Comment 8 Mystilleef 2005-02-13 05:28:29 UTC
Oh, shoot! I forgot all about breakmygentoo. It didn't occur to me that eds might have been from the bmg repository. 

I'll remerge OOo using eds from portage and get back to you.
Comment 9 Mystilleef 2005-02-13 19:06:03 UTC
Jonathan's suggestion worked. Thanks.
Comment 10 Andreas Proschofsky (RETIRED) gentoo-dev 2005-02-17 05:25:38 UTC
Still: breakmygentoo is not our problem, closing
Comment 11 gent_bz 2005-02-17 05:52:45 UTC
Agreed, bmg is not your problem, but the ebuild is (technically) incorrect - >=gnome-extra/evolution-data-server-1.0 is not accurate - it is not (will not be) compatible with 1.1/1.2 version of eds.  When (if) a newer version of eds gets into portage, oo-x will no longer emerge.  

Would you consider restricting the requirement to < eds-1.1?  Making the change would do no harm :)

thanks.