* [gentoo-user] Can't emerge glibc as it completely fills /var
@ 2005-07-18 15:36 Mark Knecht
2005-07-18 16:13 ` Neil Bothwick
0 siblings, 1 reply; 7+ messages in thread
From: Mark Knecht @ 2005-07-18 15:36 UTC (permalink / raw
To: gentoo-user
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
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] Can't emerge glibc as it completely fills /var
2005-07-18 15:36 [gentoo-user] Can't emerge glibc as it completely fills /var Mark Knecht
@ 2005-07-18 16:13 ` Neil Bothwick
2005-07-18 17:05 ` Mark Knecht
0 siblings, 1 reply; 7+ messages in thread
From: Neil Bothwick @ 2005-07-18 16:13 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 837 bytes --]
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?
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] Can't emerge glibc as it completely fills /var
2005-07-18 16:13 ` Neil Bothwick
@ 2005-07-18 17:05 ` Mark Knecht
2005-07-18 17:16 ` Zac Medico
2005-07-18 17:53 ` Neil Bothwick
0 siblings, 2 replies; 7+ messages in thread
From: Mark Knecht @ 2005-07-18 17:05 UTC (permalink / raw
To: gentoo-user
On 7/18/05, Neil Bothwick <neil@digimed.co.uk> 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
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] Can't emerge glibc as it completely fills /var
2005-07-18 17:05 ` Mark Knecht
@ 2005-07-18 17:16 ` Zac Medico
2005-07-18 17:23 ` David Busby
2005-07-18 17:53 ` Neil Bothwick
1 sibling, 1 reply; 7+ messages in thread
From: Zac Medico @ 2005-07-18 17:16 UTC (permalink / raw
To: gentoo-user
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
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] Can't emerge glibc as it completely fills /var
2005-07-18 17:16 ` Zac Medico
@ 2005-07-18 17:23 ` David Busby
0 siblings, 0 replies; 7+ messages in thread
From: David Busby @ 2005-07-18 17:23 UTC (permalink / raw
To: gentoo-user
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
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] Can't emerge glibc as it completely fills /var
2005-07-18 17:05 ` Mark Knecht
2005-07-18 17:16 ` Zac Medico
@ 2005-07-18 17:53 ` Neil Bothwick
2005-07-18 18:11 ` Mark Knecht
1 sibling, 1 reply; 7+ messages in thread
From: Neil Bothwick @ 2005-07-18 17:53 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 419 bytes --]
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.
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] Can't emerge glibc as it completely fills /var
2005-07-18 17:53 ` Neil Bothwick
@ 2005-07-18 18:11 ` Mark Knecht
0 siblings, 0 replies; 7+ messages in thread
From: Mark Knecht @ 2005-07-18 18:11 UTC (permalink / raw
To: gentoo-user
On 7/18/05, Neil Bothwick <neil@digimed.co.uk> 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 <locale>/<charmap>, where <locale> is a locale from the
# /usr/share/i18n/locales directory, and <charmap> 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
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2005-07-18 18:29 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-07-18 15:36 [gentoo-user] Can't emerge glibc as it completely fills /var Mark Knecht
2005-07-18 16:13 ` Neil Bothwick
2005-07-18 17:05 ` Mark Knecht
2005-07-18 17:16 ` Zac Medico
2005-07-18 17:23 ` David Busby
2005-07-18 17:53 ` Neil Bothwick
2005-07-18 18:11 ` Mark Knecht
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox