[openssl-dev] Openssl-SNAP-20160315 issue Re: Openssl-SNAP-20160314 Re: Openssl SNAP 20160313 issue Re: OPenSSL SNAP 20160312 issue

The Doctor doctor at doctor.nl2k.ab.ca
Wed Mar 16 18:26:29 UTC 2016


On Tue, Mar 15, 2016 at 10:13:50PM +0100, Richard Levitte wrote:
> In message <20160315205022.GA26917 at doctor.nl2k.ab.ca> on Tue, 15 Mar 2016 14:50:22 -0600, The Doctor <doctor at doctor.nl2k.ab.ca> said:
> 
> doctor> On Tue, Mar 15, 2016 at 09:22:49PM +0100, Richard Levitte wrote:
> doctor> > In message <20160315200107.GA12050 at doctor.nl2k.ab.ca> on Tue, 15 Mar 2016 14:01:07 -0600, The Doctor <doctor at doctor.nl2k.ab.ca> said:
> doctor> > 
> doctor> > doctor> On Tue, Mar 15, 2016 at 06:09:08PM +0100, Richard Levitte wrote:
> doctor> > doctor> > In message <20160315153241.GA3975 at doctor.nl2k.ab.ca> on Tue, 15 Mar 2016 09:32:42 -0600, The Doctor <doctor at doctor.nl2k.ab.ca> said:
> doctor> > doctor> > 
> doctor> > doctor> > doctor> On Mon, Mar 14, 2016 at 09:02:56AM -0600, The Doctor wrote:
> doctor> > doctor> > doctor> > //usr/source/openssl-SNAP-20160314$ make
> doctor> > doctor> > doctor> > make: don't know how to make crypto/aes/aes_cfb.o:crypto/aes/aes_cfb.o:. Stop 
> doctor> > doctor> > doctor> > 
> doctor> > doctor> > doctor> > I got a bit compiled until this happened.
> doctor> > doctor> > doctor> > 
> doctor> > doctor> > doctor> > Last working package was
> doctor> > doctor> > doctor> > 
> doctor> > doctor> > doctor> > openssl-SNAP-20160311 .
> doctor> > doctor> > doctor> >
> doctor> > doctor> > doctor> 
> doctor> > doctor> > doctor> Still the same issue with openssl-SNAP-20160315 . 
> doctor> > doctor> > doctor> 
> doctor> > doctor> > doctor> What is the problem with  crypto/aes/aes_cfb.o
> doctor> > doctor> > doctor> ??
> doctor> > doctor> > 
> doctor> > doctor> > Hmmm, the seems like an issue with dependency making, somehow.
> doctor> > doctor> > 
> doctor> > doctor> > could you run this command and send me the result (I hope your grep
> doctor> > doctor> > understands -A and -B, which is used to display a number of lines
> doctor> > doctor> > After and Before a match)?
> doctor> > doctor> > 
> doctor> > doctor> > $ grep -A5 -B5 aes_cfb.o:crypto Makefile
> doctor> > doctor> >
> doctor> > doctor> 
> doctor> > doctor> The result is
> doctor> > doctor> 
> doctor> > doctor> crypto/comp/c_zlib.o:crypto/comp/c_zlib.o: crypto/comp/comp_lcl.h
> doctor> > doctor> # DO NOT DELETE
> doctor> > doctor> 
> doctor> > doctor> crypto/aes/aes_cfb.o: include/openssl/aes.h
> doctor> > doctor> crypto/aes/aes_cfb.o: include/openssl/opensslconf.h
> doctor> > doctor> crypto/aes/aes_cfb.o:crypto/aes/aes_cfb.o:crypto/aes/aes_cfb.o: include/openssl/modes.h
> doctor> > doctor> # DO NOT DELETE
> doctor> > doctor> 
> doctor> > doctor> crypto/asn1/asn_mstbl.o:crypto/asn1/asn_mstbl.o:crypto/asn1/asn_mstbl.o:crypto/asn1/asn_mstbl.o:crypto/asn1/asn_mstbl.o:crypto/asn1/asn_mstbl.o:crypto/asn1/asn_mstbl.o:crypto/asn1/asn_mstbl.o:crypto/asn1/asn_mstbl.o:crypto/asn1/asn_mstbl.o:crypto/asn1/asn_mstbl.o: include/openssl/crypto.h
> doctor> > doctor> crypto/asn1/asn_mstbl.o:crypto/asn1/asn_mstbl.o:crypto/asn1/asn_mstbl.o:crypto/asn1/asn_mstbl.o: include/openssl/e_os2.h
> doctor> > doctor> crypto/asn1/asn_mstbl.o: include/openssl/opensslconf.h 
> doctor> > 
> doctor> > Ok, that's what I expected.  So there seems to be some odd interaction
> doctor> > between the makedepend and the post-processing perl snippet.
> doctor> > 
> doctor> > Could you do the following for me?
> doctor> > 
> doctor> > $ rm crypto/aes/aes_cfb.d
> doctor> > $ make crypto/aes/aes_cfb.d
> doctor> 
> doctor> We get
> doctor> 
> doctor> /usr/X11/bin/makedepend -fcrypto/aes/aes_cfb.d.tmp -o"|crypto/aes/aes_cfb.o" -- -DZLIB_SHARED -DDSO_DLFCN -DHAVE_DLFCN_H -DOPENSSL_THREADS -DOPENSSL_NO_STATIC_ENGINE -DOPENSSL_PIC -DOPENSSL_BN_ASM_PART_WORDS -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_GF2m -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DMD5_ASM -DRMD160_ASM -DAES_ASM -DGHASH_ASM -DECP_NISTZ256_ASM -DPOLY1305_ASM -DOPENSSLDIR="\"/usr/contrib\"" -DENGINESDIR="\"/usr/contrib/lib/engines\"" -DPERL5 -DL_ENDIAN -DTERMIOS -fomit-frame-pointer -O2 -march=i486 -Wall -g -fPIC -Iinclude -I. -Icrypto/include -- crypto/aes/aes_cfb.c  2>/dev/null
> doctor> perl -i -pe 's/^.*\|//; s/ \/(\\.|[^ ])*//;               # $_ = undef if (/: *$/ || /^(#.*| *)$/); # $_.="\n" unless !defined($_) or /\R$/g;' crypto/aes/aes_cfb.d.tmp    
> 
> Actually, that perl line explained the issue just fine.  Thanks, I
> know how to resolve this.
>
Just looked atthe Makefile.

May I suggest instead of using perl, use -${PERL} instead.

When I did a symbolic like to perl, that worked

Also  from my non-root account

HARNESS_VERBOSE=yes make tests TESTS='test_evp test_packet test_cms'           

yielded

../test/recipes/30-test_evp.t .....
1..1
Test line 2548: unexpected error KEY_MISMATCH
Expected: 77D6576238657B203B19CA42C18A0497F16B4844E3074AE8DFDFFA3FEDE21442FCD0069DED0948F8326A753A0FC81F17E8D3E0FB2E0D3628CF35E20C38D18906
Got:      1E206D019AE5CD5575A1CD9BD56AF7AF094ACC8A903E163BF22A417CC7073B7B864FE17944690473DBED7E2FAA5A42069150BE9FF727AC1A251E04E52537B961
Test line 2556: unexpected error KEY_MISMATCH
Expected: FDBABE1C9D3472007856E7190D01E9FE7C6AD7CBC8237830E77376634B3731622EAF30D92E22A3886FF109279D9830DAC727AFB94A83EE6D8360CBDFA2CC0640
Got:      4D0B8D57109EF588586B7812B70CD2FBD4DDE5F9AD1E45A17C565E24FE247DE986CA22CFDFF6C64346C62436F301EAE987A0E424B080EACB04E70830C3B9ACE0
Test line 2564: unexpected error KEY_MISMATCH
Expected: 7023BDCB3AFD7348461C06CD81FD38EBFDA8FBBA904F8E3EA9B543F6545DA1F2D5432955613F0FCF62D49705242A9AF9E61E85DC0D651E40DFCF017B45575887
Got:      BF7268686B9059DAA738213780F8EEE8BC2FDD65D50DE1298B5ED2142040DB72E0CC5C6649C682EB8BC998A70D1CA8BCB73FF7367C1027403201F663239520D6
480 tests completed with 3 errors, 0 skipped
not ok 1 - running evp_test evptests.txt

#   Failed test 'running evp_test evptests.txt'
#   at ../test/recipes/30-test_evp.t line 11.
# Looks like you failed 1 test of 1.
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/1 subtests
../test/recipes/70-test_packet.t ..
1..1
test_PACKET_buf_init() failed
not ok 1 - running packettest

#   Failed test 'running packettest'
#   at ../test/testlib/OpenSSL/Test/Simple.pm line 70.
# Looks like you failed 1 test of 1.
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/1 subtests
../test/recipes/80-test_cms.t .....
1..4
    1..15
Verification successful
    ok 1 - signed content DER format, RSA key
Verification successful
    ok 2 - signed detached content DER format, RSA key
Verification successful
    ok 3 - signed content test streaming BER format, RSA
Verification successful
    ok 4 - signed content DER format, DSA key
Verification successful
    ok 5 - signed detached content DER format, DSA key
Verification successful
    ok 6 - signed detached content DER format, add RSA signer
Verification successful
    ok 7 - signed content test streaming BER format, DSA key
Verification successful
    ok 8 - signed content test streaming BER format, 2 DSA and 2 RSA keys
Verification successful
    ok 9 - signed content test streaming BER format, 2 DSA and 2 RSA keys, no attributes
Verification successful
    ok 10 - signed content test streaming S/MIME format, 2 DSA and 2 RSA keys
Verification successful
    ok 11 - signed content test streaming multipart S/MIME format, 2 DSA and 2 RSA keys
    ok 12 - enveloped content test streaming S/MIME format, 3 recipients
    ok 13 - enveloped content test streaming S/MIME format, 3 recipients, 3rd used
    ok 14 - enveloped content test streaming S/MIME format, 3 recipients, key only used
    ok 15 - enveloped content test streaming S/MIME format, AES-256 cipher, 3 recipients
ok 1 - CMS => PKCS\#7 compatibility tests
#
    1..15
Verification successful
    ok 1 - signed content DER format, RSA key
Verification successful
    ok 2 - signed detached content DER format, RSA key
Verification successful
    ok 3 - signed content test streaming BER format, RSA
Verification successful
    ok 4 - signed content DER format, DSA key
Verification successful
    ok 5 - signed detached content DER format, DSA key
Verification successful
    ok 6 - signed detached content DER format, add RSA signer
Verification successful
    ok 7 - signed content test streaming BER format, DSA key
Verification successful
    ok 8 - signed content test streaming BER format, 2 DSA and 2 RSA keys
Verification successful
    ok 9 - signed content test streaming BER format, 2 DSA and 2 RSA keys, no attributes
Verification successful
    ok 10 - signed content test streaming S/MIME format, 2 DSA and 2 RSA keys
Verification successful
    ok 11 - signed content test streaming multipart S/MIME format, 2 DSA and 2 RSA keys
    ok 12 - enveloped content test streaming S/MIME format, 3 recipients
    ok 13 - enveloped content test streaming S/MIME format, 3 recipients, 3rd used
    ok 14 - enveloped content test streaming S/MIME format, 3 recipients, key only used
    ok 15 - enveloped content test streaming S/MIME format, AES-256 cipher, 3 recipients
ok 2 - CMS <= PKCS\#7 compatibility tests
#
    1..27
Verification successful
    ok 1 - signed content DER format, RSA key
Verification successful
    ok 2 - signed detached content DER format, RSA key
Verification successful
    ok 3 - signed content test streaming BER format, RSA
Verification successful
    ok 4 - signed content DER format, DSA key
Verification successful
    ok 5 - signed detached content DER format, DSA key
Verification successful
    ok 6 - signed detached content DER format, add RSA signer
Verification successful
    ok 7 - signed content test streaming BER format, DSA key
Verification successful
    ok 8 - signed content test streaming BER format, 2 DSA and 2 RSA keys
Verification successful
    ok 9 - signed content test streaming BER format, 2 DSA and 2 RSA keys, no attributes
Verification successful
    ok 10 - signed content test streaming S/MIME format, 2 DSA and 2 RSA keys
Verification successful
    ok 11 - signed content test streaming multipart S/MIME format, 2 DSA and 2 RSA keys
    ok 12 - enveloped content test streaming S/MIME format, 3 recipients
    ok 13 - enveloped content test streaming S/MIME format, 3 recipients, 3rd used
    ok 14 - enveloped content test streaming S/MIME format, 3 recipients, key only used
    ok 15 - enveloped content test streaming S/MIME format, AES-256 cipher, 3 recipients
Verification successful
    ok 16 - signed content test streaming BER format, 2 DSA and 2 RSA keys, keyid
Verification successful
    ok 17 - signed content test streaming PEM format, 2 DSA and 2 RSA keys
Verification successful
    ok 18 - signed content MIME format, RSA key, signed receipt request
Verification successful
    ok 19 - signed receipt MIME format, RSA key
    ok 20 - enveloped content test streaming S/MIME format, 3 recipients, keyid
    ok 21 - enveloped content test streaming PEM format, KEK
    ok 22 - enveloped content test streaming PEM format, KEK, key only
    ok 23 - data content test streaming PEM format
    ok 24 - encrypted content test streaming PEM format, 128 bit RC2 key
    ok 25 - encrypted content test streaming PEM format, 40 bit RC2 key
    ok 26 - encrypted content test streaming PEM format, triple DES key
    ok 27 - encrypted content test streaming PEM format, 128 bit AES key
ok 3 - CMS <=> CMS consistency tests
#
    1..11
Verification successful
    ok 1 - signed content test streaming PEM format, RSA keys, PSS signature
Verification successful
    ok 2 - signed content test streaming PEM format, RSA keys, PSS signature, no attributes
Verification successful
    ok 3 - signed content test streaming PEM format, RSA keys, PSS signature, SHA384 MGF1
    ok 4 - enveloped content test streaming S/MIME format, OAEP default parameters
    ok 5 - enveloped content test streaming S/MIME format, OAEP SHA256
    ok 6 - enveloped content test streaming S/MIME format, ECDH
    ok 7 - enveloped content test streaming S/MIME format, ECDH, key identifier
    ok 8 - enveloped content test streaming S/MIME format, ECDH, AES128, SHA256 KDF
    ok 9 - enveloped content test streaming S/MIME format, ECDH, K-283, cofactor DH
    ok 10 - enveloped content test streaming S/MIME format, X9.42 DH
Error creating CMS structure
135045376:error:2E068097:CMS routines:CMS_compress:unsupported compression algorithm:crypto/cms/cms_smime.c:879:
    not ok 11 - compressed content test streaming PEM format

    #   Failed test 'compressed content test streaming PEM format'
    #   at ../test/recipes/80-test_cms.t line 452.
    # Looks like you failed 1 test of 11.
not ok 4 - CMS <=> CMS consistency tests, modified key parameters
#

#   Failed test 'CMS <=> CMS consistency tests, modified key parameters
# '
#   at ../test/recipes/80-test_cms.t line 458.
# Looks like you failed 1 test of 4.
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/4 subtests

Test Summary Report
-------------------
../test/recipes/30-test_evp.t   (Wstat: 256 Tests: 1 Failed: 1)
  Failed test:  1
  Non-zero exit status: 1
../test/recipes/70-test_packet.t (Wstat: 256 Tests: 1 Failed: 1)
  Failed test:  1
  Non-zero exit status: 1
../test/recipes/80-test_cms.t   (Wstat: 256 Tests: 4 Failed: 1)
  Failed test:  4
  Non-zero exit status: 1
Files=3, Tests=6, 24 wallclock secs ( 0.15 usr  0.08 sys + 12.15 cusr 15.10 csys = 27.48 CPU)
Result: FAIL
Failed 3/3 test programs. 3/6 subtests failed.
*** Error code 1

Stop.                                              

The rest was fine.
 
> -- 
> Richard Levitte         levitte at openssl.org
> OpenSSL Project         http://www.openssl.org/~levitte/
> -- 
> openssl-dev mailing list
> To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-dev

-- 
Member - Liberal International This is doctor@@nl2k.ab.ca Ici doctor@@nl2k.ab.ca
God,Queen and country!Never Satan President Republic!Beware AntiChrist rising! 
http://www.fullyfollow.me/rootnl2k  Look at Psalms 14 and 53 on Atheism
Manitoba and Saskatchewan! Save your provinces in April! Vote Liberal!!


More information about the openssl-dev mailing list