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

Bug 394509

Summary: app-office/libreoffice-3.4.99.1 fails to build: ... ld: cannot find -lldap50
Product: Gentoo Linux Reporter: Marc Schiffbauer <mschiff>
Component: Current packagesAssignee: Gentoo Office Team <office>
Status: RESOLVED TEST-REQUEST    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Marc Schiffbauer gentoo-dev 2011-12-13 01:20:46 UTC
[ebuild     UD] app-office/libreoffice-3.4.99.1 [3.5.0.0] USE="binfilter branding dbus graphite gtk java jemalloc mysql nsplugin opengl postgres svg vba webdav xmlsec (-aqua) -debug -eds -gnome -gstreamer -gtk3 -kde (-kdeenablefinal) -odk -pdfimport -test"

GENTOO_VM=sun-jdk-1.6  CLASSPATH="" JAVA_HOME="/opt/sun-jdk-1.6.0.29"
JAVACFLAGS="-source 1.6 -target 1.6" COMPILER=""

Like the build log suggested I ran

/bin/sh
cd /var/tmp/portage/app-office/libreoffice-3.4.99.1/work/libreoffice-core-3.4.99.1
source ./Env.Host.sh
cd connectivity
rm -Rf /var/tmp/portage/app-office/libreoffice-3.4.99.1/work/libreoffice-core-3.4.99.1/connectivity/unxlngx6.pro # optional module 'clean'
build


Result:

Entering /var/tmp/portage/app-office/libreoffice-3.4.99.1/work/libreoffice-core-3.4.99.1/connectivity/source/drivers/postgresql

Making:    postgresql-sdbc-impl.uno.so
/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.2/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lldap50
collect2: ld returned 1 exit status
dmake:  Error code 1, while making '../../../unxlngx6.pro/lib/postgresql-sdbc-impl.uno.so'
Comment 1 Tomáš Chvátal (RETIRED) gentoo-dev 2011-12-13 08:26:12 UTC
Hopefully fixed in git. Could you please try 3.5.9999 ebuild and tell me if it is broken in there?

Reopen if you can still reproduce the issue with the above version, otherwise will be fixed in beta2 due to around 20.12.
Comment 2 Marc Schiffbauer gentoo-dev 2011-12-13 12:24:59 UTC
Hi (In reply to comment #1)
> Hopefully fixed in git. Could you please try 3.5.9999 ebuild and tell me if it
> is broken in there?
> 
> Reopen if you can still reproduce the issue with the above version, otherwise
> will be fixed in beta2 due to around 20.12.

Hi Tomáš,

this worked fine (Please note I have set USE="-binfilter" now, but this has worked before).

Is 3.*5*.9999 really pre-3.5.0 release? Or was it a typo and I should have built 3.4.9999 instead?

-Marc
Comment 3 Tomáš Chvátal (RETIRED) gentoo-dev 2011-12-13 12:59:39 UTC
3.4.9999 = live ebuild using 3.4 release branch
3.5.9999 = live ebuild using 3.5 release branch

So you are on the correct package.
Thanks for testing.

(PS: binfilter useflag has no effect on the pgsql it is mostly independent part)
Comment 4 Juergen Rose 2011-12-14 17:08:21 UTC
I had the same error, emerging libreoffice-3.5.9999, seems to work:

root@orca:/root(21)# qlist -Iv libreoffice
app-office/libreoffice-3.5.9999
app-office/libreoffice-l10n-3.5.0-r1