<?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>5342</bug_id>
          
          <creation_ts>2013-10-13 11:52:52 +0000</creation_ts>
          <short_desc>bitbake failed due to tar -c -ps option</short_desc>
          <delta_ts>2013-10-18 15:37:54 +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>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>x86_64</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.5.1</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="CrazyPandar">CrazyPandar</reporter>
          <assigned_to name="Richard Purdie">richard.purdie</assigned_to>
          <cc>jessica.zhang</cc>
    
    <cc>poky.bs.watcher</cc>
    
    <cc>poky.watcher</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>37864</commentid>
    <comment_count>0</comment_count>
    <who name="CrazyPandar">CrazyPandar</who>
    <bug_when>2013-10-13 11:52:52 +0000</bug_when>
    <thetext>I&apos;m using archlinux x86_64. The tar utility version is 1.27.
Bitbake failed when using tar option -c and -ps together.

See the output

[chunfeng@haha build]$ bitbake core-image-minimal
Pseudo is not present but is required, building this first before the main build
WARNING: Host distribution &quot;Unknown&quot; has not been validated with this version of the build system; you may possibly experience unexpected failures. It is recommended that you use a tested distribution.
Parsing recipes: 100% |###############################################################################################################| Time: 00:04:39
Parsing of 1278 .bb files complete (0 cached, 1278 parsed). 1646 targets, 70 skipped, 0 masked, 0 errors.

Build Configuration:
BB_VERSION        = &quot;1.18.0&quot;
BUILD_SYS         = &quot;x86_64-linux&quot;
NATIVELSBSTRING   = &quot;Unknown&quot;
TARGET_SYS        = &quot;arm-poky-linux-gnueabi&quot;
MACHINE           = &quot;imx6qsabresd&quot;
DISTRO            = &quot;poky&quot;
DISTRO_VERSION    = &quot;1.4.2&quot;
TUNE_FEATURES     = &quot;armv7a vfp neon&quot;
TARGET_FPU        = &quot;vfp-neon&quot;
meta              
meta-yocto        = &quot;(nobranch):4e399f08d596197859214fdb3b06403b87bf8789&quot;
meta-oe           = &quot;(nobranch):a108b2203a997634f87ac687e81712badaf3c546&quot;
meta-fsl-arm      = &quot;(nobranch):afe2162644544a92a517f1d51211fdcb76bb1a29&quot;
meta-fsl-arm-extra = &quot;(nobranch):5f5a9cfcad223f5a1c623346780510ffcdc012ab&quot;
meta-fsl-demos    = &quot;(nobranch):724cfb929748f47782dea3b1dc412b028f6f3515&quot;

NOTE: Resolving any missing task queue dependencies
NOTE: Preparing runqueue
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
ERROR: Function failed: sysroot_stage_all (see /home/chunfeng/projects/fsl-community-bsp/build/tmp/work/x86_64-linux/quilt-native/0.60-r0/temp/log.do_populate_sysroot.21890 for further information)
ERROR: Logfile of failure stored in: /home/chunfeng/projects/fsl-community-bsp/build/tmp/work/x86_64-linux/quilt-native/0.60-r0/temp/log.do_populate_sysroot.21890
Log data follows:
| DEBUG: Executing python function sstate_task_prefunc
| DEBUG: Python function sstate_task_prefunc finished
| DEBUG: Executing python function do_populate_sysroot
| DEBUG: Executing shell function sysroot_stage_all
| tar: --same-order option cannot be used with -c
| Try &apos;tar --help&apos; or &apos;tar --usage&apos; for more information.
| tar: This does not look like a tar archive
| tar: Exiting with failure status due to previous errors
| DEBUG: Python function do_populate_sysroot finished
| ERROR: Function failed: sysroot_stage_all (see /home/chunfeng/projects/fsl-community-bsp/build/tmp/work/x86_64-linux/quilt-native/0.60-r0/temp/log.do_populate_sysroot.21890 for further information)
ERROR: Task 10 (/home/chunfeng/projects/fsl-community-bsp/sources/poky/meta/recipes-devtools/quilt/quilt-native_0.60.bb, do_populate_sysroot) failed with exit code &apos;1&apos;
NOTE: Tasks Summary: Attempted 10 tasks of which 0 didn&apos;t need to be rerun and 1 failed.
Waiting for 0 running tasks to finish:

Summary: 1 task failed:
  /home/chunfeng/projects/fsl-community-bsp/sources/poky/meta/recipes-devtools/quilt/quilt-native_0.60.bb, do_populate_sysroot
Summary: There was 1 WARNING message shown.
Summary: There was 1 ERROR message shown, returning a non-zero exit code.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>37896</commentid>
    <comment_count>1</comment_count>
    <who name="Saul Wold">sgw</who>
    <bug_when>2013-10-14 14:48:15 +0000</bug_when>
    <thetext>This is a known issue with the latest version of tar, since ArchLinux is a rolling release we can not directly support it. There is a patch pending for this issue that will go into master soon.

The workaround is either to downgrade that patch or to use the buildtools-tarball which contains the correct version of tar.  

https://www.yoctoproject.org/download/buildtools-sdk</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>37931</commentid>
    <comment_count>2</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2013-10-15 10:10:15 +0000</bug_when>
    <thetext>Fixed in master with http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=bf19a8617d05f17506dcb7154e19e2aa2b61838b and the preceding patch.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>