Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 50532 - openoffice-ximian-1.1.55 amd64 patches and problems
Summary: openoffice-ximian-1.1.55 amd64 patches and problems
Status: RESOLVED CANTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: AMD64 Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-05-09 04:28 UTC by Andreas Pokorny
Modified: 2004-05-10 11:02 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
patch for set_soenv.in (soenv_patch,1.62 KB, patch)
2004-05-09 04:30 UTC, Andreas Pokorny
Details | Diff
The ebuild used (openoffice-ximian-1.1.55-r2.ebuild,15.27 KB, text/plain)
2004-05-09 04:34 UTC, Andreas Pokorny
Details
complete ebuild with files directory (openoffice-ximian.tar.bz2,17.76 KB, application/octet-stream)
2004-05-10 02:54 UTC, Andreas Pokorny
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Pokorny 2004-05-09 04:28:20 UTC
I patched the set_soenv.in file to add the x86_64 machine type. 
The build process starts but fails during build. 

Reproducible: Always
Steps to Reproduce:
1. Apply the soenf patch
2. set ARCH_TYPE in the environment
3. emerge openoffice-ximian

Actual Results:  
------------------------------
Making: ../../unxlngi4.pro/misc/cpposl.dpc
Making : Dependencies
touch ../../unxlngi4.pro/misc/cpposl.dpc
------------------------------
Making: ../../unxlngi4.pro/obj/conditn.obj
gcc -fmessage-length=0 -c -I.  -I. -I../inc -I../../inc -I../../unx/inc
-I../../unxlngi4.pro/inc -I.
-I/var/tmp/portage/openoffice-ximian-1.1.55-r2/work/oo_1.1.1_src/solver/645/unxlngi4.pro/inc/dont_use_stl
-I/var/tmp/portage/openoffice-ximian-1.1.55-r2/work/oo_1.1.1_src/solver/645/unxlngi4.pro/inc/external
-I/var/tmp/portage/openoffice-ximian-1.1.55-r2/work/oo_1.1.1_src/solver/645/unxlngi4.pro/inc
-I/var/tmp/portage/openoffice-ximian-1.1.55-r2/work/oo_1.1.1_src/solenv/unxlngi4/inc
-I/var/tmp/portage/openoffice-ximian-1.1.55-r2/work/oo_1.1.1_src/solenv/inc
-I/var/tmp/portage/openoffice-ximian-1.1.55-r2/work/oo_1.1.1_src/res
-I/var/tmp/portage/openoffice-ximian-1.1.55-r2/work/oo_1.1.1_src/solver/645/unxlngi4.pro/inc/dont_use_stl
-I/var/tmp/portage/openoffice-ximian-1.1.55-r2/work/oo_1.1.1_src/solenv/inc/Xp31
-INO_JAVA_HOME/include -INO_JAVA_HOME/include/linux
-INO_JAVA_HOME/include/native_threads/include -I/usr/X11R6/include     -I.
-I../../res -I. -O2 -pipe -m64 -m3dnow -mmmx -msse -msse2 -fno-strict-aliasing 
 -pipe -m64   -DLINUX -DUNX -DVCL -DGCC -DC300 -DINTEL
-DGXX_INCLUDE_PATH=/usr/lib/gcc-lib/x86_64-pc-linux-gnu/3.3.3/include/g++-v3
-DCVER=C300 -D_USE_NAMESPACE -DGLIBC=2 -DX86 -D_PTHREADS -D_REENTRANT
-DNEW_SOLAR -D_USE_NAMESPACE=1 -DSTLPORT_VERSION=400 -D__DMAKE -DUNIX
-DCPPU_ENV=gcc3 -DSUPD=645 -DPRODUCT -DNDEBUG -DPRODUCT_FULL -DOSL_DEBUG_LEVEL=0
-DOPTIMIZE -DEXCEPTIONS_OFF -DCUI -DSRX645  -DMULTITHREAD   -o
../../unxlngi4.pro/obj/conditn.o conditn.c
In file included from system.h:114,
                 from conditn.c:63:
/usr/include/asm/sigcontext.h:9: error: redefinition of `struct _fpstate'
/usr/include/asm/sigcontext.h:23: error: redefinition of `struct sigcontext'
dmake:  Error code 1, while making '../../unxlngi4.pro/obj/conditn.obj'
---* TG_SLO.MK *---

ERROR: Error 65280 occurred while making
/var/tmp/portage/openoffice-ximian-1.1.55-r2/work/oo_1.1.1_src/sal/osl/unx

!!! ERROR: app-office/openoffice-ximian-1.1.55-r2 failed.
!!! Function src_compile, Line 378, Exitcode 1
!!! Build failed!


Portage 2.0.50-r6 (default-amd64-2004.0, gcc-3.3.3, glibc-2.3.3_pre20040420-r0,
2.6.6-rc3)
=================================================================
System uname: 2.6.6-rc3 x86_64 4
Gentoo Base System version 1.4.10
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CFLAGS="-O3 -pipe -m64  -m3dnow -mmmx -msse -msse2"
CHOST="x86_64-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.2/share/config /usr/kde/3/share/config /usr/share/config
/usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -pipe -m64  -m3dnow -mmmx -msse -msse2"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://www.ftp.rrze.uni-erlangen.de/www/
http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage/gentoo/"
PORTDIR_OVERLAY="/usr/portage/my/"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aalib acl alsa amd64 apm ati avi berkdb bonobo cdr crypt cups directfb
encode esd foomaticdb gdbm gif gphoto2 gpm gtk gtk2 gtkhtml guile imlib ipv6
jpeg kde libg++ libwww mikmod motif mpeg ncurses nls nogcj oggvorbis opengl oss
pam pdflib perl png postgres python qt quicktime readline scanner sdl slang
spell ssl tcpd tetex truetype xml2 xmms xv zlib"
Comment 1 Andreas Pokorny 2004-05-09 04:30:51 UTC
Created attachment 31041 [details, diff]
patch for set_soenv.in

The patch adds some machine_type checks and changes the java paths. 

This might cause problems in the features, because not all x86_64 java paths
will be jre/lib/amd64/... 

But java is disabled in that ebuild anyways.
Comment 2 Andreas Pokorny 2004-05-09 04:34:04 UTC
Created attachment 31042 [details]
The ebuild used

This ebuild applies the set_soenv patch and defines ARCH_FLAGS in the
environment, because the ooo scripts tried to use -mcpu=pentiumpro if the value
is unset.
Comment 3 Andreas Pokorny 2004-05-10 02:54:34 UTC
Created attachment 31087 [details]
complete ebuild with files directory

I fixed the recent problems. 

Now i gett this problem:

-------------
deliver -- version: 1.50.8.2
LINK: build.lst ->
/var/tmp/portage/openoffice-ximian-1.1.55-r2/work/oo_1.1.1_src/solver/645/unxlngi4-64.pro

/inc/idlc/build.lst
LINK: ../unxlngi4-64.pro/bin/idlc ->
/var/tmp/portage/openoffice-ximian-1.1.55-r2/work/oo_1.1.1_src/solver/6
45/unxlngi4-64.pro/bin/idlc
LINK: ../unxlngi4-64.pro/bin/idlcpp ->
/var/tmp/portage/openoffice-ximian-1.1.55-r2/work/oo_1.1.1_src/solver
/645/unxlngi4-64.pro/bin/idlcpp
Statistics:
Files copied: 3
Files unchanged/not matching: 23

=============
Building project udkapi
=============
/var/tmp/portage/openoffice-ximian-1.1.55-r2/work/oo_1.1.1_src/udkapi/com/sun/star/corba/giop

mkout -- version: 1.3
idlc @/var/tmp/portage/openoffice-ximian-1.1.55-r2/temp/mkByQjA1
idlc: compile 'giop.idl' ... 
../../../../../com/sun/star/corba/iop/iop.idl(76) : coercion failure '' to
'unsigned long'
../../../../../com/sun/star/corba/iop/iop.idl(77) : coercion failure '' to
'unsigned long'
../../../../../com/sun/star/corba/iop/iop.idl(145) : coercion failure '' to
'unsigned long'
../../../../../com/sun/star/corba/iop/iop.idl(146) : coercion failure '' to
'unsigned long'
../../../../../com/sun/star/corba/iop/iop.idl(147) : coercion failure '' to
'unsigned long'
../../../../../com/sun/star/corba/iop/iop.idl(148) : coercion failure '' to
'unsigned long'
../../../../../com/sun/star/corba/iop/iop.idl(149) : coercion failure '' to
'unsigned long'
../../../../../com/sun/star/corba/iop/iop.idl(150) : coercion failure '' to
'unsigned long'
../../../../../com/sun/star/corba/iop/iop.idl(151) : coercion failure '' to
'unsigned long'
../../../../../com/sun/star/corba/iop/iop.idl(152) : coercion failure '' to
'unsigned long'
../../../../../com/sun/star/corba/iop/iop.idl(153) : coercion failure '' to
'unsigned long'
../../../../../com/sun/star/corba/iop/iop.idl(154) : coercion failure '' to
'unsigned long'
idlc: detected 12 errors in file 'giop.idl'
Sun Microsystems (R) idlc Version 1.0

dmake:	Error code 12, while making
'../../../../../unxlngi4-64.pro/misc/urd_cssgiop.don'
---* TG_SLO.MK *---

ERROR: Error 65280 occurred while making
/var/tmp/portage/openoffice-ximian-1.1.55-r2/work/oo_1.1.1_src/udka
pi/com/sun/star/corba/giop

!!! ERROR: app-office/openoffice-ximian-1.1.55-r2 failed.
!!! Function src_compile, Line 395, Exitcode 1
!!! Build failed!
Comment 4 Andreas Pokorny 2004-05-10 04:18:53 UTC
I just modified the idl file 
 udkapi/com/sun/star/corba/iop/iop.idl
and removed "unsgined" from the typedefs, that resulted into a segmentation fault in the idl compiler. 

I have no idea what to do next... 
Comment 5 Danny van Dyk (RETIRED) gentoo-dev 2004-05-10 11:02:07 UTC
Openoffice.org sais: amd64 support included in version 2.0, scheduled for Q4/2004.
I will reopen this as soon as 2.0 release candidates come out.