Bug 6147 - Don't worked with large files
: Don't worked with large files
: Sisyphus
(All bugs in Sisyphus/cpio)
: unstable
: all Linux
: P2 normal
Assigned To:
  Show dependency tree
Reported: 2005-02-20 12:51 by
Modified: 2005-09-04 22:17 (History)



You need to log in before you can comment on or make changes to this bug.

Description From 2005-02-20 12:51:11
Если архив больше 2Г, распаковать не можем с руганью:
cpio: standard input is closed: Value too large for defined data type

Решение - добавить в %build
%add_optflags -D _FILE_OFFSET_BITS=64

Только после этого смог распаковать 9гиг лрна.
Источник SCO - http://docsrv.sco.com/cgi-bin/man/man?intro+2
------- Comment #1 From 2005-02-20 18:01:18 -------
This bug was fixed in cpio-2.6-alt1 some time ago.

Workaround for old cpio:
cat large_file_over_2G |cpio --extract