On 08/18/2012 12:32 AM, shift wrote:
> /bin/tar -cf - -C /home/youruser/build/openwrt/trunk \
>         --exclude="*/ccache" --exclude="*/stamp" --exclude="*/stampfiles" 
> --exclude="*/man" --exclude="*/info" \
>         --exclude="staging_dir/mips" \
>         staging_dir/host staging_dir/target-mips_r2_uClibc-0.9.33.2 \
>         staging_dir/toolchain-mips_r2_gcc-4.6-linaro_uClibc-0.9.33.2 | \
>         /bin/tar -xf - -C 
> /home/youruser/build/openwrt/trunk/build_dir/target-mips_r2_uClibc-0.9.33.2/OpenWrt-SDK-ar71xx-for-Linux-x86_64-gcc-4.6-linaro_uClibc-0.9.33.2
> 
> So, under the path 
> '/home/youruser/build/openwrt/trunk/staging_dir/target-mips_r2_uClibc-0.9.33.2/root-ar71xx/sbin'
>  there is lots of symlinks which point to the same file.

Can you run that command separately, by hand, and reproduce
the problem?

Please try the following:

/bin/tar -cf /tmp/staging.tar -C /home/youruser/build/openwrt/trunk \
        --exclude="*/ccache" --exclude="*/stamp" --exclude="*/stampfiles" 
--exclude="*/man" --exclude="*/info" \
        --exclude="staging_dir/mips" \
        staging_dir/host staging_dir/target-mips_r2_uClibc-0.9.33.2 \
        staging_dir/toolchain-mips_r2_gcc-4.6-linaro_uClibc-0.9.33.2
truss -o /tmp/staging.truss /bin/tar -xf /tmp/staging.tar -C 
/home/youruser/build/openwrt/trunk/build_dir/target-mips_r2_uClibc-0.9.33.2/OpenWrt-SDK-ar71xx-for-Linux-x86_64-gcc-4.6-linaro_uClibc-0.9.33.2

Assuming it reproduces the problem, can you compress /tmp/staging.truss
and /tmp/staging.tar and make them available for us to look at?

Reply via email to