<?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>6277</bug_id>
          
          <creation_ts>2014-05-07 15:57:24 +0000</creation_ts>
          <short_desc>nettle failed to build in nightly-multilib</short_desc>
          <delta_ts>2014-08-29 08:32:48 +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>OE-Core</product>
          <component>core</component>
          <version>1.7</version>
          <rep_platform>All</rep_platform>
          <op_sys>Multiple</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>normal</bug_severity>
          <target_milestone>1.7 M1</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Paul Eggleton">bluelightning</reporter>
          <assigned_to name="valentin">valentin.popa</assigned_to>
          <cc>alexandru.c.georgescu</cc>
    
    <cc>bogdanx.a.voiculescu</cc>
    
    <cc>jessica.zhang</cc>
    
    <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
          
          <qa_contact name="Andra Necula">andrax.g.necula</qa_contact>
          <cf_os>---</cf_os>
          <cf_regression_type>---</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>43150</commentid>
    <comment_count>0</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2014-05-07 15:57:24 +0000</bug_when>
    <thetext>I&apos;m not sure if this is a nettle component we should just disable (since a dependency chain of gnutls -&gt; nettle -&gt; openssl would obviously be undesirable) but in any case something is going wrong on the autobuilder:

| gcc  -I.. -I/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-multilib/build/build/tmp/work/x86_64-linux/nettle-native/2.7.1-r0/nettle-2.7.1 -isystem/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-multilib/build/build/tmp/sysroots/x86_64-linux/usr/include -DHAVE_CONFIG_H -isystem/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-multilib/build/build/tmp/sysroots/x86_64-linux/usr/include -O2 -pipe -ggdb3 -Wno-pointer-sign -Wall -W   -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes   -Wpointer-arith -Wbad-function-cast -Wnested-externs -fpic  -c /home/pokybuild/yocto-autobuilder/yocto-slave/nightly-multilib/build/build/tmp/work/x86_64-linux/nettle-native/2.7.1-r0/nettle-2.7.1/examples/next-prime.c &amp;&amp; true
| /home/pokybuild/yocto-autobuilder/yocto-slave/nightly-multilib/build/build/tmp/work/x86_64-linux/nettle-native/2.7.1-r0/nettle-2.7.1/examples/nettle-openssl.c:40:25: fatal error: openssl/aes.h: No such file or directory
|  #include &lt;openssl/aes.h&gt;
|                          ^
| compilation terminated.
| Makefile:44: recipe for target &apos;nettle-openssl.o&apos; failed
| make[1]: *** [nettle-openssl.o] Error 1

Full log:

https://autobuilder.yoctoproject.org/main/builders/nightly-multilib/builds/81/steps/BuildImages_4/logs/stdio</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>43176</commentid>
    <comment_count>1</comment_count>
    <who name="valentin">valentin.popa</who>
    <bug_when>2014-05-08 09:32:59 +0000</bug_when>
    <thetext>I&apos;ve tried to reproduce this on my localhost: with or without openssl(-native) built before nettle-native I cannot reproduce it. I had a look in configure: it checks for openssl/aes.h and if header is missing, it does not include openssl glue in benchmark program. I&apos;ll update this bug as soon as I find how to reproduce it.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>43177</commentid>
    <comment_count>2</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2014-05-08 10:43:10 +0000</bug_when>
    <thetext>You may not be able to reproduce it easily, but there is a clue there - if openssl/aes.h is there during configure and then not there during compile (which is possible since there&apos;s no dependency to ensure it&apos;s not in the middle of rebuilding OpenSSL at the same time) then this situation could happen. If this is indeed the issue I would suggest just forcing this particular functionality off, because adding a dependency on OpenSSL would be wrong in this case. Hopefully this is as simple as adding the appropriate configure argument.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>43178</commentid>
    <comment_count>3</comment_count>
    <who name="valentin">valentin.popa</who>
    <bug_when>2014-05-08 11:42:47 +0000</bug_when>
    <thetext>Also a bug in the configure script might exists so maybe adding --disable-openssl will have any effect.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>43261</commentid>
    <comment_count>4</comment_count>
    <who name="valentin">valentin.popa</who>
    <bug_when>2014-05-12 16:18:20 +0000</bug_when>
    <thetext>patch merged: http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=ebaf77dc730d2fdc58c06c16adf0f9ce474dbffc</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>45326</commentid>
    <comment_count>5</comment_count>
    <who name="Andra Necula">andrax.g.necula</who>
    <bug_when>2014-08-29 08:32:48 +0000</bug_when>
    <thetext>Verified 
Cheers! Andra</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>