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

Bug#335392: Building OpenOffice for AMD64



Hi,

Emmanuel Fleury wrote:
> As usually:
> 
> 1) apt-get source openoffice.org
> 2) cd openoffice.org-2.0.0/
> 3) patch -p1 < ../compile-openoffice.patch
> 4) dpkg-buildpackage -rfakeroot -us -uc
> 
> Then I get the following error:
> 
> =============
> Building project rhino
> =============

rhino isn't in the .orig.tar.gz

Anyway, I know how to fix this bug (have a patch for it) but fixing this
bug for 2.0.0 is completely useless since it may build but not really work.

That's why I don't put efforts into it.

If you want a usable OOo on amd64 use the 32-bit one.

The ooo-build for 2.0.1 (and therefore the 2.0.1 packages) may build out of
the box, though, but still not work.

> diff -ruN openoffice.org-2.0.0/ooo-build/patches/64bit/buildfix-64bit-config_office.diff openoffice.org-2.0.0-2/ooo-build/patches/64bit/buildfix-64bit-config_office.diff
> --- openoffice.org-2.0.0/ooo-build/patches/64bit/buildfix-64bit-config_office.diff	2005-12-17 16:53:03.000000000 +0100
> +++ openoffice.org-2.0.0-2/ooo-build/patches/64bit/buildfix-64bit-config_office.diff	2005-12-17 18:41:27.000000000 +0100
> @@ -1,5 +1,14 @@
>  --- config_office/configure.in	2005-01-28 05:34:39.000000000 +0100
>  +++ config_office/configure.in	2005-01-28 05:36:21.000000000 +0100
> +@@ -3357,7 +3385,7 @@
> +     AC_MSG_RESULT([external])
> +     SYSTEM_HUNSPELL=YES
> +     AC_LANG(C++)
> +-    AC_CHECK_HEADER(hunspell.hxx, [],
> ++    AC_CHECK_HEADER(hunspell/hunspell.hxx, [],
> +            [AC_MSG_ERROR(hunspell headers not found.)], [])
> +     AC_CHECK_LIB(hunspell, main, [],
> +            [ AC_MSG_ERROR(hunspell library not found.) ], [])
>  @@ -3481,17 +3481,17 @@
>   MOC="moc"
>   if test "$test_kde" = "yes" -a "$ENABLE_KDE" = "TRUE" ; then
> diff -ruN openoffice.org-2.0.0/ooo-build/patches/64bit/intptr-basegfx.diff openoffice.org-2.0.0-2/ooo-build/patches/64bit/intptr-basegfx.diff

Broken. Completely. Don't change a püatch shared by every distro with a
debian-specific one. And anyway: debian-hunspell-build.diff already does
the stuff necessary.

> +++ openoffice.org-2.0.0-2/ooo-build/patches/OOO_2_0/apply	2005-12-17 18:44:04.000000000 +0100
> @@ -32,7 +32,7 @@
>  DebianBase : LinuxCommon, SystemDB, DebianBaseOnly
>  Debian : DebianBase, DebianOnly, DebianSidOnly
>  DebianSarge : DebianBase, DebianOnly, DebianSargeOnly
> -Debian64 : DebianBase, 64bit, DebianOnly
> +Debian64 : DebianBase, 64bit, DebianOnly, IntPtr

Which bars the question why IntPtr is not in the 64bit alias, but as
that doesn't matter for 2.0.0 anyway...

And you didn't explain why you disabled some patches...

Regards,

Rene

Attachment: signature.asc
Description: Digital signature


Reply to: