Building AOO with Java11

classic Classic list List threaded Threaded
9 messages Options
Reply | Threaded
Open this post in threaded view
|

Building AOO with Java11

Mechtilde Stehmann-2
Hello

I try to build AOO with Java 11 under Debian 10.

It stops at xml2cmp.

I add a screenshot. (C&P dosn't work for me from KVM)

Kind regards

--
Mechtilde Stehmann
## Apache OpenOffice
## Freie Office Suite für Linux, MacOSX, Windows
## Debian Developer
## PGP encryption welcome
## F0E3 7F3D C87A 4998 2899  39E7 F287 7BBA 141A AD7F

2019-10-24_Xml2cmp.png (25K) Download Attachment
signature.asc (849 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Building AOO with Java11

Ariel Constenla-Haile-3
Hi Mechtilde,

On Thu, Oct 24, 2019 at 8:46 AM Mechtilde <[hidden email]> wrote:
>
> Hello
>
> I try to build AOO with Java 11 under Debian 10.
>
> It stops at xml2cmp.
>
> I add a screenshot. (C&P dosn't work for me from KVM)

In file included from
/home/ariel/aoo/build/src/branch-aoo418/main/solver/418/unxlngx6.pro/inc/boost/tr1/tr1/vector:16,
                 from
/home/ariel/aoo/build/src/branch-aoo418/main/solver/418/unxlngx6.pro/inc/stl/vector:31,
                 from
/home/ariel/aoo/build/src/branch-aoo418/main/xml2cmp/source/finder/dependy.hxx:28,
                 from
/home/ariel/aoo/build/src/branch-aoo418/main/xml2cmp/source/finder/dependy.cxx:25:
/home/ariel/aoo/build/src/branch-aoo418/main/solver/418/unxlngx6.pro/inc/boost/tr1/detail/config_all.hpp:103:44:
fatal error: ../9.2.1/utility: No such file or directory
  103 | #        define BOOST_TR1_STD_HEADER(name)
<../__GNUC__.__GNUC_MINOR__.__GNUC_PATCHLEVEL__/name>
      |                                            ^
compilation terminated.

The logic in this boost header is quite broken, I guess you don't have
a /usr/include/c++/9.2.1.

On Fedora 30 there is only /usr/include/c++/9
On Debian 8 there is a symlink /usr/include/c++/4.9.2 pointing to 4.9.

Try the attached patch.

Regards
--
Ariel Constenla-Haile
La Plata, Buenos Aires
Argentina


---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

aoo-gcc-fix.patch (3K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Building AOO with Java11

Mechtilde Stehmann-2
Hello Ariel,

thank you for your patch.

On Debian 10 (Buster) I have gcc 8,3,0 - More information inline

Am 27.10.19 um 02:20 schrieb Ariel Constenla-Haile:

> Hi Mechtilde,
>
> On Thu, Oct 24, 2019 at 8:46 AM Mechtilde <[hidden email]> wrote:
>>
>> Hello
>>
>> I try to build AOO with Java 11 under Debian 10.
>>
>> It stops at xml2cmp.
>>
>> I add a screenshot. (C&P dosn't work for me from KVM)
>
> In file included from
> /home/ariel/aoo/build/src/branch-aoo418/main/solver/418/unxlngx6.pro/inc/boost/tr1/tr1/vector:16,
>                  from
> /home/ariel/aoo/build/src/branch-aoo418/main/solver/418/unxlngx6.pro/inc/stl/vector:31,
>                  from
> /home/ariel/aoo/build/src/branch-aoo418/main/xml2cmp/source/finder/dependy.hxx:28,
>                  from
> /home/ariel/aoo/build/src/branch-aoo418/main/xml2cmp/source/finder/dependy.cxx:25:
> /home/ariel/aoo/build/src/branch-aoo418/main/solver/418/unxlngx6.pro/inc/boost/tr1/detail/config_all.hpp:103:44:
> fatal error: ../9.2.1/utility: No such file or directory
>   103 | #        define BOOST_TR1_STD_HEADER(name)
> <../__GNUC__.__GNUC_MINOR__.__GNUC_PATCHLEVEL__/name>
>       |                                            ^
> compilation terminated.
>
> The logic in this boost header is quite broken, I guess you don't have
> a /usr/include/c++/9.2.1.
On Debian 10 (Buster) I only have /usr/include/c++/8/

On the next upcomming release (Debian 11 named Bullseye) it will bei gcc 9

>
> On Fedora 30 there is only /usr/include/c++/9
> On Debian 8 there is a symlink /usr/include/c++/4.9.2 pointing to 4.9.
>
> Try the attached patch.

Should the patch also work with gcc 8?

>
> Regards
>
thanks and kind regards


--
Mechtilde Stehmann
## Apache OpenOffice
## Freie Office Suite für Linux, MacOSX, Windows
## Debian Developer
## PGP encryption welcome
## F0E3 7F3D C87A 4998 2899  39E7 F287 7BBA 141A AD7F


signature.asc (849 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Building AOO with Java11

Mechtilde Stehmann-2
In reply to this post by Ariel Constenla-Haile-3
Hello Ariel,

thank you for your patch.

On Debian 10 (Buster) I have gcc 8,3,0 - More information inline

Am 27.10.19 um 02:20 schrieb Ariel Constenla-Haile:

> Hi Mechtilde,
>
> On Thu, Oct 24, 2019 at 8:46 AM Mechtilde <[hidden email]> wrote:
>>
>> Hello
>>
>> I try to build AOO with Java 11 under Debian 10.
>>
>> It stops at xml2cmp.
>>
>> I add a screenshot. (C&P dosn't work for me from KVM)
>
> In file included from
> /home/ariel/aoo/build/src/branch-aoo418/main/solver/418/unxlngx6.pro/inc/boost/tr1/tr1/vector:16,
>                  from
> /home/ariel/aoo/build/src/branch-aoo418/main/solver/418/unxlngx6.pro/inc/stl/vector:31,
>                  from
> /home/ariel/aoo/build/src/branch-aoo418/main/xml2cmp/source/finder/dependy.hxx:28,
>                  from
> /home/ariel/aoo/build/src/branch-aoo418/main/xml2cmp/source/finder/dependy.cxx:25:
> /home/ariel/aoo/build/src/branch-aoo418/main/solver/418/unxlngx6.pro/inc/boost/tr1/detail/config_all.hpp:103:44:
> fatal error: ../9.2.1/utility: No such file or directory
>   103 | #        define BOOST_TR1_STD_HEADER(name)
> <../__GNUC__.__GNUC_MINOR__.__GNUC_PATCHLEVEL__/name>
>       |                                            ^
> compilation terminated.
>
> The logic in this boost header is quite broken, I guess you don't have
> a /usr/include/c++/9.2.1.
On Debian 10 (Buster) I only have /usr/include/c++/8/

On the next upcomming release (Debian 11 named Bullseye) it will bei gcc 9

>
> On Fedora 30 there is only /usr/include/c++/9
> On Debian 8 there is a symlink /usr/include/c++/4.9.2 pointing to 4.9.
>
> Try the attached patch.

Should the patch also work with gcc 8?

>
> Regards
>
thanks and kind regards


--
Mechtilde Stehmann
## Apache OpenOffice
## Freie Office Suite für Linux, MacOSX, Windows
## Debian Developer
## PGP encryption welcome
## F0E3 7F3D C87A 4998 2899  39E7 F287 7BBA 141A AD7F




signature.asc (849 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Building AOO with Java11

Ariel Constenla-Haile-3
Hello Mechtilde,

On Sun, Oct 27, 2019 at 3:54 AM Mechtilde <[hidden email]> wrote:

> > The logic in this boost header is quite broken, I guess you don't have
> > a /usr/include/c++/9.2.1.
>
> On Debian 10 (Buster) I only have /usr/include/c++/8/
>
> On the next upcomming release (Debian 11 named Bullseye) it will bei gcc 9
>
> >
> > On Fedora 30 there is only /usr/include/c++/9
> > On Debian 8 there is a symlink /usr/include/c++/4.9.2 pointing to 4.9.
> >
> > Try the attached patch.
>
> Should the patch also work with gcc 8?

I committed the change in trunk and cherry-picked this and other fixes
in AOO418, both build now with gcc 9 so I guess they should build with
gcc 8, give it a try and let me know. (Didn't have the time to build
AOO42X yet)

Regards
--
Ariel Constenla-Haile
La Plata, Buenos Aires
Argentina

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: Building AOO with Java11

Mechtilde Stehmann-2
Hello Ariel,

Am 27.10.19 um 08:20 schrieb Ariel Constenla-Haile:
> Hello Mechtilde,
>

> I committed the change in trunk and cherry-picked this and other fixes
> in AOO418, both build now with gcc 9 so I guess they should build with
> gcc 8, give it a try and let me know. (Didn't have the time to build
> AOO42X yet)

I cherry-picked it in a local test branch for AOO42X too.

Then I tried a build

I doesn't build. It looks for ../8.3.0/utility. There is only ../8/utility

For version 6 there is a link to version 6.3.0 but not for vereion 8.
>
> Regards
>

Kind regards


--
Mechtilde Stehmann
## Apache OpenOffice
## Freie Office Suite für Linux, MacOSX, Windows
## Debian Developer
## PGP encryption welcome
## F0E3 7F3D C87A 4998 2899  39E7 F287 7BBA 141A AD7F


signature.asc (849 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Building AOO with Java11

Ariel Constenla-Haile-3
Hello Mechtilde,

On Sun, Oct 27, 2019 at 9:13 AM Mechtilde <[hidden email]> wrote:
> I cherry-picked it in a local test branch for AOO42X too.
>
> Then I tried a build
>
> I doesn't build. It looks for ../8.3.0/utility. There is only ../8/utility

Can you paste the output? (In the meantime, I started building AOO42X)

Regards
--
Ariel Constenla-Haile
La Plata, Buenos Aires
Argentina

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: Building AOO with Java11

Mechtilde Stehmann-2
Hello Ariel

I uploaded a screenshot to

https://imgur.com/dhGHp5Kl.png

Kind regards

Am 27.10.19 um 15:21 schrieb Ariel Constenla-Haile:

> Hello Mechtilde,
>
> On Sun, Oct 27, 2019 at 9:13 AM Mechtilde <[hidden email]> wrote:
>> I cherry-picked it in a local test branch for AOO42X too.
>>
>> Then I tried a build
>>
>> I doesn't build. It looks for ../8.3.0/utility. There is only ../8/utility
>
> Can you paste the output? (In the meantime, I started building AOO42X)
>
> Regards
> --
> Ariel Constenla-Haile
> La Plata, Buenos Aires
> Argentina
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>
--
Mechtilde Stehmann
## Apache OpenOffice
## Freie Office Suite für Linux, MacOSX, Windows
## Debian Developer
## PGP encryption welcome
## F0E3 7F3D C87A 4998 2899  39E7 F287 7BBA 141A AD7F


signature.asc (849 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Building AOO with Java11

Mechtilde Stehmann-2
Hello

sorry I took the wrong branch in the vitual maschine

I will test again

Sorry


Mechtilde

Am 27.10.19 um 16:23 schrieb Mechtilde:

> Hello Ariel
>
> I uploaded a screenshot to
>
> https://imgur.com/dhGHp5Kl.png
>
> Kind regards
>
> Am 27.10.19 um 15:21 schrieb Ariel Constenla-Haile:
>> Hello Mechtilde,
>>
>> On Sun, Oct 27, 2019 at 9:13 AM Mechtilde <[hidden email]> wrote:
>>> I cherry-picked it in a local test branch for AOO42X too.
>>>
>>> Then I tried a build
>>>
>>> I doesn't build. It looks for ../8.3.0/utility. There is only ../8/utility
>>
>> Can you paste the output? (In the meantime, I started building AOO42X)
>>
>> Regards
>> --
>> Ariel Constenla-Haile
>> La Plata, Buenos Aires
>> Argentina
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [hidden email]
>> For additional commands, e-mail: [hidden email]
>>
>
--
Mechtilde Stehmann
## Apache OpenOffice
## Freie Office Suite für Linux, MacOSX, Windows
## Debian Developer
## PGP encryption welcome
## F0E3 7F3D C87A 4998 2899  39E7 F287 7BBA 141A AD7F


signature.asc (849 bytes) Download Attachment