<?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>2527</bug_id>
          
          <creation_ts>2012-06-01 12:46:38 +0000</creation_ts>
          <short_desc>grub-efi-native fails due to help2man script</short_desc>
          <delta_ts>2012-08-18 20:55: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>Other YP Layers</product>
          <component>layers</component>
          <version>1.3</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>VERIFIED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard>(patch review v2)</status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>major</bug_severity>
          <target_milestone>1.3 M3</target_milestone>
          
          <blocked>1919</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Paul Eggleton">bluelightning</reporter>
          <assigned_to name="Radu Moisan">radu.moisan</assigned_to>
          <cc>alexandru.c.georgescu</cc>
    
    <cc>dvhart</cc>
    
    <cc>hongnax.xu</cc>
    
    <cc>japier_07</cc>
    
    <cc>jiajun.xu</cc>
    
    <cc>laurentiu.serban</cc>
    
    <cc>meta.layer.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>ningx.ma</cc>
    
    <cc>yilongx.y.sun</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>---</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>21788</commentid>
    <comment_count>0</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2012-06-01 12:46:38 +0000</bug_when>
    <thetext>http://autobuilder.yoctoproject.org:8010/builders/cedartrail/builds/96

------------ snip -------------
| PATH=.:$PATH /srv/home/pokybuild/yocto-autobuilder/yocto-slave/cedartrail/build/scripts/help2man --section=1 -i ./docs/man/grub-mkrescue.h2m -o grub-mkrescue.1 grub-mkrescue
...
| make[2]: *** [grub-mkrescue.1] Error 1
------------ snip -------------

help2man is being invoked directly, and our fake help2man script returns an error (1) which is intended to force a fallback to proper manpages, but for grub-efi there is apparently no such fallback, and thus the build fails.

Incidentally it might be worth making our fake help2man script actually print something so we know exactly what&apos;s gone wrong.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>22472</commentid>
    <comment_count>1</comment_count>
    <who name="Javeir Arantes">japier_07</who>
    <bug_when>2012-06-21 16:10:15 +0000</bug_when>
    <thetext>Error with the grub-efi-native_1.99.bb of openembedded core, the description is in this link 

http://comments.gmane.org/gmane.linux.embedded.yocto.general/7102</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>22723</commentid>
    <comment_count>2</comment_count>
    <who name="Darren Hart">dvhart</who>
    <bug_when>2012-07-02 17:30:29 +0000</bug_when>
    <thetext>If grub-efi

+DEPENDS = &quot;help2man-native&quot;

Then why does our script come into play at all? Shouldn&apos;t it find the help2man-native we built?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>22732</commentid>
    <comment_count>3</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2012-07-02 20:01:26 +0000</bug_when>
    <thetext>That DEPENDS entry should not be there. Our help2man script comes out of the box, no need to build anything.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>23218</commentid>
    <comment_count>4</comment_count>
    <who name="Darren Hart">dvhart</who>
    <bug_when>2012-07-18 14:54:51 +0000</bug_when>
    <thetext>There is a workaround in place in master:

70067f082af279b58247467ec29283b310a1575e

I don&apos;t know if this is the proper fix or not.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>23223</commentid>
    <comment_count>5</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2012-07-18 15:43:29 +0000</bug_when>
    <thetext>From the description it looks like an ideal solution to me. I&apos;m guessing though that we should probably remove help2man-native from DEPENDS.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>23319</commentid>
    <comment_count>6</comment_count>
    <who name="Radu Moisan">radu.moisan</who>
    <bug_when>2012-07-20 11:23:15 +0000</bug_when>
    <thetext>cedartrail build ok now.
removed help2man dependency as suggested, patch pending review.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>23332</commentid>
    <comment_count>7</comment_count>
    <who name="Darren Hart">dvhart</who>
    <bug_when>2012-07-20 15:11:50 +0000</bug_when>
    <thetext>Please do not mark a bug as RESOLVED until the patch is pulled into master (or the approprirate stable branch). If someone finds a flaw with your patch, this could still sit in development for a while. When the patch is pulled in, then we change to RESOLVED/FIXED and copy a link to the commit (on git.yoctoproject.org) here in bugzilla.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>23361</commentid>
    <comment_count>8</comment_count>
    <who name="Radu Moisan">radu.moisan</who>
    <bug_when>2012-07-23 06:51:44 +0000</bug_when>
    <thetext>(In reply to comment #7)
&gt; Please do not mark a bug as RESOLVED until the patch is pulled into master
&gt; (or the approprirate stable branch). If someone finds a flaw with your
&gt; patch, this could still sit in development for a while. When the patch is
&gt; pulled in, then we change to RESOLVED/FIXED and copy a link to the commit
&gt; (on git.yoctoproject.org) here in bugzilla.

I moved the bug to RESOLVED only after the patch was merged, but did not paste a link in here.
The patch in master is 24340ed5d1f153610a0452e48babcadd4fc50b63</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>23392</commentid>
    <comment_count>9</comment_count>
    <who name="Darren Hart">dvhart</who>
    <bug_when>2012-07-23 15:56:55 +0000</bug_when>
    <thetext>(In reply to comment #8)
&gt; (In reply to comment #7)
&gt; &gt; Please do not mark a bug as RESOLVED until the patch is pulled into master
&gt; &gt; (or the approprirate stable branch). If someone finds a flaw with your
&gt; &gt; patch, this could still sit in development for a while. When the patch is
&gt; &gt; pulled in, then we change to RESOLVED/FIXED and copy a link to the commit
&gt; &gt; (on git.yoctoproject.org) here in bugzilla.
&gt; 
&gt; I moved the bug to RESOLVED only after the patch was merged, but did not
&gt; paste a link in here.
&gt; The patch in master is 24340ed5d1f153610a0452e48babcadd4fc50b63

OK, your comment above read &quot;patch pending review&quot;, which I took to mean it had not been merged yet. Great that it&apos;s in and this is done, Thanks!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>24174</commentid>
    <comment_count>10</comment_count>
    <who name="Laurentiu Serban">laurentiu.serban</who>
    <bug_when>2012-08-18 20:55:55 +0000</bug_when>
    <thetext>On autobuildert this is not reproduced anymore.
Setting this bug to verified for revision 8b8748c8f963900b83dc0fdd7757556f917fe4fd</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>