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

Bug#316951: marked as done (openoffice.org2: compile errors)



Your message dated Fri, 8 Jul 2005 01:24:28 +0200
with message-id <20050707232428.GA12422@rene-engelhard.de>
and subject line closing
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)

--------------------------------------
Received: (at submit) by bugs.debian.org; 5 Jul 2005 05:47:30 +0000
>From bam@debian.org Mon Jul 04 22:47:30 2005
Return-path: <bam@debian.org>
Received: from snoopy.microcomaustralia.com.au [202.173.153.89] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1DpgHJ-0006Ba-00; Mon, 04 Jul 2005 22:47:29 -0700
Received: from localhost (localhost [127.0.0.1])
	by snoopy.microcomaustralia.com.au (Postfix) with ESMTP id 47B82D8BD3
	for <submit@bugs.debian.org>; Tue,  5 Jul 2005 15:47:27 +1000 (EST)
Received: from snoopy.microcomaustralia.com.au ([127.0.0.1])
	by localhost (snoopy [127.0.0.1]) (amavisd-new, port 10024) with LMTP
	id 30833-03 for <submit@bugs.debian.org>;
	Tue, 5 Jul 2005 15:47:23 +1000 (EST)
Received: by snoopy.microcomaustralia.com.au (Postfix, from userid 10003)
	id 20DCDD8BD1; Tue,  5 Jul 2005 15:47:23 +1000 (EST)
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Brian May <bam@debian.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: openoffice.org2: compile errors
X-Mailer: reportbug 3.8
Date: Tue, 05 Jul 2005 15:47:22 +1000
Message-Id: <[🔎] 20050705054723.20DCDD8BD1@snoopy.microcomaustralia.com.au>
X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at snoopy.apana.org.au
Delivered-To: submit@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
	autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 

Package: openoffice.org2
Version: 1.9.108-1
Severity: serious
Tags: experimental
Justification: no longer builds from source

When compiling on a Ubuntu system with gcc-4.0 4.0_4.0.0ds1-11 ported
from Debian, I noticed some compile errors. I think some of these are
applicable to Debian, so I am reporting my solutions here in case they
can help others.

#1. configure script reported error that it can't find jni.h. I found
this was because jni.h is located under the gcc 4.0 include directory:

brian@dbase1:/var/cache/pbuilder/result$ dpkg -c libgcj6-dev_4.0.0-11.ivt.1_i386.deb  | grep jni.h
-rw-r--r-- root/root     62692 2005-07-04 17:22:24 ./usr/lib/gcc/i486-linux-gnu/4.0.1/include/jni.h

Meaning it can only be found by gcc-4.0.1. However, debian/rules
was still using 3.4.

Solution:

GCC_VERSION = 3.4

Changed to:

GCC_VERSION = 4.0


#2. Error that libjawt doesn't exist. This is because it was renamed to
libgcjawt in version gcc-4.0 4.0.0ds1-9ubuntu1, which is in the Debian
version.

Solution:

1. delete bean-no-libgcjawt.diff from ooo-build/patches/src680/.

2. also delete the following lines from ooo-build/patches/src680/apply.

--- cut ---
[ GCJ >= src680-m108 ]
# libgcjawt.so exists only for traget gcc 4.1.0, 4.0.x has libjawt.so
bean-no-libgcjawt.diff
--- cut ---


#3. Compile error:

[...]

if ( -e ../../../unxlngi6.pro/slo/forms_EventThread.o) touch ../../../unxlngi6.pro/slo/forms_EventThread.obj
--- NOOPTFILES OVER ---
------------------------------
Making: ../../../unxlngi6.pro/slo/forms_Button.obj
g++ -Wreturn-type -fmessage-length=0 -c -I.  -I/tmp/buildd/openoffice.org2-1.9.108/ooo-build/build/src680-m108/solver/680/unxlngi6.pro/inc/offuh -I../inc -I../../../inc -I../../../inc/bf_forms -I../../../unx/inc -I../../../unxlngi6.pro/inc -I. -I/tmp/buildd/openoffice.org2-1.9.108/ooo-build/build/src680-m108/solver/680/unxlngi6.pro/inc/stl -I/tmp/buildd/openoffice.org2-1.9.108/ooo-build/build/src680-m108/solver/680/unxlngi6.pro/inc/external -I/tmp/buildd/openoffice.org2-1.9.108/ooo-build/build/src680-m108/solver/680/unxlngi6.pro/inc -I/tmp/buildd/openoffice.org2-1.9.108/ooo-build/build/src680-m108/solenv/unxlngi6/inc -I/tmp/buildd/openoffice.org2-1.9.108/ooo-build/build/src680-m108/solenv/inc -I/tmp/buildd/openoffice.org2-1.9.108/ooo-build/build/src680-m108/res -I/tmp/buildd/openoffice.org2-1.9.108/ooo-build/build/src680-m108/solver/680/unxlngi6.pro/inc/stl -I/tmp/buildd/openoffice.org2-1.9.108/ooo-build/build/src680-m108/solenv/inc/Xp31 -I/usr/lib/jvm/java-gcj/include -I/usr/X11R6/i
 nclude     -I. -I../../../res -I. -g -Os -fno-strict-aliasing -Wuninitialized   -pipe -mtune=pentiumpro -Wno-ctor-dtor-privacy -fvisibility-inlines-hidden -fexceptions -fno-enforce-eh-specs   -fpic -DLINUX -DUNX -DVCL -DGCC -DC341 -DINTEL -DGXX_INCLUDE_PATH=/usr/lib/gcc/i486-linux-gnu/4.0.1/../../../../include/c++/4.0.1 -DCVER=C341 -D_USE_NAMESPACE -DNPTL -DGLIBC=2 -DX86 -D_PTHREADS -D_REENTRANT -DNEW_SOLAR -D_USE_NAMESPACE=1 -DSTLPORT_VERSION=400 -DHAVE_GCC_VISIBILITY_FEATURE -D__DMAKE -DUNIX -DCPPU_ENV=gcc3 -DSUPD=680 -DPRODUCT -DNDEBUG -DPRODUCT_FULL -DOSL_DEBUG_LEVEL=0 -DOPTIMIZE -DEXCEPTIONS_ON -DCUI -DSOLAR_JAVA -DSRC680   -DSHAREDLIB -D_DLL_  -DMULTITHREAD  -o ../../../unxlngi6.pro/slo/forms_Button.o /tmp/buildd/openoffice.org2-1.9.108/ooo-build/build/src680-m108/binfilter/bf_forms/source/component/forms_Button.cxx
In file included from ../inc/property.hrc:69,
                 from /tmp/buildd/openoffice.org2-1.9.108/ooo-build/build/src680-m108/binfilter/bf_forms/source/component/FormComponent.hxx:170,
                 from /tmp/buildd/openoffice.org2-1.9.108/ooo-build/build/src680-m108/binfilter/bf_forms/source/component/Image.hxx:66,
                 from /tmp/buildd/openoffice.org2-1.9.108/ooo-build/build/src680-m108/binfilter/bf_forms/source/component/Button.hxx:66,
                 from /tmp/buildd/openoffice.org2-1.9.108/ooo-build/build/src680-m108/binfilter/bf_forms/source/component/forms_Button.cxx:67:
../inc/strings.hxx:123:8: warning: extra tokens at end of #endif directive
/tmp/buildd/openoffice.org2-1.9.108/ooo-build/build/src680-m108/binfilter/bf_forms/source/component/Image.hxx:212: error: ISO C++ forbids declaration of 'OImageControlThread_Impl' with no type
/tmp/buildd/openoffice.org2-1.9.108/ooo-build/build/src680-m108/binfilter/bf_forms/source/component/Image.hxx:212: error: expected ';' before '*' token
/tmp/buildd/openoffice.org2-1.9.108/ooo-build/build/src680-m108/binfilter/bf_forms/source/component/forms_Button.cxx: In member function 'long int binfilter::frm::OButtonControl::OnClick(void*)':
/tmp/buildd/openoffice.org2-1.9.108/ooo-build/build/src680-m108/binfilter/bf_forms/source/component/forms_Button.cxx:374: error: 'm_pThread' was not declared in this scope
/tmp/buildd/openoffice.org2-1.9.108/ooo-build/build/src680-m108/binfilter/bf_forms/source/component/forms_Button.cxx:380: error: 'm_pThread' was not declared in this scope
dmake:  Error code 1, while making '../../../unxlngi6.pro/slo/forms_Button.obj'
'---* tg_merge.mk *---'

ERROR: Error 65280 occurred while making /tmp/buildd/openoffice.org2-1.9.108/ooo-build/build/src680-m108/binfilter/bf_forms/source/component
make[1]: *** [stamp/build] Error 1
make[1]: Leaving directory `/tmp/buildd/openoffice.org2-1.9.108/ooo-build'
make: *** [debian/stampdir/build] Error 2
pbuilder: Failed autobuilding of package

So far this third problem has me stuck, I don't see any easy solutions.

I would speculate that the newest gcc-4.0 has broken something.

At the moment, I am still looking for the declaration of
OImageControlThread_Impl - where is it suppose to belong?

I can find the functions that belong to the class in
ooo-build/build/src680-m108/binfilter/bf_forms/source/component/forms_Image.cxx,
but no declaration of the class.

Maybe the fact I can't find it is why the compiler is also getting upset.  Or
maybe I haven't looked in the right spot.

-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (50, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.8-2-k7
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)

---------------------------------------
Received: (at 316951-done) by bugs.debian.org; 7 Jul 2005 23:25:32 +0000
>From rene.engelhard@gmx.de Thu Jul 07 16:25:32 2005
Return-path: <rene.engelhard@gmx.de>
Received: from imap.gmx.net (mail.gmx.net) [213.165.64.20] 
	by spohr.debian.org with smtp (Exim 3.35 1 (Debian))
	id 1DqfkK-0006og-00; Thu, 07 Jul 2005 16:25:32 -0700
Received: (qmail invoked by alias); 07 Jul 2005 23:25:00 -0000
Received: from dsl-084-056-081-146.arcor-ip.net (EHLO localhost) [84.56.81.146]
  by mail.gmx.net (mp026) with SMTP; 08 Jul 2005 01:25:00 +0200
X-Authenticated: #1545045
Received: by localhost (Postfix, from userid 1000)
	id 8697015E26; Fri,  8 Jul 2005 01:24:29 +0200 (CEST)
Date: Fri, 8 Jul 2005 01:24:28 +0200
From: Rene Engelhard <rene@rene-engelhard.de>
To: 315643-done@bugs.debian.org, 316059-done@bugs.debian.org,
	316951-done@bugs.debian.org
Subject: closing
Message-ID: <20050707232428.GA12422@rene-engelhard.de>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; x-action=pgp-signed
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
X-PGP-Key: 248AEB73
X-PGP-Fingerprint: 41FA F208 28D4 7CA5 19BB  7AD9 F859 90B0 248A EB73
User-Agent: Mutt/1.5.9i
X-Y-GMX-Trusted: 0
Delivered-To: 316951-done@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-0.4 required=4.0 tests=BAYES_00,ONEWORD,
	UPPERCASE_25_50 autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 
X-CrossAssassin-Score: 3

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

This stuff is fixed in 1.9.114-1.
experimental + fixed-in-experimental -> Close.

Grü�e/Regards,

René
- -- 
"Freiheit ist ein Gut, das durch Gebrauch wächst,
durch Nichtgebrauch dahinschwindet.
		-- Carl Friedrich v. Weizsäcker
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFCzbmr+FmQsCSK63MRAvMKAJ0fxIgNFBUt7I1JSE8kfiLUUP/2JwCfUfww
cIusbFqff8fi7pzhl4+S1us=
=Vq+z
-----END PGP SIGNATURE-----



Reply to: