You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openoffice.apache.org by Damjan Jovanovic <da...@apache.org> on 2016/03/22 20:08:21 UTC
branches/gbuild-reintegration merge?
Hi
For the past month I've been working on preparing the gbuild branch
for merge into trunk, and I believe it to be essentially ready.
My work can be found in branches/gbuild-reintegration which started as
a branch of trunk to which all patches from branches/gbuild patches
were gradually merged, and can be now checked out for testing with
"svn co https://svn.apache.org/repos/asf/openoffice/branches/gbuild-reintegration".
There is total of 136 patches ported from branches/gbuild, and various
others I've written myself to fix problems. The changes are mostly
build related but there are others. Here is an overview:
* 20 more modules ported from dmake to gbuild, doubling the number of
gbuild modules we have.
* IDL files build with gbuild.
* Java files can also build with gbuild now.
* JAR and ZIP can be built with gbuild.
* Fixes bugs 117685, 117218, 117340, 116880, 116755, 117350, 117340,
117610, 116959, 117845, 117687, and 117171. Note how at least 116755
is a user-visible bug in OOXML parsing.
* Many general gbuild improvements. Better diagnostics when deliver
fails, compiler/linker flags are added instead of overwritten, flags
can be overridden from the command line, etc.
* RepositoryExternal.mk for external dependencies instead of various hacks.
* Currently gbuild doesn't pass -D_DLL to MSVC's cl.exe, resulting in
the inability to link executables and Google Tests to the C++ standard
library on Windows. This is fixed.
A RAT scan of the branch is clean. Linux, FreeBSD and Windows build
and pass all Google Tests. The bvt QA tests pass and preliminary fvt
results look good.
I don't have the ability to test Mac OS and it would be appreciated if
someone could or remote access could be given to me so I can. MingW
might be worth a look. I don't have Solaris, and Illumos needs serious
attention, as a large number of patches needed for even AOO trunk to
build there, submitted by Alexander Pyhalov on 1 August 2014, still
hasn't been committed yet. OS/2 is beyond me.
But those strike me as minority platforms and compilers anyway, and
can be fixed in trunk at a later stage. Can I merge
branches/gbuild-reintegration to trunk now?
Thank you
Damjan
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org
For additional commands, e-mail: dev-help@openoffice.apache.org
Re: branches/gbuild-reintegration merge?
Posted by Andrea Pescetti <pe...@apache.org>.
Damjan Jovanovic wrote:
> On Sat, Mar 26, 2016 at 12:11 PM, Andrea Pescetti wrote:
>> you fixed them
>> "while at it" or are they side effects of the build system changes?
> Those bug fixes were present in the original gbuild
> branch - they're not something I developed. I don't know why.
OK, thanks for the explanation. So the "gbuild" branch comes with some
bonus bugfixes that were added to it for some unknown reasons. Great
that you looked into it; and good that they work!
> Let's get Mac working first, then see about a merge.
I've opened https://issues.apache.org/jira/browse/INFRA-11553 with the
full story. You may want to watch the issue to follow up. Note that for
some reason I don't get notifications of all comments from JIRA, so you
may want to revisit the page in 48 hours to check if Infra took action.
Regards,
Andrea.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org
For additional commands, e-mail: dev-help@openoffice.apache.org
Re: branches/gbuild-reintegration merge?
Posted by Damjan Jovanovic <da...@apache.org>.
On Sat, Mar 26, 2016 at 12:11 PM, Andrea Pescetti <pe...@apache.org> wrote:
> On 22/03/2016 Damjan Jovanovic wrote:
>>
>> For the past month I've been working on preparing the gbuild branch
>> for merge into trunk, and I believe it to be essentially ready.
>
>
> Thank you Damjan, this is one of the best news about project development
> we've had in recent months! And I won't insist again that these news deserve
> a blog post...
>
>> My work can be found in branches/gbuild-reintegration
>
>
> I've just built it correctly on one of my environments (Linux64). OK to
> merge it from my side, with the aim of ironing out any further issues by
> 4.2.0. For the record, a parallel build (-P4) worked great too.
>
>> * Fixes bugs 117685, 117218, 117340, 116880, 116755, 117350, 117340,
>> 117610, 116959, 117845, 117687, and 117171. Note how at least 116755
>> is a user-visible bug in OOXML parsing.
>
>
> This is really impressive. I've taken a look all of them (117340 is listed
> twice, I don't know if you wanted to list something else). May I know why
> this branch development fixes
> https://bz.apache.org/ooo/show_bug.cgi?id=116880 and
> https://bz.apache.org/ooo/show_bug.cgi?id=116755 ? I mean, you fixed them
> "while at it" or are they side effects of the build system changes? I am
> actually interested in the opposite situation, i.e., can build system
> changes reach so deep within the user experience? Or, in other words, can
> they introduce new bugs at a level this deep?
Thank you. Yes several are repeated, and no I didn't want to list
something else. Those bug fixes were present in the original gbuild
branch - they're not something I developed. I don't know why.
Build changes can't really break code. There were some code changes,
for example controlling function visibility using code instead of
using .map files, but if that broke something, linking would fail and
the build would presumably fail; only run-time dynamic linking can
break at run-time.
> I don't get why
> https://bz.apache.org/ooo/show_bug.cgi?id=117171
> is addressed too.
Me neither.
>> I don't have the ability to test Mac OS and it would be appreciated if
>> someone could or remote access could be given to me so I can.
>
>
> You received access to an ASF-owned Mac back in October 2015. That Mac was
> then taken over by Infra and transformed in an ASF-wide service to optimize
> resources. You can surely get access to it again if it doesn't work for you.
> I can reactivate the discussion with Infra, just ask in case.
Please do. I was told I received access back then, but AFAIK never
given its IP address, login credentials or protocol to access it.
>> Can I merge branches/gbuild-reintegration to trunk now?
>
>
> +1 from me. Marcus' concern about merging trunk into it beforehand was
> correct, but the set of unrelated changes is minimal and under control in
> any merge strategy.
Let's get Mac working first, then see about a merge.
> Regards,
> Andrea.
Regards
Damjan
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org
For additional commands, e-mail: dev-help@openoffice.apache.org
Re: branches/gbuild-reintegration merge?
Posted by Andrea Pescetti <pe...@apache.org>.
On 22/03/2016 Damjan Jovanovic wrote:
> For the past month I've been working on preparing the gbuild branch
> for merge into trunk, and I believe it to be essentially ready.
Thank you Damjan, this is one of the best news about project development
we've had in recent months! And I won't insist again that these news
deserve a blog post...
> My work can be found in branches/gbuild-reintegration
I've just built it correctly on one of my environments (Linux64). OK to
merge it from my side, with the aim of ironing out any further issues by
4.2.0. For the record, a parallel build (-P4) worked great too.
> * Fixes bugs 117685, 117218, 117340, 116880, 116755, 117350, 117340,
> 117610, 116959, 117845, 117687, and 117171. Note how at least 116755
> is a user-visible bug in OOXML parsing.
This is really impressive. I've taken a look all of them (117340 is
listed twice, I don't know if you wanted to list something else). May I
know why this branch development fixes
https://bz.apache.org/ooo/show_bug.cgi?id=116880 and
https://bz.apache.org/ooo/show_bug.cgi?id=116755 ? I mean, you fixed
them "while at it" or are they side effects of the build system changes?
I am actually interested in the opposite situation, i.e., can build
system changes reach so deep within the user experience? Or, in other
words, can they introduce new bugs at a level this deep?
I don't get why
https://bz.apache.org/ooo/show_bug.cgi?id=117171
is addressed too.
> I don't have the ability to test Mac OS and it would be appreciated if
> someone could or remote access could be given to me so I can.
You received access to an ASF-owned Mac back in October 2015. That Mac
was then taken over by Infra and transformed in an ASF-wide service to
optimize resources. You can surely get access to it again if it doesn't
work for you. I can reactivate the discussion with Infra, just ask in case.
> Can I merge branches/gbuild-reintegration to trunk now?
+1 from me. Marcus' concern about merging trunk into it beforehand was
correct, but the set of unrelated changes is minimal and under control
in any merge strategy.
Regards,
Andrea.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org
For additional commands, e-mail: dev-help@openoffice.apache.org
RE: branches/gbuild-reintegration merge?
Posted by "Dennis E. Hamilton" <de...@acm.org>.
+1 on the conservative approach that Marcus recommends.
I understand that this is now being considered a low risk case. Still, better safe than sorry, especially since reverting from the trunk would be complicated.
- Dennis
> -----Original Message-----
> From: Marcus [mailto:marcus.mail@wtnet.de]
> Sent: Tuesday, March 22, 2016 16:37
> To: dev@openoffice.apache.org
> Subject: Re: branches/gbuild-reintegration merge?
>
[ ... ]
>
> wow and \o/ . Thats great news. :-)
>
> As non-coder I've not the biggest inside and knowledge. However, I'm
> still afraid of breaking something in Trunk. So, please bear with me
> when I ask the following:
>
> How big is the effort to do the opposite first?
>
> Copying your branch into a clone, updating it with the current Trunk, do
> needed cleanup and fixes and then see how stable the builds on all our
> supported platforms are.
>
> If this shows no bigger problems and little bugs can be handled in a
> short time and are fixable, then we can think about how to bring your
> branch into Trunk.
>
> Yes, maybe it looks a bit paranoid. But doing bigger fixes on Trunk
> could be a problem for a longer time and this must be avoided.
>
> My 2 ct.
>
> Marcus
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org
> For additional commands, e-mail: dev-help@openoffice.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org
For additional commands, e-mail: dev-help@openoffice.apache.org
Re: branches/gbuild-reintegration merge?
Posted by Marcus <ma...@wtnet.de>.
Am 03/22/2016 08:08 PM, schrieb Damjan Jovanovic:
> Hi
>
> For the past month I've been working on preparing the gbuild branch
> for merge into trunk, and I believe it to be essentially ready.
>
> My work can be found in branches/gbuild-reintegration which started as
> a branch of trunk to which all patches from branches/gbuild patches
> were gradually merged, and can be now checked out for testing with
> "svn co https://svn.apache.org/repos/asf/openoffice/branches/gbuild-reintegration".
>
> There is total of 136 patches ported from branches/gbuild, and various
> others I've written myself to fix problems. The changes are mostly
> build related but there are others. Here is an overview:
> * 20 more modules ported from dmake to gbuild, doubling the number of
> gbuild modules we have.
> * IDL files build with gbuild.
> * Java files can also build with gbuild now.
> * JAR and ZIP can be built with gbuild.
> * Fixes bugs 117685, 117218, 117340, 116880, 116755, 117350, 117340,
> 117610, 116959, 117845, 117687, and 117171. Note how at least 116755
> is a user-visible bug in OOXML parsing.
> * Many general gbuild improvements. Better diagnostics when deliver
> fails, compiler/linker flags are added instead of overwritten, flags
> can be overridden from the command line, etc.
> * RepositoryExternal.mk for external dependencies instead of various hacks.
> * Currently gbuild doesn't pass -D_DLL to MSVC's cl.exe, resulting in
> the inability to link executables and Google Tests to the C++ standard
> library on Windows. This is fixed.
>
> A RAT scan of the branch is clean. Linux, FreeBSD and Windows build
> and pass all Google Tests. The bvt QA tests pass and preliminary fvt
> results look good.
>
> I don't have the ability to test Mac OS and it would be appreciated if
> someone could or remote access could be given to me so I can. MingW
> might be worth a look. I don't have Solaris, and Illumos needs serious
> attention, as a large number of patches needed for even AOO trunk to
> build there, submitted by Alexander Pyhalov on 1 August 2014, still
> hasn't been committed yet. OS/2 is beyond me.
>
> But those strike me as minority platforms and compilers anyway, and
> can be fixed in trunk at a later stage. Can I merge
> branches/gbuild-reintegration to trunk now?
wow and \o/ . Thats great news. :-)
As non-coder I've not the biggest inside and knowledge. However, I'm
still afraid of breaking something in Trunk. So, please bear with me
when I ask the following:
How big is the effort to do the opposite first?
Copying your branch into a clone, updating it with the current Trunk, do
needed cleanup and fixes and then see how stable the builds on all our
supported platforms are.
If this shows no bigger problems and little bugs can be handled in a
short time and are fixable, then we can think about how to bring your
branch into Trunk.
Yes, maybe it looks a bit paranoid. But doing bigger fixes on Trunk
could be a problem for a longer time and this must be avoided.
My 2 ct.
Marcus
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org
For additional commands, e-mail: dev-help@openoffice.apache.org
Re: branches/gbuild-reintegration merge?
Posted by Kay Schenk <ka...@gmail.com>.
On Tue, Mar 22, 2016 at 12:08 PM, Damjan Jovanovic <da...@apache.org>
wrote:
> Hi
>
> For the past month I've been working on preparing the gbuild branch
> for merge into trunk, and I believe it to be essentially ready.
>
> My work can be found in branches/gbuild-reintegration which started as
> a branch of trunk to which all patches from branches/gbuild patches
> were gradually merged, and can be now checked out for testing with
> "svn co
> https://svn.apache.org/repos/asf/openoffice/branches/gbuild-reintegration
> ".
>
> There is total of 136 patches ported from branches/gbuild, and various
> others I've written myself to fix problems. The changes are mostly
> build related but there are others. Here is an overview:
> * 20 more modules ported from dmake to gbuild, doubling the number of
> gbuild modules we have.
> * IDL files build with gbuild.
> * Java files can also build with gbuild now.
> * JAR and ZIP can be built with gbuild.
> * Fixes bugs 117685, 117218, 117340, 116880, 116755, 117350, 117340,
> 117610, 116959, 117845, 117687, and 117171. Note how at least 116755
> is a user-visible bug in OOXML parsing.
> * Many general gbuild improvements. Better diagnostics when deliver
> fails, compiler/linker flags are added instead of overwritten, flags
> can be overridden from the command line, etc.
> * RepositoryExternal.mk for external dependencies instead of various hacks.
> * Currently gbuild doesn't pass -D_DLL to MSVC's cl.exe, resulting in
> the inability to link executables and Google Tests to the C++ standard
> library on Windows. This is fixed.
>
> A RAT scan of the branch is clean. Linux, FreeBSD and Windows build
> and pass all Google Tests. The bvt QA tests pass and preliminary fvt
> results look good.
>
> I don't have the ability to test Mac OS and it would be appreciated if
> someone could or remote access could be given to me so I can. MingW
> might be worth a look. I don't have Solaris, and Illumos needs serious
> attention, as a large number of patches needed for even AOO trunk to
> build there, submitted by Alexander Pyhalov on 1 August 2014, still
> hasn't been committed yet. OS/2 is beyond me.
>
> But those strike me as minority platforms and compilers anyway, and
> can be fixed in trunk at a later stage. Can I merge
> branches/gbuild-reintegration to trunk now?
>
> Thank you
> Damjan
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org
> For additional commands, e-mail: dev-help@openoffice.apache.org
>
>
I spent a little bit of time yesterday looking over these changes, so
+1
on the merge. As you point out, we already had *some* gbuild capabilities
with some of our modules already which did not effect the dmake/build
process, and the changes you've currently made are in this same patten.
Thank you for this great progress!
--
----------------------------------------------------------------------
MzK
"Time spent with cats is never wasted."
-- Sigmund Freud