<?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>3721</bug_id>
          
          <creation_ts>2013-01-15 07:17:41 +0000</creation_ts>
          <short_desc>package_deb.bbclass: change the arch&apos;s &quot;_&quot; to &quot;-&quot; in deb control</short_desc>
          <delta_ts>2013-03-21 02:50:25 +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>1.4</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>1.4 M4</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Hongxu Jia">hongxu.jia</reporter>
          <assigned_to name="Hongxu Jia">hongxu.jia</assigned_to>
          <cc>hongxu.jia</cc>
    
    <cc>jessica.zhang</cc>
    
    <cc>kai.kang</cc>
    
    <cc>liang.li2</cc>
    
    <cc>liezhi.yang</cc>
    
    <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>Qi.Chen</cc>
    
    <cc>sgw</cc>
    
    <cc>yi.zhao</cc>
    
    <cc>zhenfeng.zhao</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>28827</commentid>
    <comment_count>0</comment_count>
    <who name="Hongxu Jia">hongxu.jia</who>
    <bug_when>2013-01-15 07:17:41 +0000</bug_when>
    <thetext>*Env
The arch of build system is x86_64
vim conf/local.conf
BB_NUMBER_THREADS = &quot;8&quot;
PARALLEL_MAKE = &quot;-j 8&quot;
PACKAGE_CLASSES ?= &quot;package_deb&quot;

*problem
1. Download poky source and prepare the build environment
2. Run &quot;bitbake meta-toolchain-sdk&quot; and vim log.do_populate_sdk:
install deb package which name with &quot;x86_64&quot; is failed.
&gt;&gt;log&lt;&lt;
|Selecting previously unselected package nativesdk-perl-module-bytes.
|Unpacking nativesdk-perl-module-bytes (from .../nativesdk-perl-modul
 e-bytes_5.14.2-r17_x86_64.deb) ...
|dpkg: warning: parsing file &apos;/buildarea2/hongxujia/build-20130111-de
 b/tmp/work/i586-poky-linux/meta-toolchain-gmae/1.0-r7/sdk/image/var/
 lib/dpkg/tmp.ci/control&apos; near line 8 package &apos;nativesdk-perl-module-
 encode-mime-name&apos;:
| &apos;x86_64&apos; is not a valid architecture name: character `_&apos; not allowed
  (only letters, digits and characters `-&apos;)

*analysis
The params in deb package control file don&apos;t allow character `_&apos;, only
letters, digits and characters `-&apos; allowed.

*resolution
Change the arch&apos;s &quot;_&quot; to &quot;-&quot; in the deb package&apos;s control file at the
control file creation time. Such as `x86_64&apos;--&gt;`x86-64&apos;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>30368</commentid>
    <comment_count>1</comment_count>
    <who name="Hongxu Jia">hongxu.jia</who>
    <bug_when>2013-03-04 00:55:37 +0000</bug_when>
    <thetext>Merged into master:
http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=22b1f63223f2d817cf5ff0672e6925826afdf858


Please verify on a newly created build environment.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>30946</commentid>
    <comment_count>2</comment_count>
    <who name="Yi Zhao">yi.zhao</who>
    <bug_when>2013-03-21 02:50:25 +0000</bug_when>
    <thetext>Verified with master branch: 808967b84cef66e0b59b9a720fa0808f6a546d3a</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>