Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 239063 - media-gfx/asymptote-1.43: Documentation is built even if doc useflag is disabled (prevents successful emerge on older systems)
Summary: media-gfx/asymptote-1.43: Documentation is built even if doc useflag is disab...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Andrey Grozin
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-09-29 16:34 UTC by Tobias Minich
Modified: 2008-10-07 06:16 UTC (History)
1 user (show)

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


Attachments
Output of "paludis --info asymptote" (paludis_info.log,14.48 KB, text/plain)
2008-10-02 13:16 UTC, Tobias Minich
Details
Build log (build.log,21.78 KB, text/plain)
2008-10-02 13:18 UTC, Tobias Minich
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tobias Minich 2008-09-29 16:34:39 UTC
The ebuild builds the asymptote documentation even if not requested (doc useflag disabled). This is a show-stopper on older systems as the build fails on the documentation generation step (probably due to memory issues).
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2008-09-29 18:15:22 UTC
Please attach the build log and post your `emerge --info' too.
Comment 2 Tobias Minich 2008-09-30 01:06:47 UTC
I use paludis on all of my systems, so I'm not sure how useful an 'emerge --info' actually is.
The use flags I use for asymptote on my laptop (that's where the problem occurs) are X, latex and python.
The build fails during making imagecontour.png with a "fork failed" for latex.

If you need more detailed info, I can provide that tomorrow.
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2008-10-01 01:43:57 UTC
You'll have to post some kind of system info. Paludis provides the means to that end just as well as portage does...
Comment 4 Tobias Minich 2008-10-02 13:16:33 UTC
Created attachment 166997 [details]
Output of "paludis --info asymptote"

Please note that the error was also present in version 1.41, but I was pressed for time so I manhandled it into being installed with ebuild and manipulating the files in-between.
Comment 5 Tobias Minich 2008-10-02 13:18:00 UTC
Created attachment 166999 [details]
Build log
Comment 6 Tobias Minich 2008-10-02 13:19:02 UTC
Added requested info.
Comment 7 Andrey Grozin gentoo-dev 2008-10-03 15:30:15 UTC
use.desc says that USE=doc adds extra documentation (API, Javadoc, etc.). This means that the basic documentation (such as man pages, info files) should be always installed.

With USE=-doc the ebuild builds (and installs) the man page and info files; with +doc, also html and pdf documentation (by the way, the command "help" in asy uses asymptote.pdf, so, maybe, this should also be considered basic documentation, not extra).

From your log I see that you emerge asymptote without boehm-gc. I think this is very unwise. Maybe, your problem is indeed related to insufficient memory. Please try with USE=+boehm-gc and report the result.
Comment 8 Tobias Minich 2008-10-03 23:13:34 UTC
Good call, activating boehm-gc did fix the issue.
But may I suggest to make boehm-gc a default-activetad flag if you think it's unwise to use asymptote without? I usually tend to think that the defaults are a wise choice =)
Maybe the ebuild should also warn about possible trouble in low memory conditions if it is deactivated.
Comment 9 Andrey Grozin gentoo-dev 2008-10-07 06:16:50 UTC
asymptote-1.43-r1 is in cvs. Thanks.