Re: Build issue

Richard Levitte <[email protected]>
Newsgroups gmane.comp.encryption.openssl.devel
Message-ID <[email protected]>
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-zicqdpbX7QZx1sFoWDyA@mail.gmail.com> on Tue, 25 Jul 2017 15:18:35 -0400, Matthew Stickney <[email protected]> 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 <[email protected]> wrote:
mtstickney> > In message <CAKH_Ld755=fWXQzUMdrMpUdaqBKwjL18yCdgEj4uKZ0qiNQjRQ@mail.gmail.com> on Tue, 25 Jul 2017 14:52:50 -0400, Matthew Stickney <[email protected]> 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         [email protected]
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.