Could it be that this patch fixes the issue?

diff --git a/util/mkdef.pl b/util/mkdef.pl
index b3eb6b3d9d..1f214dbb8b 100755
--- a/util/mkdef.pl
+++ b/util/mkdef.pl
@@ -876,7 +876,7 @@ sub do_defs
                        # Reduce argument lists to empty ()
                        # fold round brackets recursively: (t(*v)(t),t) -> 
(t{}{},t) -> {}
                        while(/\(.*\)/s) {
-                               s/\([^\(\)]+\)/\{\}/gs;
+                               s/\([^\(\)]*\)/\{\}/gs;
                                s/\(\s*\*\s*(\w+)\s*\{\}\s*\)/$1/gs;    #(*f{}) 
-> f
                        }
                        # pretend as we didn't use curly braces: {} -> ()


In message <cakh_ld5nd9pcgda+uvkzdg3krw-gz-zicqdpbx7qzx1sfow...@mail.gmail.com> 
on Tue, 25 Jul 2017 15:18:35 -0400, Matthew Stickney <mtstick...@gmail.com> 
said:

mtstickney> I'm away from the machine in question right now, but:
mtstickney> 
mtstickney> > Also, presumably the perl is the msys perl, but please confirm -- 
it must be "matching" in order for things to work.
mtstickney> 
mtstickney> It's definitely the msys perl. I'll check the config line tonight, 
but
mtstickney> I'm virtually certain that it was "./config" in it's entirety.
mtstickney> 
mtstickney> > Can you state what OpenSSL version this is
mtstickney> 
mtstickney> I'll get the commit hash tonight, but this was the tip of master as 
of
mtstickney> about 9pm EDT last night, so I'd imagine that util/mkdef.pl in 
master
mtstickney> still has whatever the issue is.
mtstickney> 
mtstickney> -Matt Stickney
mtstickney> 
mtstickney> On Tue, Jul 25, 2017 at 2:59 PM, Richard Levitte 
<levi...@openssl.org> wrote:
mtstickney> > In message 
<CAKH_Ld755=fwxqzumdrmpudaqbkwjl18ycdgej4ukz0qinq...@mail.gmail.com> on Tue, 25 
Jul 2017 14:52:50 -0400, Matthew Stickney <mtstick...@gmail.com> said:
mtstickney> >
mtstickney> > mtstickney> I've been trying to build OpenSSL to work on a new 
feature, but I've
mtstickney> > mtstickney> had problems with the build hanging. I'm building on 
Windows 10 with
mtstickney> > mtstickney> mingw-w64 under msys2; perl is v5.24, and I installed 
the
mtstickney> > mtstickney> Text::Template module from CPAN.
mtstickney> > mtstickney>
mtstickney> > mtstickney> I'm not sure what's relevant, but the hang is 
definitely in a perl
mtstickney> > mtstickney> script of some sort, because there's a perl.exe 
process uses a
mtstickney> > mtstickney> constant chunk of CPU (I suspect this might be a 
busy-wait, but I
mtstickney> > mtstickney> don't know for sure). There are some odd errors 
before the hang; I've
mtstickney> > mtstickney> pasted the log below.
mtstickney> > mtstickney>
mtstickney> > mtstickney> Any ideas? I'm happy to provide more information if 
that's needed.
mtstickney> > mtstickney>
mtstickney> > mtstickney> -Matt Stickney
mtstickney> > mtstickney>
mtstickney> > mtstickney> make[2]: Entering directory 
'/c/Users/mts/Desktop/openssl'
mtstickney> > mtstickney> File include/openssl/ssl.h: cannot parse: ()()))
mtstickney> > mtstickney> #INFO::;
mtstickney> >
mtstickney> > This is an issue with util/mkdef.pl.
mtstickney> >
mtstickney> > Can you state what OpenSSL version this is, or if it's a git 
checkout
mtstickney> > and if it is, the ID of the top commit (take the output of
mtstickney> > 'git show HEAD --oneline | head -1')?
mtstickney> >
mtstickney> > Cheers,
mtstickney> > Richard
mtstickney> >
mtstickney> > --
mtstickney> > Richard Levitte         levi...@openssl.org
mtstickney> > OpenSSL Project         http://www.openssl.org/~levitte/
mtstickney> > --
mtstickney> > openssl-dev mailing list
mtstickney> > To unsubscribe: 
https://mta.openssl.org/mailman/listinfo/openssl-dev
mtstickney> -- 
mtstickney> openssl-dev mailing list
mtstickney> To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-dev
mtstickney> 
-- 
openssl-dev mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-dev

Reply via email to