<?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>3836</bug_id>
          
          <creation_ts>2013-02-04 01:57:11 +0000</creation_ts>
          <short_desc>menuconfig fails using SSTATE_MIRRORS and SOURCE_MIRROR_URL</short_desc>
          <delta_ts>2013-09-06 17:41:19 +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>1.3</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.3.2</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Daniel Morgan">daniel.kenji.morgan</reporter>
          <assigned_to name="Ross Burton">ross.burton</assigned_to>
          <cc>jessica.zhang</cc>
    
    <cc>poky.bs.watcher</cc>
    
    <cc>poky.watcher</cc>
    
    <cc>richard.purdie</cc>
    
    <cc>sgw</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>29486</commentid>
    <comment_count>0</comment_count>
    <who name="Daniel Morgan">daniel.kenji.morgan</who>
    <bug_when>2013-02-04 01:57:11 +0000</bug_when>
    <thetext>Using Poky 1.3 (danny) in a fresh environment (new project).

On host machine A, set machine target in local.conf to &quot;qemux86&quot; and enable BB_GENERATE_MIRROR_TARBALLS so the downloaded sources can be shared.

Run &quot;bitbake -c menuconfig virtual/kernel&quot; on host machine A.
Kernel configuration terminal starts up without any issues.

On host machine B, set machine target in local.conf to &quot;qemux86&quot; and SSTATE_MIRRORS/SOURCE_MIRROR_URL to utilize the sstate cache and downloaded sources saved on host machine A.

Run &quot;bitbake -c menuconfig virtual/kernel&quot; on host machine B.
Kernel configuration terminal terminates with the following error:

scripts/kconfig/mconf Kconfig
Error opening terminal: xterm.
make[1]: *** [menuconfig] Error 1
make: *** [menuconfig] Error 2
Command failed.
Press any key to continue...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>29523</commentid>
    <comment_count>1</comment_count>
    <who name="Saul Wold">sgw</who>
    <bug_when>2013-02-05 14:54:20 +0000</bug_when>
    <thetext>Can you provide some additional details about machine A and machine B, what OS are they running are they both the same ARCH (x86 vs x86-64). Can you confirm xterm is available on machine B?  Thanks</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>29550</commentid>
    <comment_count>2</comment_count>
    <who name="Daniel Morgan">daniel.kenji.morgan</who>
    <bug_when>2013-02-06 00:08:43 +0000</bug_when>
    <thetext>(In reply to comment #1)
&gt; Can you provide some additional details about machine A and machine B, what
&gt; OS are they running are they both the same ARCH (x86 vs x86-64). Can you
&gt; confirm xterm is available on machine B?  Thanks

Machine A:
Ubuntu 12.04.1 LTS (x86)

Machine B:
Ubuntu 12.04.1 LTS (x86)

&quot;bitbake -c menuconfig virtual/kernel&quot; brings up the kernel configuration terminal without any issues on host machine B when SSTATE_MIRRORS/SOURCE_MIRROR_URL aren&apos;t set in local.conf.
Therefore, xterm is definitely available on machine B.

Image builds are working fine on host machine B with SSTATE_MIRRORS/SOURCE_MIRROR_URL set in local.conf.
So I can only assume that this is an issue specific to the menuconfig task when sstate cache and source mirrors are utilized.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>29798</commentid>
    <comment_count>3</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2013-02-14 11:28:40 +0000</bug_when>
    <thetext>I have a suspicion this issue was fixed by or at the very least related to http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=1a80329b3fcf23ecc23e409a260b9b2182652f65

Could you check and see if that change resolves the problem?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>29854</commentid>
    <comment_count>4</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2013-02-15 12:37:52 +0000</bug_when>
    <thetext>I believe this is fixed in master. 1.3 would need a backport of the change if we choose to fix this there though. Reassign to 1.3 maintainer. I&apos;m assuming this patch does fix the problem, would be good to know either way. 

I&apos;m assuming you&apos;re using different build paths on the two machines. It may even reproduce on a single machine with different build directories.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>29938</commentid>
    <comment_count>5</comment_count>
    <who name="Daniel Morgan">daniel.kenji.morgan</who>
    <bug_when>2013-02-19 00:24:42 +0000</bug_when>
    <thetext>(In reply to comment #3)
&gt; I have a suspicion this issue was fixed by or at the very least related to
&gt; http://git.yoctoproject.org/cgit.cgi/poky/commit/
&gt; ?id=1a80329b3fcf23ecc23e409a260b9b2182652f65
&gt; 
&gt; Could you check and see if that change resolves the problem?

I can confirm this commit fixes the issue.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>31183</commentid>
    <comment_count>6</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2013-03-26 17:03:20 +0000</bug_when>
    <thetext>Merged to danny-next.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>32770</commentid>
    <comment_count>7</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2013-04-30 12:05:06 +0000</bug_when>
    <thetext>Wasn&apos;t actually merged!  Is now merged to my branch.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>36382</commentid>
    <comment_count>8</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2013-09-06 17:41:19 +0000</bug_when>
    <thetext>It&apos;s merged into oe-core:danny now.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>