<?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>8488</bug_id>
          
          <creation_ts>2015-10-12 11:34:33 +0000</creation_ts>
          <short_desc>Collect variable information for the image scope</short_desc>
          <delta_ts>2023-12-14 04:24:55 +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>Toaster</product>
          <component>toaster</component>
          <version>1.8</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard>GUI design pending   </status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>Future</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Belen Barros Pena">belen.barros.pena</reporter>
          <assigned_to name="Toaster default assignee">toaster</assigned_to>
          <cc>belen.barros.pena</cc>
    
    <cc>david.reyna</cc>
    
    <cc>jessica.zhang</cc>
    
    <cc>jose.perez.carranza</cc>
    
    <cc>philip</cc>
    
    <cc>stanciux.mihail</cc>
          
          
          <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>55168</commentid>
    <comment_count>0</comment_count>
    <who name="Belen Barros Pena">belen.barros.pena</who>
    <bug_when>2015-10-12 11:34:33 +0000</bug_when>
    <thetext>While at ELCE, I sat down with one of the OE contributors to look at one of their builds, which I&apos;d run with Toaster. While looking at the build data, we realised that the recipe dependency information was incomplete: it was missing the package dependencies specified in the image recipe file with CORE_IMAGE_EXTRA_INSTALL. You can see them here

https://github.com/balister/meta-sdr/blob/master/recipes-images/images/gnuradio-demo-image.bb

Currently, Toaster displays only build dependencies for recipes (which are always other recipes), and runtime dependencies for packages (which are always other packages). But in order to fully be able to unravel why a certain package was installed in an image, we also need to display any dependencies between recipes and packages, and reverse dependencies between packages and recipes. 

According to Paul, in order to do so Toaster will need to collect and store variable information for the image scope (we currently only collect information for the global scope).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>55169</commentid>
    <comment_count>1</comment_count>
    <who name="Belen Barros Pena">belen.barros.pena</who>
    <bug_when>2015-10-12 11:46:50 +0000</bug_when>
    <thetext>For some background information, this is the image and data that prompted this feature request.

1. Build gnuradio-demo-image from the meta-sdr layer using Toaster (with the master release). You will need the following layers in your configuration

openembedded-core
meta-xilinx
meta-oe
meta-sdr
meta-filesystems
meta-networking
meta-python

Set the DISTRO to &apos;nodistro&apos;, and add the following variable

DISTRO_FEATURES_append

with value

opengl x11 

You will need to type an space before &apos;opengl&apos;

2. Once the build is done, in the list of packages installed, search for mariadb and in the list of results, check the reverse dependencies of &apos;libmysqlclient&apos;. From those, select &apos;php-cgi&apos;. 

The reverse dependencies of php-cgi are empty, but in the recipe file at

https://github.com/balister/meta-sdr/blob/master/recipes-images/images/gnur
adio-demo-image.bb

you can see that the image file appends &apos;php-cgi&apos; to CORE_IMAGE_EXTRA_INSTALL. 

The OE contributor expected to see the gnuradio-demo-image recipe listed as a reverse dependency of the php-cgi package.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>55170</commentid>
    <comment_count>2</comment_count>
    <who name="Belen Barros Pena">belen.barros.pena</who>
    <bug_when>2015-10-12 11:49:56 +0000</bug_when>
    <thetext>forgot one step you&apos;ll need to run the gnuradio-demo-image build: set the machine to zedboard-zynq7</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>