<?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>5484</bug_id>
          
          <creation_ts>2013-11-06 01:02:08 +0000</creation_ts>
          <short_desc>boost package fail (compiled as host ARCH)</short_desc>
          <delta_ts>2014-02-14 16:57:21 +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>devtools / tool chain</component>
          <version>1.5</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WORKSFORME</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>janitors</bug_severity>
          <target_milestone>1.6</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="niqingliang2003">niqingliang2003</reporter>
          <assigned_to name="niqingliang2003">niqingliang2003</assigned_to>
          <cc>jack</cc>
    
    <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>niqingliang2003</cc>
    
    <cc>richard.purdie</cc>
    
    <cc>sgw</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>Don&apos;t know</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>38573</commentid>
    <comment_count>0</comment_count>
    <who name="niqingliang2003">niqingliang2003</who>
    <bug_when>2013-11-06 01:02:08 +0000</bug_when>
    <thetext>I&apos;m working on Archlinux x64. when packaging boost, I got error:

arm-jilong-linux-gnueabi-objcopy:/xxx/tmp/work/armv6-vfp-jilong-linux-
gnueabi/boost/1.54.0-r0/package/usr/lib/libboost_iostreams.so.1.54.0: File 
format not recognized

        I don&apos;t know why boost compiled with host ARCH.
        but I have one machine can done it correctly.
        So I compared the two machine, the &apos;bjam --help&apos; command result is 
different after source yocto environment.

        on the failure machine, it will use &apos;/usr/share/boost-build/user-
config.jam&apos;. the success machine don&apos;t have this file.

        so the different result in this error is: the failure machine installed 
package &apos;boost-build&apos;.

        after remove &apos;boost-build&apos; from Archlinux and bitbake -c clean boost,
I have done package correctly.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>38684</commentid>
    <comment_count>1</comment_count>
    <who name="Laurentiu Palcu">laurentiu.palcu</who>
    <bug_when>2013-11-08 11:41:27 +0000</bug_when>
    <thetext>I need a little more info about your issue:
 * attach your /usr/share/boost-build/user-config.jam
 * the location where you run bjam --help</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>38726</commentid>
    <comment_count>2</comment_count>
      <attachid>1618</attachid>
    <who name="niqingliang2003">niqingliang2003</who>
    <bug_when>2013-11-13 10:36:14 +0000</bug_when>
    <thetext>Created attachment 1618
boot-build conf file</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>38727</commentid>
    <comment_count>3</comment_count>
    <who name="niqingliang2003">niqingliang2003</who>
    <bug_when>2013-11-13 10:41:35 +0000</bug_when>
    <thetext>I run bjam in &lt;machine-build-dir&gt; after source yocto env file &quot;&lt;machine-build-dir&gt;/tmp/environment-setup-armv6-vfp-jilong-linux-gnueabi&quot;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>38896</commentid>
    <comment_count>4</comment_count>
    <who name="Laurentiu Palcu">laurentiu.palcu</who>
    <bug_when>2013-11-19 11:08:46 +0000</bug_when>
    <thetext>(In reply to comment #3)
&gt; I run bjam in &lt;machine-build-dir&gt; after source yocto env file
&gt; &quot;&lt;machine-build-dir&gt;/tmp/environment-setup-armv6-vfp-jilong-linux-gnueabi&quot;

I still don&apos;t understand what you&apos;re trying to do here... Are you trying to create an image that contains boost and it fails? I just built boost with bitbake for qemuarm and I copied the config file you provided to /usr/share/boost-build. The build finished just fine.

Another thing I don&apos;t understand is, why are you sourcing the environment script? This environment script is for those who want to use the SDK and don&apos;t want to download the toolchain tarball separately.

Can you please try to explain a little bit what are you trying to achieve here?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>38938</commentid>
    <comment_count>5</comment_count>
    <who name="niqingliang2003">niqingliang2003</who>
    <bug_when>2013-11-20 14:04:01 +0000</bug_when>
    <thetext>(In reply to comment #4)
&gt; (In reply to comment #3)
&gt; &gt; I run bjam in &lt;machine-build-dir&gt; after source yocto env file
&gt; &gt; &quot;&lt;machine-build-dir&gt;/tmp/environment-setup-armv6-vfp-jilong-linux-gnueabi&quot;
&gt; 
&gt; I still don&apos;t understand what you&apos;re trying to do here... Are you trying to
&gt; create an image that contains boost and it fails? I just built boost with
&gt; bitbake for qemuarm and I copied the config file you provided to
&gt; /usr/share/boost-build. The build finished just fine.

Yes, I encountered this problem when creating an image.

&gt; Another thing I don&apos;t understand is, why are you sourcing the environment
&gt; script? This environment script is for those who want to use the SDK and
&gt; don&apos;t want to download the toolchain tarball separately.

I haven&apos;t source env when creating image.
I sourced env just when debugging this problem.

&gt; Can you please try to explain a little bit what are you trying to achieve
&gt; here?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>39179</commentid>
    <comment_count>6</comment_count>
    <who name="Laurentiu Palcu">laurentiu.palcu</who>
    <bug_when>2013-12-02 11:21:56 +0000</bug_when>
    <thetext>Unfortunately I wasn&apos;t able to reproduce this on my machine running Ubuntu 12.04. On the other hand Archlinux is not a distro we support due to its rolling release nature.

Assigning back to reporter. If you can reproduce this on Ubuntu/Debian/Fedora, then assign it back to me and provide all the steps needed to reproduce it.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>39921</commentid>
    <comment_count>7</comment_count>
    <who name="Jack Mitchell">jack</who>
    <bug_when>2014-01-19 11:38:32 +0000</bug_when>
    <thetext>I can&apos;t reproduce this on ArchLinux x86_64, boost builds just fine here.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>40378</commentid>
    <comment_count>8</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2014-02-14 16:57:21 +0000</bug_when>
    <thetext>Since nobody can reproduce this and we don&apos;t support ArchLinux anyway, I&apos;m closing this...</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>1618</attachid>
            <date>2013-11-13 10:36:14 +0000</date>
            <delta_ts>2013-11-13 10:36:14 +0000</delta_ts>
            <desc>boot-build conf file</desc>
            <filename>user-config.jam</filename>
            <type>application/octet-stream</type>
            <size>1541</size>
            <attacher name="niqingliang2003">niqingliang2003</attacher>
            
              <data encoding="base64">IyBDb3B5cmlnaHQgMjAwMywgMjAwNSBEb3VnbGFzIEdyZWdvciAKIyBDb3B5cmlnaHQgMjAwNCBK
b2huIE1hZGRvY2sgCiMgQ29weXJpZ2h0IDIwMDIsIDIwMDMsIDIwMDQgVmxhZGltaXIgUHJ1cyAK
IyBEaXN0cmlidXRlZCB1bmRlciB0aGUgQm9vc3QgU29mdHdhcmUgTGljZW5zZSwgVmVyc2lvbiAx
LjAuIAojIChTZWUgYWNjb21wYW55aW5nIGZpbGUgTElDRU5TRV8xXzAudHh0IG9yIGh0dHA6Ly93
d3cuYm9vc3Qub3JnL0xJQ0VOU0VfMV8wLnR4dCkgCgojICBUaGlzIGZpbGUgaXMgdXNlZCB0byBj
b25maWd1cmUgeW91ciBCb29zdC5CdWlsZCBpbnN0YWxsYXRpb24uIFBsZWFzZSByZWFkCiMgIHRo
ZSB1c2VyIG1hbnVhbCB0byBmaW5kIG91dCB3aGVyZSB0byBwdXQgaXQuCgojICBUb29sc2V0IGRl
Y2xhcmF0aW9ucyBhcmUgbW9zdCBpbXBvcnRhbnQgaW4gdGhpcyBmaWxlLiBUaGV5IHRlbGwgQm9v
c3QuQnVpb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