Re: unexpected EOF error: WinResTarget.mk

2020-06-17 Thread Chetan Aru
Hi Eike,

Thanks, this option is indeed helping.

On Wed, 17 Jun 2020 at 4:21 PM, Eike Rathke  wrote:

> Hi Chetan,
>
> On Wednesday, 2020-06-17 12:47:04 +0530, Chetan Aru wrote:
>
> > Suspect this is because OOO_VENDOR environment variable. It somehow has
> > ‘machinename$’ in it. And suspect $ has something to do with it.
> > Where does this get populated from?
>
> See ./configure
>
> If you use the ./autogen.sh --with-vendor=... option it gets populated
> with that value, otherwise the $USERNAME environment variable is taken
> and if that is empty then the output of `id -u -n` which is supposed to
> return the effective user name.
>
> So check whatever is wrong in your ./autogen.sh call or on your system,
> "machinename$" is odd.
>
>   Eike
>
> --
> GPG key 0x6A6CD5B765632D3A - 2265 D7F3 A7B0 95CC 3918  630B 6A6C D5B7 6563
> 2D3A
>
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: unexpected EOF error: WinResTarget.mk

2020-06-17 Thread Chetan Aru
Suspect this is because OOO_VENDOR environment variable. It somehow has
‘machinename$’ in it. And suspect $ has something to do with it.
Where does this get populated from?

On Tue, 16 Jun 2020 at 11:01 PM, Chetan Aru  wrote:

> I obtained the source from git clone from gerrit url.
> WinResTarget.mk is looking to build default.res from sal_textenc folder.
> On successful case, I see that this folder is present inside build\workdir
> folder, which is setup to be outside source directory.
> In failure case, it is missing. I know something is missing from my side.
> Just need a few pointers to debug this.
> I will checkout sal/Library_sal_textenc.mk to see if it can fail to
> generate the folder.
> make command log does not show any failure other than one posted in
> original post though.
>
> On Tue, 16 Jun 2020 at 10:42 PM, Eike Rathke  wrote:
>
>> Hi Chetan,
>>
>> On Tuesday, 2020-06-16 18:09:11 +0530, Chetan Aru wrote:
>>
>> > I see that sal_textenc folder is not extracted in build directory. Which
>> > zip has this?
>>
>> ? Maybe clarify how you obtained the sources. Or tell us what your
>> actual problem is (and how it is related to $Subject). sal/textenc/
>> (there is no sal_textenc folder) is part of the git core repository,
>> there is no zip to extract. There is a sal_textenc library target
>> though, see sal/Library_sal_textenc.mk, registered in Repository.mk for
>> URE (UNO Runtime Environment).
>>
>>   Eike
>>
>> --
>> GPG key 0x6A6CD5B765632D3A - 2265 D7F3 A7B0 95CC 3918  630B 6A6C D5B7
>> 6563 2D3A
>>
>
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: unexpected EOF error: WinResTarget.mk

2020-06-16 Thread Chetan Aru
I obtained the source from git clone from gerrit url.
WinResTarget.mk is looking to build default.res from sal_textenc folder. On
successful case, I see that this folder is present inside build\workdir
folder, which is setup to be outside source directory.
In failure case, it is missing. I know something is missing from my side.
Just need a few pointers to debug this.
I will checkout sal/Library_sal_textenc.mk to see if it can fail to
generate the folder.
make command log does not show any failure other than one posted in
original post though.

On Tue, 16 Jun 2020 at 10:42 PM, Eike Rathke  wrote:

> Hi Chetan,
>
> On Tuesday, 2020-06-16 18:09:11 +0530, Chetan Aru wrote:
>
> > I see that sal_textenc folder is not extracted in build directory. Which
> > zip has this?
>
> ? Maybe clarify how you obtained the sources. Or tell us what your
> actual problem is (and how it is related to $Subject). sal/textenc/
> (there is no sal_textenc folder) is part of the git core repository,
> there is no zip to extract. There is a sal_textenc library target
> though, see sal/Library_sal_textenc.mk, registered in Repository.mk for
> URE (UNO Runtime Environment).
>
>   Eike
>
> --
> GPG key 0x6A6CD5B765632D3A - 2265 D7F3 A7B0 95CC 3918  630B 6A6C D5B7 6563
> 2D3A
>
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: unexpected EOF error: WinResTarget.mk

2020-06-16 Thread Chetan Aru
I see that sal_textenc folder is not extracted in build directory. Which
zip has this?


On Mon, 15 Jun 2020 at 4:15 PM, Chetan Aru  wrote:

> It is 4.2.1, it builds for one user but not for other
>
> On Mon, 15 Jun 2020 at 3:28 PM, Caolán McNamara 
> wrote:
>
>> On Mon, 2020-06-15 at 11:02 +0530, Chetan Aru wrote:
>> > Hi,
>> >
>> > I am getting the following error while running the build with 6.4
>> > branch. Am I missing setting up some variables?
>>
>> is the wrong "make" binary getting called ?, i.e. not the one bundled
>> into lode
>>
>>
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: unexpected EOF error: WinResTarget.mk

2020-06-15 Thread Chetan Aru
It is 4.2.1, it builds for one user but not for other

On Mon, 15 Jun 2020 at 3:28 PM, Caolán McNamara  wrote:

> On Mon, 2020-06-15 at 11:02 +0530, Chetan Aru wrote:
> > Hi,
> >
> > I am getting the following error while running the build with 6.4
> > branch. Am I missing setting up some variables?
>
> is the wrong "make" binary getting called ?, i.e. not the one bundled
> into lode
>
>
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: 6.4.4.4 libssl error

2020-06-11 Thread Chetan Aru
I went with the 6.4.5.1 tag and it got past this error.
But now I am facing the error with unit test failure for
test testShapeTextAlignment in sw/qa/uibase/shells/shells.cxx
This commit takes care of the error, I have requested that to be cherry
picked into 6.4 and 6.4.5. But no one has responded, can someone please
help?
https://gerrit.libreoffice.org/c/core/+/88427/3

On Tue, Jun 9, 2020 at 4:35 PM Jan-Marek Glogowski 
wrote:

> Am 09.06.20 um 06:48 schrieb Chetan Aru:
> > I am trying to build the LibreOffice 6.4.4.4 tag on Windows machine
> > (Virtual Machine). I have installed cygwin 64-bit and doing 64-bit
> > build. I am getting the following errors. Can someone please help? Seems
> > that having this patch ( https://gerrit.libreoffice.org/c/core/+/95559)
> > helps, but how is it that 6.4.4.4 was built on Windows machine without
> this?
>
> ...
> [windows PDB SSL error messages]
> ...
>
> As already discussed in the original / master Gerrit change
> (https://gerrit.libreoffice.org/c/core/+/87358), please use the
> libreoffice-6-4 branch, or otherwise just cherry-pick the fix to your
> libreoffice-6-4-4 branch.
>
> git cherry-pick 2786e5a0e79c8e3b30fed02e27cc9973e28cd76c
> should just do that.
>
> And nobody investigated further, why the source built for all other
> people ignoring the msbuild error, but it broke for me. Still fixing the
> error is definitely the correct solution, so I suggest you just do that
> too.
>
> Jan-Narek
>
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: 6.4.4.4 libssl error

2020-06-09 Thread Chetan Aru
Thanks.
There is a difference in how I invoke the build.
LO: '--enable-dbgutil --disable-symbols --disable-64-bit
--disable-dependency-tracking
--srcdir=/home/tdf/lode/jenkins/workspace/gerrit_windows
--enable-option-checking=fatal'
Me:--with-external-tar=/path --with-junit=/path --with-ant-home=/path
--enable-pch --disable-ccache --enable-release-build --enable-64-bit
--disable-dependency-tracking --with-visual-studio=2019
--with-jdk-home="/cygdrive/c/Program Files/AdoptOpenJDK/jdk-11-hotspot"

The SSL DLL errors are from the tar files related to external
tar openssl-1.0.2t.tar.gz.
I was going with options mentioned on
https://wiki.documentfoundation.org/Development/BuildingOnWindows
If I don't specify  --with-external-tar, do I need to install more stuff?
Where can I find more documentation on that?

On Tue, Jun 9, 2020 at 12:24 PM Michael Weghorn  wrote:

> On 09/06/2020 08.40, Chetan Aru wrote:
> > I have been asked to produce a build from any of the tags 6.4.3.x or
> later.
> > So looks like my best bet is wait for 6.4.5.x or figure out a way to get
> > around the build error.
>
> In case you really don't have the option to add that commit for some
> reason or wait until 6.4.5 has been tagged, the build log of the Jenkins
> build of the parent commit (i.e. which doesn't contain the fix) might
> help to see what's the relevant difference in your setup (since this one
> worked while yours fails):
>
> https://ci.libreoffice.org/job/gerrit_windows/65734/consoleFull
>
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: 6.4.4.4 libssl error

2020-06-09 Thread Chetan Aru
I have been asked to produce a build from any of the tags 6.4.3.x or later.
So looks like my best bet is wait for 6.4.5.x or figure out a way to get
around the build error.

On Tue, 9 Jun 2020 at 11:53 AM, Michael Weghorn  wrote:

> On 09/06/2020 08.18, Chetan Aru wrote:
> > Thanks for pointing it out.
> > How do I get my build of 6.4.4.2 to ignore these errors then? I can
> > build with VS17 as well as VS19.
> > Is there any flag that I need to setup during build?
>
> I can't tell what the exact circumstances were that made it work for
> "some people" while it broke for others (and am not building on Windows
> myself usually).
> Anyway, is there any specific reason to not just apply the patch that
> fixes the issue (or build a branch that already has it)?
>
> >
> > On Tue, 9 Jun 2020 at 11:35 AM, Michael Weghorn  > <mailto:m.wegh...@posteo.de>> wrote:
> >
> > On 09/06/2020 06.48, Chetan Aru wrote:
> > > I am trying to build the LibreOffice 6.4.4.4 tag on Windows machine
> > > (Virtual Machine). I have installed cygwin 64-bit and doing 64-bit
> > > build. I am getting the following errors. Can someone please help?
> > Seems
> > > that having this patch (
> > https://gerrit.libreoffice.org/c/core/+/95559)
> > > helps, but how is it that 6.4.4.4 was built on Windows machine
> > without this?
> >
> > The commit message of the commit you're pointing to says:
> >
> > "For other people these failures are silently ignored, but they
> > show up in their python3 build.log. But my msbuild version
> > 15.9.21+g9802d43bc3 from VS2017 fails hard on these errors."
> >
> >
> > ___
> > LibreOffice mailing list
> > LibreOffice@lists.freedesktop.org
> > https://lists.freedesktop.org/mailman/listinfo/libreoffice
> >
>
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: 6.4.4.4 libssl error

2020-06-09 Thread Chetan Aru
Thanks for pointing it out.
How do I get my build of 6.4.4.2 to ignore these errors then? I can build
with VS17 as well as VS19.
Is there any flag that I need to setup during build?

On Tue, 9 Jun 2020 at 11:35 AM, Michael Weghorn  wrote:

> On 09/06/2020 06.48, Chetan Aru wrote:
> > I am trying to build the LibreOffice 6.4.4.4 tag on Windows machine
> > (Virtual Machine). I have installed cygwin 64-bit and doing 64-bit
> > build. I am getting the following errors. Can someone please help? Seems
> > that having this patch ( https://gerrit.libreoffice.org/c/core/+/95559)
> > helps, but how is it that 6.4.4.4 was built on Windows machine without
> this?
>
> The commit message of the commit you're pointing to says:
>
> "For other people these failures are silently ignored, but they
> show up in their python3 build.log. But my msbuild version
> 15.9.21+g9802d43bc3 from VS2017 fails hard on these errors."
>
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


6.4.4.4 libssl error

2020-06-08 Thread Chetan Aru
I am trying to build the LibreOffice 6.4.4.4 tag on Windows machine
(Virtual Machine). I have installed cygwin 64-bit and doing 64-bit build. I
am getting the following errors. Can someone please help? Seems that having
this patch ( https://gerrit.libreoffice.org/c/core/+/95559) helps, but how
is it that 6.4.4.4 was built on Windows machine without this?


 
D:\LibreOfficeBuild\Build\workdir\UnpackedTarball\python3\PCBuild\openssl.props(24,5):
error MSB3030: Could not copy the file
"D:/LibreOfficeBuild/Build/workdir/UnpackedTarball/openssl/out32dll\libcrypto-1_1.dll"
because it was not found.
[D:\LibreOfficeBuild\Build\workdir\UnpackedTarball\python3\PCBuild\_ssl.vcxproj]

 
D:\LibreOfficeBuild\Build\workdir\UnpackedTarball\python3\PCBuild\openssl.props(24,5):
error MSB3030: Could not copy the file
"D:/LibreOfficeBuild/Build/workdir/UnpackedTarball/openssl/out32dll\libssl-1_1.pdb"
because it was not found.
[D:\LibreOfficeBuild\Build\workdir\UnpackedTarball\python3\PCBuild\_ssl.vcxproj]

 
D:\LibreOfficeBuild\Build\workdir\UnpackedTarball\python3\PCBuild\openssl.props(24,5):
error MSB3030: Could not copy the file
"D:/LibreOfficeBuild/Build/workdir/UnpackedTarball/openssl/out32dll\libcrypto-1_1.pdb"
because it was not found.
[D:\LibreOfficeBuild\Build\workdir\UnpackedTarball\python3\PCBuild\_ssl.vcxproj]

 
D:\LibreOfficeBuild\Build\workdir\UnpackedTarball\python3\PCBuild\openssl.props(24,5):
error MSB3030: Could not copy the file
"D:/LibreOfficeBuild/Build/workdir/UnpackedTarball/openssl/out32dll\libssl-1_1.dll"
because it was not found.
[D:\LibreOfficeBuild\Build\workdir\UnpackedTarball\python3\PCBuild\_ssl.vcxproj]
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice