znavko Posted January 9, 2018 Report Share Posted January 9, 2018 Hello, dear Funtoo developers! I want to ask about free space for debian-sources. Why 20GiB ? # 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' Link to comment Share on other sites More sharing options...
Oleg Vinichenko Posted January 9, 2018 Report Share Posted January 9, 2018 peak size used by temporary directory where debian-sources compiling is about 17GB. 20GB is set in ebuild with some exceeding margin to ensure it's enough space. Link to comment Share on other sites More sharing options...
nrc Posted January 15, 2018 Report Share Posted January 15, 2018 If space is a problem you can work around this by redirecting your portage temp directory to a larger partition by adding this to your make.conf file. PORTAGE_TMPDIR="/somelargerfilesystem" Link to comment Share on other sites More sharing options...
Recommended Posts