<?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>8906</bug_id>
          
          <creation_ts>2016-01-11 13:31:04 +0000</creation_ts>
          <short_desc>coreutils 6.9 isn&apos;t deterministic (non-GPLv3 build)</short_desc>
          <delta_ts>2016-05-09 13:37:27 +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>2.1</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>2.1 M3</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Ross Burton">ross.burton</reporter>
          <assigned_to name="Chen Qi">Qi.Chen</assigned_to>
          <cc>bogdanx.a.voiculescu</cc>
    
    <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
          
          <qa_contact name="Bogdan Alexandru Voiculescu">bogdanx.a.voiculescu</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>57709</commentid>
    <comment_count>0</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2016-01-11 13:31:04 +0000</bug_when>
    <thetext>The autobuilder run over the weekend failed in the non-GPLv3 buildset on coreutils:

/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-non-gpl3/build/build/tmp/work/i586-poky-linux/coreutils/6.9-r5/coreutils-6.9/lib/acl-internal.h:29:25: fatal error: acl/libacl.h: No such file or directory

http://errors.yoctoproject.org/Errors/Details/26652/

I&apos;ve manage to replicate this locally, the problem is that the acl PACKAGECONFIG doesn&apos;t set enough variables so it isn&apos;t deterministic: if acl is installed but the PACKAGECONFIG is disabled it still decides that libacl should be used.  You&apos;re then open to the race of acl being removed from the sysroot even though coreutils wants to link to it.

As Wind River tend to care about the no-GPLv3 option and you&apos;re listed as the maintainer of coreutils, would you be able to look into this?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>58482</commentid>
    <comment_count>1</comment_count>
    <who name="Chen Qi">Qi.Chen</who>
    <bug_when>2016-02-03 09:31:37 +0000</bug_when>
    <thetext>Just noticed this bug. I&apos;ll look into it ASAP.

// Qi</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>60139</commentid>
    <comment_count>2</comment_count>
    <who name="Chen Qi">Qi.Chen</who>
    <bug_when>2016-03-18 09:03:00 +0000</bug_when>
    <thetext>commit fad63e3ab42d03f0802e8d772b3d28ba9e704ced
Author: Chen Qi &lt;Qi.Chen@windriver.com&gt;
Date:   Tue Feb 16 15:06:05 2016 +0800

    coreutils: fix problem with acl for 6.9 version
    
    If &apos;acl&apos; is not in DISTRO_FEATURES, building coreutils 6.9 would sometimes
    fail. The problem could be reproduced by executing the following command.
    
    `bitbake acl &amp;&amp; bitbake coreutils -c configure &amp;&amp; bitbake acl -c cleansstate
    &amp;&amp; bitbake coreutils -c compile&apos;
    
    Fix this problem by setting the correct value for the &apos;acl&apos; PACKAGECONFIG.
    
    [YOCTO #8906]
    
    (From OE-Core rev: a9004ff3f8de83d22d9159a9f103e2773e927a0b)
    
    Signed-off-by: Chen Qi &lt;Qi.Chen@windriver.com&gt;
    Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>62044</commentid>
    <comment_count>3</comment_count>
    <who name="Bogdan Alexandru Voiculescu">bogdanx.a.voiculescu</who>
    <bug_when>2016-05-09 13:37:27 +0000</bug_when>
    <thetext>Not reproducible running `bitbake acl &amp;&amp; bitbake coreutils -c configure &amp;&amp; bitbake acl -c cleansstate    &amp;&amp; bitbake coreutils -c compile&apos;
on &quot;master:f7b520878babbaa7527151f22c031ae160512753&quot;</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>