* [gentoo-science] [sage-on-gentoo] Cannot install sage-doc: insufficient memory
@ 2014-09-20 9:56 v_2e
2014-09-20 9:57 ` François Bissey
0 siblings, 1 reply; 14+ messages in thread
From: v_2e @ 2014-09-20 9:56 UTC (permalink / raw
To: gentoo-science
Hello!
I have been experiencing a problem trying to install sage-doc for
several months. I have 2GB of RAM on my laptop, and it turns out not
sufficient to build Sage documentation. Each time it fails with a
message "Cannot allocate memory". I use Xfce, so the system itself does
not consume too much memory. Therefore I do not understand if this is a
sage-doc problem or not.
Regards,
Vladimir
-----
<v_2e@ukr.net>
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [gentoo-science] [sage-on-gentoo] Cannot install sage-doc: insufficient memory
2014-09-20 9:56 [gentoo-science] [sage-on-gentoo] Cannot install sage-doc: insufficient memory v_2e
@ 2014-09-20 9:57 ` François Bissey
2014-09-20 10:02 ` v_2e
0 siblings, 1 reply; 14+ messages in thread
From: François Bissey @ 2014-09-20 9:57 UTC (permalink / raw
To: gentoo-science
sage-doc is really memory hungry, however I would be glad if you
were pasting more details of the failure.
If it is a real problem we’ll go back to pre-built sage-doc for stable
releases.
François
On 20/09/2014, at 21:56, v_2e@ukr.net wrote:
> Hello!
> I have been experiencing a problem trying to install sage-doc for
> several months. I have 2GB of RAM on my laptop, and it turns out not
> sufficient to build Sage documentation. Each time it fails with a
> message "Cannot allocate memory". I use Xfce, so the system itself does
> not consume too much memory. Therefore I do not understand if this is a
> sage-doc problem or not.
>
> Regards,
> Vladimir
>
> -----
> <v_2e@ukr.net>
>
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [gentoo-science] [sage-on-gentoo] Cannot install sage-doc: insufficient memory
2014-09-20 10:02 ` v_2e
@ 2014-09-20 10:01 ` François Bissey
2014-09-20 21:55 ` v_2e
0 siblings, 1 reply; 14+ messages in thread
From: François Bissey @ 2014-09-20 10:01 UTC (permalink / raw
To: gentoo-science
Just the build log.
François
On 20/09/2014, at 22:02, v_2e@ukr.net wrote:
> On Sat, 20 Sep 2014 21:57:34 +1200
> François Bissey <frp.bissey@gmail.com> wrote:
>
>> sage-doc is really memory hungry, however I would be glad if you
>> were pasting more details of the failure.
> I can provide some more details if it helps. I just do not know
> exactly what kind of details are informative in this case.
>
> Vladimir
>
>
>
> -----
> <v_2e@ukr.net>
>
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [gentoo-science] [sage-on-gentoo] Cannot install sage-doc: insufficient memory
2014-09-20 9:57 ` François Bissey
@ 2014-09-20 10:02 ` v_2e
2014-09-20 10:01 ` François Bissey
0 siblings, 1 reply; 14+ messages in thread
From: v_2e @ 2014-09-20 10:02 UTC (permalink / raw
To: gentoo-science
On Sat, 20 Sep 2014 21:57:34 +1200
François Bissey <frp.bissey@gmail.com> wrote:
> sage-doc is really memory hungry, however I would be glad if you
> were pasting more details of the failure.
I can provide some more details if it helps. I just do not know
exactly what kind of details are informative in this case.
Vladimir
-----
<v_2e@ukr.net>
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [gentoo-science] [sage-on-gentoo] Cannot install sage-doc: insufficient memory
2014-09-20 10:01 ` François Bissey
@ 2014-09-20 21:55 ` v_2e
2014-09-21 21:52 ` François Bissey
0 siblings, 1 reply; 14+ messages in thread
From: v_2e @ 2014-09-20 21:55 UTC (permalink / raw
To: gentoo-science
[-- Attachment #1: Type: text/plain, Size: 157 bytes --]
On Sat, 20 Sep 2014 22:01:50 +1200
François Bissey <frp.bissey@gmail.com> wrote:
> Just the build log.
>
Here is the build.log
-----
<v_2e@ukr.net>
[-- Attachment #2: sci-mathematics:sage-doc-6.3:20140920-123905.log.xz --]
[-- Type: application/x-xz, Size: 22832 bytes --]
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [gentoo-science] [sage-on-gentoo] Cannot install sage-doc: insufficient memory
2014-09-20 21:55 ` v_2e
@ 2014-09-21 21:52 ` François Bissey
2014-09-23 7:51 ` v_2e
0 siblings, 1 reply; 14+ messages in thread
From: François Bissey @ 2014-09-21 21:52 UTC (permalink / raw
To: gentoo-science
Hi Vladimir,
Can you tell me: How many threads you are using (-j??)
and whether you have swap enabled on that machine.
Francois
On Sun, 21 Sep 2014 00:55:06 v_2e@ukr.net wrote:
> On Sat, 20 Sep 2014 22:01:50 +1200
>
> François Bissey <frp.bissey@gmail.com> wrote:
> > Just the build log.
>
> Here is the build.log
>
>
>
> -----
> <v_2e@ukr.net>
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [gentoo-science] [sage-on-gentoo] Cannot install sage-doc: insufficient memory
2014-09-21 21:52 ` François Bissey
@ 2014-09-23 7:51 ` v_2e
2014-09-23 8:51 ` François Bissey
0 siblings, 1 reply; 14+ messages in thread
From: v_2e @ 2014-09-23 7:51 UTC (permalink / raw
To: gentoo-science
Hello!
On Mon, 22 Sep 2014 09:52:41 +1200
François Bissey <frp.bissey@gmail.com> wrote:
> Hi Vladimir,
>
> Can you tell me: How many threads you are using (-j??)
> and whether you have swap enabled on that machine.
>
I usually use a single thread in make.conf (-j1). I also have a 1 GB of
swap space enabled.
Vladimir
-----
<v_2e@ukr.net>
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [gentoo-science] [sage-on-gentoo] Cannot install sage-doc: insufficient memory
2014-09-23 7:51 ` v_2e
@ 2014-09-23 8:51 ` François Bissey
2014-09-23 9:48 ` v_2e
2014-09-25 0:59 ` François Bissey
0 siblings, 2 replies; 14+ messages in thread
From: François Bissey @ 2014-09-23 8:51 UTC (permalink / raw
To: gentoo-science
According to upstream it all should be enough (there was a thread not so long ago
on sage-devel I am sure).
We must be doing something slightly differently. In any case, while it is nice
to have it building most people probably prefer the binary version. We only
started to use it for normal release because that official binaries for the doc
was so late we couldn’t release stable ebuilds for sage 6.2.
I will see what we could do.
François
On 23/09/2014, at 19:51, v_2e@ukr.net wrote:
> Hello!
>
> On Mon, 22 Sep 2014 09:52:41 +1200
> François Bissey <frp.bissey@gmail.com> wrote:
>
>> Hi Vladimir,
>>
>> Can you tell me: How many threads you are using (-j??)
>> and whether you have swap enabled on that machine.
>>
> I usually use a single thread in make.conf (-j1). I also have a 1 GB of
> swap space enabled.
>
> Vladimir
>
> -----
> <v_2e@ukr.net>
>
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [gentoo-science] [sage-on-gentoo] Cannot install sage-doc: insufficient memory
2014-09-23 8:51 ` François Bissey
@ 2014-09-23 9:48 ` v_2e
2014-09-23 9:49 ` François Bissey
2014-09-25 0:59 ` François Bissey
1 sibling, 1 reply; 14+ messages in thread
From: v_2e @ 2014-09-23 9:48 UTC (permalink / raw
To: gentoo-science
On Tue, 23 Sep 2014 20:51:13 +1200
François Bissey <frp.bissey@gmail.com> wrote:
> According to upstream it all should be enough (there was a thread not
> so long ago on sage-devel I am sure).
> We must be doing something slightly differently. In any case, while
> it is nice to have it building most people probably prefer the binary
> version. We only started to use it for normal release because that
> official binaries for the doc was so late we couldn’t release stable
> ebuilds for sage 6.2.
>
> I will see what we could do.
>
I think it would also be very nice to have some USE-flags for the
sage-doc package in order not to build all the documentation for all
the languages. It takes about 1.3GB on my PC which seems too much, as
for me. Is it possible to organize a kind of "selective build" with the
corresponding USE-flags?
Vladimir
-----
<v_2e@ukr.net>
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [gentoo-science] [sage-on-gentoo] Cannot install sage-doc: insufficient memory
2014-09-23 9:48 ` v_2e
@ 2014-09-23 9:49 ` François Bissey
2014-09-23 11:35 ` v_2e
0 siblings, 1 reply; 14+ messages in thread
From: François Bissey @ 2014-09-23 9:49 UTC (permalink / raw
To: gentoo-science
I am definitely giving some thought on that but nothing concrete
so far. Upstream is not managing it at all so any solution will be our
own work.
François
On 23/09/2014, at 21:48, v_2e@ukr.net wrote:
> On Tue, 23 Sep 2014 20:51:13 +1200
> François Bissey <frp.bissey@gmail.com> wrote:
>
>> According to upstream it all should be enough (there was a thread not
>> so long ago on sage-devel I am sure).
>> We must be doing something slightly differently. In any case, while
>> it is nice to have it building most people probably prefer the binary
>> version. We only started to use it for normal release because that
>> official binaries for the doc was so late we couldn’t release stable
>> ebuilds for sage 6.2.
>>
>> I will see what we could do.
>>
> I think it would also be very nice to have some USE-flags for the
> sage-doc package in order not to build all the documentation for all
> the languages. It takes about 1.3GB on my PC which seems too much, as
> for me. Is it possible to organize a kind of "selective build" with the
> corresponding USE-flags?
>
> Vladimir
>
>
> -----
> <v_2e@ukr.net>
>
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [gentoo-science] [sage-on-gentoo] Cannot install sage-doc: insufficient memory
2014-09-23 9:49 ` François Bissey
@ 2014-09-23 11:35 ` v_2e
2014-09-23 11:38 ` François Bissey
2014-11-19 22:00 ` François Bissey
0 siblings, 2 replies; 14+ messages in thread
From: v_2e @ 2014-09-23 11:35 UTC (permalink / raw
To: gentoo-science
On Tue, 23 Sep 2014 21:49:28 +1200
François Bissey <frp.bissey@gmail.com> wrote:
> I am definitely giving some thought on that but nothing concrete
> so far. Upstream is not managing it at all so any solution will be our
> own work.
>
And if I understand correctly, sage depends on sage-doc, so the
sage-doc is not even an optional package. Am I right?
-----
<v_2e@ukr.net>
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [gentoo-science] [sage-on-gentoo] Cannot install sage-doc: insufficient memory
2014-09-23 11:35 ` v_2e
@ 2014-09-23 11:38 ` François Bissey
2014-11-19 22:00 ` François Bissey
1 sibling, 0 replies; 14+ messages in thread
From: François Bissey @ 2014-09-23 11:38 UTC (permalink / raw
To: gentoo-science
You understand correctly. However a minimal install can be done
with USE=“-html -pdf” it shouldn’t require much resources.
Although studying the whole thing again recently I think it may
be made optional.
Francois
On 23/09/2014, at 23:35, v_2e@ukr.net wrote:
> On Tue, 23 Sep 2014 21:49:28 +1200
> François Bissey <frp.bissey@gmail.com> wrote:
>
>> I am definitely giving some thought on that but nothing concrete
>> so far. Upstream is not managing it at all so any solution will be our
>> own work.
>>
> And if I understand correctly, sage depends on sage-doc, so the
> sage-doc is not even an optional package. Am I right?
>
>
> -----
> <v_2e@ukr.net>
>
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [gentoo-science] [sage-on-gentoo] Cannot install sage-doc: insufficient memory
2014-09-23 8:51 ` François Bissey
2014-09-23 9:48 ` v_2e
@ 2014-09-25 0:59 ` François Bissey
1 sibling, 0 replies; 14+ messages in thread
From: François Bissey @ 2014-09-25 0:59 UTC (permalink / raw
To: gentoo-science
Here is the upstream thread for gory details but your set up is supposed
to be enough, if it isn't we are doing something that a rather nasty impact.
https://groups.google.com/forum/#!topic/sage-devel/Ww3xPekUHns
Francois
On Tue, 23 Sep 2014 20:51:13 François Bissey wrote:
> According to upstream it all should be enough (there was a thread not so
> long ago on sage-devel I am sure).
> We must be doing something slightly differently. In any case, while it is
> nice to have it building most people probably prefer the binary version. We
> only started to use it for normal release because that official binaries
> for the doc was so late we couldn’t release stable ebuilds for sage 6.2.
>
> I will see what we could do.
>
> François
>
> On 23/09/2014, at 19:51, v_2e@ukr.net wrote:
> > Hello!
> >
> > On Mon, 22 Sep 2014 09:52:41 +1200
> >
> > François Bissey <frp.bissey@gmail.com> wrote:
> >> Hi Vladimir,
> >>
> >> Can you tell me: How many threads you are using (-j??)
> >> and whether you have swap enabled on that machine.
> >
> > I usually use a single thread in make.conf (-j1). I also have a 1 GB of
> > swap space enabled.
> >
> > Vladimir
> >
> > -----
> > <v_2e@ukr.net>
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [gentoo-science] [sage-on-gentoo] Cannot install sage-doc: insufficient memory
2014-09-23 11:35 ` v_2e
2014-09-23 11:38 ` François Bissey
@ 2014-11-19 22:00 ` François Bissey
1 sibling, 0 replies; 14+ messages in thread
From: François Bissey @ 2014-11-19 22:00 UTC (permalink / raw
To: gentoo-science
As of today we have sage-doc and sage-doc-bin in the overlay for sage 6.4. By
default sage-doc-bin is the only one keyworded.
For development/beta/rc work (sage*-9999 ebuilds) only sage-doc is the only
possibility as upstream do not provide pre-built doc for these.
There is usually a lag between upstream release and the availability of
pre-build doc, so early adopters will always have to build their own
docs.
Making building the doc the default was motivated by the failure by sage
upstream to provide pre-build doc for a long time for sage 6.2.
Francois
On Tue, 23 Sep 2014 14:35:03 v_2e@ukr.net wrote:
> On Tue, 23 Sep 2014 21:49:28 +1200
>
> François Bissey <frp.bissey@gmail.com> wrote:
> > I am definitely giving some thought on that but nothing concrete
> > so far. Upstream is not managing it at all so any solution will be our
> > own work.
>
> And if I understand correctly, sage depends on sage-doc, so the
> sage-doc is not even an optional package. Am I right?
>
>
> -----
> <v_2e@ukr.net>
^ permalink raw reply [flat|nested] 14+ messages in thread
end of thread, other threads:[~2014-11-19 22:00 UTC | newest]
Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-09-20 9:56 [gentoo-science] [sage-on-gentoo] Cannot install sage-doc: insufficient memory v_2e
2014-09-20 9:57 ` François Bissey
2014-09-20 10:02 ` v_2e
2014-09-20 10:01 ` François Bissey
2014-09-20 21:55 ` v_2e
2014-09-21 21:52 ` François Bissey
2014-09-23 7:51 ` v_2e
2014-09-23 8:51 ` François Bissey
2014-09-23 9:48 ` v_2e
2014-09-23 9:49 ` François Bissey
2014-09-23 11:35 ` v_2e
2014-09-23 11:38 ` François Bissey
2014-11-19 22:00 ` François Bissey
2014-09-25 0:59 ` François Bissey
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox