[gentoo-user] Can't emerge glibc as it completely fills /var
OK, I'm flummoxed. Have I just gotten lucky all these years? I attempted to emerge a new glibc this morning and I cannot because it completely fills my 2.7GB /var partition in the process and I end with a 'no space on device' message! Obviously the emerge doesn't finish and I'm left to clean up and ponder the meaning of such things. Prior to starting the emerge the partition is about 30% full so it appears that the build takes something like 2GB? Can this really be true? What can I do to get around this? Should this build really take this much space or is there possibly a bug here somewhere? dragonfly ~ # emerge -pv glibc These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild U ] sys-libs/glibc-2.3.5 [2.3.4.20041102-r1] -build -debug -erandom -hardened (-multilib) +nls +nptl +nptlonly -pic (-selinux) -userlocales 0 kB Total size of downloads: 0 kB dragonfly ~ # There's probably a config option for where this work is done somewhere else. What would I change to temporarily move the elsewhere if indeed there is no bug. Thanks, Mark -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Can't emerge glibc as it completely fills /var
On Mon, 18 Jul 2005 08:36:32 -0700, Mark Knecht wrote: > dragonfly ~ # emerge -pv glibc > These are the packages that I would merge, in order: > > Calculating dependencies ...done! > [ebuild U ] sys-libs/glibc-2.3.5 [2.3.4.20041102-r1] -build -debug > -erandom -hardened (-multilib) +nls +nptl +nptlonly -pic (-selinux) > -userlocales 0 kB Try setting userlocales and putting the locales you want in /etc/locales.build. that should reduce the space requirements quite a bit. > There's probably a config option for where this work is done somewhere > else. What would I change to temporarily move the elsewhere if indeed > there is no bug. PORTAGE_TMPDIR determines where portage uses for temporary storage. -- Neil Bothwick If only the good die young then what does that say about senior citizens? pgpYtzpAvvb1w.pgp Description: PGP signature
Re: [gentoo-user] Can't emerge glibc as it completely fills /var
On 7/18/05, Neil Bothwick <[EMAIL PROTECTED]> wrote: > On Mon, 18 Jul 2005 08:36:32 -0700, Mark Knecht wrote: > > > dragonfly ~ # emerge -pv glibc > > These are the packages that I would merge, in order: > > > > Calculating dependencies ...done! > > [ebuild U ] sys-libs/glibc-2.3.5 [2.3.4.20041102-r1] -build -debug > > -erandom -hardened (-multilib) +nls +nptl +nptlonly -pic (-selinux) > > -userlocales 0 kB > > Try setting userlocales and putting the locales you want > in /etc/locales.build. that should reduce the space requirements quite a > bit. Thanks, I'll check the out. > > > There's probably a config option for where this work is done somewhere > > else. What would I change to temporarily move the elsewhere if indeed > > there is no bug. > > PORTAGE_TMPDIR determines where portage uses for temporary storage. I set this in make.conf, correct? Seems logical but man emerge and man portage don't seem to mention this variable. Thanks very much, Mark -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Can't emerge glibc as it completely fills /var
Mark Knecht wrote: PORTAGE_TMPDIR determines where portage uses for temporary storage. I set this in make.conf, correct? Seems logical but man emerge and man portage don't seem to mention this variable. That's odd, it's not in portage(5) either. It is documented in make.conf.example though. Zac -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Can't emerge glibc as it completely fills /var
On 7/18/05, Neil Bothwick <[EMAIL PROTECTED]> wrote: > On Mon, 18 Jul 2005 10:05:22 -0700, Mark Knecht wrote: > > > > PORTAGE_TMPDIR determines where portage uses for temporary storage. > > > > I set this in make.conf, correct? > > Correct > > > Seems logical but man emerge and man > > portage don't seem to mention this variable. > > man make.conf mentions it, as does /etc/make.conf.example > Great. Thanks. Looks like I'll have to give it a try. Even turning on userlocales it still failed on to build for device space: dragonfly glibc-2.3.5 # emerge -pv glibc These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild R ] sys-libs/glibc-2.3.5 -build -debug -erandom -hardened (-multilib) +nls +nptl +nptlonly -pic (-selinux) +userlocales* 0 kB Total size of downloads: 0 kB dragonfly glibc-2.3.5 # dragonfly ~ # cat /etc/locales.build # This file names the list of locales to be built when glibc is installed. # The format is /, where is a locale from the # /usr/share/i18n/locales directory, and is name of one of the files # in /usr/share/i18n/charmaps/. All blank lines and lines starting with # are # ignored. Here is an example: # en_US/ISO-8859-1 en_US/ISO-8859-1 en_US.UTF-8/UTF-8 dragonfly ~ # Looks like that wasn't enough space reduction. I don't think every machine of mine has it's own /var partition so probably there was always enough space under /. I created /var on this machine since it's a MythTV server which has saved me because when MythTV storage runs out MythTV fills the log file with millions of the same message. Another solution I tried and which did work was to create a directory on my root partition and do a mount --bind while doing the glibc emerge. The emerge finished cleanly and then I dismounted the temp storage to get back to normal. Multiple solutions I think. Thanks, Mark -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Can't emerge glibc as it completely fills /var
On Mon, 18 Jul 2005 10:05:22 -0700, Mark Knecht wrote: > > PORTAGE_TMPDIR determines where portage uses for temporary storage. > > I set this in make.conf, correct? Correct > Seems logical but man emerge and man > portage don't seem to mention this variable. man make.conf mentions it, as does /etc/make.conf.example -- Neil Bothwick "Fascinating," said Spock, watching Kirk's lousy acting. pgpLJYqru5m62.pgp Description: PGP signature
Re: [gentoo-user] Can't emerge glibc as it completely fills /var
Zac Medico wrote: Mark Knecht wrote: PORTAGE_TMPDIR determines where portage uses for temporary storage. I set this in make.conf, correct? Seems logical but man emerge and man portage don't seem to mention this variable. That's odd, it's not in portage(5) either. It is documented in make.conf.example though. I thought this was in man 5 make.conf /djb -- gentoo-user@gentoo.org mailing list