<?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>9723</bug_id>
          
          <creation_ts>2016-06-07 14:59:38 +0000</creation_ts>
          <short_desc>yocto-bsp create fails with &apos;raw_input&apos; is not defined error</short_desc>
          <delta_ts>2016-06-17 19:44:18 +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>Scripts and Tools</component>
          <version>2.2</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>Medium+</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>2.2 M1</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Humberto Ibarra">humberto.ibarra.lopez</reporter>
          <assigned_to name="Humberto Ibarra">humberto.ibarra.lopez</assigned_to>
          <cc>jose.perez.carranza</cc>
    
    <cc>leonardo.sandoval.gonzalez</cc>
    
    <cc>ross.burton</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>62705</commentid>
    <comment_count>0</comment_count>
    <who name="Humberto Ibarra">humberto.ibarra.lopez</who>
    <bug_when>2016-06-07 14:59:38 +0000</bug_when>
    <thetext>Get this error when trying to create a new BSP. I was able to reproduce the problem in all the arch I tested.

[humberto@jhibarra-MOBL1 build]$ yocto-bsp create myqemui386 qemu
Checking basic git connectivity...
Done.

Which qemu architecture would you like to use? [default: i386]
	1) i386    (32-bit)
	2) x86_64  (64-bit)
	3) ARM     (32-bit)
	4) PowerPC (32-bit)
	5) MIPS    (32-bit)
	6) MIPS64  (64-bit)
1
Traceback (most recent call last):
  File &quot;/home/humberto/poky_test/scripts/yocto-bsp&quot;, line 150, in &lt;module&gt;
    ret = main()
  File &quot;/home/humberto/poky_test/scripts/yocto-bsp&quot;, line 145, in main
    invoke_subcommand(args, parser, yocto_bsp_help_usage, subcommands)
  File &quot;/home/humberto/poky_test/scripts/lib/bsp/help.py&quot;, line 73, in invoke_subcommand
    subcommands.get(args[0], subcommand_error)[0](args[1:], usage)
  File &quot;/home/humberto/poky_test/scripts/yocto-bsp&quot;, line 89, in yocto_bsp_create_subcommand
    yocto_bsp_create(machine, karch, scripts_path, bsp_output_dir, options.codedump, options.properties_file)
  File &quot;/home/humberto/poky_test/scripts/lib/bsp/engine.py&quot;, line 1615, in yocto_bsp_create
    yocto_common_create(machine, arch, scripts_path, bsp_output_dir, codedump, properties_file, properties)
  File &quot;/home/humberto/poky_test/scripts/lib/bsp/engine.py&quot;, line 1582, in yocto_common_create
    run_program_lines(program_lines, codedump)
  File &quot;/home/humberto/poky_test/scripts/lib/bsp/engine.py&quot;, line 1365, in run_program_lines
    exec(buf)
  File &quot;&lt;string&gt;&quot;, line 90, in &lt;module&gt;
NameError: name &apos;raw_input&apos; is not defined</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>62856</commentid>
    <comment_count>1</comment_count>
    <who name="Humberto Ibarra">humberto.ibarra.lopez</who>
    <bug_when>2016-06-09 17:08:33 +0000</bug_when>
    <thetext>Sent patches:

http://lists.openembedded.org/pipermail/openembedded-core/2016-June/122650.html
http://lists.openembedded.org/pipermail/openembedded-core/2016-June/122651.html
http://lists.openembedded.org/pipermail/openembedded-core/2016-June/122652.html
http://lists.openembedded.org/pipermail/openembedded-core/2016-June/122653.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>62931</commentid>
    <comment_count>2</comment_count>
    <who name="Humberto Ibarra">humberto.ibarra.lopez</who>
    <bug_when>2016-06-13 16:45:27 +0000</bug_when>
    <thetext>Already in master:

http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=dd20de9c3e70628612db1ebab36bf25fa5d80779
http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=7fc6c4581476699243c1e1fa4d7fcee26385b642
http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=a1a0ce1a0064e29159555011ebd667192132e0ce</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>63124</commentid>
    <comment_count>3</comment_count>
    <who name="Jose Perez C">jose.perez.carranza</who>
    <bug_when>2016-06-17 19:44:18 +0000</bug_when>
    <thetext>This is working as expected now 

Validated on:  commit 7b9e1f5ad8a427356f2ec516b1718138a7d3c64e


********************************
New qemu BSP created in meta-myqemui386</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>