Здравствуйте, уважаемые форумчане, пользователи Линукс!
Portage при обновлении ядра debian-sources до 4.14.12 выдал ошибку: There is NOT at least 20 GiB disk space at «/var/tmp/portage/sys-kernel/debian-sources-4.14.12/temp».
# eix-sync
...
# emerge -auDN debian-sources
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild NS ] sys-kernel/debian-sources-4.14.12 [4.8.15, 4.14.2] USE="binary"
Would you like to merge these packages? [Yes/No] yes
>>> Recording sys-kernel/debian-sources:4.14.2 in "world" favorites file...
>>> Verifying ebuild manifests
>>> Running pre-merge checks for sys-kernel/debian-sources-4.14.12
* Checking for at least 20 GiB disk space at "/var/tmp/portage/sys-kernel/debian-sources-4.14.12/temp" ... [ !! ]
* There is NOT at least 20 GiB disk space at "/var/tmp/portage/sys-kernel/debian-sources-4.14.12/temp"
*
* Space constraints set in the ebuild were not met!
* The build will most probably fail, you should enhance the space
* as per failed tests.
*
* ERROR: sys-kernel/debian-sources-4.14.12::core-kit failed (pretend phase):
* Build requirements not met!
*
* Call stack:
* ebuild.sh, line 121: Called pkg_pretend
* debian-sources-4.14.12.ebuild, line 41: Called check-reqs_pkg_setup
* check-reqs.eclass, line 99: Called check-reqs_output
* check-reqs.eclass, line 255: Called die
* The specific snippet of code:
* [[ ${EBUILD_PHASE} == "pretend" && -z ${I_KNOW_WHAT_I_AM_DOING} ]] && \
* die "Build requirements not met!"
*
* If you need support, post the output of `emerge --info '=sys-kernel/debian-sources-4.14.12::core-kit'`,
* the complete build log and the output of `emerge -pqv '=sys-kernel/debian-sources-4.14.12::core-kit'`.
* The complete build log is located at '/var/tmp/portage/sys-kernel/debian-sources-4.14.12/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/sys-kernel/debian-sources-4.14.12/temp/die.env'.
* Working directory: '/var/tmp/portage/sys-kernel/debian-sources-4.14.12/homedir'
* S: '/var/tmp/portage/sys-kernel/debian-sources-4.14.12/work/linux-4.14.12'
* Messages for package sys-kernel/debian-sources-4.14.12:
* There is NOT at least 20 GiB disk space at "/var/tmp/portage/sys-kernel/debian-sources-4.14.12/temp"
*
* Space constraints set in the ebuild were not met!
* The build will most probably fail, you should enhance the space
* as per failed tests.
*
* ERROR: sys-kernel/debian-sources-4.14.12::core-kit failed (pretend phase):
* Build requirements not met!
*
* Call stack:
* ebuild.sh, line 121: Called pkg_pretend
* debian-sources-4.14.12.ebuild, line 41: Called check-reqs_pkg_setup
* check-reqs.eclass, line 99: Called check-reqs_output
* check-reqs.eclass, line 255: Called die
* The specific snippet of code:
* [[ ${EBUILD_PHASE} == "pretend" && -z ${I_KNOW_WHAT_I_AM_DOING} ]] && \
* die "Build requirements not met!"
*
* If you need support, post the output of `emerge --info '=sys-kernel/debian-sources-4.14.12::core-kit'`,
* the complete build log and the output of `emerge -pqv '=sys-kernel/debian-sources-4.14.12::core-kit'`.
* The complete build log is located at '/var/tmp/portage/sys-kernel/debian-sources-4.14.12/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/sys-kernel/debian-sources-4.14.12/temp/die.env'.
* Working directory: '/var/tmp/portage/sys-kernel/debian-sources-4.14.12/homedir'
* S: '/var/tmp/portage/sys-kernel/debian-sources-4.14.12/work/linux-4.14.12'
Место освободил, теперь ставится.
...
Length: 1013872 (990K) [application/octet-stream]
Saving to: ‘/var/cache/portage/distfiles/linux_4.14.12-2.debian.tar.xz’
/var/cache/portage/ 100%[===================>] 990,11K 201KB/s in 5,1s
2018-01-08 12:59:04 (194 KB/s) - ‘/var/cache/portage/distfiles/linux_4.14.12-2.debian.tar.xz’ saved [1013872/1013872]
....
....
du /var/cache/portage/distfiles/linux_4.14.12-2.debian.tar.xz -m
1 /var/cache/portage/distfiles/linux_4.14.12-2.debian.tar.xz
Вопрос: почему архив ядра в 1Мб при сборке и компиляции требует 20Гб ?