1

Тема: TAR -> Directory renamed before its status could be extracted

Пытаюсь собрать прошивку для железки. Всегда всё было хорошо, но вот беда. На этот раз образ ядра не распаковывается.
Makefile делает примерно следующее:

+ открыть спойлер
xzcat /home/user/src/openwrt-615/dl/linux-3.14.25.tar.xz | /bin/tar -C /home/user/src/openwrt-615/build_dir/toolchain-mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2 -xf -
/bin/tar: linux-3.14.25/arch/powerpc/boot/dts/include: Directory renamed before its status could be extracted
/bin/tar: linux-3.14.25/arch/powerpc/boot/dts: Directory renamed before its status could be extracted
/bin/tar: linux-3.14.25/arch/powerpc/boot: Directory renamed before its status could be extracted
/bin/tar: linux-3.14.25/arch/powerpc: Directory renamed before its status could be extracted
/bin/tar: linux-3.14.25/arch/mips/boot/dts/include: Directory renamed before its status could be extracted
/bin/tar: linux-3.14.25/arch/mips/boot/dts: Directory renamed before its status could be extracted
/bin/tar: linux-3.14.25/arch/mips/boot: Directory renamed before its status could be extracted
/bin/tar: linux-3.14.25/arch/mips: Directory renamed before its status could be extracted
/bin/tar: linux-3.14.25/arch/microblaze/boot/dts: Directory renamed before its status could be extracted
/bin/tar: linux-3.14.25/arch/microblaze/boot: Directory renamed before its status could be extracted
/bin/tar: linux-3.14.25/arch/microblaze: Directory renamed before its status could be extracted
/bin/tar: linux-3.14.25/arch/metag/boot/dts/include: Directory renamed before its status could be extracted
/bin/tar: linux-3.14.25/arch/metag/boot/dts: Directory renamed before its status could be extracted
/bin/tar: linux-3.14.25/arch/metag/boot: Directory renamed before its status could be extracted
/bin/tar: linux-3.14.25/arch/metag: Directory renamed before its status could be extracted
/bin/tar: linux-3.14.25/arch/arm/boot/dts/include: Directory renamed before its status could be extracted
/bin/tar: linux-3.14.25/arch/arm/boot/dts: Directory renamed before its status could be extracted
/bin/tar: linux-3.14.25/arch/arm/boot: Directory renamed before its status could be extracted
/bin/tar: linux-3.14.25/arch/arm: Directory renamed before its status could be extracted
/bin/tar: linux-3.14.25/arch: Directory renamed before its status could be extracted
/bin/tar: Exiting with failure status due to previous errors

Что это? Как так то? Проверил папки по данным путям, ничего особенного не заметил.

2

Re: TAR -> Directory renamed before its status could be extracted

Если контрольная сумма есть, я бы проверил, вероятно, архив битый или сделан в винде, с виндовыми концами строк...

3

Re: TAR -> Directory renamed before its status could be extracted

http://lists.gnu.org/archive/html/bug-t … 00021.html

в сухом остатке два варианта:

1.

Anyone has a quick and easy fix, please ?

The --absolute-names option should work around any problem here.
However, this also disables some important security checking, so don't
use it unless you trust the source of the tar image.

2.

> The only "strange" thing in the setup I am doing this
> is that I am extracting from an iso9660 image file mounted using the loop
> option to a umsdos FAT32 filesystem. Who knows, maybe tar does not like
> UMSDOS, but IMHO it should be transparent to it what kind of filesystem
> it's reading/writing from/to.

Possibly umsdos is not reporting st_dev and st_ino correctly to tar,
when tar issues the 'stat' system call on an umsdos directory.  That
would explain the problem.  (It would also suggest that you have
a serious problem with umsdos, but that's a different matter.)

You can test this theory (and the other theories mentioned above) by
running strace on tar, and looking at what the stat calls are
returnning.

4

Re: TAR -> Directory renamed before its status could be extracted

не совсем понятно что про umsdos они имели ввиду. Типа "от туда" паковалось? Или туду? Не туда это точно, у меня ext4.

5

Re: TAR -> Directory renamed before its status could be extracted

Spider пишет

не совсем понятно что про umsdos они имели ввиду.

http://lists.gnu.org/archive/html/bug-t … 00020.html

Spider пишет

у меня ext4.

значит остаётся первый вариант: тарбол то-ли битый, как yars говорит, то-ли лезет куда-то туда, куда лезть нельзя.

Если вы УВЕРЕНЫ, что так и надо, то помогут права рута и опция --absolute-names.