<?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>1155</bug_id>
          
          <creation_ts>2011-06-09 16:37:53 +0000</creation_ts>
          <short_desc>git-native compilations fails for a clean build</short_desc>
          <delta_ts>2011-07-25 08:21:31 +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>Meta-yocto</product>
          <component>meta-yocto</component>
          <version>unspecified</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></status_whiteboard>
          <keywords></keywords>
          <priority>Undecided</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Joshua Lock - Disabled">josh</reporter>
          <assigned_to name="Dexuan Cui">dexuan.cui</assigned_to>
          <cc>dexuan.cui</cc>
    
    <cc>poky.bs.watcher</cc>
    
    <cc>poky.watcher</cc>
    
    <cc>richard.purdie</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>14239</commentid>
    <comment_count>0</comment_count>
    <who name="Joshua Lock - Disabled">josh</who>
    <bug_when>2011-06-09 16:37:53 +0000</bug_when>
    <thetext>Host is Fedora 15 i686 with master as of GMT Thu Jun 9 17:56:23 (1b53eef2769d1b5e4ff527ccabf9b700afc02220).

Building git-native results in the following compilation error:

ERROR: Logfile of failure stored in: /home/joshual/Projects/Yocto/poky/build/tmp/work/i686-linux/git-native-1.7.5.1-r1/temp/log.do_compile.8900
Log data follows:
| NOTE: make -j 2
| GIT_VERSION = 1.7.5.1
|     * new build flags or prefix
|     GEN common-cmds.h
|     CC hex.o
|     CC ident.o
|     CC levenshtein.o
|     CC list-objects.o
|     CC ll-merge.o
|     CC lockfile.o
|     CC log-tree.o
|     CC mailmap.o
|     CC match-trees.o
|     CC merge-file.o
|     CC merge-recursive.o
|     CC name-hash.o
|     CC notes.o
|     CC notes-cache.o
|     CC notes-merge.o
|     CC object.o
|     CC pack-check.o
|     CC pack-refs.o
|     CC pack-revindex.o
|     CC pack-write.o
|     CC pager.o
|     CC parse-options.o
|     CC patch-delta.o
|     CC patch-ids.o
|     CC path.o
|     CC pkt-line.o
|     CC preload-index.o
|     CC pretty.o
|     CC progress.o
|     CC quote.o
|     CC reachable.o
|     CC read-cache.o
|     CC reflog-walk.o
|     CC refs.o
|     CC remote.o
|     CC replace_object.o
|     CC rerere.o
|     CC resolve-undo.o
|     CC revision.o
|     CC run-command.o
|     CC server-info.o
|     CC setup.o
|     CC sha1-lookup.o
|     CC sha1_file.o
|     CC sha1_name.o
|     CC shallow.o
|     CC sideband.o
|     CC sigchain.o
|     CC strbuf.o
|     CC string-list.o
|     CC submodule.o
|     CC symlinks.o
|     CC tag.o
|     CC trace.o
|     CC transport.o
|     CC transport-helper.o
|     CC tree-diff.o
|     CC tree.o
|     CC tree-walk.o
|     CC unpack-trees.o
|     CC url.o
|     CC usage.o
|     CC userdiff.o
|     CC utf8.o
|     CC walker.o
|     CC wrapper.o
|     CC write_or_die.o
|     CC ws.o
|     CC wt-status.o
|     CC xdiff-interface.o
|     CC zlib.o
|     CC thread-utils.o
|     CC compat/fopen.o
|     CC compat/strlcpy.o
|     CC xdiff/xdiffi.o
|     CC xdiff/xprepare.o
|     CC xdiff/xutils.o
|     CC xdiff/xemit.o
|     CC xdiff/xmerge.o
|     CC xdiff/xpatience.o
|     CC fast-import.o
|     CC imap-send.o
|     CC shell.o
|     CC show-index.o
|     CC upload-pack.o
|     CC http-backend.o
|     CC http.o
|     CC http-walker.o
|     CC http-fetch.o
|     CC http-push.o
|     CC remote-curl.o
|     GEN git-am
|     GEN git-bisect
|     GEN git-difftool--helper
|     GEN git-filter-branch
|     GEN git-lost-found
|     GEN git-merge-octopus
|     GEN git-merge-one-file
|     GEN git-merge-resolve
|     GEN git-mergetool
|     GEN git-pull
|     GEN git-quiltimport
|     GEN git-rebase--interactive
|     GEN git-rebase
|     GEN git-repack
|     GEN git-request-pull
|     GEN git-stash
|     GEN git-submodule
|     GEN git-web--browse
|     SUBDIR perl
| /usr/bin/perl Makefile.PL PREFIX=&apos;/home/joshual/Projects/Yocto/poky/build/tmp/sysroots/i686-linux/usr&apos; INSTALL_BASE=&apos;&apos;
|     GEN git-remote-testgit
| Can&apos;t locate ExtUtils/MakeMaker.pm in @INC (@INC contains: /usr/local/lib/perl5 /usr/local/share/perl5 /usr/lib/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib/perl5 /usr/share/perl5 .) at Makefile.PL line 1.
| BEGIN failed--compilation aborted at Makefile.PL line 1.
| make[1]: *** [perl.mak] Error 2
| make: *** [perl/perl.mak] Error 2
| make: *** Waiting for unfinished jobs....</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>14240</commentid>
    <comment_count>1</comment_count>
    <who name="Joshua Lock - Disabled">josh</who>
    <bug_when>2011-06-09 17:06:49 +0000</bug_when>
    <thetext>Oh, I see. This is because git-native DEPEND on perl-native-runtime. i.e. the host perl?

If so we need to add perl-ExtUtils-MakeMaker to the host package requirements.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>14251</commentid>
    <comment_count>2</comment_count>
    <who name="Dexuan Cui">dexuan.cui</who>
    <bug_when>2011-06-10 00:32:56 +0000</bug_when>
    <thetext>(In reply to comment #1)
&gt; Oh, I see. This is because git-native DEPEND on perl-native-runtime. i.e. the
&gt; host perl?
Yes.

&gt; If so we need to add perl-ExtUtils-MakeMaker to the host package requirements.

It might be inappropriate to &quot;add perl-ExtUtils-MakeMaker to the host package requirements&quot;?
Looks git should depend on perl-native?

I&apos;ve made a patch http://git.pokylinux.org/cgit/cgit.cgi/poky-contrib/commit/?h=dcui/distro&amp;id=79356a51507f1872199ba38262b749277633b4d4.
Please review it.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>14287</commentid>
    <comment_count>3</comment_count>
    <who name="Dexuan Cui">dexuan.cui</who>
    <bug_when>2011-06-14 17:54:02 +0000</bug_when>
    <thetext>(In reply to comment #2)
&gt; (In reply to comment #1)
&gt; &gt; Oh, I see. This is because git-native DEPEND on perl-native-runtime. i.e. the
&gt; &gt; host perl?
&gt; Yes.
&gt; &gt; If so we need to add perl-ExtUtils-MakeMaker to the host package requirements.
&gt; It might be inappropriate to &quot;add perl-ExtUtils-MakeMaker to the host package
&gt; requirements&quot;?

&gt; Looks git should depend on perl-native?
Finally we added the perl-native dependency to git-native and the patch has been in poky master:
http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=218bcd597d4ba7b0a51f8e09bd7bff5e610676e4</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>14288</commentid>
    <comment_count>4</comment_count>
    <who name="Dexuan Cui">dexuan.cui</who>
    <bug_when>2011-06-14 17:56:49 +0000</bug_when>
    <thetext>(In reply to comment #3)
&gt; (In reply to comment #2)
&gt; &gt; (In reply to comment #1)
&gt; &gt; &gt; Oh, I see. This is because git-native DEPEND on perl-native-runtime. i.e. the
&gt; &gt; &gt; host perl?
&gt; &gt; Yes.
&gt; &gt; &gt; If so we need to add perl-ExtUtils-MakeMaker to the host package requirements.
&gt; &gt; It might be inappropriate to &quot;add perl-ExtUtils-MakeMaker to the host package
&gt; &gt; requirements&quot;?
&gt; &gt; Looks git should depend on perl-native?
&gt; Finally we added the perl-native dependency to git-native and the patch has
&gt; been in poky master:
&gt; http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=218bcd597d4ba7b0a51f8e09bd7bff5e610676e4

So let me mark it FIXED.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>14973</commentid>
    <comment_count>5</comment_count>
    <who name="Joshua Lock - Disabled">josh</who>
    <bug_when>2011-07-25 08:21:31 +0000</bug_when>
    <thetext>Verify fixed</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>