Summary: | app-office/openoffice-2.4.0 - cannot convert 'sal_Int32*' to 'SQLINTEGER*' | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Hans <hansjharff> |
Component: | New packages | Assignee: | Gentoo Office Team <office> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | ppc64, trigggl |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | PPC64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
sal_Int32_to_SQLINTEGER.diff
fix SIZEOF_LONG for ppc64 |
Description
Hans
2008-05-23 21:32:42 UTC
openoffice is just broken. sorry, you should talk to the openoffice developers. OO.o is neither keyworded ~ppc64 or even pppc, nor supported by us ppc64 developers in any way. Created attachment 154239 [details, diff]
sal_Int32_to_SQLINTEGER.diff
@Hans
Please try this:
cd /var/tmp/portage/app-office/openoffice-2.4.0/work/ooo/build/OOH680_m12/
patch -p0 < /tmp/sal_Int32_to_SQLINTEGER.diff
cd
ebuild /path/to/openoffice.ebuild compile
Created attachment 154259 [details, diff]
fix SIZEOF_LONG for ppc64
This should be the proper fix. :)
Though, I wonder if the __ppc64__ macro is correct.
ppc64 herd should know. ;)
(In reply to comment #3) > Created an attachment (id=154259) [edit] > fix SIZEOF_LONG for ppc64 > > This should be the proper fix. :) > > Though, I wonder if the __ppc64__ macro is correct. > ppc64 herd should know. ;) > Hanno, Thank you very much for this working patch :) I can also report that this ebuild of OpenOffice 2.4.0 emerged on ppc64/64bit UL. As far as I was able to test, all OO applications are working fine. Thanks again everone :) ok. so openoffice made some big steps forward regarding portability with newer versions. I'll take a look and might add the patch to portage. This patch needs to be send upstream. Caolan from Fedora told me what was wrong and was faster reporting. :) http://www.openoffice.org/issues/show_bug.cgi?id=89955 Btw, version 2.4.1.1 has the patch; found here: http://download.go-oo.org/OOH680/?C=M;O=D A (masked) release candidate for OpenOffice.org 2.4.1 is now in the tree. @ppc64-herd: Might be a good time to test and keyword accordingly ;) @hanno: thanks a lot! Closing (In reply to comment #8) > A (masked) release candidate for OpenOffice.org 2.4.1 is now in the tree. > > @ppc64-herd: Might be a good time to test and keyword accordingly ;) > > @hanno: thanks a lot! > > Closing > I tested this on my IBM ppc64 and it still fails in exactly the same spot. I have no idea why. Is the patch in 2.4.1? Emerge --info (if it matters): Portage 2.1.4.4 (default/linux/powerpc/ppc64/2008.0/64bit-userland, gcc-4.2.4, glibc-2.7-r2, 2.6.24-gentoo-r3 ppc64) ================================================================= System uname: 2.6.24-gentoo-r3 ppc64 POWER3 (630+) Timestamp of tree: Fri, 13 Jun 2008 10:30:01 +0000 distcc 2.18.3 powerpc64-unknown-linux-gnu (protocols 1 and 2) (default port 3632) [enabled] ccache version 2.4 [enabled] app-shells/bash: 3.2_p33 dev-lang/python: 2.4.4-r13 dev-python/pycrypto: 2.0.1-r6 dev-util/ccache: 2.4-r7 sys-apps/baselayout: 1.12.11.1 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.13, 2.61-r1 sys-devel/automake: 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1 sys-devel/binutils: 2.18-r1 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 1.5.26 virtual/os-headers: 2.6.24 ACCEPT_KEYWORDS="ppc64" CBUILD="powerpc64-unknown-linux-gnu" CFLAGS="-O3 -pipe -mcpu=power3 -mtune=power3" CHOST="powerpc64-unknown-linux-gnu" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-O3 -pipe -mcpu=power3 -mtune=power3" DISTDIR="/usr/portage/distfiles" FEATURES="buildpkg ccache distcc distlocks fixpackages metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS=" http://open-systems.ufl.edu/mirrors/gentoo " LANG="en_US.utf8" MAKEOPTS="-j5" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="acl berkdb bzip2 cli cracklib crypt cups dri fortran gdbm gpm ibm iconv ipv6 isdnlog midi mudflap ncurses nls nptl nptlonly openmp pam pcre perl ppc64 pppd python readline reflection session spl ssl tcpd unicode xorg zlib" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="fbdev mach64 mga nv r128 radeon" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS |