Comment 6 for bug 273268

Revision history for this message
Dan Munckton (munckfish) wrote :

Re the "bean" module build fail. It appears the library search path is wrong. This is the build command used:

powerpc-linux-gnu-g++
 -Wl,-rpath,'$ORIGIN:$ORIGIN/../ure-link/lib'
 -shared
 -L../../unxlngppc.pro/lib
 -L../lib
 -L/build/buildd/openoffice.org-2.4.1/ooo-build/build/OOH680_m17/solenv/unxlngppc/lib
 -L/build/buildd/openoffice.org-2.4.1/ooo-build/build/OOH680_m17/solver/680/unxlngppc.pro/lib
 -L/build/buildd/openoffice.org-2.4.1/ooo-build/build/OOH680_m17/solenv/unxlngppc/lib
 -L/usr/lib/jvm/default-java/lib
 -L/usr/lib/jvm/default-java/jre/bin
 -L/usr/lib/jvm/default-java/jre/bin/classic
 -L/usr/lib/jvm/default-java/jre/bin
 -L/usr/lib
 -L/usr/lib/xulrunner-devel-1.9.0.3/sdk/lib ../../unxlngppc.pro/slo/officebean_version.o
 -o ../../unxlngppc.pro/lib/libofficebean.so ../../unxlngppc.pro/slo/com_sun_star_comp_beans_LocalOfficeWindow.o ../../unxlngppc.pro/slo/com_sun_star_beans_LocalOfficeWindow.o
 -ljawt
 -lstdc++
 -ldl
 -lpthread
 -lm

As default-jdk-builddep currently resolves to the cacao packages it should be using /usr/lib/jvm/default-java/jre/lib/ppc/ not /usr/lib/jvm/default-java/jre/bin/classic. I've been hunting through the source like mad tonight. I don't believe these paths are configured anywhere in debian/rules. So the settings must be somewhere in ooo-build or ooo-build/src/*.tar.bzr. Not located as yet.

If anyone watching can nudge me in the right direction here that would be greatly appreciated. Otherwise will continue tomorrow.