<?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>9568</bug_id>
          
          <creation_ts>2016-05-02 21:22:25 +0000</creation_ts>
          <short_desc>bbexample recipe fails to build unless PARALLEL_MAKE is disabled</short_desc>
          <delta_ts>2016-05-09 08:41:56 +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>BitBake</product>
          <component>bitbake</component>
          <version>2.1</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>NOTABUG</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>minor</bug_severity>
          <target_milestone>2.2</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Henry Bruce">henry.bruce</reporter>
          <assigned_to name="Joshua Lock">joshuagloe</assigned_to>
          <cc>poky.bs.watcher</cc>
    
    <cc>poky.watcher</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>61860</commentid>
    <comment_count>0</comment_count>
    <who name="Henry Bruce">henry.bruce</who>
    <bug_when>2016-05-02 21:22:25 +0000</bug_when>
    <thetext>bbexample is a simple autotools sample project. It is used in a recipe tutorial on yocto project wiki. See https://wiki.yoctoproject.org/wiki/Building_your_own_recipes_from_first_principles. This tutorial has a recipe with the line PARALLEL_MAKE = &quot;&quot; which allows the project to build. No explanation is given as to why this is necessary. If this entry is removed, build fails with error 
make[1]: *** No rule to make target &apos;.libs/libbbexample.la&apos;, needed by &apos;bbexample&apos;.  Stop.

If &apos;devtool add&apos; is used to generate recipe it does not add the PARALLEL_MAKE so build fails.

Expected behavior
-----------------
run &apos;devtool add bbexample https://github.com/DynamicDevices/bbexample.git&apos;
run &apos;devtool build bbexample&apos; and observe successful build

Observed behavior
-----------------
run &apos;devtool add bbexample https://github.com/DynamicDevices/bbexample.git&apos;
run &apos;devtool build bbexample&apos; and observe above failure</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>61992</commentid>
    <comment_count>1</comment_count>
    <who name="Henry Bruce">henry.bruce</who>
    <bug_when>2016-05-05 17:11:33 +0000</bug_when>
    <thetext>Can someone that understands autotools explain *why* this is happening?
Source is at https://github.com/DynamicDevices/bbexample</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>61993</commentid>
    <comment_count>2</comment_count>
    <who name="Henry Bruce">henry.bruce</who>
    <bug_when>2016-05-05 17:29:11 +0000</bug_when>
    <thetext>Stupid question on the *why* bit. Posted in a moment of weakness. Please ignore.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>62028</commentid>
    <comment_count>3</comment_count>
    <who name="Henry Bruce">henry.bruce</who>
    <bug_when>2016-05-06 21:26:22 +0000</bug_when>
    <thetext>I tracked this down to a missing dependency statement in Makefile.am.

This project was a poor choice for use in the &quot;Building your own recipes from first principles&quot; article in the yoctoproject wiki but is not a bitbake bug.

I have forked bbexample and issued a pull request that fixes the problem, but I&apos;m not sure if project is being maintained. If I don&apos;t get a response within a week or so, I&apos;ll change wiki to point to my fork.

Please close as &quot;not a bug&quot;.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>62035</commentid>
    <comment_count>4</comment_count>
    <who name="Joshua Lock">joshuagloe</who>
    <bug_when>2016-05-09 08:41:56 +0000</bug_when>
    <thetext>Thanks for following through on this Henry. Resolving &quot;NOTABUG&quot; as requested.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>