<?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>1664</bug_id>
          
          <creation_ts>2011-10-09 09:08:59 +0000</creation_ts>
          <short_desc>texinfo do_compile fail due to makedoc binary not executable</short_desc>
          <delta_ts>2011-12-15 14:03:12 +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>core</component>
          <version>unspecified</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>1.2</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Jiajun Xu">jiajun.xu</reporter>
          <assigned_to name="Saul Wold">sgw</assigned_to>
          <cc>josh</cc>
    
    <cc>ke.yu</cc>
    
    <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>sgw</cc>
    
    <cc>wenhuax.fan</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>16807</commentid>
    <comment_count>0</comment_count>
    <who name="Jiajun Xu">jiajun.xu</who>
    <bug_when>2011-10-09 09:08:59 +0000</bug_when>
    <thetext>tree/branch: poky/edison
commit: 5ed59ae0f25bf673d514df2371da7e0415b62bb2

The issue blocks all build testing against target &quot;world&quot;. When building texinfo, it needs invoke a run-time generated binary - makedoc, which is consistent with the target OS we are building. It will report &quot;cannot execute binary file&quot; when building within yocto.

Error log as below:
##########
NOTE: package texinfo-4.13a-r1: task do_compile: Started
ERROR: Function &apos;do_compile&apos; failed (see /home/jxu49/osel/poky/lib64-core-image-qemux86-64-rpm/tmp/work/x86_64-poky-linux/texinfo-4.13a-r1/temp/log.do_compile.28038 for further information)
ERROR: Logfile of failure stored in: /home/jxu49/osel/poky/lib64-core-image-qemux86-64-rpm/tmp/work/x86_64-poky-linux/texinfo-4.13a-r1/temp/log.do_compile.28038
Log data follows:
| DEBUG: SITE files [&apos;endian-little&apos;, &apos;common-linux&apos;, &apos;common-glibc&apos;, &apos;bit-64&apos;, &apos;x86_64-linux&apos;, &apos;common&apos;]
| NOTE: make -j 9
| make  all-recursive
| make[1]: Entering directory `/home/jxu49/osel/poky/lib64-core-image-qemux86-64-rpm/tmp/work/x86_64-poky-linux/texinfo-4.13a-r1/texinfo-4.13&apos;
| Making all in gnulib/lib
| make[2]: Entering directory `/home/jxu49/osel/poky/lib64-core-image-qemux86-64-rpm/tmp/work/x86_64-poky-linux/texinfo-4.13a-r1/texinfo-4.13/gnulib/lib&apos;
| make  all-am
| make[3]: Entering directory `/home/jxu49/osel/poky/lib64-core-image-qemux86-64-rpm/tmp/work/x86_64-poky-linux/texinfo-4.13a-r1/texinfo-4.13/gnulib/lib&apos;
| make[3]: Nothing to be done for `all-am&apos;.
| make[3]: Leaving directory `/home/jxu49/osel/poky/lib64-core-image-qemux86-64-rpm/tmp/work/x86_64-poky-linux/texinfo-4.13a-r1/texinfo-4.13/gnulib/lib&apos;
| make[2]: Leaving directory `/home/jxu49/osel/poky/lib64-core-image-qemux86-64-rpm/tmp/work/x86_64-poky-linux/texinfo-4.13a-r1/texinfo-4.13/gnulib/lib&apos;
| Making all in lib
| make[2]: Entering directory `/home/jxu49/osel/poky/lib64-core-image-qemux86-64-rpm/tmp/work/x86_64-poky-linux/texinfo-4.13a-r1/texinfo-4.13/lib&apos;
| make[2]: Nothing to be done for `all&apos;.
| make[2]: Leaving directory `/home/jxu49/osel/poky/lib64-core-image-qemux86-64-rpm/tmp/work/x86_64-poky-linux/texinfo-4.13a-r1/texinfo-4.13/lib&apos;
| Making all in install-info
| make[2]: Entering directory `/home/jxu49/osel/poky/lib64-core-image-qemux86-64-rpm/tmp/work/x86_64-poky-linux/texinfo-4.13a-r1/texinfo-4.13/install-info&apos;
| Making all in tests
| make[3]: Entering directory `/home/jxu49/osel/poky/lib64-core-image-qemux86-64-rpm/tmp/work/x86_64-poky-linux/texinfo-4.13a-r1/texinfo-4.13/install-info/tests&apos;
| make[3]: Nothing to be done for `all&apos;.
| make[3]: Leaving directory `/home/jxu49/osel/poky/lib64-core-image-qemux86-64-rpm/tmp/work/x86_64-poky-linux/texinfo-4.13a-r1/texinfo-4.13/install-info/tests&apos;
| make[3]: Entering directory `/home/jxu49/osel/poky/lib64-core-image-qemux86-64-rpm/tmp/work/x86_64-poky-linux/texinfo-4.13a-r1/texinfo-4.13/install-info&apos;
| make[3]: Nothing to be done for `all-am&apos;.
| make[3]: Leaving directory `/home/jxu49/osel/poky/lib64-core-image-qemux86-64-rpm/tmp/work/x86_64-poky-linux/texinfo-4.13a-r1/texinfo-4.13/install-info&apos;
| make[2]: Leaving directory `/home/jxu49/osel/poky/lib64-core-image-qemux86-64-rpm/tmp/work/x86_64-poky-linux/texinfo-4.13a-r1/texinfo-4.13/install-info&apos;
| Making all in info
| make[2]: Entering directory `/home/jxu49/osel/poky/lib64-core-image-qemux86-64-rpm/tmp/work/x86_64-poky-linux/texinfo-4.13a-r1/texinfo-4.13/info&apos;
| rm -f doc.c key.c funs.h
| ..//info/makedoc ./session.c ./echo-area.c ./infodoc.c ./m-x.c ./indices.c ./nodemenu.c ./footnotes.c ./variables.c
| ..//info/makedoc: ..//info/makedoc: cannot execute binary file
| make[2]: *** [funs.h] Error 126
| make[2]: Leaving directory `/home/jxu49/osel/poky/lib64-core-image-qemux86-64-rpm/tmp/work/x86_64-poky-linux/texinfo-4.13a-r1/texinfo-4.13/info&apos;
| make[1]: *** [all-recursive] Error 1
| make[1]: Leaving directory `/home/jxu49/osel/poky/lib64-core-image-qemux86-64-rpm/tmp/work/x86_64-poky-linux/texinfo-4.13a-r1/texinfo-4.13&apos;
| make: *** [all] Error 2
| ERROR: oe_runmake failed
| ERROR: Function &apos;do_compile&apos; failed (see /home/jxu49/osel/poky/lib64-core-image-qemux86-64-rpm/tmp/work/x86_64-poky-linux/texinfo-4.13a-r1/temp/log.do_compile.28038 for further information)
NOTE: package texinfo-4.13a-r1: task do_compile: Failed
ERROR: Task 4 (/home/jxu49/osel/poky/meta/recipes-extended/texinfo/texinfo_4.13a.bb, do_compile) failed with exit code &apos;1&apos;
ERROR: &apos;/home/jxu49/osel/poky/meta/recipes-extended/texinfo/texinfo_4.13a.bb&apos; failed
##########</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>16887</commentid>
    <comment_count>1</comment_count>
    <who name="Saul Wold">sgw</who>
    <bug_when>2011-10-15 16:10:04 +0000</bug_when>
    <thetext>texinfo is primarily used as a native application, I can see that when it&apos;s building the makedoc is build for the target and then used natively, this is clearly incorrect, texinfo has a dependency on texinfo-native and may need to be modified further to find that makedoc native binary</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>17670</commentid>
    <comment_count>2</comment_count>
    <who name="Saul Wold">sgw</who>
    <bug_when>2011-12-15 09:25:13 +0000</bug_when>
    <thetext>This commit adds the makedoc binary to the native install

http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=4f0092f7e42cd252573df0ff06ac2cc3573d1237</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>17680</commentid>
    <comment_count>3</comment_count>
    <who name="Saul Wold">sgw</who>
    <bug_when>2011-12-15 14:03:12 +0000</bug_when>
    <thetext>
Second commit, that removed texinfo-native from ASSUME_PROVIDES so we can build the -native version and install the tools needed.

http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=ba006ea934088ae4322909e8f45458755300e591</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>