You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openoffice.apache.org by L'oiseau de mer <oi...@gmail.com> on 2011/12/17 06:21:51 UTC

[BUILD]AOO build error in solaris

This is my OS and env configure:
OS:  Solaris 10 u10(10/8) x86
Compiler: Solaris Studio 12.3

export CC=/opt/solarisstudio12.3/bin/cc
export CXX=/opt/solarisstudio12.3/bin/CC

And my conf parametre is :
./configure --enable-werror --disable-cups --disable-mozilla
--with-jdk-home=/usr/jdk/jdk1.6.0_26/
--with-junit=/usr/jdk/jdk1.6.0_26/bin/junit-4.10.jar

configure have succeed. and no have other need deal message.


I meet this problem in building, and not know how to solve this problem.
Is the file "call.s" really syntax error or this my compiler problem?
============================================================================
Entering /UNIX-LAB/ooo/main/bridges/source/cpp_uno/cc50_solaris_intel

Making:    all_sunpro5_uno.dpslo
Compiling: bridges/unxsoli4.pro/misc/sunpro5_uno_version.c
Compiling: bridges/source/cpp_uno/cc50_solaris_intel/cpp2uno.cxx
Compiling: bridges/source/cpp_uno/cc50_solaris_intel/uno2cpp.cxx
Compiling: bridges/source/cpp_uno/cc50_solaris_intel/except.cxx
CC -c -o ../../../unxsoli4.pro/slo/call.o call.s && touch
../../../unxsoli4.pro/slo/call.obj
Assembler:
        "call.s", line 2 : Syntax error
        Near line: " * "
        "call.s", line 3 : Syntax error
        Near line: " * Licensed to the Apache Software Foundation
(ASF) under one"
        "call.s", line 3 : Illegal mnemonic
        Near line: " * Licensed to the Apache Software Foundation
(ASF) under one"
        "call.s", line 3 : Illegal mnemonic
        Near line: " * Licensed to the Apache Software Foundation
(ASF) under one"
        "call.s", line 3 : Illegal mnemonic
        Near line: " * Licensed to the Apache Software Foundation
(ASF) under one"
        "call.s", line 3 : Illegal mnemonic
        Near line: " * Licensed to the Apache Software Foundation
(ASF) under one"
        "call.s", line 3 : Illegal mnemonic
        Near line: " * Licensed to the Apache Software Foundation
(ASF) under one"
        "call.s", line 3 : Illegal mnemonic
        Near line: " * Licensed to the Apache Software Foundation
(ASF) under one"
        "call.s", line 3 : Illegal mnemonic
        Near line: " * Licensed to the Apache Software Foundation
(ASF) under one"
        "call.s", line 3 : Illegal mnemonic
        Near line: " * Licensed to the Apache Software Foundation
(ASF) under one"
        "call.s", line 3 : Illegal mnemonic
        Near line: " * Licensed to the Apache Software Foundation
(ASF) under one"
        "call.s", line 4 : Syntax error
        Near line: " * or more contributor license agreements.  See
the NOTICE file"
        "call.s", line 5 : Syntax error
        Near line: " * distributed with this work for additional information"
        "call.s", line 5 : Illegal mnemonic
        Near line: " * distributed with this work for additional information"
        "call.s", line 5 : Illegal mnemonic
        Near line: " * distributed with this work for additional information"
        "call.s", line 5 : Illegal mnemonic
        Near line: " * distributed with this work for additional information"
        "call.s", line 5 : Illegal mnemonic
        Near line: " * distributed with this work for additional information"
        "call.s", line 5 : Illegal mnemonic
        Near line: " * distributed with this work for additional information"
        "call.s", line 5 : Illegal mnemonic
        Near line: " * distributed with this work for additional information"
        "call.s", line 5 : Illegal mnemonic
        Near line: " * distributed with this work for additional information"
        "call.s", line 6 : Syntax error
        Near line: " * regarding copyright ownership.  The ASF
licenses this file"
        "call.s", line 6 : Illegal mnemonic
        Near line: " * regarding copyright ownership.  The ASF
licenses this file"
        "call.s", line 6 : Illegal mnemonic
        Near line: " * regarding copyright ownership.  The ASF
licenses this file"
        "call.s", line 6 : Illegal mnemonic
        Near line: " * regarding copyright ownership.  The ASF
licenses this file"
        "call.s", line 6 : Illegal mnemonic
        Near line: " * regarding copyright ownership.  The ASF
licenses this file"
        "call.s", line 6 : Illegal mnemonic
        Near line: " * regarding copyright ownership.  The ASF
licenses this file"
        "call.s", line 6 : Illegal mnemonic
        Near line: " * regarding copyright ownership.  The ASF
licenses this file"
        "call.s", line 6 : Illegal mnemonic
        Near line: " * regarding copyright ownership.  The ASF
licenses this file"
        "call.s", line 6 : Illegal mnemonic
        Near line: " * regarding copyright ownership.  The ASF
licenses this file"
        "call.s", line 7 : Syntax error
        Near line: " * to you under the Apache License, Version 2.0 (the"
        "call.s", line 7 : Illegal mnemonic
        Near line: " * to you under the Apache License, Version 2.0 (the"
Too many errors - Goodbye
CC: fbe failed for call.s
dmake:  Error code 2, while making '../../../unxsoli4.pro/slo/call.obj'
---* tg_merge.mk *---

1 module(s):
        bridges
need(s) to be rebuilt

Reason(s):

ERROR: error 65280 occurred while making
/UNIX-LAB/ooo/main/bridges/source/cpp_uno/cc50_solaris_intel

When you have fixed the errors in that module you can resume the build
by running:

        build --all:bridges

Re: [BUILD]AOO build error in solaris

Posted by L'oiseau de mer <oi...@gmail.com>.
Recently, i meet a new problem in building rev1296433:
In module ucb,platform is Solaris 10 , Compiler is SolarisStudio 12.3
===========================================================
Entering /BuildArea/ooo/main/ucb/source/ucp/hierarchy

Making:    all_ucphier.dpslo
Compiling: ucb/unxsoli4.pro/misc/ucphier1_version.c
cc: Warning: illegal use of -features option, illegal item ignored: rvalueref
cc: Warning: illegal use of -features option, empty value ignored
Undefined			first referenced
 symbol  			    in file
int http_dav_ucp::SerfSession::verifySerfCertificateChain(int,const
char**,int) ../../../unxsoli4.pro/slo/SerfCallbacks.o
ld: fatal: symbol referencing errors. No output written to
../../../unxsoli4.pro/lib/libucpdav1.so
dmake:  Error code 2, while making '../../../unxsoli4.pro/lib/libucpdav1.so'
---* tg_merge.mk *---
Compiling: ucb/source/ucp/hierarchy/hierarchyservices.cxx
Compiling: ucb/source/ucp/hierarchy/hierarchydata.cxx
Compiling: ucb/source/ucp/hierarchy/hierarchyprovider.cxx
Compiling: ucb/source/ucp/hierarchy/hierarchycontent.cxx
Compiling: ucb/source/ucp/hierarchy/hierarchycontentcaps.cxx
Compiling: ucb/source/ucp/hierarchy/hierarchydatasupplier.cxx
Compiling: ucb/source/ucp/hierarchy/dynamicresultset.cxx
Compiling: ucb/source/ucp/hierarchy/hierarchydatasource.cxx
Compiling: ucb/source/ucp/hierarchy/hierarchyuri.cxx
Making:    ucphier.lib
Making:    _ucphier.lib
Making:    libucphier1.so
Making:    all_ucphier.dpslo
: &&     LD_LIBRARY_PATH=/BuildArea/ooo/main/solver/340/unxsoli4.pro/lib${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}
/BuildArea/ooo/main/solver/340/unxsoli4.pro/bin/xsltproc --nonet
--stringparam uri \
        'vnd.sun.star.expand:$OOO_BASE_DIR/program/libucphier1.so' -o
../../../unxsoli4.pro/misc/ucphier1.component \
        /BuildArea/ooo/main/solenv/bin/createcomponent.xslt ucphier1.component

1 module(s):
	ucb
need(s) to be rebuilt

Reason(s):

ERROR: error 65280 occurred while making
/BuildArea/ooo/main/ucb/source/ucp/webdav

When you have fixed the errors in that module you can resume the build
by running:

	build --from ucb

Re: [BUILD]AOO build error in solaris

Posted by L'oiseau de mer <oi...@gmail.com>.
I want to ask about libxmlsec can be disabled in configure? i findn't
this option.
Maybe it have other solve method?

2012/3/1 L'oiseau de mer <oi...@gmail.com>:
> Recently i try to build AOO , and configure parametre are
>  "--disable-build-mozilla --disable-cups --with-system-python
> --enable-presenter-console --enable-wiki-publisher --enable-minimizer
> --enable-pdfimport --enable-category-b"
>
> And prebuild-mozlib is use this version:
> http://www.openoffice.org/tools/moz_prebuild/OOo3.2/
>
> But now i meet a problem in build libxmlsec:
> =================================================================================
> Entering /BuildArea/ooo/main/libxmlsec
>
> cp: cannot stat
> `./unxsoli4.pro/misc/build/xmlsec1-1.2.14/src/nss/.libs/libxmlsec1-nss.a':
> No such file or directory
> dmake:  Error code 1, while making
> './unxsoli4.pro/misc/build/so_predeliver_so_xmlsec1'
> ---* tg_merge.mk *---
>
> 1 module(s):
>        libxmlsec
> need(s) to be rebuilt
> =================================================================================
>
> And then i enter this dir
> "unxsoli4.pro/misc/build/xmlsec1-1.2.14/src/nss/", then try to exec
> make , i see this problem:
> libtool: link: /opt/solarisstudio12.3/bin/cc -G -h libxmlsec1-nss.so.1
> -o .libs/libxmlsec1-nss.so.1.2.14  .libs/libxmlsec1_nss_la-app.o
> .libs/libxmlsec1_nss_la-bignum.o .libs/libxmlsec1_nss_la-ciphers.o
> .libs/libxmlsec1_nss_la-crypto.o .libs/libxmlsec1_nss_la-digests.o
> .libs/libxmlsec1_nss_la-hmac.o .libs/libxmlsec1_nss_la-pkikeys.o
> .libs/libxmlsec1_nss_la-signatures.o .libs/libxmlsec1_nss_la-symkeys.o
> .libs/libxmlsec1_nss_la-x509.o .libs/libxmlsec1_nss_la-x509vfy.o
> .libs/libxmlsec1_nss_la-keysstore.o .libs/libxmlsec1_nss_la-keytrans.o
> .libs/libxmlsec1_nss_la-kw_des.o .libs/libxmlsec1_nss_la-kw_aes.o
> .libs/libxmlsec1_nss_la-akmngr.o .libs/libxmlsec1_nss_la-keywrapers.o
> .libs/libxmlsec1_nss_la-tokens.o   ../.libs/libxmlsec1.a
> -L/BuildArea/ooo/main/solver/340/unxsoli4.pro/lib -L/usr/lib/mps
> -lnss3 -lsmime3 -lssl3 -lnssutil3 -lplds4 -lplc4 -lnspr4 -ldl -lposix4
> -lxslt -lxml2 -lpthread -lz -lsocket -lnsl -lm -lc
> ld: fatal: symbol 'xmlSecNssTransformKWDes3GetKlass' is multiply-defined:
>        (file .libs/libxmlsec1_nss_la-kw_des.o type=FUNC; file
> .libs/libxmlsec1_nss_la-keywrapers.o type=FUNC);
> ld: fatal: symbol 'xmlSecNssTransformKWAes128GetKlass' is multiply-defined:
>        (file .libs/libxmlsec1_nss_la-kw_aes.o type=FUNC; file
> .libs/libxmlsec1_nss_la-keywrapers.o type=FUNC);
> ld: fatal: symbol 'xmlSecNssTransformKWAes192GetKlass' is multiply-defined:
>        (file .libs/libxmlsec1_nss_la-kw_aes.o type=FUNC; file
> .libs/libxmlsec1_nss_la-keywrapers.o type=FUNC);
> ld: fatal: symbol 'xmlSecNssTransformKWAes256GetKlass' is multiply-defined:
>        (file .libs/libxmlsec1_nss_la-kw_aes.o type=FUNC; file
> .libs/libxmlsec1_nss_la-keywrapers.o type=FUNC);
> ld: fatal: file processing errors. No output written to
> .libs/libxmlsec1-nss.so.1.2.14
> make: *** [libxmlsec1-nss.la] Error 2

Re: [BUILD]AOO build error in solaris

Posted by L'oiseau de mer <oi...@gmail.com>.
Recently i try to build AOO , and configure parametre are
 "--disable-build-mozilla --disable-cups --with-system-python
--enable-presenter-console --enable-wiki-publisher --enable-minimizer
--enable-pdfimport --enable-category-b"

And prebuild-mozlib is use this version:
http://www.openoffice.org/tools/moz_prebuild/OOo3.2/

But now i meet a problem in build libxmlsec:
=================================================================================
Entering /BuildArea/ooo/main/libxmlsec

cp: cannot stat
`./unxsoli4.pro/misc/build/xmlsec1-1.2.14/src/nss/.libs/libxmlsec1-nss.a':
No such file or directory
dmake:  Error code 1, while making
'./unxsoli4.pro/misc/build/so_predeliver_so_xmlsec1'
---* tg_merge.mk *---

1 module(s):
        libxmlsec
need(s) to be rebuilt
=================================================================================

And then i enter this dir
"unxsoli4.pro/misc/build/xmlsec1-1.2.14/src/nss/", then try to exec
make , i see this problem:
libtool: link: /opt/solarisstudio12.3/bin/cc -G -h libxmlsec1-nss.so.1
-o .libs/libxmlsec1-nss.so.1.2.14  .libs/libxmlsec1_nss_la-app.o
.libs/libxmlsec1_nss_la-bignum.o .libs/libxmlsec1_nss_la-ciphers.o
.libs/libxmlsec1_nss_la-crypto.o .libs/libxmlsec1_nss_la-digests.o
.libs/libxmlsec1_nss_la-hmac.o .libs/libxmlsec1_nss_la-pkikeys.o
.libs/libxmlsec1_nss_la-signatures.o .libs/libxmlsec1_nss_la-symkeys.o
.libs/libxmlsec1_nss_la-x509.o .libs/libxmlsec1_nss_la-x509vfy.o
.libs/libxmlsec1_nss_la-keysstore.o .libs/libxmlsec1_nss_la-keytrans.o
.libs/libxmlsec1_nss_la-kw_des.o .libs/libxmlsec1_nss_la-kw_aes.o
.libs/libxmlsec1_nss_la-akmngr.o .libs/libxmlsec1_nss_la-keywrapers.o
.libs/libxmlsec1_nss_la-tokens.o   ../.libs/libxmlsec1.a
-L/BuildArea/ooo/main/solver/340/unxsoli4.pro/lib -L/usr/lib/mps
-lnss3 -lsmime3 -lssl3 -lnssutil3 -lplds4 -lplc4 -lnspr4 -ldl -lposix4
-lxslt -lxml2 -lpthread -lz -lsocket -lnsl -lm -lc
ld: fatal: symbol 'xmlSecNssTransformKWDes3GetKlass' is multiply-defined:
        (file .libs/libxmlsec1_nss_la-kw_des.o type=FUNC; file
.libs/libxmlsec1_nss_la-keywrapers.o type=FUNC);
ld: fatal: symbol 'xmlSecNssTransformKWAes128GetKlass' is multiply-defined:
        (file .libs/libxmlsec1_nss_la-kw_aes.o type=FUNC; file
.libs/libxmlsec1_nss_la-keywrapers.o type=FUNC);
ld: fatal: symbol 'xmlSecNssTransformKWAes192GetKlass' is multiply-defined:
        (file .libs/libxmlsec1_nss_la-kw_aes.o type=FUNC; file
.libs/libxmlsec1_nss_la-keywrapers.o type=FUNC);
ld: fatal: symbol 'xmlSecNssTransformKWAes256GetKlass' is multiply-defined:
        (file .libs/libxmlsec1_nss_la-kw_aes.o type=FUNC; file
.libs/libxmlsec1_nss_la-keywrapers.o type=FUNC);
ld: fatal: file processing errors. No output written to
.libs/libxmlsec1-nss.so.1.2.14
make: *** [libxmlsec1-nss.la] Error 2

Re: [BUILD]AOO build error in solaris

Posted by Andrew Rist <an...@oracle.com>.

On 12/19/2011 5:18 AM, L'oiseau de mer wrote:
> My Build Environment and step:
> 1.Solaris 10 x 86 u10(10/8) "full installation".
> 2.Solaris Studio 12.3 "full installation".
> 3.install blastwave csw's svn
> 4.compile and install gnu's coreutils , bison , patch to  /usr/gnu/
> 5.compile and install epm 3.7(patched version) to /usr
> (4 and 5 is ./configure --prefix=XXX&&  make&&  make install)
> (5 first need /usr/gnu/bin/patch -i epm-3.7.patch)
> 6./opt/csw/bin/svn co https://svn.apache.org/repos/asf/incubator/ooo/trunk ooo
> 7.wget http://tools.openoffice.org/unowinreg_prebuild/680/unowinreg.dll
>   to  main/external/unowinreg
> 8.wget https://github.com/downloads/KentBeck/junit/junit-4.10.jar  to /one-place
> 9.mv /usr/ccs/bin/make /usr/ccs/bin/sunmake&&  mv /usr/sfw/bin/gmake
> /usr/bin/make
> 10.export CC=/opt/solarisstudio12.3/bin/cc
> 11.export CXX=/opt/solarisstudio12.3/bin/CC
> 12.export PATH=/usr/gnu/bin/:/usr/bin/:/opt/solarisstudio12.3/bin/:/usr/sfw/bin/:$PATH
> 13.cd main/&&  autoconf
> (I forget autoconf,automake is exist or not in default Solaris System)
> 14. ./configure --disable-cups --disable-mozilla
> --with-junit=/one-place/junit-4.10.jar --disable-gtk
> 15. ./bootstrape
> 16. source SolarisX86Env.Set.sh
> 17.cd instsetoo_native&&  build --all
> 18.play to the score to modify code

Much appreciated.
This is very useful.
Andrew

>
> 2011/12/19 Andrew Rist<an...@oracle.com>:
>> On 12/18/2011 5:54 PM, L'oiseau de mer wrote:
>>> Build Success in Solaris 10 with binfilter.
>> Can you share your complete build 'recipe' for Solaris?
>>   - What is the full version of you OS and what packages have you added in
>> order to build AOO?
>>   - What are the exact commands you run to build?
>>   - What patches are required currently to get the build to finish?
>>
>> This would be extremely helpful in setting up the Solaris build bot.
>>
>>> I modify this file "main/solenv/inc/unxsoli4.mk" in line 47:
>>> ARCH_FLAGS*="-features=rvalueref"
>>> =================================================
>>> But i also modify these file for building pass.
>>> 1.main/python/unxsoli4.pro/misc/build/Python-2.6.1/Modules/getbuildinfo.c
>>> in final line:
>>>
>>> const char *
>>> _Py_svnversion(void)
>>> {
>>> //      /* the following string can be modified by subwcrev.exe */
>>> //      static const char svnversion[] = SVNVERSION;
>>> //      if (svnversion[0] != '$')
>>> //              return svnversion;
>>> //      return "exported";
>>> }
>>>
>>> 2.main/libxslt/unxsoli4.pro/misc/build/libxslt-1.1.26/libxslt/extra.c
>>> in line 246
>>> //#if defined(__GLIBC__)
>>>      lmt = gmt - timezone;
>>> //#else /* FreeBSD DOESN'T HAVE such side-ffect */
>>> //    lmt = gmt - local_tm->tm_gmtoff;
>>> //#endif
>>>
>>>
>>> 2011/12/18 L'oiseau de mer<oi...@gmail.com>:
>>>> I use version 4.2. from here to download and install:
>>>> http://www.epmhome.org/software.php
>>>>
>>>> Ok,thanks, i continue tying......
>>>>
>>>> 2011/12/18 Ariel Constenla-Haile<ar...@apache.org>:
>>>>> Hi L'oiseau de mer,
>>>>>
>>>>> On Sun, Dec 18, 2011 at 09:21:03PM +0800, L'oiseau de mer wrote:
>>>>>> Thank you very much, this part i still build and deal with it.
>>>>>> Now i first report another problem,when i arrive the step that make
>>>>>> packages.
>>>>>> It appear this message:(This is another build machine (solaris 11
>>>>>> express))
>>>>>> i check this dir
>>>>>> "unxsoli4.pro/OpenOffice/pkg/install/en-US_witherror/packages/"
>>>>>> it always create two file (and 1 subdir):
>>>>>> 1. XXX/
>>>>>> 2. XXX-3.4.0-1-solaris-11-intel.pkg.gz
>>>>>> 3. XXX-3.4.0-1-solaris-11-intel.pkg.tgz
>>>>>>
>>>>>> I have tryed move one to other place, and progress can pass to another
>>>>>> package,
>>>>>> but always need move one to other place, and start become circle
>>>>>> infinite.......
>>>>>> (same package appear again)
>>>>>> But i don't know configure where for solving this problem.
>>>>>>
>>>>>>
>>>>>> **************************************************
>>>>>> ERROR: ERROR: More than one new package in directory
>>>>>>
>>>>>> /UNIX-LAB/ooo/main/instsetoo_native/unxsoli4.pro/OpenOffice/pkg/install/en-US_inprogress/packages
>>>>>> (
>>>>>> /UNIX-LAB/ooo/main/instsetoo_native/unxsoli4.pro/OpenOffice/pkg/install/en-US_inprogress/packages/ooobasis34-calc-3.4.0-1-solaris-11-intel.pkg.gz
>>>>>>
>>>>>> /UNIX-LAB/ooo/main/instsetoo_native/unxsoli4.pro/OpenOffice/pkg/install/en-US_inprogress/packages/ooobasis34-calc
>>>>>>
>>>>>> /UNIX-LAB/ooo/main/instsetoo_native/unxsoli4.pro/OpenOffice/pkg/install/en-US_inprogress/packages/ooobasis34-calc-3.4.0-1-solaris-11-intel.pkg.tgz)
>>>>>> in function: determine_new_packagename (packagepool)
>>>>>>
>>>>>> **************************************************
>>>>>>
>>>>>> **************************************************
>>>>>> ERROR: Saved logfile:
>>>>>>
>>>>>> /UNIX-LAB/ooo/main/instsetoo_native/unxsoli4.pro/OpenOffice/pkg/logging/en-US/log_OOO340_en-US.log
>>>>>> **************************************************
>>>>>> Sun Dec 18 20:54:43 2011 (00:35 min.)
>>>>>> dmake:  Error code 255, while making 'openoffice_en-US.pkg'
>>>>>> ---* tg_merge.mk *---
>>>>>>
>>>>>> 1 module(s):
>>>>>>        instsetoo_native
>>>>>> need(s) to be rebuilt
>>>>>>
>>>>>> Reason(s):
>>>>>>
>>>>>> ERROR: error 65280 occurred while making
>>>>>> /UNIX-LAB/ooo/main/instsetoo_native/util
>>>>>>
>>>>>> When you have fixed the errors in that module you can resume the build
>>>>>> by running:
>>>>>>
>>>>>>        build --all:instsetoo_native
>>>>>
>>>>> what epm version are you using?
>>>>>
>>>>> Building AOO requires a *patched* epm 3.7 version
>>>>>
>>>>> http://www.epmhome.org/software.php?VERSION=4.2&FILE=epm/3.7/epm-3.7-source.tar.bz2
>>>>> patched with this patch:
>>>>>
>>>>> http://hg.services.openoffice.org/OOO340/raw-file/c904c1944462/epm/epm-3.7.patch
>>>>>
>>>>>
>>>>> Regards
>>>>> --
>>>>> Ariel Constenla-Haile
>>>>> La Plata, Argentina
>>

-- 

Andrew Rist | Interoperability Architect
OracleCorporate Architecture Group
Redwood Shores, CA | 650.506.9847


Re: [BUILD]AOO build error in solaris

Posted by L'oiseau de mer <oi...@gmail.com>.
My Build Environment and step:
1.Solaris 10 x 86 u10(10/8) "full installation".
2.Solaris Studio 12.3 "full installation".
3.install blastwave csw's svn
4.compile and install gnu's coreutils , bison , patch to  /usr/gnu/
5.compile and install epm 3.7(patched version) to /usr
(4 and 5 is ./configure --prefix=XXX && make && make install)
(5 first need /usr/gnu/bin/patch -i epm-3.7.patch)
6./opt/csw/bin/svn co https://svn.apache.org/repos/asf/incubator/ooo/trunk ooo
7.wget http://tools.openoffice.org/unowinreg_prebuild/680/unowinreg.dll
 to  main/external/unowinreg
8.wget https://github.com/downloads/KentBeck/junit/junit-4.10.jar  to /one-place
9.mv /usr/ccs/bin/make /usr/ccs/bin/sunmake && mv /usr/sfw/bin/gmake
/usr/bin/make
10.export CC=/opt/solarisstudio12.3/bin/cc
11.export CXX=/opt/solarisstudio12.3/bin/CC
12.export PATH=/usr/gnu/bin/:/usr/bin/:/opt/solarisstudio12.3/bin/:/usr/sfw/bin/:$PATH
13.cd main/ && autoconf
(I forget autoconf,automake is exist or not in default Solaris System)
14. ./configure --disable-cups --disable-mozilla
--with-junit=/one-place/junit-4.10.jar --disable-gtk
15. ./bootstrape
16. source SolarisX86Env.Set.sh
17.cd instsetoo_native && build --all
18.play to the score to modify code


2011/12/19 Andrew Rist <an...@oracle.com>:
> On 12/18/2011 5:54 PM, L'oiseau de mer wrote:
>>
>> Build Success in Solaris 10 with binfilter.
>
> Can you share your complete build 'recipe' for Solaris?
>  - What is the full version of you OS and what packages have you added in
> order to build AOO?
>  - What are the exact commands you run to build?
>  - What patches are required currently to get the build to finish?
>
> This would be extremely helpful in setting up the Solaris build bot.
>
>> I modify this file "main/solenv/inc/unxsoli4.mk" in line 47:
>> ARCH_FLAGS*="-features=rvalueref"
>> =================================================
>> But i also modify these file for building pass.
>> 1.main/python/unxsoli4.pro/misc/build/Python-2.6.1/Modules/getbuildinfo.c
>> in final line:
>>
>> const char *
>> _Py_svnversion(void)
>> {
>> //      /* the following string can be modified by subwcrev.exe */
>> //      static const char svnversion[] = SVNVERSION;
>> //      if (svnversion[0] != '$')
>> //              return svnversion;
>> //      return "exported";
>> }
>>
>> 2.main/libxslt/unxsoli4.pro/misc/build/libxslt-1.1.26/libxslt/extra.c
>> in line 246
>> //#if defined(__GLIBC__)
>>     lmt = gmt - timezone;
>> //#else /* FreeBSD DOESN'T HAVE such side-ffect */
>> //    lmt = gmt - local_tm->tm_gmtoff;
>> //#endif
>>
>>
>> 2011/12/18 L'oiseau de mer<oi...@gmail.com>:
>>>
>>> I use version 4.2. from here to download and install:
>>> http://www.epmhome.org/software.php
>>>
>>> Ok,thanks, i continue tying......
>>>
>>> 2011/12/18 Ariel Constenla-Haile<ar...@apache.org>:
>>>>
>>>> Hi L'oiseau de mer,
>>>>
>>>> On Sun, Dec 18, 2011 at 09:21:03PM +0800, L'oiseau de mer wrote:
>>>>>
>>>>> Thank you very much, this part i still build and deal with it.
>>>>> Now i first report another problem,when i arrive the step that make
>>>>> packages.
>>>>> It appear this message:(This is another build machine (solaris 11
>>>>> express))
>>>>> i check this dir
>>>>> "unxsoli4.pro/OpenOffice/pkg/install/en-US_witherror/packages/"
>>>>> it always create two file (and 1 subdir):
>>>>> 1. XXX/
>>>>> 2. XXX-3.4.0-1-solaris-11-intel.pkg.gz
>>>>> 3. XXX-3.4.0-1-solaris-11-intel.pkg.tgz
>>>>>
>>>>> I have tryed move one to other place, and progress can pass to another
>>>>> package,
>>>>> but always need move one to other place, and start become circle
>>>>> infinite.......
>>>>> (same package appear again)
>>>>> But i don't know configure where for solving this problem.
>>>>>
>>>>>
>>>>> **************************************************
>>>>> ERROR: ERROR: More than one new package in directory
>>>>>
>>>>> /UNIX-LAB/ooo/main/instsetoo_native/unxsoli4.pro/OpenOffice/pkg/install/en-US_inprogress/packages
>>>>> (
>>>>> /UNIX-LAB/ooo/main/instsetoo_native/unxsoli4.pro/OpenOffice/pkg/install/en-US_inprogress/packages/ooobasis34-calc-3.4.0-1-solaris-11-intel.pkg.gz
>>>>>
>>>>> /UNIX-LAB/ooo/main/instsetoo_native/unxsoli4.pro/OpenOffice/pkg/install/en-US_inprogress/packages/ooobasis34-calc
>>>>>
>>>>> /UNIX-LAB/ooo/main/instsetoo_native/unxsoli4.pro/OpenOffice/pkg/install/en-US_inprogress/packages/ooobasis34-calc-3.4.0-1-solaris-11-intel.pkg.tgz)
>>>>> in function: determine_new_packagename (packagepool)
>>>>>
>>>>> **************************************************
>>>>>
>>>>> **************************************************
>>>>> ERROR: Saved logfile:
>>>>>
>>>>> /UNIX-LAB/ooo/main/instsetoo_native/unxsoli4.pro/OpenOffice/pkg/logging/en-US/log_OOO340_en-US.log
>>>>> **************************************************
>>>>> Sun Dec 18 20:54:43 2011 (00:35 min.)
>>>>> dmake:  Error code 255, while making 'openoffice_en-US.pkg'
>>>>> ---* tg_merge.mk *---
>>>>>
>>>>> 1 module(s):
>>>>>       instsetoo_native
>>>>> need(s) to be rebuilt
>>>>>
>>>>> Reason(s):
>>>>>
>>>>> ERROR: error 65280 occurred while making
>>>>> /UNIX-LAB/ooo/main/instsetoo_native/util
>>>>>
>>>>> When you have fixed the errors in that module you can resume the build
>>>>> by running:
>>>>>
>>>>>       build --all:instsetoo_native
>>>>
>>>>
>>>> what epm version are you using?
>>>>
>>>> Building AOO requires a *patched* epm 3.7 version
>>>>
>>>> http://www.epmhome.org/software.php?VERSION=4.2&FILE=epm/3.7/epm-3.7-source.tar.bz2
>>>> patched with this patch:
>>>>
>>>> http://hg.services.openoffice.org/OOO340/raw-file/c904c1944462/epm/epm-3.7.patch
>>>>
>>>>
>>>> Regards
>>>> --
>>>> Ariel Constenla-Haile
>>>> La Plata, Argentina
>
>

Re: [BUILD]AOO build error in solaris

Posted by Andrew Rist <an...@oracle.com>.

On 12/19/2011 7:29 AM, Pedro Giffuni wrote:
> Hi Andrew;
>
> --- Lun 19/12/11, Andrew Rist<an...@oracle.com>  ha scritto:
> ...
>> On 12/18/2011 5:54 PM, L'oiseau de
>> mer wrote:
>>> Build Success in Solaris 10 with binfilter.
>> Can you share your complete build 'recipe' for Solaris?
>>    - What is the full version of you OS and what
>> packages have you added
>> in order to build AOO?
>>    - What are the exact commands you run to build?
>>    - What patches are required currently to get the
>> build to finish?
>>
> FWIW, I have committed most of what has been reported here,
> including a couple of asm headers that you broke ;)
>
> http://svn.apache.org/viewvc?view=revision&revision=1215496
> http://svn.apache.org/viewvc?view=revision&revision=1215498

This is why I've been so interested in the nightly builds. I was sure 
that I would break something at some point.
I was a bit worried that it had not happened yet. ;-)
Just wanted to know quickly when that happened. (thanks for cleaning up 
my mess...)
Andrew

    Gregory (Scotland Yard detective): “Is there any other point to
    which you would wish to draw my attention?”
    Holmes: “To the curious incident of the dog in the night-time.”
    Gregory: “The dog did nothing in the night-time.”
    Holmes: “That was the curious incident.”

>
> cheers,
>
> Pedro.
>

-- 

Andrew Rist | Interoperability Architect
OracleCorporate Architecture Group
Redwood Shores, CA | 650.506.9847


Re: [BUILD]AOO build error in solaris

Posted by Pedro Giffuni <pf...@apache.org>.
Hi Andrew;

--- Lun 19/12/11, Andrew Rist <an...@oracle.com> ha scritto:
...
> On 12/18/2011 5:54 PM, L'oiseau de
> mer wrote:
> > Build Success in Solaris 10 with binfilter.
> Can you share your complete build 'recipe' for Solaris?
>   - What is the full version of you OS and what
> packages have you added 
> in order to build AOO?
>   - What are the exact commands you run to build?
>   - What patches are required currently to get the
> build to finish?
> 

FWIW, I have committed most of what has been reported here,
including a couple of asm headers that you broke ;)

http://svn.apache.org/viewvc?view=revision&revision=1215496
http://svn.apache.org/viewvc?view=revision&revision=1215498

cheers,

Pedro.


Re: [BUILD]AOO build error in solaris

Posted by Andrew Rist <an...@oracle.com>.
On 12/18/2011 5:54 PM, L'oiseau de mer wrote:
> Build Success in Solaris 10 with binfilter.
Can you share your complete build 'recipe' for Solaris?
  - What is the full version of you OS and what packages have you added 
in order to build AOO?
  - What are the exact commands you run to build?
  - What patches are required currently to get the build to finish?

This would be extremely helpful in setting up the Solaris build bot.
> I modify this file "main/solenv/inc/unxsoli4.mk" in line 47:
> ARCH_FLAGS*="-features=rvalueref"
> =================================================
> But i also modify these file for building pass.
> 1.main/python/unxsoli4.pro/misc/build/Python-2.6.1/Modules/getbuildinfo.c
> in final line:
>
> const char *
> _Py_svnversion(void)
> {
> //      /* the following string can be modified by subwcrev.exe */
> //      static const char svnversion[] = SVNVERSION;
> //      if (svnversion[0] != '$')
> //              return svnversion;
> //      return "exported";
> }
>
> 2.main/libxslt/unxsoli4.pro/misc/build/libxslt-1.1.26/libxslt/extra.c
> in line 246
> //#if defined(__GLIBC__)
>      lmt = gmt - timezone;
> //#else /* FreeBSD DOESN'T HAVE such side-ffect */
> //    lmt = gmt - local_tm->tm_gmtoff;
> //#endif
>
>
> 2011/12/18 L'oiseau de mer<oi...@gmail.com>:
>> I use version 4.2. from here to download and install:
>> http://www.epmhome.org/software.php
>>
>> Ok,thanks, i continue tying......
>>
>> 2011/12/18 Ariel Constenla-Haile<ar...@apache.org>:
>>> Hi L'oiseau de mer,
>>>
>>> On Sun, Dec 18, 2011 at 09:21:03PM +0800, L'oiseau de mer wrote:
>>>> Thank you very much, this part i still build and deal with it.
>>>> Now i first report another problem,when i arrive the step that make packages.
>>>> It appear this message:(This is another build machine (solaris 11 express))
>>>> i check this dir "unxsoli4.pro/OpenOffice/pkg/install/en-US_witherror/packages/"
>>>> it always create two file (and 1 subdir):
>>>> 1. XXX/
>>>> 2. XXX-3.4.0-1-solaris-11-intel.pkg.gz
>>>> 3. XXX-3.4.0-1-solaris-11-intel.pkg.tgz
>>>>
>>>> I have tryed move one to other place, and progress can pass to another package,
>>>> but always need move one to other place, and start become circle infinite.......
>>>> (same package appear again)
>>>> But i don't know configure where for solving this problem.
>>>>
>>>>
>>>> **************************************************
>>>> ERROR: ERROR: More than one new package in directory
>>>> /UNIX-LAB/ooo/main/instsetoo_native/unxsoli4.pro/OpenOffice/pkg/install/en-US_inprogress/packages
>>>> ( /UNIX-LAB/ooo/main/instsetoo_native/unxsoli4.pro/OpenOffice/pkg/install/en-US_inprogress/packages/ooobasis34-calc-3.4.0-1-solaris-11-intel.pkg.gz
>>>> /UNIX-LAB/ooo/main/instsetoo_native/unxsoli4.pro/OpenOffice/pkg/install/en-US_inprogress/packages/ooobasis34-calc
>>>> /UNIX-LAB/ooo/main/instsetoo_native/unxsoli4.pro/OpenOffice/pkg/install/en-US_inprogress/packages/ooobasis34-calc-3.4.0-1-solaris-11-intel.pkg.tgz)
>>>> in function: determine_new_packagename (packagepool)
>>>>
>>>> **************************************************
>>>>
>>>> **************************************************
>>>> ERROR: Saved logfile:
>>>> /UNIX-LAB/ooo/main/instsetoo_native/unxsoli4.pro/OpenOffice/pkg/logging/en-US/log_OOO340_en-US.log
>>>> **************************************************
>>>> Sun Dec 18 20:54:43 2011 (00:35 min.)
>>>> dmake:  Error code 255, while making 'openoffice_en-US.pkg'
>>>> ---* tg_merge.mk *---
>>>>
>>>> 1 module(s):
>>>>        instsetoo_native
>>>> need(s) to be rebuilt
>>>>
>>>> Reason(s):
>>>>
>>>> ERROR: error 65280 occurred while making
>>>> /UNIX-LAB/ooo/main/instsetoo_native/util
>>>>
>>>> When you have fixed the errors in that module you can resume the build
>>>> by running:
>>>>
>>>>        build --all:instsetoo_native
>>>
>>> what epm version are you using?
>>>
>>> Building AOO requires a *patched* epm 3.7 version
>>> http://www.epmhome.org/software.php?VERSION=4.2&FILE=epm/3.7/epm-3.7-source.tar.bz2
>>> patched with this patch:
>>> http://hg.services.openoffice.org/OOO340/raw-file/c904c1944462/epm/epm-3.7.patch
>>>
>>>
>>> Regards
>>> --
>>> Ariel Constenla-Haile
>>> La Plata, Argentina


Re: [BUILD]AOO build error in solaris

Posted by Pedro Giffuni <pf...@apache.org>.
Hi,

I can fix No. 2, but No. 1 doesnt seem right.
Maybe there is a related patch in Solaris
repositories? Alternatively you could use
the system python.

Cheers,

Pedro.

--- Dom 18/12/11, L'oiseau de mer <oi...@gmail.com> ha scritto:

> Da: L'oiseau de mer <oi...@gmail.com>
> Oggetto: Re: [BUILD]AOO build error in solaris
> A: ooo-dev@incubator.apache.org
> Data: Domenica 18 dicembre 2011, 20:54
> Build Success in Solaris 10 with
> binfilter.
> I modify this file "main/solenv/inc/unxsoli4.mk" in line
> 47:
> ARCH_FLAGS*="-features=rvalueref"
> =================================================
> But i also modify these file for building pass.
> 1.main/python/unxsoli4.pro/misc/build/Python-2.6.1/Modules/getbuildinfo.c
> in final line:
> 
> const char *
> _Py_svnversion(void)
> {
> //      /* the following string can be
> modified by subwcrev.exe */
> //      static const char svnversion[] =
> SVNVERSION;
> //      if (svnversion[0] != '$')
> //              return
> svnversion;
> //      return "exported";
> }
> 
> 2.main/libxslt/unxsoli4.pro/misc/build/libxslt-1.1.26/libxslt/extra.c
> in line 246
> //#if defined(__GLIBC__)
>     lmt = gmt - timezone;
> //#else /* FreeBSD DOESN'T HAVE such side-ffect */
> //    lmt = gmt - local_tm->tm_gmtoff;
> //#endif
> 
> 
> 2011/12/18 L'oiseau de mer <oi...@gmail.com>:
> > I use version 4.2. from here to download and install:
> > http://www.epmhome.org/software.php
> >
> > Ok,thanks, i continue tying......
> >
> > 2011/12/18 Ariel Constenla-Haile <ar...@apache.org>:
> >> Hi L'oiseau de mer,
> >>
> >> On Sun, Dec 18, 2011 at 09:21:03PM +0800, L'oiseau
> de mer wrote:
> >>> Thank you very much, this part i still build
> and deal with it.
> >>> Now i first report another problem,when i
> arrive the step that make packages.
> >>> It appear this message:(This is another build
> machine (solaris 11 express))
> >>> i check this dir
> "unxsoli4.pro/OpenOffice/pkg/install/en-US_witherror/packages/"
> >>> it always create two file (and 1 subdir):
> >>> 1. XXX/
> >>> 2. XXX-3.4.0-1-solaris-11-intel.pkg.gz
> >>> 3. XXX-3.4.0-1-solaris-11-intel.pkg.tgz
> >>>
> >>> I have tryed move one to other place, and
> progress can pass to another package,
> >>> but always need move one to other place, and
> start become circle infinite.......
> >>> (same package appear again)
> >>> But i don't know configure where for solving
> this problem.
> >>>
> >>>
> >>>
> **************************************************
> >>> ERROR: ERROR: More than one new package in
> directory
> >>>
> /UNIX-LAB/ooo/main/instsetoo_native/unxsoli4.pro/OpenOffice/pkg/install/en-US_inprogress/packages
> >>> (
> /UNIX-LAB/ooo/main/instsetoo_native/unxsoli4.pro/OpenOffice/pkg/install/en-US_inprogress/packages/ooobasis34-calc-3.4.0-1-solaris-11-intel.pkg.gz
> >>>
> /UNIX-LAB/ooo/main/instsetoo_native/unxsoli4.pro/OpenOffice/pkg/install/en-US_inprogress/packages/ooobasis34-calc
> >>>
> /UNIX-LAB/ooo/main/instsetoo_native/unxsoli4.pro/OpenOffice/pkg/install/en-US_inprogress/packages/ooobasis34-calc-3.4.0-1-solaris-11-intel.pkg.tgz)
> >>> in function: determine_new_packagename
> (packagepool)
> >>>
> >>>
> **************************************************
> >>>
> >>>
> **************************************************
> >>> ERROR: Saved logfile:
> >>>
> /UNIX-LAB/ooo/main/instsetoo_native/unxsoli4.pro/OpenOffice/pkg/logging/en-US/log_OOO340_en-US.log
> >>>
> **************************************************
> >>> Sun Dec 18 20:54:43 2011 (00:35 min.)
> >>> dmake:  Error code 255, while making
> 'openoffice_en-US.pkg'
> >>> ---* tg_merge.mk *---
> >>>
> >>> 1 module(s):
> >>>       instsetoo_native
> >>> need(s) to be rebuilt
> >>>
> >>> Reason(s):
> >>>
> >>> ERROR: error 65280 occurred while making
> >>> /UNIX-LAB/ooo/main/instsetoo_native/util
> >>>
> >>> When you have fixed the errors in that module
> you can resume the build
> >>> by running:
> >>>
> >>>       build --all:instsetoo_native
> >>
> >>
> >> what epm version are you using?
> >>
> >> Building AOO requires a *patched* epm 3.7 version
> >> http://www.epmhome.org/software.php?VERSION=4.2&FILE=epm/3.7/epm-3.7-source.tar.bz2
> >> patched with this patch:
> >> http://hg.services.openoffice.org/OOO340/raw-file/c904c1944462/epm/epm-3.7.patch
> >>
> >>
> >> Regards
> >> --
> >> Ariel Constenla-Haile
> >> La Plata, Argentina
> 

Re: [BUILD]AOO build error in solaris

Posted by L'oiseau de mer <oi...@gmail.com>.
Build Success in Solaris 10 with binfilter.
I modify this file "main/solenv/inc/unxsoli4.mk" in line 47:
ARCH_FLAGS*="-features=rvalueref"
=================================================
But i also modify these file for building pass.
1.main/python/unxsoli4.pro/misc/build/Python-2.6.1/Modules/getbuildinfo.c
in final line:

const char *
_Py_svnversion(void)
{
//      /* the following string can be modified by subwcrev.exe */
//      static const char svnversion[] = SVNVERSION;
//      if (svnversion[0] != '$')
//              return svnversion;
//      return "exported";
}

2.main/libxslt/unxsoli4.pro/misc/build/libxslt-1.1.26/libxslt/extra.c
in line 246
//#if defined(__GLIBC__)
    lmt = gmt - timezone;
//#else /* FreeBSD DOESN'T HAVE such side-ffect */
//    lmt = gmt - local_tm->tm_gmtoff;
//#endif


2011/12/18 L'oiseau de mer <oi...@gmail.com>:
> I use version 4.2. from here to download and install:
> http://www.epmhome.org/software.php
>
> Ok,thanks, i continue tying......
>
> 2011/12/18 Ariel Constenla-Haile <ar...@apache.org>:
>> Hi L'oiseau de mer,
>>
>> On Sun, Dec 18, 2011 at 09:21:03PM +0800, L'oiseau de mer wrote:
>>> Thank you very much, this part i still build and deal with it.
>>> Now i first report another problem,when i arrive the step that make packages.
>>> It appear this message:(This is another build machine (solaris 11 express))
>>> i check this dir "unxsoli4.pro/OpenOffice/pkg/install/en-US_witherror/packages/"
>>> it always create two file (and 1 subdir):
>>> 1. XXX/
>>> 2. XXX-3.4.0-1-solaris-11-intel.pkg.gz
>>> 3. XXX-3.4.0-1-solaris-11-intel.pkg.tgz
>>>
>>> I have tryed move one to other place, and progress can pass to another package,
>>> but always need move one to other place, and start become circle infinite.......
>>> (same package appear again)
>>> But i don't know configure where for solving this problem.
>>>
>>>
>>> **************************************************
>>> ERROR: ERROR: More than one new package in directory
>>> /UNIX-LAB/ooo/main/instsetoo_native/unxsoli4.pro/OpenOffice/pkg/install/en-US_inprogress/packages
>>> ( /UNIX-LAB/ooo/main/instsetoo_native/unxsoli4.pro/OpenOffice/pkg/install/en-US_inprogress/packages/ooobasis34-calc-3.4.0-1-solaris-11-intel.pkg.gz
>>> /UNIX-LAB/ooo/main/instsetoo_native/unxsoli4.pro/OpenOffice/pkg/install/en-US_inprogress/packages/ooobasis34-calc
>>> /UNIX-LAB/ooo/main/instsetoo_native/unxsoli4.pro/OpenOffice/pkg/install/en-US_inprogress/packages/ooobasis34-calc-3.4.0-1-solaris-11-intel.pkg.tgz)
>>> in function: determine_new_packagename (packagepool)
>>>
>>> **************************************************
>>>
>>> **************************************************
>>> ERROR: Saved logfile:
>>> /UNIX-LAB/ooo/main/instsetoo_native/unxsoli4.pro/OpenOffice/pkg/logging/en-US/log_OOO340_en-US.log
>>> **************************************************
>>> Sun Dec 18 20:54:43 2011 (00:35 min.)
>>> dmake:  Error code 255, while making 'openoffice_en-US.pkg'
>>> ---* tg_merge.mk *---
>>>
>>> 1 module(s):
>>>       instsetoo_native
>>> need(s) to be rebuilt
>>>
>>> Reason(s):
>>>
>>> ERROR: error 65280 occurred while making
>>> /UNIX-LAB/ooo/main/instsetoo_native/util
>>>
>>> When you have fixed the errors in that module you can resume the build
>>> by running:
>>>
>>>       build --all:instsetoo_native
>>
>>
>> what epm version are you using?
>>
>> Building AOO requires a *patched* epm 3.7 version
>> http://www.epmhome.org/software.php?VERSION=4.2&FILE=epm/3.7/epm-3.7-source.tar.bz2
>> patched with this patch:
>> http://hg.services.openoffice.org/OOO340/raw-file/c904c1944462/epm/epm-3.7.patch
>>
>>
>> Regards
>> --
>> Ariel Constenla-Haile
>> La Plata, Argentina

Re: [BUILD]AOO build error in solaris

Posted by L'oiseau de mer <oi...@gmail.com>.
I use version 4.2. from here to download and install:
http://www.epmhome.org/software.php

Ok,thanks, i continue tying......

2011/12/18 Ariel Constenla-Haile <ar...@apache.org>:
> Hi L'oiseau de mer,
>
> On Sun, Dec 18, 2011 at 09:21:03PM +0800, L'oiseau de mer wrote:
>> Thank you very much, this part i still build and deal with it.
>> Now i first report another problem,when i arrive the step that make packages.
>> It appear this message:(This is another build machine (solaris 11 express))
>> i check this dir "unxsoli4.pro/OpenOffice/pkg/install/en-US_witherror/packages/"
>> it always create two file (and 1 subdir):
>> 1. XXX/
>> 2. XXX-3.4.0-1-solaris-11-intel.pkg.gz
>> 3. XXX-3.4.0-1-solaris-11-intel.pkg.tgz
>>
>> I have tryed move one to other place, and progress can pass to another package,
>> but always need move one to other place, and start become circle infinite.......
>> (same package appear again)
>> But i don't know configure where for solving this problem.
>>
>>
>> **************************************************
>> ERROR: ERROR: More than one new package in directory
>> /UNIX-LAB/ooo/main/instsetoo_native/unxsoli4.pro/OpenOffice/pkg/install/en-US_inprogress/packages
>> ( /UNIX-LAB/ooo/main/instsetoo_native/unxsoli4.pro/OpenOffice/pkg/install/en-US_inprogress/packages/ooobasis34-calc-3.4.0-1-solaris-11-intel.pkg.gz
>> /UNIX-LAB/ooo/main/instsetoo_native/unxsoli4.pro/OpenOffice/pkg/install/en-US_inprogress/packages/ooobasis34-calc
>> /UNIX-LAB/ooo/main/instsetoo_native/unxsoli4.pro/OpenOffice/pkg/install/en-US_inprogress/packages/ooobasis34-calc-3.4.0-1-solaris-11-intel.pkg.tgz)
>> in function: determine_new_packagename (packagepool)
>>
>> **************************************************
>>
>> **************************************************
>> ERROR: Saved logfile:
>> /UNIX-LAB/ooo/main/instsetoo_native/unxsoli4.pro/OpenOffice/pkg/logging/en-US/log_OOO340_en-US.log
>> **************************************************
>> Sun Dec 18 20:54:43 2011 (00:35 min.)
>> dmake:  Error code 255, while making 'openoffice_en-US.pkg'
>> ---* tg_merge.mk *---
>>
>> 1 module(s):
>>       instsetoo_native
>> need(s) to be rebuilt
>>
>> Reason(s):
>>
>> ERROR: error 65280 occurred while making
>> /UNIX-LAB/ooo/main/instsetoo_native/util
>>
>> When you have fixed the errors in that module you can resume the build
>> by running:
>>
>>       build --all:instsetoo_native
>
>
> what epm version are you using?
>
> Building AOO requires a *patched* epm 3.7 version
> http://www.epmhome.org/software.php?VERSION=4.2&FILE=epm/3.7/epm-3.7-source.tar.bz2
> patched with this patch:
> http://hg.services.openoffice.org/OOO340/raw-file/c904c1944462/epm/epm-3.7.patch
>
>
> Regards
> --
> Ariel Constenla-Haile
> La Plata, Argentina

Re: [BUILD]AOO build error in solaris

Posted by Ariel Constenla-Haile <ar...@apache.org>.
Hi L'oiseau de mer,

On Sun, Dec 18, 2011 at 09:21:03PM +0800, L'oiseau de mer wrote:
> Thank you very much, this part i still build and deal with it.
> Now i first report another problem,when i arrive the step that make packages.
> It appear this message:(This is another build machine (solaris 11 express))
> i check this dir "unxsoli4.pro/OpenOffice/pkg/install/en-US_witherror/packages/"
> it always create two file (and 1 subdir):
> 1. XXX/
> 2. XXX-3.4.0-1-solaris-11-intel.pkg.gz
> 3. XXX-3.4.0-1-solaris-11-intel.pkg.tgz
> 
> I have tryed move one to other place, and progress can pass to another package,
> but always need move one to other place, and start become circle infinite.......
> (same package appear again)
> But i don't know configure where for solving this problem.
> 
> 
> **************************************************
> ERROR: ERROR: More than one new package in directory
> /UNIX-LAB/ooo/main/instsetoo_native/unxsoli4.pro/OpenOffice/pkg/install/en-US_inprogress/packages
> ( /UNIX-LAB/ooo/main/instsetoo_native/unxsoli4.pro/OpenOffice/pkg/install/en-US_inprogress/packages/ooobasis34-calc-3.4.0-1-solaris-11-intel.pkg.gz
> /UNIX-LAB/ooo/main/instsetoo_native/unxsoli4.pro/OpenOffice/pkg/install/en-US_inprogress/packages/ooobasis34-calc
> /UNIX-LAB/ooo/main/instsetoo_native/unxsoli4.pro/OpenOffice/pkg/install/en-US_inprogress/packages/ooobasis34-calc-3.4.0-1-solaris-11-intel.pkg.tgz)
> in function: determine_new_packagename (packagepool)
> 
> **************************************************
> 
> **************************************************
> ERROR: Saved logfile:
> /UNIX-LAB/ooo/main/instsetoo_native/unxsoli4.pro/OpenOffice/pkg/logging/en-US/log_OOO340_en-US.log
> **************************************************
> Sun Dec 18 20:54:43 2011 (00:35 min.)
> dmake:  Error code 255, while making 'openoffice_en-US.pkg'
> ---* tg_merge.mk *---
> 
> 1 module(s):
> 	instsetoo_native
> need(s) to be rebuilt
> 
> Reason(s):
> 
> ERROR: error 65280 occurred while making
> /UNIX-LAB/ooo/main/instsetoo_native/util
> 
> When you have fixed the errors in that module you can resume the build
> by running:
> 
> 	build --all:instsetoo_native


what epm version are you using? 

Building AOO requires a *patched* epm 3.7 version
http://www.epmhome.org/software.php?VERSION=4.2&FILE=epm/3.7/epm-3.7-source.tar.bz2
patched with this patch:
http://hg.services.openoffice.org/OOO340/raw-file/c904c1944462/epm/epm-3.7.patch


Regards
-- 
Ariel Constenla-Haile
La Plata, Argentina

Re: [BUILD]AOO build error in solaris

Posted by L'oiseau de mer <oi...@gmail.com>.
Thank you very much, this part i still build and deal with it.
Now i first report another problem,when i arrive the step that make packages.
It appear this message:(This is another build machine (solaris 11 express))
i check this dir "unxsoli4.pro/OpenOffice/pkg/install/en-US_witherror/packages/"
it always create two file (and 1 subdir):
1. XXX/
2. XXX-3.4.0-1-solaris-11-intel.pkg.gz
3. XXX-3.4.0-1-solaris-11-intel.pkg.tgz

I have tryed move one to other place, and progress can pass to another package,
but always need move one to other place, and start become circle infinite.......
(same package appear again)
But i don't know configure where for solving this problem.


**************************************************
ERROR: ERROR: More than one new package in directory
/UNIX-LAB/ooo/main/instsetoo_native/unxsoli4.pro/OpenOffice/pkg/install/en-US_inprogress/packages
( /UNIX-LAB/ooo/main/instsetoo_native/unxsoli4.pro/OpenOffice/pkg/install/en-US_inprogress/packages/ooobasis34-calc-3.4.0-1-solaris-11-intel.pkg.gz
/UNIX-LAB/ooo/main/instsetoo_native/unxsoli4.pro/OpenOffice/pkg/install/en-US_inprogress/packages/ooobasis34-calc
/UNIX-LAB/ooo/main/instsetoo_native/unxsoli4.pro/OpenOffice/pkg/install/en-US_inprogress/packages/ooobasis34-calc-3.4.0-1-solaris-11-intel.pkg.tgz)
in function: determine_new_packagename (packagepool)

**************************************************

**************************************************
ERROR: Saved logfile:
/UNIX-LAB/ooo/main/instsetoo_native/unxsoli4.pro/OpenOffice/pkg/logging/en-US/log_OOO340_en-US.log
**************************************************
Sun Dec 18 20:54:43 2011 (00:35 min.)
dmake:  Error code 255, while making 'openoffice_en-US.pkg'
---* tg_merge.mk *---

1 module(s):
	instsetoo_native
need(s) to be rebuilt

Reason(s):

ERROR: error 65280 occurred while making
/UNIX-LAB/ooo/main/instsetoo_native/util

When you have fixed the errors in that module you can resume the build
by running:

	build --all:instsetoo_native




2011/12/17 Ariel Constenla-Haile <ar...@apache.org>:
> Hi "L'oiseau de mer",
>
> On Sat, Dec 17, 2011 at 04:58:12PM +0800, L'oiseau de mer wrote:
>> Thanks for your help, now i meet another problem in building binfilter:
>> In file ooo/main/binfilter/inc/bf_goodies/hmatrix.hxx in line 115~117:
>> I don't know how to modify it , because i don't know what's means "lvalue".....
>
> so you won't understand the error. Google lvalue and rvalue sure you'll
> find some tutorial.
>
>> ===============================================================
>> Entering /UNIX-LAB/ooo/main/binfilter/bf_sch/source/ui/docshell
>>
>> Compiling: binfilter/bf_sch/source/ui/docshell/sch_docshell.cxx
>> "../../../../inc/bf_goodies/hmatrix.hxx", line 115: Error:
>> Initializing binfilter::Point4D& requires an lvalue.
>> "../../../../inc/bf_goodies/hmatrix.hxx", line 116: Error:
>> Initializing binfilter::Vector3D& requires an lvalue.
>> "../../../../inc/bf_goodies/hmatrix.hxx", line 117: Error:
>> Initializing binfilter::Vector3D& requires an lvalue.
>
> your compiler's behaviour has changed:
> http://docs.oracle.com/cd/E18659_01/html/821-2414/gkeza.html
> You cannot initialize a reference to a non-const object with an rvalue
> or temporary.
>
> You can fix this in different ways:
>
> a) changing AOO source code, where relevant. In this case, for example,
>   see
>   trunk/main/binfilter/inc/bf_goodies/hmatrix.hxx#110
>   trunk/main/binfilter/bf_goodies/source/base3d/goodies_hmatrix.cxx#588
>   http://svn.apache.org/viewvc/incubator/ooo/trunk/main/binfilter/inc/bf_goodies/hmatrix.hxx?revision=1198409&view=markup#l110
>   http://svn.apache.org/viewvc/incubator/ooo/trunk/main/binfilter/bf_goodies/source/base3d/goodies_hmatrix.cxx?revision=1198219&view=markup#l588
>
>   You can add your compiler in the line
>   #if defined ( ICC ) || defined( GCC )
>
> b) modify the options passed to the compiler, so that it can restore the
> old behaviour. According to the Oracle documentation:
> http://docs.oracle.com/cd/E18659_01/html/821-1383/bkana.html
> [Do not] Allow binding a non-const reference to an rvalue or temporary.
> Default: -features=no%rvalueref
> The C++ compiler, by default, enforces the rule that a non-const
> reference cannot be bound to a temporary or rvalue. To override this
> rule, use the option -features=rvalueref.
>
> See also
> http://docs.oracle.com/cd/E18659_01/html/821-2676/CCplusplus.1.html
>
> For (b) you can:
> b.1. modify AOO settings in trunk/main/solenv
> b.2. try exporting ARCH_FLAGS, vid.
> http://svn.apache.org/viewvc/incubator/ooo/trunk/main/solenv/inc/unxsoli4.mk?revision=1174164&view=markup#l45
>
> So please open an issue for this in bugzilla, and try
>
> export ARCH_FLAGS=-features=rvalueref
>
> and tell us if this worked for you.
>
>
> Regards
> --
> Ariel Constenla-Haile
> La Plata, Argentina

Re: [BUILD]AOO build error in solaris

Posted by Ariel Constenla-Haile <ar...@apache.org>.
Hi "L'oiseau de mer",

On Sat, Dec 17, 2011 at 04:58:12PM +0800, L'oiseau de mer wrote:
> Thanks for your help, now i meet another problem in building binfilter:
> In file ooo/main/binfilter/inc/bf_goodies/hmatrix.hxx in line 115~117:
> I don't know how to modify it , because i don't know what's means "lvalue".....

so you won't understand the error. Google lvalue and rvalue sure you'll
find some tutorial.

> ===============================================================
> Entering /UNIX-LAB/ooo/main/binfilter/bf_sch/source/ui/docshell
> 
> Compiling: binfilter/bf_sch/source/ui/docshell/sch_docshell.cxx
> "../../../../inc/bf_goodies/hmatrix.hxx", line 115: Error:
> Initializing binfilter::Point4D& requires an lvalue.
> "../../../../inc/bf_goodies/hmatrix.hxx", line 116: Error:
> Initializing binfilter::Vector3D& requires an lvalue.
> "../../../../inc/bf_goodies/hmatrix.hxx", line 117: Error:
> Initializing binfilter::Vector3D& requires an lvalue.

your compiler's behaviour has changed:
http://docs.oracle.com/cd/E18659_01/html/821-2414/gkeza.html
You cannot initialize a reference to a non-const object with an rvalue
or temporary.

You can fix this in different ways:

a) changing AOO source code, where relevant. In this case, for example,
   see 
   trunk/main/binfilter/inc/bf_goodies/hmatrix.hxx#110
   trunk/main/binfilter/bf_goodies/source/base3d/goodies_hmatrix.cxx#588
   http://svn.apache.org/viewvc/incubator/ooo/trunk/main/binfilter/inc/bf_goodies/hmatrix.hxx?revision=1198409&view=markup#l110
   http://svn.apache.org/viewvc/incubator/ooo/trunk/main/binfilter/bf_goodies/source/base3d/goodies_hmatrix.cxx?revision=1198219&view=markup#l588

   You can add your compiler in the line
   #if defined ( ICC ) || defined( GCC )

b) modify the options passed to the compiler, so that it can restore the
old behaviour. According to the Oracle documentation:
http://docs.oracle.com/cd/E18659_01/html/821-1383/bkana.html
[Do not] Allow binding a non-const reference to an rvalue or temporary.
Default: -features=no%rvalueref
The C++ compiler, by default, enforces the rule that a non-const
reference cannot be bound to a temporary or rvalue. To override this
rule, use the option -features=rvalueref.

See also
http://docs.oracle.com/cd/E18659_01/html/821-2676/CCplusplus.1.html

For (b) you can:
b.1. modify AOO settings in trunk/main/solenv
b.2. try exporting ARCH_FLAGS, vid.
http://svn.apache.org/viewvc/incubator/ooo/trunk/main/solenv/inc/unxsoli4.mk?revision=1174164&view=markup#l45

So please open an issue for this in bugzilla, and try

export ARCH_FLAGS=-features=rvalueref

and tell us if this worked for you.


Regards
-- 
Ariel Constenla-Haile
La Plata, Argentina

Re: [BUILD]AOO build error in solaris

Posted by L'oiseau de mer <oi...@gmail.com>.
Thanks for your help, now i meet another problem in building binfilter:
In file ooo/main/binfilter/inc/bf_goodies/hmatrix.hxx in line 115~117:
I don't know how to modify it , because i don't know what's means "lvalue".....

===============================================================
Entering /UNIX-LAB/ooo/main/binfilter/bf_sch/source/ui/docshell

Compiling: binfilter/bf_sch/source/ui/docshell/sch_docshell.cxx
"../../../../inc/bf_goodies/hmatrix.hxx", line 115: Error:
Initializing binfilter::Point4D& requires an lvalue.
"../../../../inc/bf_goodies/hmatrix.hxx", line 116: Error:
Initializing binfilter::Vector3D& requires an lvalue.
"../../../../inc/bf_goodies/hmatrix.hxx", line 117: Error:
Initializing binfilter::Vector3D& requires an lvalue.
"../../../../inc/bf_svx/svdobj.hxx", line 1101: Warning: aGrant is
defined but not used.
"../../../../inc/bf_svx/xcolit.hxx", line 60: Warning:
binfilter::XColorItem::GetValue hides the function
binfilter::CntUnencodedStringItem::GetValue() const.
"../../../../inc/bf_svx/xcolit.hxx", line 60: Warning:
binfilter::XColorItem::SetValue hides the function
binfilter::CntUnencodedStringItem::SetValue(const String&).
"../../../../inc/bf_goodies/graphicobject.hxx", line 88: Warning:
binfilter::BfGraphicObject::operator== hides the function
GraphicObject::operator==(const GraphicObject&) const.
"../../../../inc/bf_goodies/graphicobject.hxx", line 88: Warning:
binfilter::BfGraphicObject::SetAttr hides the function
GraphicObject::SetAttr(const GraphicAttr&).
"../../../../inc/bf_goodies/graphicobject.hxx", line 88: Warning:
binfilter::BfGraphicObject::SetGraphic hides the function
GraphicObject::SetGraphic(const Graphic&, const GraphicObject*).
"../../../../inc/bf_goodies/graphicobject.hxx", line 88: Warning:
binfilter::BfGraphicObject::Draw hides the function
GraphicObject::Draw(OutputDevice*, const Point&, const Size&, const
GraphicAttr*, unsigned long).
"../../../../inc/bf_goodies/graphicobject.hxx", line 88: Warning:
binfilter::BfGraphicObject::SetSwapStreamHdl hides the function
GraphicObject::SetSwapStreamHdl().
"../../../../inc/bf_goodies/graphicobject.hxx", line 88: Warning:
binfilter::BfGraphicObject::SetLink hides the function
GraphicObject::SetLink().
"../../../../inc/bf_svx/svdotext.hxx", line 397: Warning: rOutl is
defined but not used.
"../../../../inc/bf_svx/svdotext.hxx", line 397: Warning: rPaintRect
is defined but not used.
"../../../../inc/bf_svx/svdotext.hxx", line 426: Warning:
binfilter::SdrTextObj::CheckHit hides the function
binfilter::SdrObject::CheckHit(const Point&, unsigned short) const.
"../../../../inc/bf_svx/svdotext.hxx", line 426: Warning:
binfilter::SdrTextObj::TakeContour hides the virtual function
binfilter::SdrObject::TakeContour(binfilter::XPolyPolygon&,
binfilter::SdrContourType) const.
"../../../../inc/bf_svx/svdotext.hxx", line 426: Warning:
binfilter::SdrTextObj::CheckTextEditHit hides the function
binfilter::SdrObject::CheckTextEditHit(const Point&, unsigned short)
const.
"../../../../inc/bf_svx/svdpntv.hxx", line 196: Warning: rSource is
defined but not used.
"../../../../inc/bf_svx/svdpntv.hxx", line 198: Warning: rSource is
defined but not used.
"../../../../inc/bf_svx/svdpntv.hxx", line 549: Warning: bOn is
defined but not used.
"../../../../inc/bf_svx/svdpntv.hxx", line 607: Warning: rMEvt is
defined but not used.
"../../../../inc/bf_svx/svdpntv.hxx", line 607: Warning: pWin is
defined but not used.
"../../../../inc/bf_svx/svdpntv.hxx", line 608: Warning: rMEvt is
defined but not used.
"../../../../inc/bf_svx/svdpntv.hxx", line 608: Warning: pWin is
defined but not used.
"../../../../inc/bf_svx/svdpntv.hxx", line 609: Warning: rMEvt is
defined but not used.
"../../../../inc/bf_svx/svdpntv.hxx", line 609: Warning: pWin is
defined but not used.
"../../../../inc/bf_svx/svdpntv.hxx", line 610: Warning: rCEvt is
defined but not used.
"../../../../inc/bf_svx/svdpntv.hxx", line 610: Warning: pWin is
defined but not used.
"../../../../inc/bf_svx/svdpntv.hxx", line 611: Warning: nFormat is
defined but not used.
"../../../../inc/bf_svx/svdpntv.hxx", line 612: Warning: nFormat is
defined but not used.
"../../../../inc/bf_svx/svdpntv.hxx", line 613: Warning: pWin is
defined but not used.
"../../../../inc/bf_svx/svdpntv.hxx", line 613: Warning: nFormat is
defined but not used.
"../../../../inc/bf_svx/svdpntv.hxx", line 638: Warning: xCC is
defined but not used.
"../../../../inc/bf_svx/svdpntv.hxx", line 639: Warning: xCC is
defined but not used.
"../../../../inc/bf_svx/svdmrkv.hxx", line 408: Warning:
binfilter::SdrMarkView::HidePage hides the function
binfilter::SdrPaintView::HidePage(const binfilter::SdrPage*).
"../../../../inc/bf_svx/svdpage.hxx", line 311: Warning: rSrcList is
defined but not used.
"../../../../inc/bf_svx/svdpage.hxx", line 312: Warning: rSrcList is
defined but not used.
"../../../../inc/bf_svx/obj3d.hxx", line 318: Warning:
binfilter::E3dObject::GetLayer hides the virtual function
binfilter::SdrObject::GetLayer(binfilter::SetOfByte&) const.
"../../../../inc/bf_svx/obj3d.hxx", line 584: Warning:
binfilter::E3dCompoundObject::CheckHit hides the function
binfilter::SdrObject::CheckHit(const Point&, unsigned short) const.
"../../../../inc/bf_sfx2/objsh.hxx", line 346: Warning: pPool hides
binfilter::SfxShell::pPool.
"../../../../inc/bf_sch/chtmodel.hxx", line 259: Warning: nRow is
defined but not used.
"../../../../inc/bf_sch/chtmodel.hxx", line 1217: Warning: nRow is
defined but not used.
"../../../../inc/bf_sfx2/docfile.hxx", line 131: Warning:
binfilter::SfxPoolCancelManager::Cancel hides the function
binfilter::SfxCancelManager::Cancel(unsigned char).
"../../../../inc/bf_sch/docshell.hxx", line 173: Warning:
binfilter::SchChartDocShell::GetVisArea hides the function
binfilter::SvEmbeddedObject::GetVisArea() const.
"../../../../inc/bf_svx/xtable.hxx", line 333: Warning:
binfilter::XColorTable::Replace hides the function
binfilter::XPropertyTable::Replace(long, binfilter::XPropertyEntry*).
"../../../../inc/bf_svx/xtable.hxx", line 333: Warning:
binfilter::XColorTable::Remove hides the function
binfilter::XPropertyTable::Remove(long, unsigned short).
"../../../../inc/bf_svx/xtable.hxx", line 333: Warning:
binfilter::XColorTable::Get hides the function
binfilter::XPropertyTable::Get(long, unsigned short) const.
"../../../../inc/bf_svx/xtable.hxx", line 333: Warning:
binfilter::XColorTable::Get hides the function
binfilter::XPropertyTable::Get(const String&).
"../../../../inc/bf_svx/xtable.hxx", line 357: Warning:
binfilter::XLineEndTable::Replace hides the function
binfilter::XPropertyTable::Replace(long, binfilter::XPropertyEntry*).
"../../../../inc/bf_svx/xtable.hxx", line 357: Warning:
binfilter::XLineEndTable::Remove hides the function
binfilter::XPropertyTable::Remove(long, unsigned short).
"../../../../inc/bf_svx/xtable.hxx", line 357: Warning:
binfilter::XLineEndTable::Get hides the function
binfilter::XPropertyTable::Get(long, unsigned short) const.
"../../../../inc/bf_svx/xtable.hxx", line 357: Warning:
binfilter::XLineEndTable::Get hides the function
binfilter::XPropertyTable::Get(const String&).
"../../../../inc/bf_svx/xtable.hxx", line 391: Warning:
binfilter::XLineEndList::Replace hides the function
binfilter::XPropertyList::Replace(binfilter::XPropertyEntry*, long).
"../../../../inc/bf_svx/xtable.hxx", line 391: Warning:
binfilter::XLineEndList::Remove hides the function
binfilter::XPropertyList::Remove(long, unsigned short).
"../../../../inc/bf_svx/xtable.hxx", line 391: Warning:
binfilter::XLineEndList::Get hides the function
binfilter::XPropertyList::Get(long, unsigned short) const.
"../../../../inc/bf_svx/xtable.hxx", line 391: Warning:
binfilter::XLineEndList::Get hides the function
binfilter::XPropertyList::Get(const String&).
"../../../../inc/bf_svx/xtable.hxx", line 415: Warning:
binfilter::XDashTable::Replace hides the function
binfilter::XPropertyTable::Replace(long, binfilter::XPropertyEntry*).
"../../../../inc/bf_svx/xtable.hxx", line 415: Warning:
binfilter::XDashTable::Remove hides the function
binfilter::XPropertyTable::Remove(long, unsigned short).
"../../../../inc/bf_svx/xtable.hxx", line 415: Warning:
binfilter::XDashTable::Get hides the function
binfilter::XPropertyTable::Get(long, unsigned short) const.
"../../../../inc/bf_svx/xtable.hxx", line 415: Warning:
binfilter::XDashTable::Get hides the function
binfilter::XPropertyTable::Get(const String&).
"../../../../inc/bf_svx/xtable.hxx", line 449: Warning:
binfilter::XDashList::Replace hides the function
binfilter::XPropertyList::Replace(binfilter::XPropertyEntry*, long).
"../../../../inc/bf_svx/xtable.hxx", line 449: Warning:
binfilter::XDashList::Remove hides the function
binfilter::XPropertyList::Remove(long, unsigned short).
"../../../../inc/bf_svx/xtable.hxx", line 449: Warning:
binfilter::XDashList::Get hides the function
binfilter::XPropertyList::Get(long, unsigned short) const.
"../../../../inc/bf_svx/xtable.hxx", line 449: Warning:
binfilter::XDashList::Get hides the function
binfilter::XPropertyList::Get(const String&).
"../../../../inc/bf_svx/xtable.hxx", line 473: Warning:
binfilter::XHatchTable::Replace hides the function
binfilter::XPropertyTable::Replace(long, binfilter::XPropertyEntry*).
"../../../../inc/bf_svx/xtable.hxx", line 473: Warning:
binfilter::XHatchTable::Remove hides the function
binfilter::XPropertyTable::Remove(long, unsigned short).
"../../../../inc/bf_svx/xtable.hxx", line 473: Warning:
binfilter::XHatchTable::Get hides the function
binfilter::XPropertyTable::Get(long, unsigned short) const.
"../../../../inc/bf_svx/xtable.hxx", line 473: Warning:
binfilter::XHatchTable::Get hides the function
binfilter::XPropertyTable::Get(const String&).
"../../../../inc/bf_svx/xtable.hxx", line 506: Warning:
binfilter::XHatchList::Replace hides the function
binfilter::XPropertyList::Replace(binfilter::XPropertyEntry*, long).
"../../../../inc/bf_svx/xtable.hxx", line 506: Warning:
binfilter::XHatchList::Remove hides the function
binfilter::XPropertyList::Remove(long, unsigned short).
"../../../../inc/bf_svx/xtable.hxx", line 506: Warning:
binfilter::XHatchList::Get hides the function
binfilter::XPropertyList::Get(long, unsigned short) const.
"../../../../inc/bf_svx/xtable.hxx", line 506: Warning:
binfilter::XHatchList::Get hides the function
binfilter::XPropertyList::Get(const String&).
"../../../../inc/bf_svx/xtable.hxx", line 530: Warning:
binfilter::XGradientTable::Replace hides the function
binfilter::XPropertyTable::Replace(long, binfilter::XPropertyEntry*).
"../../../../inc/bf_svx/xtable.hxx", line 530: Warning:
binfilter::XGradientTable::Remove hides the function
binfilter::XPropertyTable::Remove(long, unsigned short).
"../../../../inc/bf_svx/xtable.hxx", line 530: Warning:
binfilter::XGradientTable::Get hides the function
binfilter::XPropertyTable::Get(long, unsigned short) const.
"../../../../inc/bf_svx/xtable.hxx", line 530: Warning:
binfilter::XGradientTable::Get hides the function
binfilter::XPropertyTable::Get(const String&).
"../../../../inc/bf_svx/xtable.hxx", line 563: Warning:
binfilter::XGradientList::Replace hides the function
binfilter::XPropertyList::Replace(binfilter::XPropertyEntry*, long).
"../../../../inc/bf_svx/xtable.hxx", line 563: Warning:
binfilter::XGradientList::Remove hides the function
binfilter::XPropertyList::Remove(long, unsigned short).
"../../../../inc/bf_svx/xtable.hxx", line 563: Warning:
binfilter::XGradientList::Get hides the function
binfilter::XPropertyList::Get(long, unsigned short) const.
"../../../../inc/bf_svx/xtable.hxx", line 563: Warning:
binfilter::XGradientList::Get hides the function
binfilter::XPropertyList::Get(const String&).
"../../../../inc/bf_svx/xtable.hxx", line 587: Warning:
binfilter::XBitmapTable::Replace hides the function
binfilter::XPropertyTable::Replace(long, binfilter::XPropertyEntry*).
"../../../../inc/bf_svx/xtable.hxx", line 587: Warning:
binfilter::XBitmapTable::Remove hides the function
binfilter::XPropertyTable::Remove(long, unsigned short).
"../../../../inc/bf_svx/xtable.hxx", line 587: Warning:
binfilter::XBitmapTable::Get hides the function
binfilter::XPropertyTable::Get(long, unsigned short) const.
"../../../../inc/bf_svx/xtable.hxx", line 587: Warning:
binfilter::XBitmapTable::Get hides the function
binfilter::XPropertyTable::Get(const String&).
"../../../../inc/bf_svx/xtable.hxx", line 616: Warning:
binfilter::XBitmapList::Replace hides the function
binfilter::XPropertyList::Replace(binfilter::XPropertyEntry*, long).
"../../../../inc/bf_svx/xtable.hxx", line 616: Warning:
binfilter::XBitmapList::Remove hides the function
binfilter::XPropertyList::Remove(long, unsigned short).
"../../../../inc/bf_svx/xtable.hxx", line 616: Warning:
binfilter::XBitmapList::Get hides the function
binfilter::XPropertyList::Get(long, unsigned short) const.
"../../../../inc/bf_svx/xtable.hxx", line 616: Warning:
binfilter::XBitmapList::Get hides the function
binfilter::XPropertyList::Get(const String&).
"../../../../inc/bf_sch/schopt.hxx", line 81: Warning:
binfilter::SchColorTable::Insert hides the function
Table::Insert(unsigned long, void*).
"../../../../inc/bf_sch/schopt.hxx", line 81: Warning:
binfilter::SchColorTable::operator== hides the function
Table::operator==(const Table&) const.
"../../../../inc/bf_sch/schopt.hxx", line 81: Warning:
binfilter::SchColorTable::operator!= hides the function
Table::operator!=(const Table&) const.
"../../../../inc/bf_sfx2/sfxbasemodel.hxx", line 772: Warning:
xListener is defined but not used.
"../../../../inc/bf_sfx2/sfxbasemodel.hxx", line 773: Warning:
xListener is defined but not used.
"../../../../inc/bf_sfx2/sfxbasemodel.hxx", line 807: Warning:
seqPrinter is defined but not used.
"../../../../inc/bf_sfx2/sfxbasemodel.hxx", line 1016: Warning:
aFlavor is defined but not used.
"../../../../inc/bf_sfx2/sfxbasemodel.hxx", line 1151: Warning:
rPrinter is defined but not used.
"../../../../inc/bf_sfx2/sfxbasemodel.hxx", line 1151: Warning:
pPrinter is defined but not used.
"../../../../inc/bf_sfx2/sfxbasemodel.hxx", line 1151: Warning:
nChangeFlags is defined but not used.
"../../../../inc/bf_sfx2/sfxbasemodel.hxx", line 1151: Warning:
pViewSh is defined but not used.
"../../../../inc/bf_sch/ChXChartDocument.hxx", line 293: Warning:
binfilter::ChXChartDocument::addEventListener hides the virtual
function binfilter::SfxBaseModel::addEventListener(const
com::sun::star::uno::Reference<com::sun::star::document::XEventListener>&).
"../../../../inc/bf_sch/ChXChartDocument.hxx", line 293: Warning:
binfilter::ChXChartDocument::removeEventListener hides the virtual
function binfilter::SfxBaseModel::removeEventListener(const
com::sun::star::uno::Reference<com::sun::star::document::XEventListener>&).
"/UNIX-LAB/ooo/main/binfilter/bf_sch/source/ui/docshell/sch_docshell.cxx",
line 320: Warning: pRefDev hides the same name in an outer scope.
"/UNIX-LAB/ooo/main/binfilter/bf_sch/source/ui/docshell/sch_docshell.cxx",
line 714: Warning: pParent hides binfilter::SvPersist::pParent.
"/UNIX-LAB/ooo/main/binfilter/bf_sch/source/ui/docshell/sch_docshell.cxx",
line 719: Warning: nFileFormat hides the same name in an outer scope.
"/UNIX-LAB/ooo/main/binfilter/bf_sch/source/ui/docshell/sch_docshell.cxx",
line 806: Warning: pParent hides binfilter::SvPersist::pParent.
"/UNIX-LAB/ooo/main/binfilter/bf_sch/source/ui/docshell/sch_docshell.cxx",
line 905: Warning: pParent hides binfilter::SvPersist::pParent.
"/UNIX-LAB/ooo/main/binfilter/bf_sch/source/ui/docshell/sch_docshell.cxx",
line 910: Warning: nFileFormat hides the same name in an outer scope.
3 Error(s) and 104 Warning(s) detected.
dmake:  Error code 2, while making
'../../../../unxsoli4.pro/slo/sch_docshell.obj'
---* tg_merge.mk *---

1 module(s):
        binfilter
need(s) to be rebuilt

Reason(s):

ERROR: error 65280 occurred while making
/UNIX-LAB/ooo/main/binfilter/bf_sch/source/ui/docshell

When you have fixed the errors in that module you can resume the build
by running:

        build --all:binfilter

Re: [BUILD]AOO build error in solaris

Posted by Ariel Constenla-Haile <ar...@apache.org>.
On Sat, Dec 17, 2011 at 01:21:51PM +0800, L'oiseau de mer wrote:
> This is my OS and env configure:
> OS:  Solaris 10 u10(10/8) x86
> Compiler: Solaris Studio 12.3
> 
> export CC=/opt/solarisstudio12.3/bin/cc
> export CXX=/opt/solarisstudio12.3/bin/CC
> 
> And my conf parametre is :
> ./configure --enable-werror --disable-cups --disable-mozilla
> --with-jdk-home=/usr/jdk/jdk1.6.0_26/
> --with-junit=/usr/jdk/jdk1.6.0_26/bin/junit-4.10.jar
> 
> configure have succeed. and no have other need deal message.
> 
> 
> I meet this problem in building, and not know how to solve this problem.
> Is the file "call.s" really syntax error or this my compiler problem?
> ============================================================================
> Entering /UNIX-LAB/ooo/main/bridges/source/cpp_uno/cc50_solaris_intel
> 
> Making:    all_sunpro5_uno.dpslo
> Compiling: bridges/unxsoli4.pro/misc/sunpro5_uno_version.c
> Compiling: bridges/source/cpp_uno/cc50_solaris_intel/cpp2uno.cxx
> Compiling: bridges/source/cpp_uno/cc50_solaris_intel/uno2cpp.cxx
> Compiling: bridges/source/cpp_uno/cc50_solaris_intel/except.cxx
> CC -c -o ../../../unxsoli4.pro/slo/call.o call.s && touch
> ../../../unxsoli4.pro/slo/call.obj
> Assembler:
>         "call.s", line 2 : Syntax error
>         Near line: " * "
>         "call.s", line 3 : Syntax error
>         Near line: " * Licensed to the Apache Software Foundation
> (ASF) under one"

your compiler is complaining about the license header, it seems lines
representing comments should all start with / 
Look at your compiler documentation, it should tell how comments should
be introduced in assembly source files (the header license is
a comment). 


Regards
-- 
Ariel Constenla-Haile
La Plata, Argentina