<?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>9709</bug_id>
          
          <creation_ts>2016-06-05 21:35:22 +0000</creation_ts>
          <short_desc>systemtap has non-deterministic build dependencies</short_desc>
          <delta_ts>2016-07-29 15:13: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>devtools / tool chain</component>
          <version>2.1</version>
          <rep_platform>All</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</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.2 M2</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Ross Burton">ross.burton</reporter>
          <assigned_to name="Ross Burton">ross.burton</assigned_to>
          <cc>jose.perez.carranza</cc>
    
    <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
          
          <qa_contact name="Libertad">libertad.gonzalez.de.la.cruz</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>62644</commentid>
    <comment_count>0</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2016-06-05 21:35:22 +0000</bug_when>
    <thetext>Do a rebuild of systemtap 3 with a clean sysroot and some runtime dependencies disappear:

packages/corei7-64-poky-linux/systemtap/systemtap: RDEPENDS: removed &quot;ncurses-libtinfo ([&apos;&gt;= 6.0+20160213&apos;]) ncurses-libncurses ([&apos;&gt;= 6.0+20160213&apos;]) readline ([&apos;&gt;= 6.3&apos;]) json-c ([&apos;&gt;= 0.12&apos;])&quot;

(not sure why the sanity checks didn&apos;t catch this)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>62645</commentid>
    <comment_count>1</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2016-06-05 21:51:35 +0000</bug_when>
    <thetext>Interestingly json-c is an explicit DEPENDS and ncurses is somehow a task dependency as shown my adding some debugging:

WARNING: systemtap-3.0-r0 do_package_qa: got taskdeps {&apos;gettext-native&apos;, &apos;readline-native&apos;, &apos;unifdef-native&apos;, &apos;gettext&apos;, &apos;gettext-minimal-native&apos;, &apos;readline&apos;, &apos;elfutils&apos;, &apos;gdbm&apos;, &apos;glibc&apos;, &apos;libmpc-native&apos;, &apos;texinfo-dummy-native&apos;, &apos;pkgconfig-native&apos;, &apos;binutils-cross-x86_64&apos;, &apos;gcc-runtime&apos;, &apos;python3&apos;, &apos;libtool&apos;, &apos;cryptodev-linux&apos;, &apos;systemd-systemctl-native&apos;, &apos;autoconf-native&apos;, &apos;acl-native&apos;, &apos;mpfr-native&apos;, &apos;pseudo-native&apos;, &apos;zlib-native&apos;, &apos;bison-native&apos;, &apos;xz-native&apos;, &apos;pigz-native&apos;, &apos;sqlite3-native&apos;, &apos;gcc-cross-initial-x86_64&apos;, &apos;libgcc-initial&apos;, &apos;linux-libc-headers&apos;, &apos;elfutils-native&apos;, &apos;libgcc&apos;, &apos;bash&apos;, &apos;bzip2&apos;, &apos;gcc-source-6.1.1&apos;, &apos;zlib&apos;, &apos;xz&apos;, &apos;python-native&apos;, &apos;expat-native&apos;, &apos;bzip2-native&apos;, &apos;prelink-native&apos;, &apos;quilt-native&apos;, &apos;systemtap&apos;, &apos;json-c&apos;, &apos;binutils-native&apos;, &apos;opkg-utils&apos;, &apos;gnu-config-native&apos;, &apos;systemtap-native&apos;, &apos;python3-native&apos;, &apos;automake-native&apos;, &apos;gmp-native&apos;, &apos;gperf-native&apos;, &apos;db&apos;, &apos;popt-native&apos;, &apos;openssl&apos;, &apos;libtool-cross&apos;, &apos;ncurses-native&apos;, &apos;libtool-native&apos;, &apos;libffi&apos;, &apos;openssl-native&apos;, &apos;attr-native&apos;, &apos;glibc-initial&apos;, &apos;ncurses&apos;, &apos;sqlite3&apos;, &apos;libpcre-native&apos;, &apos;rpm-native&apos;, &apos;byacc-native&apos;, &apos;gcc-cross-x86_64&apos;, &apos;flex-native&apos;, &apos;cryptodev-linux-native&apos;, &apos;file-native&apos;, &apos;ossp-uuid-native&apos;, &apos;m4-native&apos;, &apos;db-native&apos;, &apos;expat&apos;}

(via rpm?)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>62899</commentid>
    <comment_count>2</comment_count>
    <who name="Alexander Kanavin">alex.kanavin</who>
    <bug_when>2016-06-10 15:06:59 +0000</bug_when>
    <thetext>systemtap has a floating dependency on ncurses, but when ncurses is available, its absence from DEPENDS is not reported by QA - I&apos;ll try to debug this.

json-c is linked against only when ncurses is also present.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>62904</commentid>
    <comment_count>3</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2016-06-10 16:58:30 +0000</bug_when>
    <thetext>The sanity test doesn&apos;t catch this as it can&apos;t catch all problems by design, and rewriting it would be rather tricky.

I&apos;ve a patch to just add ncurses to DEPENDS.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>63176</commentid>
    <comment_count>4</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2016-06-21 11:06:01 +0000</bug_when>
    <thetext>Fixed in oe-core 2fdd2c1434e7c741b8048145bd460c68bea7ee53.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>