Re: AOO418 cherry picks

2020-09-30 Thread Don Lewis
I've got everything on my list for AOO418 in the queue:

  * Fix for old java detection when building with new java
Set java compilation target to version 1.5 #101
https://github.com/apache/openoffice/pull/101

  * Bug fixes from upstream for bundled libxml2 and serf modules
Libxml+serf 418 #102
https://github.com/apache/openoffice/pull/102

  * Upgrade to a newer bundled nss
Nssupgrade - Upgrade bundled nss to nss-3.39-with-nspr-4.20 #100
https://github.com/apache/openoffice/pull/100

The first two have been committed to trunk and AOO42X.  The AOO418
changes have been lightly tested on Debian 9, Windows 7, and CentOS 5.

The last pull request has not yet been merged to trunk.  The changes
have been tested on Debian 9, Windows 7, and CentOS 7.  Upgrades to NSS
have been problematic in the past, especially on MacOS.  This module is
used for document signing and signature checking.


 

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



[GitHub] [openoffice] DonLewisFreeBSD opened a new pull request #102: Libxml+serf 418

2020-09-30 Thread GitBox


DonLewisFreeBSD opened a new pull request #102:
URL: https://github.com/apache/openoffice/pull/102


   Bug fixes from upstream for bundled libxml2 and serf modules
   
   * libxml2
 - Possible infinite loop in xmlStringLenDecodeEntities
 - Make sure that truncated UTF-8 sequences don't cause an out-of-bounds 
array access.
 - Fix memory leak in xmlSchemaValidateStream
   
   * serf
 - Fix handling of NUL characters in certificate fields



This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



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



Re: AOO418 cherry picks

2020-09-30 Thread Jim Jagielski
I'll see how the build on macOS goes, but likely won't be able to get to it 
until Monday.

> On Sep 29, 2020, at 2:52 PM, Don Lewis  wrote:
> 
> On 29 Sep, Matthias Seidel wrote:
>> Hi Don,
>> 
>> Am 26.09.20 um 23:47 schrieb Don Lewis:
>>> On 26 Sep, Matthias Seidel wrote:
 Hi all,
 
 Am 25.09.20 um 18:05 schrieb Matthias Seidel:
> Am 25.09.20 um 14:01 schrieb Jim Jagielski:
>> That looks quite a bit more straightforward :-)
> Let's wait for Don's PR, this is only a minor update from Python 2.7.17
> to 2.7.18.
 Merged now...
 
 Unless Don wants to add something for the Java detection I would think
 we are pretty close to a release candidate?
>>> I've got another nss upgrade in the works as well as a small serf bug
>>> fix.
>> 
>> OK, if that can be done quick *and* safe?
> 
> nss is somewhat risky.  We've had problems with upgrading it in the
> past, primarily with MacOS.  It does fix a fairly important CVE, though
> I don't know if it potentially affects our usage of nss.  I just
> submitted a pull request.
> 
> Serf should be fairly quick.  It's just a couple of patches
> cherry-picked from upstream to fix a CVE.
> 
> There are also a few new libxml2 CVEs, but not a new release of the
> library.  They can be fixed with some upstream cherry picks.
> 
>> Otherwise I doubt that we have a release in the next 2 weeks... ;-)
>> 
>> Regards,
>> 
>>Matthias
>> 
>>> 
>>> -
>>> 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 
> 


[GitHub] [openoffice] Pilot-Pirx commented on pull request #100: Nssupgrade - Upgrade bundled nss to nss-3.39-with-nspr-4.20

2020-09-30 Thread GitBox


Pilot-Pirx commented on pull request #100:
URL: https://github.com/apache/openoffice/pull/100#issuecomment-701316288


   Just for the record:
   Build on Windows was successful. This was Windows 10 64-bit with 
MozillaBuild 3.3 (64-bit)



This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



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



Re: Building AOO under Debian9

2020-09-30 Thread Don Lewis
On 30 Sep, Dr. Michael Stehmann wrote:
> Hello Don,
> 
> in configure.sh I had this line :
> 
> --with-build-version="aoo42x-$(date +"%Y-%m-%d %H:%M") - `uname -sm`\n
> ${GitHash}"
> 
> Because I want to have the corresponding git hash I built, I need the
> output in two lines.

Instead of \n, try n.  That forces the environment variable to
contain a literal \n, which should get passed as a compiler preprocessor
symbol definition, and the compiler will turn the \n into a newline.  I
don't know how that interacts with the About dialog, though.

This is one more level of escaping than I think should be necessary, but
\\n didn't seem to help.

> Thanks for your help
> 
> Kind regards
> 
> Mechtilde
> 
> Am 30.09.20 um 08:38 schrieb Don Lewis:
>> On 30 Sep, Mechtilde wrote:
>>> Hello,
>>>
>>> I set up a recent build environment with Debian 9.
>>>
>>> I have got the same error message again:
>>>
>>> ~/openoffice/main/instsetoo_native$ build --from cui
>>> build -- version: -
>>>
>>>
>>> =
>>> Building module cui
>>> =
>>>
>>> Entering /home/mechtilde/openoffice/main/cui/prj
>>>
>>> cd .. && make -s -r -j1   && make -s -r deliverlog
>>> /home/mechtilde/openoffice/main/cui/Library_cui.mk:37: *** missing
>>> separator.  Stop.
>>> dmake:  Error code 2, while making 'all'
>>>
>>> 1 module(s):
>>> cui
>>> need(s) to be rebuilt
>>>
>>> Reason(s):
>>>
>>> ERROR: error 65280 occurred while making
>>> /home/mechtilde/openoffice/main/cui/prj
>>>
>>> When you have fixed the errors in that module you can resume the build
>>> by running:
>>>
>>> I also attach my file LinuxX86-64Env.Set.sh.
>>>
>>> Can someone help me to get a proper build environment.
>>>
>>> Kind regards
>>>
>>> Mechtilde
>>>
>>> Am 10.11.19 um 22:02 schrieb Ariel Constenla-Haile:
 Hi Mechtilde,

 On Sun, Nov 10, 2019 at 5:23 AM Mechtilde  wrote:
>
> Hello again,
>
> I did a recent git pull AOO42X and try to build it under Debian 9.
>
> It didn't build. it fails with error in  main/cui/Library_cui.mk:37
>
> If I patched it as before then it builds succesfully.
>
> Either we need a switch for Debian 9 and may be newer
> distribution/versions or we need another fix.

 The contents of BUILD_VER_STRING might be the problem, attach your
 LinuxX86-64Env.Set.sh and someone may reproduce the error.
>> 
>> I'm building on Debian 9 and not having any problems.  I just did a
>> trunk build and in my LinuxX86-64Env.Set.sh I see:
>> 
>> $ grep BUILD_VER_STRING LinuxX86-64Env.Set.sh | head -1
>> BUILD_VER_STRING="2020-09-29 22:09:35 (Tue, 29 Sep 2020) - Linux x86_64"
>> 
>> If I look at your LinuxX86-64Env.Set.sh:
>> 
>> %grep BUILD_VER_STRING /tmp/LinuxX86-64Env.Set.sh | head -1
>> BUILD_VER_STRING="aoo42x-2020-09-29 19:11 - Linux x86_64
>> 
>> I see a critical difference.  Mine has " characters around the value,
>> but yours has the leading quote, but no trailing quote.  Looking more
>> closely at the file:
>> 
>> BUILD_VER_STRING="aoo42x-2020-09-29 19:11 - Linux x86_64
>>  "
>> 
>> It looks like a newline is getting embeded into the value somehow.  The
>> rest of the info in the string has other differences as well.
>> 
>> If I check out AOO42X and run autoconf and configure, I see:
>> BUILD_VER_STRING="2020-09-29 23:34:46 (Tue, 29 Sep 2020) - Linux x86_64"
>> 
>> Ah, I'm running configure with this option:
>> --with-build-version="$(date +"%Y-%m-%d %H:%M:%S (%a, %d %b 
>> %Y)") - `uname -sm`${AOO_BUILD_VERSION}"
>> What are you doing here?
>> 
>> 
>> -
>> 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
> 


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



Re: Building AOO under Debian9

2020-09-30 Thread Dr. Michael Stehmann
Hello Don,

in configure.sh I had this line :

--with-build-version="aoo42x-$(date +"%Y-%m-%d %H:%M") - `uname -sm`\n
${GitHash}"

Because I want to have the corresponding git hash I built, I need the
output in two lines.

Thanks for your help

Kind regards

Mechtilde

Am 30.09.20 um 08:38 schrieb Don Lewis:
> On 30 Sep, Mechtilde wrote:
>> Hello,
>>
>> I set up a recent build environment with Debian 9.
>>
>> I have got the same error message again:
>>
>> ~/openoffice/main/instsetoo_native$ build --from cui
>> build -- version: -
>>
>>
>> =
>> Building module cui
>> =
>>
>> Entering /home/mechtilde/openoffice/main/cui/prj
>>
>> cd .. && make -s -r -j1   && make -s -r deliverlog
>> /home/mechtilde/openoffice/main/cui/Library_cui.mk:37: *** missing
>> separator.  Stop.
>> dmake:  Error code 2, while making 'all'
>>
>> 1 module(s):
>>  cui
>> need(s) to be rebuilt
>>
>> Reason(s):
>>
>> ERROR: error 65280 occurred while making
>> /home/mechtilde/openoffice/main/cui/prj
>>
>> When you have fixed the errors in that module you can resume the build
>> by running:
>>
>> I also attach my file LinuxX86-64Env.Set.sh.
>>
>> Can someone help me to get a proper build environment.
>>
>> Kind regards
>>
>> Mechtilde
>>
>> Am 10.11.19 um 22:02 schrieb Ariel Constenla-Haile:
>>> Hi Mechtilde,
>>>
>>> On Sun, Nov 10, 2019 at 5:23 AM Mechtilde  wrote:

 Hello again,

 I did a recent git pull AOO42X and try to build it under Debian 9.

 It didn't build. it fails with error in  main/cui/Library_cui.mk:37

 If I patched it as before then it builds succesfully.

 Either we need a switch for Debian 9 and may be newer
 distribution/versions or we need another fix.
>>>
>>> The contents of BUILD_VER_STRING might be the problem, attach your
>>> LinuxX86-64Env.Set.sh and someone may reproduce the error.
> 
> I'm building on Debian 9 and not having any problems.  I just did a
> trunk build and in my LinuxX86-64Env.Set.sh I see:
> 
> $ grep BUILD_VER_STRING LinuxX86-64Env.Set.sh | head -1
> BUILD_VER_STRING="2020-09-29 22:09:35 (Tue, 29 Sep 2020) - Linux x86_64"
> 
> If I look at your LinuxX86-64Env.Set.sh:
> 
> %grep BUILD_VER_STRING /tmp/LinuxX86-64Env.Set.sh | head -1
> BUILD_VER_STRING="aoo42x-2020-09-29 19:11 - Linux x86_64
> 
> I see a critical difference.  Mine has " characters around the value,
> but yours has the leading quote, but no trailing quote.  Looking more
> closely at the file:
> 
> BUILD_VER_STRING="aoo42x-2020-09-29 19:11 - Linux x86_64
>  "
> 
> It looks like a newline is getting embeded into the value somehow.  The
> rest of the info in the string has other differences as well.
> 
> If I check out AOO42X and run autoconf and configure, I see:
> BUILD_VER_STRING="2020-09-29 23:34:46 (Tue, 29 Sep 2020) - Linux x86_64"
> 
> Ah, I'm running configure with this option:
> --with-build-version="$(date +"%Y-%m-%d %H:%M:%S (%a, %d %b 
> %Y)") - `uname -sm`${AOO_BUILD_VERSION}"
> What are you doing here?
> 
> 
> -
> 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 AOO under Debian9

2020-09-30 Thread Don Lewis
On 30 Sep, Mechtilde wrote:
> Hello,
> 
> I set up a recent build environment with Debian 9.
> 
> I have got the same error message again:
> 
> ~/openoffice/main/instsetoo_native$ build --from cui
> build -- version: -
> 
> 
> =
> Building module cui
> =
> 
> Entering /home/mechtilde/openoffice/main/cui/prj
> 
> cd .. && make -s -r -j1   && make -s -r deliverlog
> /home/mechtilde/openoffice/main/cui/Library_cui.mk:37: *** missing
> separator.  Stop.
> dmake:  Error code 2, while making 'all'
> 
> 1 module(s):
>   cui
> need(s) to be rebuilt
> 
> Reason(s):
> 
> ERROR: error 65280 occurred while making
> /home/mechtilde/openoffice/main/cui/prj
> 
> When you have fixed the errors in that module you can resume the build
> by running:
> 
> I also attach my file LinuxX86-64Env.Set.sh.
> 
> Can someone help me to get a proper build environment.
> 
> Kind regards
> 
> Mechtilde
> 
> Am 10.11.19 um 22:02 schrieb Ariel Constenla-Haile:
>> Hi Mechtilde,
>> 
>> On Sun, Nov 10, 2019 at 5:23 AM Mechtilde  wrote:
>>>
>>> Hello again,
>>>
>>> I did a recent git pull AOO42X and try to build it under Debian 9.
>>>
>>> It didn't build. it fails with error in  main/cui/Library_cui.mk:37
>>>
>>> If I patched it as before then it builds succesfully.
>>>
>>> Either we need a switch for Debian 9 and may be newer
>>> distribution/versions or we need another fix.
>> 
>> The contents of BUILD_VER_STRING might be the problem, attach your
>> LinuxX86-64Env.Set.sh and someone may reproduce the error.

I'm building on Debian 9 and not having any problems.  I just did a
trunk build and in my LinuxX86-64Env.Set.sh I see:

$ grep BUILD_VER_STRING LinuxX86-64Env.Set.sh | head -1
BUILD_VER_STRING="2020-09-29 22:09:35 (Tue, 29 Sep 2020) - Linux x86_64"

If I look at your LinuxX86-64Env.Set.sh:

%grep BUILD_VER_STRING /tmp/LinuxX86-64Env.Set.sh | head -1
BUILD_VER_STRING="aoo42x-2020-09-29 19:11 - Linux x86_64

I see a critical difference.  Mine has " characters around the value,
but yours has the leading quote, but no trailing quote.  Looking more
closely at the file:

BUILD_VER_STRING="aoo42x-2020-09-29 19:11 - Linux x86_64
 "

It looks like a newline is getting embeded into the value somehow.  The
rest of the info in the string has other differences as well.

If I check out AOO42X and run autoconf and configure, I see:
BUILD_VER_STRING="2020-09-29 23:34:46 (Tue, 29 Sep 2020) - Linux x86_64"

Ah, I'm running configure with this option:
--with-build-version="$(date +"%Y-%m-%d %H:%M:%S (%a, %d %b 
%Y)") - `uname -sm`${AOO_BUILD_VERSION}"
What are you doing here?


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



Re: Building AOO under Debian9

2020-09-30 Thread Mechtilde
Hello,

I set up a recent build environment with Debian 9.

I have got the same error message again:

~/openoffice/main/instsetoo_native$ build --from cui
build -- version: -


=
Building module cui
=

Entering /home/mechtilde/openoffice/main/cui/prj

cd .. && make -s -r -j1   && make -s -r deliverlog
/home/mechtilde/openoffice/main/cui/Library_cui.mk:37: *** missing
separator.  Stop.
dmake:  Error code 2, while making 'all'

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

Reason(s):

ERROR: error 65280 occurred while making
/home/mechtilde/openoffice/main/cui/prj

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

I also attach my file LinuxX86-64Env.Set.sh.

Can someone help me to get a proper build environment.

Kind regards

Mechtilde

Am 10.11.19 um 22:02 schrieb Ariel Constenla-Haile:
> Hi Mechtilde,
> 
> On Sun, Nov 10, 2019 at 5:23 AM Mechtilde  wrote:
>>
>> Hello again,
>>
>> I did a recent git pull AOO42X and try to build it under Debian 9.
>>
>> It didn't build. it fails with error in  main/cui/Library_cui.mk:37
>>
>> If I patched it as before then it builds succesfully.
>>
>> Either we need a switch for Debian 9 and may be newer
>> distribution/versions or we need another fix.
> 
> The contents of BUILD_VER_STRING might be the problem, attach your
> LinuxX86-64Env.Set.sh and someone may reproduce the error.
> 
> Regards
> 

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


LinuxX86-64Env.Set.sh
Description: application/shellscript

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