Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 80088 - Openoffice-1.1.4 fails to build
Summary: Openoffice-1.1.4 fails to build
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Gentoo Office Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-01-30 08:58 UTC by Peter Lourens
Modified: 2005-02-12 11:50 UTC (History)
0 users

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 Peter Lourens 2005-01-30 08:58:59 UTC
When I try to upgrade from openoffice 1.1.3 tot 1.1.4 I get an error at "Building project nas"
I have fully upgrade my system and rebuild all the needed packages before. It seems it has something to do with nss_ldap. I'm also using openldap-2.2.15 ebuild for using user authentication via pam. The ebuild of openldap is derived from the 2.2.17 ebuild file


Reproducible: Always
Steps to Reproduce:
1.emerge openoffice


Actual Results:  
....
Files copied: 1814
Files unchanged/not matching: 8

=============
Building project nas
=============
/var/tmp/portage/openoffice-1.1.4/work/nas
mkout -- version: 1.3
------------------------------
Making: ./unxlngi4.pro/misc/nas.dpc
dmake subdmake=true  -f makefile.mk strip="true" product="full" depend=t ALLDPC
------------------------------
No Dependencies
-------------
mv ./unxlngi4.pro/misc/build/nas-1.6 ./unxlngi4.pro/misc/build/nas-1.6_removeme
mv: cannot stat `./unxlngi4.pro/misc/build/nas-1.6': No such file or directory
rm -rf ./unxlngi4.pro/misc/build/nas-1.6_removeme
mkdir: cannot create directory `./unxlngi4.pro/misc/': File exists
cd ./unxlngi4.pro/misc/build && ( sh -c "gunzip -c
../../../download/nas-1.6.tar.gz  | tar  -xvf - ") && touch so_unpacked_nas
tar: symbol lookup error: /usr/lib/libnss_ldap.so.2: undefined symbol:
__db185_open_4002

gunzip: stdout: Broken pipe
dmake:  Error code 127, while making './unxlngi4.pro/misc/build/so_unpacked_nas'
---* TG_SLO.MK *---

ERROR: Error 65280 occurred while making /var/tmp/portage/openoffice-1.1.4/work/nas


Expected Results:  
Openoffice-1.1.4 should have build/merged properly

Portage 2.0.51-r15 (default-linux/x86/2004.3, gcc-3.3.5,
glibc-2.3.4.20040808-r1, 2.6.9 i686)
=================================================================
System uname: 2.6.9 i686 AMD Athlon(tm) Processor
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.4 [2.3.4 (#1, Dec 31 2004, 23:18:44)]
distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
dev-lang/python:     2.3.4
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.4
sys-devel/binutils:  2.15.92.0.2-r1
sys-devel/libtool:   1.5.10-r4
virtual/os-headers:  2.4.21-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=athlon-tbird -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env
/usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /var/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=athlon-tbird -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="ftp://mirror.scarlet-internet.nl/pub/gentoo/
http://ftp.snt.utwente.nl/pub/os/linux/gentoo  http://ftp.easynet.nl/mirror/gentoo"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X alsa apache2 apm arts avi berkdb bitmap-fonts cdr crypt cups dvd
encode esd f77 fam font-server foomaticdb fortran gdbm gif gnome gpm gtk gtk2
imap imlib ipv6 java jpeg kde kerberos ldap libg++ libwww lm-sensors mad mikmod
milter motif mpeg mysql ncurses nls oggvorbisopengl oss pam pdflib perl php png
python qt quicktime readline samba sasl sdl snmp spell ssl svga tcpd tiff
truetype truetype-fonts type1-fonts xml2 xmms xv zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS

Running programs:
Apache2
postfix
cyrus imap
cyrus saslauthd
openldap-2.2.15
kde-3.3.2 + several kde programs
named
Comment 1 Andreas Proschofsky (RETIRED) gentoo-dev 2005-01-30 09:09:13 UTC
You could try to rebuild your tar, as this seems to be broken. Still, you are using a version of openldap not in portage, so there is nothing we can do here. If you can reproduce that bug with a version currently in portage, please reopen
Comment 2 Paul de Vrieze (RETIRED) gentoo-dev 2005-01-31 02:09:51 UTC
The problem is definately with your authentication. It is likely that the problem manifests itself also in other occasions where pam is used. Alternatively the problem could be caused by the fact that openoffice comes with it's own db version. Try to remerge openldap and nss_ldap.
Alternatively it could be that openoffice sets LD_LIBRARY_PATH and does not include /usr/lib. You might want to try setting LD_LIBRARY_PATH="/usr/lib" and see what happens.
Comment 3 Peter Lourens 2005-02-12 11:50:07 UTC
Building openoffice-1.1.4 after updating pam_ldap/nss_ldap resolves the problem without changing anything Openldap or my config. The bug is in pam_ldap/nss_ldap. The solution suggested (setting LD_LIBRARY_PATH) resolves in the same problem as before. I would like to thank you all for your time to look at this!