<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>8872</bug_id>
          
          <creation_ts>2016-01-05 16:54:16 +0000</creation_ts>
          <short_desc>openssl is broken by meta-fsl-ppc</short_desc>
          <delta_ts>2016-01-08 13:40:31 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>7</classification_id>
          <classification>Build System, Metadata &amp; Runtime</classification>
          <product>BSPs</product>
          <component>bsps-meta-fsl-ppc</component>
          <version>2.0</version>
          <rep_platform>All</rep_platform>
          <op_sys>ppc</op_sys>
          <bug_status>VERIFIED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium+</priority>
          <bug_severity>major</bug_severity>
          <target_milestone>2.1 M2</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Ross Burton">ross.burton</reporter>
          <assigned_to name="Zhenhua Luo">zhenhua.luo</assigned_to>
          <cc>alexandru.c.georgescu</cc>
    
    <cc>otavio</cc>
    
    <cc>zhenhua.luo</cc>
          
          <qa_contact name="Alexandru Georgescu">alexandru.c.georgescu</qa_contact>
          <cf_os>---</cf_os>
          <cf_regression_type>Regression (Used to work)</cf_regression_type>
          
          <cf_docchange>No (bug/feature does not impact docs)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>57541</commentid>
    <comment_count>0</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2016-01-05 16:54:16 +0000</bug_when>
    <thetext>The openssl recipe in meta-fsl-ppc is breaking on the autobuilder.  For example, http://errors.yoctoproject.org/Errors/Details/25920/.

make[2]: Entering directory &apos;/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-fsl-ppc/build/build/tmp/work/ppce500v2-poky-linux-gnuspe/openssl/1.0.1i-r0/openssl-1.0.1i/crypto/engine&apos;
powerpc-poky-linux-gnuspe-gcc  -m32 -mcpu=8548 -mabi=spe -mspe -mfloat-gprs=double --sysroot=/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-fsl-ppc/build/build/tmp/sysroots/p1022ds -I.. -I../.. -I../modes -I../asn1 -I../evp -I../../include  -fPIC -DOPENSSL_PIC -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -DHAVE_CRYPTODEV -DOPENSSL_BN_ASM_MONT -DSHA1_ASM -DSHA256_ASM -DAES_ASM   -c -o eng_cryptodev.o eng_cryptodev.c
eng_cryptodev.c:263:4: error: &apos;CRYPTO_TLS10_3DES_CBC_HMAC_SHA1&apos; undeclared here (not in a function)
  { CRYPTO_TLS10_3DES_CBC_HMAC_SHA1, NID_des_ede3_cbc_hmac_sha1, 8, 24, 20},
    ^
eng_cryptodev.c:264:4: error: &apos;CRYPTO_TLS10_AES_CBC_HMAC_SHA1&apos; undeclared here (not in a function)
  { CRYPTO_TLS10_AES_CBC_HMAC_SHA1, NID_aes_128_cbc_hmac_sha1, 16, 16, 20},
    ^
eng_cryptodev.c:266:4: error: &apos;CRYPTO_TLS11_3DES_CBC_HMAC_SHA1&apos; undeclared here (not in a function)
  { CRYPTO_TLS11_3DES_CBC_HMAC_SHA1, NID_tls11_des_ede3_cbc_hmac_sha1, 8, 24, 20},
    ^
eng_cryptodev.c:267:4: error: &apos;CRYPTO_TLS11_AES_CBC_HMAC_SHA1&apos; undeclared here (not in a function)
  { CRYPTO_TLS11_AES_CBC_HMAC_SHA1, NID_tls11_aes_128_cbc_hmac_sha1, 16, 16, 20},
    ^
eng_cryptodev.c:269:4: error: &apos;CRYPTO_TLS12_3DES_CBC_HMAC_SHA1&apos; undeclared here (not in a function)
  { CRYPTO_TLS12_3DES_CBC_HMAC_SHA1, NID_tls12_des_ede3_cbc_hmac_sha1, 8, 24, 20},
    ^
eng_cryptodev.c:270:4: error: &apos;CRYPTO_TLS12_AES_CBC_HMAC_SHA1&apos; undeclared here (not in a function)
  { CRYPTO_TLS12_AES_CBC_HMAC_SHA1, NID_tls12_aes_128_cbc_hmac_sha1, 16, 16, 20},
    ^
eng_cryptodev.c:272:4: error: &apos;CRYPTO_TLS12_AES_CBC_HMAC_SHA256&apos; undeclared here (not in a function)
  { CRYPTO_TLS12_AES_CBC_HMAC_SHA256, NID_tls12_aes_128_cbc_hmac_sha256, 16, 16, 32},
    ^
eng_cryptodev.c: In function &apos;cryptodev_asym_async&apos;:
eng_cryptodev.c:1741:35: error: &apos;struct crypt_kop&apos; has no member named &apos;cookie&apos;
  struct pkc_cookie_s *cookie = kop-&gt;cookie;
                                   ^
...

MACHINE=p1022ds, building openssl 1.0.1i from meta-fsl-ppc.  For what it&apos;s worth, oe-core has openssl 1.0.2e.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>57580</commentid>
    <comment_count>1</comment_count>
    <who name="Zhenhua Luo">zhenhua.luo</who>
    <bug_when>2016-01-06 13:43:07 +0000</bug_when>
    <thetext>The patch is submitted. 

http://patches.openembedded.org/patch/111473/</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>57666</commentid>
    <comment_count>2</comment_count>
    <who name="Zhenhua Luo">zhenhua.luo</who>
    <bug_when>2016-01-08 10:07:01 +0000</bug_when>
    <thetext>The patch is merged. 

http://git.yoctoproject.org/cgit/cgit.cgi/meta-fsl-ppc/commit/?id=8c63bbe69d68a7b094ab8ab1b87ea0795f52d486</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>57673</commentid>
    <comment_count>3</comment_count>
    <who name="Alexandru Georgescu">alexandru.c.georgescu</who>
    <bug_when>2016-01-08 13:40:31 +0000</bug_when>
    <thetext>(In reply to comment #2)
&gt; The patch is merged. 
&gt; 
&gt; http://git.yoctoproject.org/cgit/cgit.cgi/meta-fsl-ppc/commit/
&gt; ?id=8c63bbe69d68a7b094ab8ab1b87ea0795f52d486

The issue was fixed
https://autobuilder.yoctoproject.org/main/builders/nightly-fsl-ppc/builds/581</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>