Building AOO under Debian9

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

Building AOO under Debian9

Mechtilde Stehmann-2
Hello,

I start again to build AOO at a machine with Debian 9 as I did some
times before.

Again I get the message that the build failed in
main/cui/Library_cui.mk:37. I remembered that I had the problem before
and committed a fix for that line.

Some times later this fix was reverted because it broke the builds at
MacOS and CentOS.

So my question is, how can I fix the problem again without breaking the
builds on other systems.

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 under Debian9

Mechtilde Stehmann-2
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.

Can someone  help?

Kind regards


Am 22.10.19 um 15:39 schrieb Mechtilde:

> Hello,
>
> I start again to build AOO at a machine with Debian 9 as I did some
> times before.
>
> Again I get the message that the build failed in
> main/cui/Library_cui.mk:37. I remembered that I had the problem before
> and committed a fix for that line.
>
> Some times later this fix was reverted because it broke the builds at
> MacOS and CentOS.
>
> So my question is, how can I fix the problem again without breaking the
> builds on other systems.
>
> 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 under Debian9

Ariel Constenla-Haile-3
Hi Mechtilde,

On Sun, Nov 10, 2019 at 5:23 AM Mechtilde <[hidden email]> 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
--
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 under Debian9

Mechtilde Stehmann-2
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 <[hidden email]> 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


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

LinuxX86-64Env.Set.sh (16K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Building AOO under Debian9

Don Lewis-2
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 <[hidden email]> 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: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: Building AOO under Debian9

Dr. Michael Stehmann-2
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 <[hidden email]> 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: [hidden email]
> For additional commands, e-mail: [hidden email]
>

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

Reply | Threaded
Open this post in threaded view
|

Re: Building AOO under Debian9

Don Lewis-2
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 <[hidden email]> 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: [hidden email]
>> For additional commands, e-mail: [hidden email]
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>


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