Bug 6147 - Don't worked with large files
Summary: Don't worked with large files
Status: CLOSED FIXED
Alias: None
Product: Sisyphus
Classification: Development
Component: cpio (show other bugs)
Version: unstable
Hardware: all Linux
: P2 normal
Assignee: evseev
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-02-20 12:51 MSK by Andy Gorev
Modified: 2005-09-04 22:17 MSD (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andy Gorev 2005-02-20 12:51:11 MSK
Если архив больше 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 Dmitry V. Levin 2005-02-20 18:01:18 MSK
This bug was fixed in cpio-2.6-alt1 some time ago.

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