Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 382117 - media-gfx/asymptote-2.13 build fails with 'doc' USE flag
Summary: media-gfx/asymptote-2.13 build fails with 'doc' USE flag
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Andrey Grozin
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-07 05:23 UTC by Hypnos
Modified: 2011-09-08 15:03 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Build log (asymptote-2.13_build.log,41.91 KB, text/plain)
2011-09-07 05:23 UTC, Hypnos
Details
cave info =media-gfx/asymptote-2.13 (asymptote-2.13_info.log,9.82 KB, text/plain)
2011-09-07 05:24 UTC, Hypnos
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Hypnos 2011-09-07 05:23:50 UTC
Created attachment 285757 [details]
Build log

It fails at this step:

**********

../asy -dir ../base -config "" -render=0 -f pdf -noprc penfunctionimage.asy

Error:
  * In program cave --log-level silent perform install --hooks --managed-output --output-exclusivity with-others =media-gfx/asymptote-2.13:0::gentoo --destination installed --replacing =media-gfx/asymptote-2.08:0::installed --x-of-y 1 of 1:
  * When installing 'media-gfx/asymptote-2.13:0::gentoo' replacing { 'media-gfx/asymptote-2.08:0::installed' }:
  * When running an ebuild command on 'media-gfx/asymptote-2.13:0::gentoo':
  * Install failed for 'media-gfx/asymptote-2.13:0::gentoo' (paludis::ActionFailedError)

error: out of memory
make: *** [penfunctionimage.pdf] Error 1
/usr/libexec/paludis/utils/emake: emake returned error 2

**********

Paludis info and full build log attached.
Comment 1 Hypnos 2011-09-07 05:24:32 UTC
Created attachment 285759 [details]
cave info =media-gfx/asymptote-2.13
Comment 2 Hypnos 2011-09-07 17:14:53 UTC
FWIW, the command that fails during the doc build works if I remove the '-config ""' option:

# ../asy -dir ../base -f pdf -render=0 -noprc penfunctionimage.asy
Comment 3 Andrey Grozin gentoo-dev 2011-09-08 11:58:09 UTC
It seems you are building asymptote with USE=-boehm-gc. Without garbage collection, some examples in the documentation require really *huge* memory to run.
I recommend to emerge it with +boehm-gc (this flag is on by default in the ebuild).
Comment 4 Hypnos 2011-09-08 15:03:22 UTC
Thank you, works well.

Perhaps boehm-gc should be a required dep, esp. if the "doc" USE flag is set.