Re: [openssl-project] master is broken?

2018-07-24 Thread Richard Levitte
In message <84e6620a-e6bc-4f6e-a282-b46841b6d...@akamai.com> on Tue, 24 Jul 
2018 18:05:35 +, "Salz, Rich"  said:

rsalz>  sudo cpan Carp::Always
rsalz> 
rsalz> I did this.  Same results for config and the PERLOPT setting.

For everyone's information, the breakage was really just rogue
output.  The death handler was badly written, but got fixed up with
this PR: https://github.com/openssl/openssl/pull/6776

Cheers,
Richard

-- 
Richard Levitte levi...@openssl.org
OpenSSL Project http://www.openssl.org/~levitte/
___
openssl-project mailing list
openssl-project@openssl.org
https://mta.openssl.org/mailman/listinfo/openssl-project


Re: [openssl-project] master is broken?

2018-07-24 Thread Salz, Rich
 sudo cpan Carp::Always

I did this.  Same results for config and the PERLOPT setting.


___
openssl-project mailing list
openssl-project@openssl.org
https://mta.openssl.org/mailman/listinfo/openssl-project


Re: [openssl-project] master is broken?

2018-07-24 Thread Richard Levitte
In message  on Tue, 24 Jul 
2018 17:50:50 +, "Salz, Rich"  said:

rsalz> 
rsalz> 
rsalz> On 7/24/18, 1:42 PM, "Richard Levitte"  wrote:
rsalz> 
rsalz> Would you mind installing it?  The package is called
rsalz> libcarp-always-perl on Debian and derivates, and if my RPM search fu
rsalz> isn't entirely off, the corresponding RPM package is perl-Carp-Always
rsalz> 
rsalz> Or install with cpan...
rsalz> 
rsalz> Okay.  Does this add a new dependency for openssl?  Maybe
rsalz> reconsider the approach --  Things seemed acceptable before the
rsalz> latest change.  Or maybe print STDERR ?

No, I'm asking you to install a module that can help us figure out the
problem, to be used temporarly.  I'm not making OpenSSL dependent on
Carp::Always.

rsalz> ; sudo cpan install perl-Carp-Always

Ah, I should have told you.  The correct invocation is:

sudo cpan Carp::Always

-- 
Richard Levitte levi...@openssl.org
OpenSSL Project http://www.openssl.org/~levitte/
___
openssl-project mailing list
openssl-project@openssl.org
https://mta.openssl.org/mailman/listinfo/openssl-project

Re: [openssl-project] master is broken?

2018-07-24 Thread Salz, Rich


On 7/24/18, 1:42 PM, "Richard Levitte"  wrote:

Would you mind installing it?  The package is called
libcarp-always-perl on Debian and derivates, and if my RPM search fu
isn't entirely off, the corresponding RPM package is perl-Carp-Always

Or install with cpan...

Okay.  Does this add a new dependency for openssl?  Maybe reconsider the 
approach --  Things seemed acceptable before the latest change.  Or maybe print 
STDERR ?

; sudo cpan install perl-Carp-Always
Loading internal null logger. Install Log::Log4perl for logging messages
CPAN: Storable loaded ok (v2.41)
Reading '/home/rsalz/.cpan/Metadata'
  Database was generated on Tue, 24 Jul 2018 17:17:02 GMT
;

No what?  Running "./config -d" still gives the same error message output and 
this:
; PERL5OPT=-MCarp::Always ./config
Operating system: x86_64-whatever-linux2
Can't locate Carp/Always.pm in @INC (you may need to install the Carp::Always 
module) (@INC contains: /etc/perl /usr/local/lib/perl/5.18.2 
/usr/local/share/perl/5.18.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.18 
/usr/share/perl/5.18 /usr/local/lib/site_perl .).
BEGIN failed--compilation aborted.
You need Perl 5.
exit 1
;




___
openssl-project mailing list
openssl-project@openssl.org
https://mta.openssl.org/mailman/listinfo/openssl-project

Re: [openssl-project] master is broken?

2018-07-24 Thread Richard Levitte
Would you mind installing it?  The package is called
libcarp-always-perl on Debian and derivates, and if my RPM search fu
isn't entirely off, the corresponding RPM package is perl-Carp-Always

Or install with cpan...

In message  on Tue, 24 Jul 
2018 17:36:49 +, "Salz, Rich"  said:

rsalz> ; env | grep PERL
rsalz> ; PERL5OPT=-MCarp::Always ./config
rsalz> Operating system: x86_64-whatever-linux2
rsalz> Can't locate Carp/Always.pm in @INC (you may need to install the 
Carp::Always module) (@INC contains: /etc/perl /usr/local/lib/perl/5.18.2 
/usr/local/share/perl/5.18.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.18 
/usr/share/perl/5.18 /usr/local/lib/site_perl .).
rsalz> BEGIN failed--compilation aborted.
rsalz> You need Perl 5.
rsalz> exit 1
rsalz> ; perl -v 
rsalz> 
rsalz> This is perl 5, version 18, subversion 2 (v5.18.2) built for 
x86_64-linux-gnu-thread-multi
rsalz> (with 52 registered patches, see perl -V for more detail)
rsalz> 
rsalz> Copyright 1987-2013, Larry Wall
rsalz> 
rsalz> Perl may be copied only under the terms of either the Artistic License 
or the
rsalz> GNU General Public License, which may be found in the Perl 5 source kit.
rsalz> 
rsalz> Complete documentation for Perl, including FAQ lists, should be found on
rsalz> this system using "man perl" or "perldoc perl".  If you have access to 
the
rsalz> Internet, point your browser at http://www.perl.org/, the Perl Home Page.
rsalz> 
rsalz> ;
rsalz> 
rsalz> On 7/24/18, 1:33 PM, "Richard Levitte"  wrote:
rsalz> 
rsalz> PERL5OPT=-MCarp::Always ./config
rsalz> 
rsalz> ___
rsalz> openssl-project mailing list
rsalz> openssl-project@openssl.org
rsalz> https://mta.openssl.org/mailman/listinfo/openssl-project
___
openssl-project mailing list
openssl-project@openssl.org
https://mta.openssl.org/mailman/listinfo/openssl-project

Re: [openssl-project] master is broken?

2018-07-24 Thread Salz, Rich
; env | grep PERL
; PERL5OPT=-MCarp::Always ./config
Operating system: x86_64-whatever-linux2
Can't locate Carp/Always.pm in @INC (you may need to install the Carp::Always 
module) (@INC contains: /etc/perl /usr/local/lib/perl/5.18.2 
/usr/local/share/perl/5.18.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.18 
/usr/share/perl/5.18 /usr/local/lib/site_perl .).
BEGIN failed--compilation aborted.
You need Perl 5.
exit 1
; perl -v 

This is perl 5, version 18, subversion 2 (v5.18.2) built for 
x86_64-linux-gnu-thread-multi
(with 52 registered patches, see perl -V for more detail)

Copyright 1987-2013, Larry Wall

Perl may be copied only under the terms of either the Artistic License or the
GNU General Public License, which may be found in the Perl 5 source kit.

Complete documentation for Perl, including FAQ lists, should be found on
this system using "man perl" or "perldoc perl".  If you have access to the
Internet, point your browser at http://www.perl.org/, the Perl Home Page.

;

On 7/24/18, 1:33 PM, "Richard Levitte"  wrote:

PERL5OPT=-MCarp::Always ./config

___
openssl-project mailing list
openssl-project@openssl.org
https://mta.openssl.org/mailman/listinfo/openssl-project

Re: [openssl-project] master is broken?

2018-07-24 Thread Richard Levitte
I can't reproduce, but looking into using Carp::Always uncovered a
couple of bugs, which I'm submitting a PR for.  When that is merged,
you should be able to do this, and get a stack trace every time the
death handler is called:

PERL5OPT=-MCarp::Always ./config

BTW, would you be so kind and check the value of $PERL5OPT for me?
That might be relevant...

Cheers,
Richard

In message <21fe7178-6410-48f4-ad17-152454de0...@akamai.com> on Tue, 24 Jul 
2018 16:49:24 +, "Salz, Rich"  said:

rsalz> ; g status
rsalz> On branch master
rsalz> Your branch is up-to-date with 'origin/master'.
rsalz> nothing to commit, working directory clean
rsalz> ; g pull
rsalz> Current branch master is up to date.
rsalz> ;
rsalz> 
rsalz> ; ./config
rsalz> Operating system: x86_64-whatever-linux2
rsalz> Configuring OpenSSL version 1.1.1-pre9-dev (0x10101009L) for linux-x86_64
rsalz> Using os-specific seed configuration
rsalz> 
rsalz> Failure!  build file wasn't produced.
rsalz> Please read INSTALL and associated NOTES files.  You may also have to 
look over
rsalz> your available compiler tool chain or change your configuration.
rsalz> 
rsalz> 
rsalz> Failure!  build file wasn't produced.
rsalz> Please read INSTALL and associated NOTES files.  You may also have to 
look over
rsalz> your available compiler tool chain or change your configuration.
rsalz> 
rsalz> 
rsalz> Failure!  build file wasn't produced.
rsalz> Please read INSTALL and associated NOTES files.  You may also have to 
look over
rsalz> your available compiler tool chain or change your configuration.
rsalz> 
rsalz> Creating configdata.pm
rsalz> Creating Makefile
rsalz> 
rsalz> **
rsalz> ******
rsalz> ***   If you want to report a building issue, please include the   ***
rsalz> ***   output from this command:***
rsalz> ******
rsalz> *** perl configdata.pm --dump  ***
rsalz> ******
rsalz> **
rsalz> ;
rsalz> ; perl configdata.pm --dump
rsalz> 
rsalz> Command line (with current working directory = .):
rsalz> 
rsalz> /usr/bin/perl ./Configure linux-x86_64
rsalz> 
rsalz> Perl information:
rsalz> 
rsalz> /usr/bin/perl
rsalz> 5.18.2 for x86_64-linux-gnu-thread-multi
rsalz> 
rsalz> Enabled features:
rsalz> 
rsalz> aria
rsalz> asm
rsalz> async
rsalz> autoalginit
rsalz> autoerrinit
rsalz> autoload-config
rsalz> bf
rsalz> blake2
rsalz> camellia
rsalz> capieng
rsalz> cast
rsalz> chacha
rsalz> cmac
rsalz> cms
rsalz> comp
rsalz> ct
rsalz> deprecated
rsalz> des
rsalz> dgram
rsalz> dh
rsalz> dsa
rsalz> dso
rsalz> dtls
rsalz> dynamic-engine
rsalz> ec
rsalz> ec2m
rsalz> ecdh
rsalz> ecdsa
rsalz> engine
rsalz> err
rsalz> filenames
rsalz> gost
rsalz> hw(-.+)?
rsalz> idea
rsalz> makedepend
rsalz> md4
rsalz> mdc2
rsalz> multiblock
rsalz> nextprotoneg
rsalz> ocb
rsalz> ocsp
rsalz> pic
rsalz> poly1305
rsalz> posix-io
rsalz> psk
rsalz> rc2
rsalz> rc4
rsalz> rdrand
rsalz> rfc3779
rsalz> rmd160
rsalz> scrypt
rsalz> seed
rsalz> shared
rsalz> siphash
rsalz> sm2
rsalz> sm3
rsalz> sm4
rsalz> sock
rsalz> srp
rsalz> srtp
rsalz> sse2
rsalz> ssl
rsalz> static-engine
rsalz> stdio
rsalz> tests
rsalz> threads
rsalz> tls
rsalz> ts
rsalz> ui-console
rsalz> whirlpool
rsalz> tls1
rsalz> tls1-method
rsalz> tls1_1
rsalz> tls1_1-method
rsalz> tls1_2
rsalz> tls1_2-method
rsalz> tls1_3
rsalz> dtls1
rsalz> dtls1-method
rsalz> dtls1_2
rsalz> dtls1_2-method
rsalz> 
rsalz> Disabled features:
rsalz> 
rsalz> afalgeng[too-old-kernel]
rsalz> asan[default]OPENSSL_NO_ASAN
rsalz> crypto-mdebug   [default]OPENSSL_NO_CRYPTO_MDEBUG
rsalz> crypto-mdebug-backtrace [default]
OPENSSL_NO_CRYPTO_MDEBUG_BACKTRACE
rsalz> devcryptoeng[default]OPENSSL_NO_DEVCRYPTOENG
rsalz> ec_nistp_64_gcc_128 [default]
OPENSSL_NO_EC_NISTP_64_GCC_128
rsalz> egd [default]OPENSSL_NO_EGD
rsalz> external-tests  [default]OPENSSL_NO_EXTERNAL_TESTS
rsalz> fuzz-libfuzzer  [default]OPENSSL_NO_FUZZ_LIBFUZZER
rsalz> fuzz-afl[default]OPENSSL_NO_FUZZ_AFL
rsalz> heartbeats  [default]OPENSSL_NO_HEARTBEATS
rsalz> md2 [default]OPENSSL_NO_MD2 (skip 
crypto/md2)
rsalz> ms

[openssl-project] master is broken?

2018-07-24 Thread Salz, Rich
; g status
On branch master
Your branch is up-to-date with 'origin/master'.
nothing to commit, working directory clean
; g pull
Current branch master is up to date.
;

; ./config
Operating system: x86_64-whatever-linux2
Configuring OpenSSL version 1.1.1-pre9-dev (0x10101009L) for linux-x86_64
Using os-specific seed configuration

Failure!  build file wasn't produced.
Please read INSTALL and associated NOTES files.  You may also have to look over
your available compiler tool chain or change your configuration.


Failure!  build file wasn't produced.
Please read INSTALL and associated NOTES files.  You may also have to look over
your available compiler tool chain or change your configuration.


Failure!  build file wasn't produced.
Please read INSTALL and associated NOTES files.  You may also have to look over
your available compiler tool chain or change your configuration.

Creating configdata.pm
Creating Makefile

**
******
***   If you want to report a building issue, please include the   ***
***   output from this command:***
******
*** perl configdata.pm --dump  ***
******
**
;
; perl configdata.pm --dump

Command line (with current working directory = .):

/usr/bin/perl ./Configure linux-x86_64

Perl information:

/usr/bin/perl
5.18.2 for x86_64-linux-gnu-thread-multi

Enabled features:

aria
asm
async
autoalginit
autoerrinit
autoload-config
bf
blake2
camellia
capieng
cast
chacha
cmac
cms
comp
ct
deprecated
des
dgram
dh
dsa
dso
dtls
dynamic-engine
ec
ec2m
ecdh
ecdsa
engine
err
filenames
gost
hw(-.+)?
idea
makedepend
md4
mdc2
multiblock
nextprotoneg
ocb
ocsp
pic
poly1305
posix-io
psk
rc2
rc4
rdrand
rfc3779
rmd160
scrypt
seed
shared
siphash
sm2
sm3
sm4
sock
srp
srtp
sse2
ssl
static-engine
stdio
tests
threads
tls
ts
ui-console
whirlpool
tls1
tls1-method
tls1_1
tls1_1-method
tls1_2
tls1_2-method
tls1_3
dtls1
dtls1-method
dtls1_2
dtls1_2-method

Disabled features:

afalgeng[too-old-kernel]
asan[default]OPENSSL_NO_ASAN
crypto-mdebug   [default]OPENSSL_NO_CRYPTO_MDEBUG
crypto-mdebug-backtrace [default]OPENSSL_NO_CRYPTO_MDEBUG_BACKTRACE
devcryptoeng[default]OPENSSL_NO_DEVCRYPTOENG
ec_nistp_64_gcc_128 [default]OPENSSL_NO_EC_NISTP_64_GCC_128
egd [default]OPENSSL_NO_EGD
external-tests  [default]OPENSSL_NO_EXTERNAL_TESTS
fuzz-libfuzzer  [default]OPENSSL_NO_FUZZ_LIBFUZZER
fuzz-afl[default]OPENSSL_NO_FUZZ_AFL
heartbeats  [default]OPENSSL_NO_HEARTBEATS
md2 [default]OPENSSL_NO_MD2 (skip crypto/md2)
msan[default]OPENSSL_NO_MSAN
rc5 [default]OPENSSL_NO_RC5 (skip crypto/rc5)
sctp[default]OPENSSL_NO_SCTP
ssl-trace   [default]OPENSSL_NO_SSL_TRACE
tls13downgrade  [default]OPENSSL_NO_TLS13DOWNGRADE
ubsan   [default]OPENSSL_NO_UBSAN
unit-test   [default]OPENSSL_NO_UNIT_TEST
weak-ssl-ciphers[default]OPENSSL_NO_WEAK_SSL_CIPHERS
zlib[default]
zlib-dynamic[default]
ssl3[default]OPENSSL_NO_SSL3
ssl3-method [default]OPENSSL_NO_SSL3_METHOD

Config target attributes:

AR => "ar",
ARFLAGS => "r",
CC => "gcc",
CFLAGS => "-Wall -O3",
CXX => "g++",
CXXFLAGS => "-Wall -O3",
HASHBANGPERL => "/usr/bin/env perl",
RANLIB => "ranlib",
RC => "windres",
aes_asm_src => "aes-x86_64.s vpaes-x86_64.s bsaes-x86_64.s aesni-x86_64.s 
aesni-sha1-x86_64.s aesni-sha256-x86_64.s aesni-mb-x86_64.s",
aes_obj => "aes-x86_64.o vpaes-x86_64.o bsaes-x86_64.o aesni-x86_64.o 
aesni-sha1-x86_64.o aesni-sha256-x86_64.o aesni-mb-x86_64.o",
apps_aux_src => "",
apps_init_src => "",
apps_obj => "",
bf_asm_src => "bf_enc.c",
bf_obj => "bf_enc.o",
bn_asm_src => "asm/x86_64-gcc.c x86_64-mont.s x86_64-mont5.s x86_64-gf2m.s 
rsaz_exp.c rsaz-x86_64.s rsaz-avx2.s",
bn_obj => "asm/x86_64-gcc.o x86_64-mont.o x