Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 115223 - OpenOffice 2.0.0.2 fails to merge, undefined symbol in check_libkab1.so
Summary: OpenOffice 2.0.0.2 fails to merge, undefined symbol in check_libkab1.so
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-12-11 12:30 UTC by John Hardin
Modified: 2005-12-26 10:29 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 John Hardin 2005-12-11 12:30:18 UTC
Ooo-2.0.0.2 build fails consistently at the same spot with an "undefined symbol"
error. The symbol name does not change between attempts.

>>> Unpacking source...
>>> Unpacking ooo-build-2.0.0.2.tar.gz to /var/tmp/portage/openoffice-2.0.0/work
>>> Source unpacked.
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for perl... /usr/bin/perl
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for FOO_COMMON... yes
checking for FOO_OPTIONAL... yes
found OOO_2_0_0, using
/var/tmp/portage/openoffice-2.0.0/work/ooo-build-2.0.0.2/patches/OOO_2_0/apply
checking for directory where to download sources ... /usr/portage/distfiles
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking dependency style of gcc... none
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking security/pam_appl.h usability... yes
checking security/pam_appl.h presence... yes
checking for security/pam_appl.h... yes
checking png.h usability... yes
checking png.h presence... yes
checking for png.h... yes
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking for autoconf... yes
checking for flex... yes
checking for bison... yes
checking for ccache... no
checking for widget sets... checking for FOO_GTK... yes
--enable-gtk --enable-kde 
checking whether Hunspell UNO is enabled... no
checking for libhunspell... no needed
checking for broken aliases... ok
checking for Open Clip Art Library... no
checking for ooo-version... 2.0
checking for binsuffix... 2
checking for requested localizations... en-US
checking whether to enable Mono bindings... no
checking whether to enable Access import... no
checking whether to enable debugging code... configure: creating ./config.status
config.status: creating download
config.status: creating scratch/place
config.status: creating intltool-extract
config.status: creating intltool-merge
config.status: creating intltool-update
config.status: creating Makefile
config.status: creating ooo1.1.spec
config.status: creating bin/setup
config.status: creating bin/Makefile
config.status: creating desktop/Makefile
config.status: creating distro-configs/Makefile
config.status: creating distro-configs/Ark.conf
config.status: creating distro-configs/Common.conf
config.status: creating distro-configs/Debian.conf
config.status: creating distro-configs/DebianSarge.conf
config.status: creating distro-configs/Debian64.conf
config.status: creating distro-configs/Ubuntu.conf
config.status: creating distro-configs/Ubuntu64.conf
config.status: creating distro-configs/NLD.conf
config.status: creating distro-configs/NLD64.conf
config.status: creating distro-configs/SUSE.conf
config.status: creating distro-configs/Mandriva.conf
config.status: creating distro-configs/Mandriva64.conf
config.status: creating distro-configs/Gentoo.conf
config.status: creating distro-configs/QiLinux.conf
config.status: creating distro-configs/Frugalware.conf
config.status: creating distro-configs/Frugalware64.conf
config.status: creating fonts/Makefile
config.status: creating patches/Makefile
config.status: creating patches/a11y/Makefile
config.status: creating patches/cairo/Makefile
config.status: creating patches/evo2/Makefile
config.status: creating patches/vba/Makefile
config.status: creating patches/mono/Makefile
config.status: creating patches/src680/Makefile
config.status: creating patches/OOO_2_0/Makefile
config.status: creating patches/64bit/Makefile
config.status: creating po/Makefile
config.status: creating doc/Makefile
config.status: creating src/Makefile
config.status: creating stamp/Makefile
config.status: creating man/Makefile
config.status: creating www/Makefile
config.status: creating www/images/Makefile
config.status: creating www/tinder-scripts/Makefile
config.status: executing depfiles commands

Building openoffice
	tag:                OOO_2_0_0
	apply rules:       
/var/tmp/portage/openoffice-2.0.0/work/ooo-build-2.0.0.2/patches/OOO_2_0/apply
	build dir:         
/var/tmp/portage/openoffice-2.0.0/work/ooo-build-2.0.0.2/build/OOO_2_0_0
	tools dir:          /var/tmp/portage/openoffice-2.0.0/work/ooo-build-2.0.0.2
	src package dir:    /usr/portage/distfiles
	distro:             Gentoo
	widget sets:        gtk kde
	icons:              industrial crystal hicontrast
	gcc to use:         from system
	hunspell-uno:	    no
	hunspell-lib:	    no needed
	openclipart:        no
	mono bindings:	    no
	mdbtools/access:    no
	java:               yes
	ooo-install-dir:    openoffice
	force gcc33:        no
	ccache:             no
	icecream:           no
	cairo:		    no
	build type:	    product build
	download mirror:    http://go-ooo.org/packages

{much snippage}

------------------------------
Making: ../../../unxlngi4.pro/lib/libkab1.so
gcc -O2 -Bsymbolic -z combreloc -z defs -Wl,-rpath,'$ORIGIN' -shared -Wl,-O1
-Wl,--version-script ../../../unxlngi4.pro/misc/kab_kab1.map
-L../../../unxlngi4.pro/lib -L../lib
-L/var/tmp/portage/openoffice-2.0.0/work/ooo-build-2.0.0.2/build/ooo680-m3/solenv/unxlngi4/lib
-L/var/tmp/portage/openoffice-2.0.0/work/ooo-build-2.0.0.2/build/ooo680-m3/solver/680/unxlngi4.pro/lib
-L/var/tmp/portage/openoffice-2.0.0/work/ooo-build-2.0.0.2/build/ooo680-m3/solenv/unxlngi4/lib
-L/opt/blackdown-jdk-1.4.2.02/lib -L/opt/blackdown-jdk-1.4.2.02/jre/lib/i386
-L/opt/blackdown-jdk-1.4.2.02/jre/lib/i386/client
-L/opt/blackdown-jdk-1.4.2.02/jre/lib/i386/native_threads -L/usr/lib
-L/usr/lib/mozilla ../../../unxlngi4.pro/slo/KColumns.o
../../../unxlngi4.pro/slo/KTable.o ../../../unxlngi4.pro/slo/KTables.o
../../../unxlngi4.pro/slo/KCatalog.o ../../../unxlngi4.pro/slo/KResultSet.o
../../../unxlngi4.pro/slo/KStatement.o
../../../unxlngi4.pro/slo/KPreparedStatement.o
../../../unxlngi4.pro/slo/KDatabaseMetaData.o
../../../unxlngi4.pro/slo/KConnection.o ../../../unxlngi4.pro/slo/KServices.o
../../../unxlngi4.pro/slo/KResultSetMetaData.o
../../../unxlngi4.pro/slo/KDriver.o ../../../unxlngi4.pro/slo/KCondition.o
../../../unxlngi4.pro/slo/kab1_version.o
../../../unxlngi4.pro/slo/kab1_description.o -o
../../../unxlngi4.pro/lib/libkab1.so -luno_cppu -luno_cppuhelpergcc3 -lvos3gcc3
-lsvl680li -lvcl680li -ltl680li -lsvt680li -lutl680li -lucbhelper3gcc3 -luno_sal
-ldbtools680li -lfile680li -lcomphelp4gcc3 -L/usr/kde/3.4/lib -L/usr/qt/3/lib
-lkdeui -lkdecore -lqt-mt -lkabc -ldl -lpthread -lm -Wl,-Bdynamic -lstlport_gcc
-lstdc++
rm -f ../../../unxlngi4.pro/lib/check_libkab1.so
mv ../../../unxlngi4.pro/lib/libkab1.so ../../../unxlngi4.pro/lib/check_libkab1.so
/var/tmp/portage/openoffice-2.0.0/work/ooo-build-2.0.0.2/build/ooo680-m3/solenv/bin/checkdll.sh
-L../../../unxlngi4.pro/lib -L../lib
-L/var/tmp/portage/openoffice-2.0.0/work/ooo-build-2.0.0.2/build/ooo680-m3/solenv/unxlngi4/lib
-L/var/tmp/portage/openoffice-2.0.0/work/ooo-build-2.0.0.2/build/ooo680-m3/solver/680/unxlngi4.pro/lib
-L/var/tmp/portage/openoffice-2.0.0/work/ooo-build-2.0.0.2/build/ooo680-m3/solenv/unxlngi4/lib
-L/opt/blackdown-jdk-1.4.2.02/lib -L/opt/blackdown-jdk-1.4.2.02/jre/lib/i386
-L/opt/blackdown-jdk-1.4.2.02/jre/lib/i386/client
-L/opt/blackdown-jdk-1.4.2.02/jre/lib/i386/native_threads -L/usr/lib
-L/usr/lib/mozilla ../../../unxlngi4.pro/lib/check_libkab1.so
Checking DLL ../../../unxlngi4.pro/lib/check_libkab1.so ...: ERROR:
../../../unxlngi4.pro/lib/check_libkab1.so: undefined symbol:
_ZN4KABC11AddressBook13allAddresseesEv
dmake:  Error code 1, while making '../../../unxlngi4.pro/lib/libkab1.so'
'---* tg_merge.mk *---'

ERROR: Error 65280 occurred while making
/var/tmp/portage/openoffice-2.0.0/work/ooo-build-2.0.0.2/build/ooo680-m3/connectivity/source/drivers/kab
make: *** [stamp/build] Error 1

Reproducible: Always
Steps to Reproduce:
1. emerge --update openoffice
Actual Results:  
emerge failed.

Expected Results:  
successfully compiled and installed.

Gentoo Base System version 1.6.13
Portage 2.0.51.22-r3 (default-linux/x86/2005.1, gcc-3.3.6, glibc-2.3.5-r2,
2.4.20-31.9 i686)
=================================================================
System uname: 2.4.20-31.9 i686 AMD Athlon(tm) XP 1900+
dev-lang/python:     2.3.5-r2, 2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /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="-O2 -march=athlon-xp"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.osuosl.org http://distfiles.gentoo.org
http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="en_US.8859-15"
LC_ALL="en_US"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow X alsa apache2 apm audiofile avi berkdb bitmap-fonts bzip2 crypt
cups curl eds emboss encode esd exif expat fam flac foomaticdb fortran gdbm gif
glut gnome gpm gstreamer gtk gtk2 guile hardenedphp idn imagemagick imlib ipv6
jabber java jpeg junit kde lcms libg++ libwww mad mhash mikmod mng motif mozilla
mp3 mpeg mysql ncurses nls ogg oggvorbis opengl oss pam pcre pdflib perl png
postgres python qt quicktime readline samba sdl spell sse ssl svg tcpd threads
tiff truetype truetype-fonts type1-fonts udev vhosts vorbis win32codecs xml xml2
xmms xv zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Comment 1 John Hardin 2005-12-21 05:52:34 UTC
Apparently "kab" is the KDE address book. I'm trying USE="-kde" to see what happens; am I risking making Ooo-2.0 unusable by disabling KDE? :)
Comment 2 Éric Bischoff 2005-12-21 10:56:47 UTC
(In reply to comment #1)
> Apparently "kab" is the KDE address book. I'm trying USE="-kde" to see what
> happens; am I risking making Ooo-2.0 unusable by disabling KDE? :)

1) The configure flag is --enable-kde or --disable-kde, not USE="-kde", as far as I know

2) OOo will still be usable (although much less sexy) without KDE

3) The involved source code lines seem to be in connectivity/source/drivers/kab:
        KABC::AddressBook* pAddressBook = pConnection->getAddressBook();
        m_aKabAddressees = pAddressBook->allAddressees();
Let's continue this discussion in private until we find the origin of the problem. First information I would need to know is your versions of libkabc.so, and whether allAddressees symbol pertains to it.
Comment 3 Andreas Proschofsky (RETIRED) gentoo-dev 2005-12-25 10:57:47 UTC
(In reply to comment #2)
> 
> 1) The configure flag is --enable-kde or --disable-kde, not USE="-kde", as far
> as I know

Which actually is the same, or what do you think does USE="-kde" do? ;)

But I agree this looks like a broken kde-addressbook-stuff. Don't know in which package this resides but it would be a good idea to rebuild it and then try again to build OOo.

Comment 4 John Hardin 2005-12-26 10:29:07 UTC
Okay, this one appears to be my fault. There were lurking library files from an older version of KDE that weren't properly cleaned up when I upgraded my system to Gentoo.

Apologies to the Ooo devs for my error.