[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#381962: marked as done (openoffice.org: Fails to build from source)



Your message dated Tue, 8 Aug 2006 03:03:25 +0200
with message-id <20060808010325.GD26512@rene-engelhard.de>
and subject line Bug#381962: openoffice.org: Fails to build from source
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: openoffice.org
Version: 2.0.3-4
Severity: serious
Justification: no longer builds from source

The source package for Debian version 2.0.3-4 fails to build from source
on two machines. I had built the the previous version 2.0.3-3 
successfully. The build aborts with the following error (tail -n 20 of
openoffice.org*build):

checking for crypt in -lcrypt... yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking the GNU C++ compiler version... checked (g++ 4.0.4)
checking for g++ include path... /usr/lib/gcc/i486-linux-gnu/4.0.4/../../../../include/c++/4.0.4
checking exception type... dwarf2
checking for STLport headers... checked.
checking for STLport libraries... checked
checking which memory allocator to use... system
checking for malloc... yes
checking for realloc... yes
checking for calloc... yes
checking for free... yes
checking whether to add custom build version... yes, openoffice.org-core 2.0.3-4, Tue Aug  8 03:03:19 BST 2006
checking whether to build with Java support... yes
configure: error: /usr/lib/j2se/1.4/bin/java not found set with_jdk_home
make[1]: *** [stamp/build] Error 1
make[1]: Leaving directory `/xb/build/foo/Build/Build/openoffice.org-2.0.3/ooo-build'
make: *** [debian/stampdir/build] Error 2

I made sure the build dependencies were met by doing "apt-get
build-dep openoffice.org" as root.

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.17.6-k7r1-custom
Locale: LANG=en_NZ.UTF-8, LC_CTYPE=en_NZ.UTF-8 (charmap=UTF-8)


--- End Message ---
--- Begin Message ---
Hi,

csj wrote:
> checking whether to build with Java support... yes
> configure: error: /usr/lib/j2se/1.4/bin/java not found set with_jdk_home

What is this? Trying to build it on sarge? Oh, I see now, so you have
modified the package...

In any case, this bug is bogus, the OOo in unstable and testing use
java-gcj-compat-dev in build-deps and use
--with-jdk-home=/usr/lib/jvm/java-gcj.

So of course, j2sdk1.4 is not in the build-depends and when you try to
use Sun JDK for whatever reason you do need to install it.

> I made sure the build dependencies were met by doing "apt-get
> build-dep openoffice.org" as root.

Then you should have gotten all bbuild-deps installed. Including
java-gcj-compat-dev which a unmodified openoffice.org source package
uses.

For verification; what does lsb-release -cs report on your box?
It should report "etch". If it does report "sarge" your box is broken.
(With "sarge", indeed Suns java is taken and you need to regenerate
control to make the build-depends show that, but that's not the normal
testing/unstable case...)

Regards,

Rene

Attachment: signature.asc
Description: Digital signature


--- End Message ---

Reply to: