Re: Win Builds progress

2021-11-19 Thread Matthias Seidel
Hi Gavin,

Am 19.11.21 um 12:19 schrieb Gavin McDonald:
> Getting further.
>
> configure: error: Microsoft C/C++ Compiler not found. Use --with-cl-home.

oowintool tries to find it automatically, if that does not succeed one
can specify the location with above switch.

>
> Could someone let me know what the preferred package is?
>
> We do have VS Community Edition, unsure if that is suitable
>
> and where is the best place to install it. etc

We still need MSVC 2008. Standard installation.

But there are many other packages. The old buildbot should have them
all. I am available if needed.

Regards,

   Matthias

>
>
> TY
>
>
> On Wed, Nov 17, 2021 at 6:39 PM Gavin McDonald  wrote:
>
>> Scratch that, let me try looking at the right machine.
>>
>> On Wed, Nov 17, 2021 at 6:36 PM Gavin McDonald 
>> wrote:
>>
>>> Hi,
>>>
>>> On Wed, Nov 17, 2021 at 4:49 PM Matthias Seidel <
>>> matthias.sei...@hamburg.de> wrote:
>>>
 Hi Gavin,
 Am 17.11.21 um 11:10 schrieb Gavin McDonald:

 Hi All.

 With the addition of the openoffice-externals repository and tweaking the
 config, we have now got a little further.

 Great!

 See: https://ci2.apache.org/#/builders/67/builds/5

 tl'dr:

 The 'configure' step fails with the following errors

 1. head: cannot open '/etc/*-release' for reading: No such file or 
 directory
 ..

 I think this is a minor issue we had for years. It should not break the
 build.

>>> Ok, would be nice to make it disappear anyway at some point,
>>>
>>> 2. configure: error: /usr/bin/gawk, awk, tar or gunzip is a cygwin symlink!
 Native Windows programs cannot use cygwin symlinks. Remove the symbolic
 link, and copy the program to the name of the link.

 You need to do the following commands once inside the Cygwin64 shell:

 rm /usr/bin/awk
 mv /usr/bin/gawk.exe /usr/bin/awk.exe


 This is documented in our Wiki:


 https://wiki.openoffice.org/wiki/Documentation/Building_Guide_AOO/Step_by_step_Windows#Windows_7.2C_Windows_8.1.2C_Windows_10

 For AOO41X this has to be done in the Cygwin32 shell.

>>> I see, ok. To be clear awk is not a symlink as it currently stands, and
>>> gawk has a non standard name:
>>>
>>> $ ls -al /usr/bin | grep awk
>>> -rwxr-xr-x1 Admin  None  605203 Feb 27  2018 awk.exe
>>> -rwxr-xr-x1 Admin  None  605203 Apr 23  2018 gawk-4.2.1.exe
>>>
>>> So, should I go ahead and delete awk.exe and rename gawk-4.2.1.exe to
>>> awk.exe ?
>>>
>>>
>>> Regards,
Matthias

 The next step also fails 'bootstrap' but it likely related to the previous
 step above.

 I am unsure if we Infra need to tweak the node somehow or if it can fixed
 on the project side of things, ideas welcome.




>>> --
>>>
>>> *Gavin McDonald*
>>> Systems Administrator
>>> ASF Infrastructure Team
>>>
>>
>> --
>>
>> *Gavin McDonald*
>> Systems Administrator
>> ASF Infrastructure Team
>>
>



smime.p7s
Description: S/MIME Cryptographic Signature


Re: Win Builds progress

2021-11-19 Thread Gavin McDonald
Getting further.

configure: error: Microsoft C/C++ Compiler not found. Use --with-cl-home.

Could someone let me know what the preferred package is?

We do have VS Community Edition, unsure if that is suitable

and where is the best place to install it. etc


TY


On Wed, Nov 17, 2021 at 6:39 PM Gavin McDonald  wrote:

> Scratch that, let me try looking at the right machine.
>
> On Wed, Nov 17, 2021 at 6:36 PM Gavin McDonald 
> wrote:
>
>> Hi,
>>
>> On Wed, Nov 17, 2021 at 4:49 PM Matthias Seidel <
>> matthias.sei...@hamburg.de> wrote:
>>
>>> Hi Gavin,
>>> Am 17.11.21 um 11:10 schrieb Gavin McDonald:
>>>
>>> Hi All.
>>>
>>> With the addition of the openoffice-externals repository and tweaking the
>>> config, we have now got a little further.
>>>
>>> Great!
>>>
>>> See: https://ci2.apache.org/#/builders/67/builds/5
>>>
>>> tl'dr:
>>>
>>> The 'configure' step fails with the following errors
>>>
>>> 1. head: cannot open '/etc/*-release' for reading: No such file or directory
>>> ..
>>>
>>> I think this is a minor issue we had for years. It should not break the
>>> build.
>>>
>>
>> Ok, would be nice to make it disappear anyway at some point,
>>
>> 2. configure: error: /usr/bin/gawk, awk, tar or gunzip is a cygwin symlink!
>>> Native Windows programs cannot use cygwin symlinks. Remove the symbolic
>>> link, and copy the program to the name of the link.
>>>
>>> You need to do the following commands once inside the Cygwin64 shell:
>>>
>>> rm /usr/bin/awk
>>> mv /usr/bin/gawk.exe /usr/bin/awk.exe
>>>
>>>
>>> This is documented in our Wiki:
>>>
>>>
>>> https://wiki.openoffice.org/wiki/Documentation/Building_Guide_AOO/Step_by_step_Windows#Windows_7.2C_Windows_8.1.2C_Windows_10
>>>
>>> For AOO41X this has to be done in the Cygwin32 shell.
>>>
>>
>> I see, ok. To be clear awk is not a symlink as it currently stands, and
>> gawk has a non standard name:
>>
>> $ ls -al /usr/bin | grep awk
>> -rwxr-xr-x1 Admin  None  605203 Feb 27  2018 awk.exe
>> -rwxr-xr-x1 Admin  None  605203 Apr 23  2018 gawk-4.2.1.exe
>>
>> So, should I go ahead and delete awk.exe and rename gawk-4.2.1.exe to
>> awk.exe ?
>>
>>
>> Regards,
>>>
>>>Matthias
>>>
>>> The next step also fails 'bootstrap' but it likely related to the previous
>>> step above.
>>>
>>> I am unsure if we Infra need to tweak the node somehow or if it can fixed
>>> on the project side of things, ideas welcome.
>>>
>>>
>>>
>>>
>>
>> --
>>
>> *Gavin McDonald*
>> Systems Administrator
>> ASF Infrastructure Team
>>
>
>
> --
>
> *Gavin McDonald*
> Systems Administrator
> ASF Infrastructure Team
>


-- 

*Gavin McDonald*
Systems Administrator
ASF Infrastructure Team


Re: Win Builds progress

2021-11-17 Thread Gavin McDonald
Scratch that, let me try looking at the right machine.

On Wed, Nov 17, 2021 at 6:36 PM Gavin McDonald  wrote:

> Hi,
>
> On Wed, Nov 17, 2021 at 4:49 PM Matthias Seidel <
> matthias.sei...@hamburg.de> wrote:
>
>> Hi Gavin,
>> Am 17.11.21 um 11:10 schrieb Gavin McDonald:
>>
>> Hi All.
>>
>> With the addition of the openoffice-externals repository and tweaking the
>> config, we have now got a little further.
>>
>> Great!
>>
>> See: https://ci2.apache.org/#/builders/67/builds/5
>>
>> tl'dr:
>>
>> The 'configure' step fails with the following errors
>>
>> 1. head: cannot open '/etc/*-release' for reading: No such file or directory
>> ..
>>
>> I think this is a minor issue we had for years. It should not break the
>> build.
>>
>
> Ok, would be nice to make it disappear anyway at some point,
>
> 2. configure: error: /usr/bin/gawk, awk, tar or gunzip is a cygwin symlink!
>> Native Windows programs cannot use cygwin symlinks. Remove the symbolic
>> link, and copy the program to the name of the link.
>>
>> You need to do the following commands once inside the Cygwin64 shell:
>>
>> rm /usr/bin/awk
>> mv /usr/bin/gawk.exe /usr/bin/awk.exe
>>
>>
>> This is documented in our Wiki:
>>
>>
>> https://wiki.openoffice.org/wiki/Documentation/Building_Guide_AOO/Step_by_step_Windows#Windows_7.2C_Windows_8.1.2C_Windows_10
>>
>> For AOO41X this has to be done in the Cygwin32 shell.
>>
>
> I see, ok. To be clear awk is not a symlink as it currently stands, and
> gawk has a non standard name:
>
> $ ls -al /usr/bin | grep awk
> -rwxr-xr-x1 Admin  None  605203 Feb 27  2018 awk.exe
> -rwxr-xr-x1 Admin  None  605203 Apr 23  2018 gawk-4.2.1.exe
>
> So, should I go ahead and delete awk.exe and rename gawk-4.2.1.exe to
> awk.exe ?
>
>
> Regards,
>>
>>Matthias
>>
>> The next step also fails 'bootstrap' but it likely related to the previous
>> step above.
>>
>> I am unsure if we Infra need to tweak the node somehow or if it can fixed
>> on the project side of things, ideas welcome.
>>
>>
>>
>>
>
> --
>
> *Gavin McDonald*
> Systems Administrator
> ASF Infrastructure Team
>


-- 

*Gavin McDonald*
Systems Administrator
ASF Infrastructure Team


Re: Win Builds progress

2021-11-17 Thread Gavin McDonald
Hi,

On Wed, Nov 17, 2021 at 4:49 PM Matthias Seidel 
wrote:

> Hi Gavin,
> Am 17.11.21 um 11:10 schrieb Gavin McDonald:
>
> Hi All.
>
> With the addition of the openoffice-externals repository and tweaking the
> config, we have now got a little further.
>
> Great!
>
> See: https://ci2.apache.org/#/builders/67/builds/5
>
> tl'dr:
>
> The 'configure' step fails with the following errors
>
> 1. head: cannot open '/etc/*-release' for reading: No such file or directory
> ..
>
> I think this is a minor issue we had for years. It should not break the
> build.
>

Ok, would be nice to make it disappear anyway at some point,

2. configure: error: /usr/bin/gawk, awk, tar or gunzip is a cygwin symlink!
> Native Windows programs cannot use cygwin symlinks. Remove the symbolic
> link, and copy the program to the name of the link.
>
> You need to do the following commands once inside the Cygwin64 shell:
>
> rm /usr/bin/awk
> mv /usr/bin/gawk.exe /usr/bin/awk.exe
>
>
> This is documented in our Wiki:
>
>
> https://wiki.openoffice.org/wiki/Documentation/Building_Guide_AOO/Step_by_step_Windows#Windows_7.2C_Windows_8.1.2C_Windows_10
>
> For AOO41X this has to be done in the Cygwin32 shell.
>

I see, ok. To be clear awk is not a symlink as it currently stands, and
gawk has a non standard name:

$ ls -al /usr/bin | grep awk
-rwxr-xr-x1 Admin  None  605203 Feb 27  2018 awk.exe
-rwxr-xr-x1 Admin  None  605203 Apr 23  2018 gawk-4.2.1.exe

So, should I go ahead and delete awk.exe and rename gawk-4.2.1.exe to
awk.exe ?


Regards,
>
>Matthias
>
> The next step also fails 'bootstrap' but it likely related to the previous
> step above.
>
> I am unsure if we Infra need to tweak the node somehow or if it can fixed
> on the project side of things, ideas welcome.
>
>
>
>

-- 

*Gavin McDonald*
Systems Administrator
ASF Infrastructure Team


Re: Win Builds progress

2021-11-17 Thread Matthias Seidel
Hi Gavin,

Am 17.11.21 um 11:10 schrieb Gavin McDonald:
> Hi All.
>
> With the addition of the openoffice-externals repository and tweaking the
> config, we have now got a little further.
Great!
>
> See: https://ci2.apache.org/#/builders/67/builds/5
>
> tl'dr:
>
> The 'configure' step fails with the following errors
>
> 1. head: cannot open '/etc/*-release' for reading: No such file or directory
> ..
I think this is a minor issue we had for years. It should not break the
build.
>
> 2. configure: error: /usr/bin/gawk, awk, tar or gunzip is a cygwin symlink!
> Native Windows programs cannot use cygwin symlinks. Remove the symbolic
> link, and copy the program to the name of the link.
You need to do the following commands once inside the Cygwin64 shell:

rm /usr/bin/awk
mv /usr/bin/gawk.exe /usr/bin/awk.exe

This is documented in our Wiki:

https://wiki.openoffice.org/wiki/Documentation/Building_Guide_AOO/Step_by_step_Windows#Windows_7.2C_Windows_8.1.2C_Windows_10

For AOO41X this has to be done in the Cygwin32 shell.

Regards,

   Matthias

>
> The next step also fails 'bootstrap' but it likely related to the previous
> step above.
>
> I am unsure if we Infra need to tweak the node somehow or if it can fixed
> on the project side of things, ideas welcome.
>
>


smime.p7s
Description: S/MIME Cryptographic Signature