You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Johan Corveleyn <jc...@gmail.com> on 2013/07/09 22:44:20 UTC

build-svn-deps-win.pl and debug builds

It would be interesting if build-svn-deps-win.pl could also build
debug builds of the dependencies (so I can use them to make a debug
build of svn).

I suppose this is basically using "Debug" throughout the file where it
currently says "Release", and installd instead of installr for httpd
etc. [1]

Now I went through the necessary steps manually, but in retrospect it
would have been better if I had spent some time editing the
build-svn-deps-win.pl script.

Does anyone have a patch lying around for that (or can whip one up in
5 minutes), or should I give it a try? If the latter, what should the
commandline UI look like?

[1] I had a hard time getting httpd 2.4.4 to build with a debug
configuration. Apparently there is/was a bug in the libhttpd.dsp file
(should be fixed in 2.4.5). See
http://www.apachelounge.com/viewtopic.php?t=5271&start=20#24981.

--
Johan

Re: build-svn-deps-win.pl and debug builds

Posted by Ben Reser <be...@reser.org>.
On Tue, Jul 9, 2013 at 4:41 PM, Ben Reser <be...@reser.org> wrote:
> On Tue, Jul 9, 2013 at 1:44 PM, Johan Corveleyn <jc...@gmail.com> wrote:
>> It would be interesting if build-svn-deps-win.pl could also build
>> debug builds of the dependencies (so I can use them to make a debug
>> build of svn).
>
> Agreed this was on my todo list.  Just haven't gotten to it.

Done in r1501696.  No idea if this works with VS2010.  But I know it
works with VS2012.

>> I suppose this is basically using "Debug" throughout the file where it
>> currently says "Release", and installd instead of installr for httpd
>> etc. [1]
>
> Roughly yes.

It never ends up being as easy as it looks with Windows.  Ran into
several build system bugs.

We had our own bug that wouldn't use BDB if you pointed it at a Debug
only build of BDB, which is fixed on trunk.

httpd's install target breaks when installing a Debug build using a
Debug build of PCRE because the DLL ends up being named pcred.dll

Serf's serf.mak wouldn't work against a Debug build of OpenSSL because
the output dir has .dbg appened on it.

>> [1] I had a hard time getting httpd 2.4.4 to build with a debug
>> configuration. Apparently there is/was a bug in the libhttpd.dsp file
>> (should be fixed in 2.4.5). See
>> http://www.apachelounge.com/viewtopic.php?t=5271&start=20#24981.

And of course this had to be applied.

Re: build-svn-deps-win.pl and debug builds

Posted by Ben Reser <be...@reser.org>.
On Tue, Jul 9, 2013 at 1:44 PM, Johan Corveleyn <jc...@gmail.com> wrote:
> It would be interesting if build-svn-deps-win.pl could also build
> debug builds of the dependencies (so I can use them to make a debug
> build of svn).

Agreed this was on my todo list.  Just haven't gotten to it.

> I suppose this is basically using "Debug" throughout the file where it
> currently says "Release", and installd instead of installr for httpd
> etc. [1]

Roughly yes.

> Now I went through the necessary steps manually, but in retrospect it
> would have been better if I had spent some time editing the
> build-svn-deps-win.pl script.
>
> Does anyone have a patch lying around for that (or can whip one up in
> 5 minutes), or should I give it a try? If the latter, what should the
> commandline UI look like?

I'll see what I can come up with.  I'd probably just do DEBUG=1 on the
command line.

> [1] I had a hard time getting httpd 2.4.4 to build with a debug
> configuration. Apparently there is/was a bug in the libhttpd.dsp file
> (should be fixed in 2.4.5). See
> http://www.apachelounge.com/viewtopic.php?t=5271&start=20#24981.

Good to know.