Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 382117

Summary: media-gfx/asymptote-2.13 build fails with 'doc' USE flag
Product: Gentoo Linux Reporter: Hypnos <hypnos75>
Component: Current packagesAssignee: Andrey Grozin <grozin>
Status: RESOLVED INVALID    
Severity: normal CC: sci
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Build log
cave info =media-gfx/asymptote-2.13

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.