Re: Building in recent environments: Java 7 and Mozilla

2013-07-12 Thread Ariel Constenla-Haile
On Tue, Jul 2, 2013 at 3:10 AM, Andrea Pescetti pesce...@apache.org wrote:
 I tried building OpenOffice on the coming Fedora 19 to see how it worked
 with a fairly recent set of build tools. As for STLport, I used the default
 choice for 32-bit systems (this uses the STLPort package from the external
 sources we bundle).

Don't know why this was left as the default, but the de-facto is to
configure with --without-stlport (this is what is done for the
release).

 We have two problems with the current trunk:

I had no problems building today on F19:
~]$ g++ --version
g++ (GCC) 4.8.1 20130603 (Red Hat 4.8.1-1)


Regards

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
For additional commands, e-mail: dev-h...@openoffice.apache.org



Re: Building in recent environments: Java 7 and Mozilla

2013-07-08 Thread Herbert Duerr

On 06.07.2013 08:09, Andrea Pescetti wrote:

On 02/07/2013 Herbert Duerr wrote:

--disable-build-mozilla
[1] http://www.openoffice.org/tools/moz_prebuild/OOo3.2/

In case someone is interested I'd like to point to issue [1] (removing
the mozilla dependency for security stuff) and its corresponding branch
[2]. When this is finished the only remaining dependency to Mozilla is
AFAIK for its address book support. IMHO the system and LDAP address
books should suffice.
[1] https://issues.apache.org/ooo/show_bug.cgi?id=122365
[2] http://svn.apache.org/repos/asf/openoffice/branches/Remove_MOZ/


It seems that this still breaks in the connectivity module (even when
using --disable-build-mozilla and the above prebuilt stuff), with errors
like


Are you trying to build the Remove_MOZ branch? According to Fan it is 
currently only built on Windows and Mac. Getting it to work on the 
Unixes is still work in progress. The --disable-build-mozilla option is 
also removed from this branch.


Anyway, I suggest to focus on the release first and concentrate on 
branches such as this when we released AOO 4.0.



So, unless I use --disable-mozilla, I'm still unable to make a full
build on a recent system.


Even for building trunk I'd suggest to use the prebuilt mozilla 
binaries. The mozilla/seamonkey source tarball is way obsoleted for many 
years already. The alternatives are to invest energy on

a) updating the tarball to build on modern tool chains
b) update the tarball and our codebase to work with newer versions
c) weigh the benefits (address book) of this extremely heavy dependency 
vs. its drawbacks and draws the consequences: remove the moz dependency 
and replace the most important address book sources


The branch attempts to do c) which is the most reasonable goal I think.

Herbert


-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
For additional commands, e-mail: dev-h...@openoffice.apache.org



Re: Building in recent environments: Java 7 and Mozilla

2013-07-06 Thread Andrea Pescetti

On 02/07/2013 Herbert Duerr wrote:

--disable-build-mozilla
[1] http://www.openoffice.org/tools/moz_prebuild/OOo3.2/

In case someone is interested I'd like to point to issue [1] (removing
the mozilla dependency for security stuff) and its corresponding branch
[2]. When this is finished the only remaining dependency to Mozilla is
AFAIK for its address book support. IMHO the system and LDAP address
books should suffice.
[1] https://issues.apache.org/ooo/show_bug.cgi?id=122365
[2] http://svn.apache.org/repos/asf/openoffice/branches/Remove_MOZ/


It seems that this still breaks in the connectivity module (even when 
using --disable-build-mozilla and the above prebuilt stuff), with errors 
like


.../main/connectivity/source/drivers/mozab/mozillasrc/MLdapAttributeMap.cxx:127:17: 
error: cannot convert 'nsresult (nsIAbCard::*)(PRUnichar**) {aka 
unsigned int (nsIAbCard::*)(short unsigned int**)}' to 
'connectivity::mozab::{anonymous}::CardPropertyGetter {aka unsigned int 
(nsIAbCard::*)(short unsigned int**)}' in initialization
.../main/connectivity/source/drivers/mozab/mozillasrc/MLdapAttributeMap.cxx:127:17: 
error: cannot convert 'nsresult (nsIAbCard::*)(const PRUnichar*) {aka 
unsigned int (nsIAbCard::*)(const short unsigned int*)}' to 
'connectivity::mozab::{anonymous}::CardPropertySetter {aka unsigned int 
(nsIAbCard::*)(const short unsigned int*)}' in initialization
dmake:  Error code 1, while making 
'../../../../unxlngi6.pro/slo/MLdapAttributeMap.obj'


So, unless I use --disable-mozilla, I'm still unable to make a full 
build on a recent system.


This is with gcc 4.8.1 on a 32-bit system (Fedora 19).

Regards,
  Andrea.

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
For additional commands, e-mail: dev-h...@openoffice.apache.org



Building in recent environments: Java 7 and Mozilla

2013-07-02 Thread Andrea Pescetti
I tried building OpenOffice on the coming Fedora 19 to see how it worked 
with a fairly recent set of build tools. As for STLport, I used the 
default choice for 32-bit systems (this uses the STLPort package from 
the external sources we bundle).


We have two problems with the current trunk:

- The hsqldb module does not build with Java 7. The patch at 
https://issues.apache.org/ooo/show_bug.cgi?id=121754 fixes it and, since 
this is the only part that does not build with Java 7, this should be 
checked and possibly integrated (the issue is set as a possible release 
blocker).


- The moz module does not build. It can really be anything, I didn't 
check: one problematic line in code, an obsolete language pattern, a 
compiler bug... I just reconfigured with --disable-mozilla for the 
purpose of finishing the build. Is this something that should be 
investigated or are we going to get rid of this module soon? If I recall 
correctly, it is obsolete, unmaintained, external code.


Regards,
  Andrea.

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
For additional commands, e-mail: dev-h...@openoffice.apache.org



Re: Building in recent environments: Java 7 and Mozilla

2013-07-02 Thread Oliver-Rainer Wittmann

Hi,

On 02.07.2013 08:10, Andrea Pescetti wrote:

I tried building OpenOffice on the coming Fedora 19 to see how it worked
with a fairly recent set of build tools. As for STLport, I used the
default choice for 32-bit systems (this uses the STLPort package from
the external sources we bundle).

We have two problems with the current trunk:

- The hsqldb module does not build with Java 7. The patch at
https://issues.apache.org/ooo/show_bug.cgi?id=121754 fixes it and, since
this is the only part that does not build with Java 7, this should be
checked and possibly integrated (the issue is set as a possible release
blocker).

- The moz module does not build. It can really be anything, I didn't
check: one problematic line in code, an obsolete language pattern, a
compiler bug... I just reconfigured with --disable-mozilla for the
purpose of finishing the build. Is this something that should be
investigated or are we going to get rid of this module soon? If I recall
correctly, it is obsolete, unmaintained, external code.



I personally never build mozilla.
I used the prebuilt stuff on Windows and Linux platforms found at [1] 
which need to copied into moz/zipped and I used the configure option 
--disable-build-mozilla


[1] http://www.openoffice.org/tools/moz_prebuild/OOo3.2/


Best regards, Oliver.

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
For additional commands, e-mail: dev-h...@openoffice.apache.org



Re: Building in recent environments: Java 7 and Mozilla

2013-07-02 Thread Jürgen Schmidt
On 7/2/13 8:29 AM, Oliver-Rainer Wittmann wrote:
 Hi,
 
 On 02.07.2013 08:10, Andrea Pescetti wrote:
 I tried building OpenOffice on the coming Fedora 19 to see how it worked
 with a fairly recent set of build tools. As for STLport, I used the
 default choice for 32-bit systems (this uses the STLPort package from
 the external sources we bundle).

 We have two problems with the current trunk:

 - The hsqldb module does not build with Java 7. The patch at
 https://issues.apache.org/ooo/show_bug.cgi?id=121754 fixes it and, since
 this is the only part that does not build with Java 7, this should be
 checked and possibly integrated (the issue is set as a possible release
 blocker).

sounds reasonable and I will check it



 - The moz module does not build. It can really be anything, I didn't
 check: one problematic line in code, an obsolete language pattern, a
 compiler bug... I just reconfigured with --disable-mozilla for the
 purpose of finishing the build. Is this something that should be
 investigated or are we going to get rid of this module soon? If I recall
 correctly, it is obsolete, unmaintained, external code.

 
 I personally never build mozilla.
 I used the prebuilt stuff on Windows and Linux platforms found at [1]
 which need to copied into moz/zipped and I used the configure option
 --disable-build-mozilla
 
 [1] http://www.openoffice.org/tools/moz_prebuild/OOo3.2/

the same for Mac and it is indeed the preferred way to build. But
nevertheless do we have to work on this in the future to get rid of
Mozilla. But there is still some work to do and currently it is not
obsolete.

Juergen



 
 
 Best regards, Oliver.
 
 -
 To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
 For additional commands, e-mail: dev-h...@openoffice.apache.org
 


-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
For additional commands, e-mail: dev-h...@openoffice.apache.org



Re: Building in recent environments: Java 7 and Mozilla

2013-07-02 Thread Herbert Duerr

On 02.07.2013 08:41, Jürgen Schmidt wrote:

On 7/2/13 8:29 AM, Oliver-Rainer Wittmann wrote:

I personally never build mozilla.
I used the prebuilt stuff on Windows and Linux platforms found at [1]
which need to copied into moz/zipped and I used the configure option
--disable-build-mozilla

[1] http://www.openoffice.org/tools/moz_prebuild/OOo3.2/


the same for Mac and it is indeed the preferred way to build. But
nevertheless do we have to work on this in the future to get rid of
Mozilla. But there is still some work to do and currently it is not
obsolete.


In case someone is interested I'd like to point to issue [1] (removing 
the mozilla dependency for security stuff) and its corresponding branch 
[2]. When this is finished the only remaining dependency to Mozilla is 
AFAIK for its address book support. IMHO the system and LDAP address 
books should suffice.


[1] https://issues.apache.org/ooo/show_bug.cgi?id=122365
[2] http://svn.apache.org/repos/asf/openoffice/branches/Remove_MOZ/

Herbert

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
For additional commands, e-mail: dev-h...@openoffice.apache.org