<?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>7533</bug_id>
          
          <creation_ts>2015-03-27 16:14:23 +0000</creation_ts>
          <short_desc>eclipse-plugin build scripts don&apos;t fail correctly.</short_desc>
          <delta_ts>2016-07-07 14:45:12 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>6</classification_id>
          <classification>Yocto Project Subprojects</classification>
          <product>Eclipse Plugin</product>
          <component>eclipse-plugin</component>
          <version>2.2</version>
          <rep_platform>x86</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>
          
          <blocked>7628</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Beth Flanagan">elizabeth.flanagan</reporter>
          <assigned_to name="Tim Orling">tim.orling</assigned_to>
          <cc>bogdanx.a.voiculescu</cc>
    
    <cc>ioanax.grigoropol</cc>
    
    <cc>todor.minchev</cc>
    
    <cc>yp.ep.watcher</cc>
    
    <cc>yp.watcher</cc>
          
          <qa_contact name="Valentin Hangan">valentinx.hangan</qa_contact>
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>Don&apos;t know</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>49876</commentid>
    <comment_count>0</comment_count>
    <who name="Beth Flanagan">elizabeth.flanagan</who>
    <bug_when>2015-03-27 16:14:23 +0000</bug_when>
    <thetext>The AB doesn&apos;t know when failures occur because the build scripts aren&apos;t passing failures back. Example. generate-docs.sh has been failure for 2 releases now and we never knew about it.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>63488</commentid>
    <comment_count>1</comment_count>
    <who name="Tim Orling">tim.orling</who>
    <bug_when>2016-06-29 22:59:35 +0000</bug_when>
    <thetext>The following build had a failure of the generate-docs.sh script (in this case because xsltproc was not installed on that AB machine).

https://autobuilder.yoctoproject.org/main/builders/eclipse-plugin-kepler/builds/843/steps/Building%20Eclipse%20Plugin/logs/stdio

Bill and I have a possible fix (for the generate-doc.sh script reporting failures), which is under test.

General concept:

for DOC in ${DOCS}; do
    make DOC=${DOC} eclipse
&gt;&gt;    if [ $? -ne 0 ]; then
&gt;&gt;        fail($? make DOC failed)
&gt;&gt;    fi  
    cp -rf ${DOC}/eclipse/html/* ${DOC_HTML_DIR}
    cp -f ${DOC}/eclipse/${DOC}-toc.xml ${DOC_HTML_DIR}
done</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>63542</commentid>
    <comment_count>2</comment_count>
    <who name="Tim Orling">tim.orling</who>
    <bug_when>2016-06-30 16:30:19 +0000</bug_when>
    <thetext>Patch sent to yocto ML.

Steps to easily test a failure:

1. sudo chmod -x /usr/bin/xsltproc
2. build the plugin
3. build fails
4. sudo chmod +x /usr/bin/xsltproc
5. build passes

In this case, the scripts/generate-doc.sh needed to check the result of &quot;make&quot; and scripts/build.sh needed to check the result of the generate-doc.sh script.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>63719</commentid>
    <comment_count>3</comment_count>
    <who name="Tim Orling">tim.orling</who>
    <bug_when>2016-07-07 14:45:12 +0000</bug_when>
    <thetext>Merged.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>