Re: [Cooker] Error buildin Openoffice.org1.1 0.rc4.2mdk

2003-10-28 Thread R N dev
 Thanks for the tip, Leon. Setting OVERRIDE_JAVA_HOME
 to 
 /usr/java/j2sdk1.4.2 got me over the GIJ hump.
 Unfortunately, it died 
 about five hours into the build process with the
 following:

Instead it died exactly in the same line as before for

me... but i didn't clean all i'll try later :-(

IMO I think the problem is into gcc-java 
package, i think cookers have the new version (present
into 9.2?) but requirements allow to use the one 
before. But I don't know why j2sdk1.4.2 doesn't work!

Angelo


__
Do you Yahoo!?
Exclusive Video Premiere - Britney Spears
http://launch.yahoo.com/promos/britneyspears/



Re: [Cooker] Error buildin Openoffice.org1.1 0.rc4.2mdk

2003-10-27 Thread AAW
On Sunday, October 26, 2003 09:38 pm, Leon Brooks wrote:
 On Sun, 26 Oct 2003 11:41, AAW wrote:
  Sun's j2sdk-1.4.2-fcs installed (same results if not installed).

 try this before building (might need to tweak the path):

 export JAVA_HOME=/usr/jave/j2re1.4.0_02

 if you still get the GIJ message, try

 export OVERRIDE_JAVA_HOME=/usr/jave/j2re1.4.0_02

 Cheers; Leon

Thanks for the tip, Leon. Setting OVERRIDE_JAVA_HOME to 
/usr/java/j2sdk1.4.2 got me over the GIJ hump. Unfortunately, it died 
about five hours into the build process with the following:

-LOG-
org/netbeans/modules/openoffice/wizard/OOIDLWizardIterator.java:210: 
cannot resolve symbol
symbol  : class WizardDescriptor$Panel
location: package openide
perchance you meant 'WizardDescriptor.Panel'
  public org.openide.WizardDescriptor$Panel current()
^
org/netbeans/modules/openoffice/wizard/OOServiceCreateIterator.java:217: 
cannot resolve symbol
symbol  : class WizardDescriptor$Panel
location: package openide
perchance you meant 'WizardDescriptor.Panel'
public org.openide.WizardDescriptor$Panel current() {
  ^
Note: Some input files use or override a deprecated API.
Note: Recompile with -deprecation for details.
3 errors
dmake:  Error code 1, while making 
'../../unxlngi4.pro/class/oosupport.nbm'
---* RULES.MK *---

ERROR: Error 65280 occurred while making 
/disks/hda07/oo_1.1rc4_src/odk/source/OOSupport
dmake:  Error code 1, while making 'build_all'
---* TG_SLO.MK *---
error: Bad exit status from /home/one/rpm/tmp/rpm-tmp.46350 (%build)


RPM build errors:
Bad exit status from /home/one/rpm/tmp/rpm-tmp.46350 (%build)
[
-/LOG-

Arn




Re: [Cooker] Error buildin Openoffice.org1.1 0.rc4.2mdk

2003-10-26 Thread R N dev
 What Mandrake release is it?
9.1
 Do you have a jre installed?
Yes 1.4.2
 Do you have gcc-gcj installed? (and which version
of course else it's required by the spec file

 for those of us who
 can't remember what it was on the release you are
 running)
gcc-java-3.2.2-3mdk
 Which 'java' binary is first in the path?
I tryed before with gcj and after with 
jre and also JAVA_PATH
With this last case it went on and failed so

updating: META-INF/MANIFEST.MF (deflated 11%)
-
/usr/src/RPM/BUILD/oo_1.1rc4_src/officecfg/org/openoffice/helper
mkdir ../../../unxlngi4.pro/class/META-INF/ 
/dev/null
rm -f ../../../unxlngi4.pro/class/META-INF/MANIFEST.MF
 /dev/null
echo Manifest-Version: 1.0 
../../../unxlngi4.pro/class/META-INF/MANIFEST.MF
echo Solar-Version: 645m18(Build:8687) 
../../../unxlngi4.pro/class/META-INF/MANIFEST.MF
cd ../../../unxlngi4.pro/class  zip -u -r schema.jar
 META-INF/MANIFEST.MF  org/openoffice/helper
updating: META-INF/MANIFEST.MF (deflated 11%)
-
/usr/src/RPM/BUILD/oo_1.1rc4_src/officecfg/registry/schema
-
-+ validating and stripping schema files
mkdir -p
../../unxlngi4.pro/misc/registry/schema/org/openoffice/
java -classpath
/usr/src/RPM/BUILD/oo_1.1rc4_src/solver/645/unxlngi4.pro/bin/jaxp.jar:/usr/src/RPM/BUILD/oo_1.1rc4_src/solver/645/unxlngi4.pro/bin/parser.jar:../../unxlngi4.pro/class/cfgimport.jar
-Djavax.xml.parsers.SAXParserFactory=com.sun.xml.parser.SAXParserFactoryImpl
org.openoffice.configuration.Inspector
org/openoffice/Inet.xcs
no suitable method `main' in class
dmake:  Error code 1, while making
'../../unxlngi4.pro/misc/registry/schema/org/openoffice/Inet.xcs'
---* TG_SLO.MK *---

ERROR: Error 65280 occurred while making
/usr/src/RPM/BUILD/oo_1.1rc4_src/officecfg/registry/schema
dmake:  Error code 1, while making 'build_all'
---* TG_SLO.MK *---
error: Bad exit status from /var/tmp/rpm-tmp.78934
(%build)


RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.78934
(%build)


 Aare you compiling with any switches to rpm (ie
 --with switch)?
rpm -bc --short-circuit after the third failure ;-)

Angelo

__
Do you Yahoo!?
Exclusive Video Premiere - Britney Spears
http://launch.yahoo.com/promos/britneyspears/



Re: [Cooker] Error buildin Openoffice.org1.1 0.rc4.2mdk

2003-10-26 Thread Greg Meyer
On Sunday 26 October 2003 05:08 pm, R N dev wrote:
 ERROR: Error 65280 occurred while making
 /usr/src/RPM/BUILD/oo_1.1rc4_src/officecfg/registry/schema
 dmake:  Error code 1, while making 'build_all'
 ---* TG_SLO.MK *---
 error: Bad exit status from /var/tmp/rpm-tmp.78934
 (%build)

I had same error at same place.
-- 
/g

Outside of a dog, a man's best friend is a book, inside
a dog it's too dark to read -Groucho Marx



Re: [Cooker] Error buildin Openoffice.org1.1 0.rc4.2mdk

2003-10-26 Thread Leon Brooks
On Sun, 26 Oct 2003 11:41, AAW wrote:
 Sun's j2sdk-1.4.2-fcs installed (same results if not installed).

try this before building (might need to tweak the path):

export JAVA_HOME=/usr/jave/j2re1.4.0_02

if you still get the GIJ message, try

export OVERRIDE_JAVA_HOME=/usr/jave/j2re1.4.0_02

Cheers; Leon




Re: [Cooker] Error buildin Openoffice.org1.1 0.rc4.2mdk

2003-10-25 Thread AAW
On Friday, October 24, 2003 07:52 am, R N dev wrote:
 Can anyone help me?

 Angelo

 =
 Building project readlicense_oo
 =
 /usr/src/RPM/BUILD/oo_1.1rc4_src/readlicense_oo
 /usr/src/RPM/BUILD/oo_1.1rc4_src/readlicense_oo/html
 /usr/src/RPM/BUILD/oo_1.1rc4_src/readlicense_oo/docs/readme
 -
 java -classpath
 /usr/src/RPM/BUILD/oo_1.1rc4_src/external/common/xt.jar:/usr/src/RPM/
BUILD/oo_1.1rc4_src/external/common/parser.jar
 -Dcom.jclark.xsl.sax.parser=com.sun.xml.parser.Parser
 com.jclark.xsl.sax.Driver  readme.xrm ../readme.xsl
 os1=LINUX gui1=UNX cp1=INTEL com1=GCC lang1=en-US
 type=html
 file=../../unxlngi4.pro/misc/01/readme01.html
 FIXME: Emulate java runtime with gij here
 dmake:  Error code 1, while making
 '../../unxlngi4.pro/misc/01/readme01.html'
 ---* TG_SLO.MK *---

 ERROR: Error 65280 occurred while making
 /usr/src/RPM/BUILD/oo_1.1rc4_src/readlicense_oo/docs/readme
 dmake:  Error code 1, while making 'build_all'
 ---* TG_SLO.MK *---
 error: Bad exit status from /var/tmp/rpm-tmp.88932
 (%build)


 __
 Do you Yahoo!?
 The New Yahoo! Shopping - with improved product search
 http://shopping.yahoo.com

I can't help, but I'd be extremely interested in the solution. I posted 
this problem last month in Mandrake Expert (because I was building for 
9.1 rather than cooker). The only responses were two off-list emails 
asking if I'd figured it out.

Arn







Re: [Cooker] Error buildin Openoffice.org1.1 0.rc4.2mdk

2003-10-25 Thread bgmilne
 On Friday, October 24, 2003 07:52 am, R N dev wrote:
 Can anyone help me?

 Angelo

 =
 Building project readlicense_oo
 =
 /usr/src/RPM/BUILD/oo_1.1rc4_src/readlicense_oo
 /usr/src/RPM/BUILD/oo_1.1rc4_src/readlicense_oo/html
 /usr/src/RPM/BUILD/oo_1.1rc4_src/readlicense_oo/docs/readme
 -
 java -classpath
 /usr/src/RPM/BUILD/oo_1.1rc4_src/external/common/xt.jar:/usr/src/RPM/
BUILD/oo_1.1rc4_src/external/common/parser.jar
 -Dcom.jclark.xsl.sax.parser=com.sun.xml.parser.Parser
 com.jclark.xsl.sax.Driver  readme.xrm ../readme.xsl
 os1=LINUX gui1=UNX cp1=INTEL com1=GCC lang1=en-US
 type=html
 file=../../unxlngi4.pro/misc/01/readme01.html
 FIXME: Emulate java runtime with gij here
 dmake:  Error code 1, while making
 '../../unxlngi4.pro/misc/01/readme01.html'
 ---* TG_SLO.MK *---

 ERROR: Error 65280 occurred while making
 /usr/src/RPM/BUILD/oo_1.1rc4_src/readlicense_oo/docs/readme
 dmake:  Error code 1, while making 'build_all'
 ---* TG_SLO.MK *---
 error: Bad exit status from /var/tmp/rpm-tmp.88932
 (%build)

 I can't help, but I'd be extremely interested in the solution. I posted
 this problem last month in Mandrake Expert (because I was building for
 9.1 rather than cooker). The only responses were two off-list emails
 asking if I'd figured it out.

OK, well, it ovbiously looks like it's dying in some java/gcj/gij section.
Unfortunately this stuff is a mission to work with (trust me, I rebuilt
OO.o-1.0.1 for 8.2), since it depends on the features available in gcj etc
etc and normally needs the latest features.

Anyway, you will need to give a lot more detail on the system you are
running this on for anyone to have a chance to help you.

What Mandrake release is it?
Do you have a jre installed?
Do you have gcc-gcj installed? (and which version for those of us who
can't remember what it was on the release you are running)
Which 'java' binary is first in the path?
Aare you compiling with any switches to rpm (ie --with switch)?

Regards,
Buchan





Re: [Cooker] Error buildin Openoffice.org1.1 0.rc4.2mdk

2003-10-25 Thread Leon Brooks
On Sun, 26 Oct 2003 06:01, AAW wrote:
 On Friday, October 24, 2003 07:52 am, R N dev wrote:
 Can anyone help me?

 FIXME: Emulate java runtime with gij here
 dmake:  Error code 1, while making
 '../../unxlngi4.pro/misc/01/readme01.html'
 ---* TG_SLO.MK *---

 I can't help, but I'd be extremely interested in the solution. I
 posted this problem last month in Mandrake Expert (because I was
 building for 9.1 rather than cooker). The only responses were two
 off-list emails asking if I'd figured it out.

I cured this by installing real Java from Sun. The build then 
succeeded on a Mandrake 9.0 system (which doesn't touch the Internet, 
and I wanted some later software on it - OOo 1.1, FireBird and a few 
other bits - but didn't want to disturb the Win4Lin stuff on it).

Cheers; Leon




Re: [Cooker] Error buildin Openoffice.org1.1 0.rc4.2mdk

2003-10-25 Thread AAW
On Saturday, October 25, 2003 06:28 pm, [EMAIL PROTECTED] wrote:
 OK, well, it ovbiously looks like it's dying in some java/gcj/gij
 section. Unfortunately this stuff is a mission to work with (trust
 me, I rebuilt OO.o-1.0.1 for 8.2), since it depends on the features
 available in gcj etc etc and normally needs the latest features.

 Anyway, you will need to give a lot more detail on the system you are
 running this on for anyone to have a chance to help you.

 What Mandrake release is it?
 Do you have a jre installed?
 Do you have gcc-gcj installed? (and which version for those of us who
 can't remember what it was on the release you are running)
 Which 'java' binary is first in the path?
 Aare you compiling with any switches to rpm (ie --with switch)?

 Regards,
 Buchan

Speaking for myself (not the OP):

I'm building on 9.1 (KDE/qt, mozilla, and a few other packages rebuilt 
from latest cooker SRPMs but the core system packages like rpm, gcc, 
etc. are from original 9.1 CDs plus updates).

Sun's j2sdk-1.4.2-fcs installed (same results if not installed). 

No package named gcc-gcj but I do have gcc-java-3.2.2-3mdk, 
gcj-tools-3.2.2-3mdk,libgcj3-3.2.2-3mdk, and libgcj3-devel-3.2.2-3mdk 
installed. 

'which java' yields /usr/bin/java which points to 
/usr/bin/gcj-java-3.2.2 through /etc/alternatives.

No switches, but spec file is modified as follows (lines 23-35) to avoid 
building il8n packages:
%define languages1 ENUS
%define languages2 
%define languages3 
%define languages  %{languages1},%{languages2},%{languages3}

%define helplangs1 ENUS
%define helplangs2 
%define helplangs  %{helplangs1},%{helplangs2}

1.0x versions of OpenOffice rebuilt with no trouble at all. Something 
changed in 1.1.

Any help would be greatly appreciated.

Thanks,
Arn




Re: [Cooker] Error buildin Openoffice.org1.1 0.rc4.2mdk

2003-10-25 Thread Greg Meyer
On Saturday 25 October 2003 07:28 pm, [EMAIL PROTECTED] wrote:
  On Friday, October 24, 2003 07:52 am, R N dev wrote:
  Can anyone help me?
 
  Angelo
 
  =
  Building project readlicense_oo
  =
  /usr/src/RPM/BUILD/oo_1.1rc4_src/readlicense_oo
  /usr/src/RPM/BUILD/oo_1.1rc4_src/readlicense_oo/html
  /usr/src/RPM/BUILD/oo_1.1rc4_src/readlicense_oo/docs/readme
  -
  java -classpath
  /usr/src/RPM/BUILD/oo_1.1rc4_src/external/common/xt.jar:/usr/src/RPM/
 BUILD/oo_1.1rc4_src/external/common/parser.jar
  -Dcom.jclark.xsl.sax.parser=com.sun.xml.parser.Parser
  com.jclark.xsl.sax.Driver  readme.xrm ../readme.xsl
  os1=LINUX gui1=UNX cp1=INTEL com1=GCC lang1=en-US
  type=html
  file=../../unxlngi4.pro/misc/01/readme01.html
  FIXME: Emulate java runtime with gij here
  dmake:  Error code 1, while making
  '../../unxlngi4.pro/misc/01/readme01.html'
  ---* TG_SLO.MK *---
 
  ERROR: Error 65280 occurred while making
  /usr/src/RPM/BUILD/oo_1.1rc4_src/readlicense_oo/docs/readme
  dmake:  Error code 1, while making 'build_all'
  ---* TG_SLO.MK *---
  error: Bad exit status from /var/tmp/rpm-tmp.88932
  (%build)
 
  I can't help, but I'd be extremely interested in the solution. I posted
  this problem last month in Mandrake Expert (because I was building for
  9.1 rather than cooker). The only responses were two off-list emails
  asking if I'd figured it out.

 OK, well, it ovbiously looks like it's dying in some java/gcj/gij section.
 Unfortunately this stuff is a mission to work with (trust me, I rebuilt
 OO.o-1.0.1 for 8.2), since it depends on the features available in gcj etc
 etc and normally needs the latest features.

 Anyway, you will need to give a lot more detail on the system you are
 running this on for anyone to have a chance to help you.

 What Mandrake release is it?
 Do you have a jre installed?
 Do you have gcc-gcj installed? (and which version for those of us who
 can't remember what it was on the release you are running)
 Which 'java' binary is first in the path?
 Aare you compiling with any switches to rpm (ie --with switch)?

I had similar problems and I noticed I had a broken symlink for libgcj in my 
alternatives directory, so I did 'update-alternatives --auto libgcj'  and 
OO.o is happily compiling as I type this.
-- 
/g

Outside of a dog, a man's best friend is a book, inside
a dog it's too dark to read -Groucho Marx



Re: [Cooker] Error buildin Openoffice.org1.1 0.rc4.2mdk

2003-10-25 Thread Greg Meyer
On Friday 24 October 2003 08:52 am, R N dev wrote:
 Can anyone help me?

 Angelo

 =
 Building project readlicense_oo
 =
 /usr/src/RPM/BUILD/oo_1.1rc4_src/readlicense_oo
 /usr/src/RPM/BUILD/oo_1.1rc4_src/readlicense_oo/html
 /usr/src/RPM/BUILD/oo_1.1rc4_src/readlicense_oo/docs/readme
 -
 java -classpath
 /usr/src/RPM/BUILD/oo_1.1rc4_src/external/common/xt.jar:/usr/src/RPM/BUILD/
oo_1.1rc4_src/external/common/parser.jar
 -Dcom.jclark.xsl.sax.parser=com.sun.xml.parser.Parser
 com.jclark.xsl.sax.Driver  readme.xrm ../readme.xsl
 os1=LINUX gui1=UNX cp1=INTEL com1=GCC lang1=en-US
 type=html
 file=../../unxlngi4.pro/misc/01/readme01.html
 FIXME: Emulate java runtime with gij here
 dmake:  Error code 1, while making
 '../../unxlngi4.pro/misc/01/readme01.html'
 ---* TG_SLO.MK *---

 ERROR: Error 65280 occurred while making
 /usr/src/RPM/BUILD/oo_1.1rc4_src/readlicense_oo/docs/readme
 dmake:  Error code 1, while making 'build_all'
 ---* TG_SLO.MK *---
 error: Bad exit status from /var/tmp/rpm-tmp.88932
 (%build)


Okay.  I got same error here about an hour in to the build.

-+ validating and stripping schema files
mkdir -p ../../unxlngi4.pro/misc/registry/schema/org/openoffice/
java -classpath 
/home/greg/RPM/BUILD/oo_1.1rc4_src/solver/645/unxlngi4.pro/bin/jaxp.jar:/home/greg/RPM/BUILD/oo_1.1rc4_src/solver/645/unxlngi4.pro/bin/parser.jar:../../unxlngi4.pro/class/cfgimport.jar
 
-Djavax.xml.parsers.SAXParserFactory=com.sun.xml.parser.SAXParserFactoryImpl 
org.openoffice.configuration.Inspector org/openoffice/Inet.xcs
FIXME: Emulate java runtime with gij here
dmake:  Error code 1, while making 
'../../unxlngi4.pro/misc/registry/schema/org/openoffice/Inet.xcs'
---* TG_SLO.MK *---

ERROR: Error 65280 occurred while making 
/home/greg/RPM/BUILD/oo_1.1rc4_src/officecfg/registry/schema
dmake:  Error code 1, while making 'build_all'
---* TG_SLO.MK *---
error: Bad exit status from /home/greg/RPM/tmp/rpm-tmp.3718 (%build)

-- 
/g

Outside of a dog, a man's best friend is a book, inside
a dog it's too dark to read -Groucho Marx