Summary: | media-gfx/asymptote-2.21 USE="doc latex" - ../base/plain_shipout.asy: 82.10: runtime: shipout failed | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | MaratIK <marat.buharov> |
Component: | Current packages | Assignee: | Andrey Grozin <grozin> |
Status: | RESOLVED OBSOLETE | ||
Severity: | normal | CC: | sci |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
build.log
build.log diatom_.tex on my computer |
Description
MaratIK
2013-02-21 14:48:48 UTC
Created attachment 339580 [details]
build.log
I cannot reproduce this: asymptote-2.21 with these USE flags compiles normally, including documentation. I suppose your problem is caused by some earlier error. Please post the full build log. By the way, do you use USE=boehm-gc (which is on by default)? Some examples in the documentation may require a *huge* amount of memory without garbage collection; maybe, asy has run out of memory, thus producing an incomplete .tex file. Build.log was attached earlier. That my USE-flags: $ emerge -pqv =media-gfx/asymptote-2.21 [ebuild U ] media-gfx/asymptote-2.21 [2.13] USE="X boehm-gc doc emacs examples fftw gsl imagemagick latex offscreen%* opengl%* python svg%* vim-syntax -sigsegv" Created attachment 339678 [details]
build.log
Attached build.log with run emerge in locale "en_US.utf8" (the old was in "ru_RU.utf8")
MAKEOPTS="-j1" does not help. Error is the same. I cannot understand what's going on with your build. In my log file, I see make -j2 -j1 asymptote.pdf ../asy -dir ../base -config "" -render=0 -f pdf -noprc errorbars.asy ../asy -dir ../base -config "" -render=0 -f pdf -noprc shadedtiling.asy ../asy -dir ../base -config "" -render=0 -f pdf -noprc lineargraph.asy ../asy -dir ../base -config "" -render=0 -f pdf -noprc secondaryaxis.asy ../asy -dir ../base -config "" -render=0 -f pdf -noprc triangulate.asy ../asy -dir ../base -config "" -render=0 -f pdf -noprc flow.asy ../asy -dir ../base -config "" -render=0 -f pdf -noprc diatom.asy ../asy -dir ../base -config "" -render=0 -f pdf -noprc loggraph.asy ../asy -dir ../base -config "" -render=0 -f pdf -noprc axis3.asy ../asy -dir ../base -config "" -render=0 -f pdf -noprc westnile.asy ../asy -dir ../base -config "" -render=0 -f pdf -noprc bigdiagonal.asy ../asy -dir ../base -config "" -render=0 -f pdf -noprc generalaxis3.asy ../asy -dir ../base -config "" -render=0 -f pdf -noprc cylinderskeleton.asy ../asy -dir ../base -config "" -render=0 -f pdf -noprc CDlabel.asy ../asy -dir ../base -config "" -render=0 -f pdf -noprc superpath.asy ../asy -dir ../base -config "" -render=0 -f pdf -noprc subpictures.asy ../asy -dir ../base -config "" -render=0 -f pdf -noprc binarytreetest.asy ../asy -dir ../base -config "" -render=0 -f pdf -noprc grid3xyz.asy ../asy -dir ../base -config "" -render=0 -f pdf -noprc graphmarkers.asy ../asy -dir ../base -config "" -render=0 -f pdf -noprc planes.asy ../asy -dir ../base -config "" -render=0 -f pdf -noprc Hobbycontrol.asy ../asy -dir ../base -config "" -render=0 -f pdf -noprc logimage.asy ../asy -dir ../base -config "" -render=0 -f pdf -noprc saddle.asy ../asy -dir ../base -config "" -render=0 -f pdf -noprc square.asy ../asy -dir ../base -config "" -render=0 -f pdf -noprc elliptic.asy ../asy -dir ../base -config "" -render=0 -f pdf -noprc labelsquare.asy ../asy -dir ../base -config "" -render=0 -f pdf -noprc markers2.asy ../asy -dir ../base -config "" -render=0 -f pdf -noprc brokenaxis.asy ../asy -dir ../base -config "" -render=0 -f pdf -noprc dots.asy ../asy -dir ../base -config "" -render=0 -f pdf -noprc makepen.asy ../asy -dir ../base -config "" -render=0 -f pdf -noprc parametricgraph.asy ../asy -dir ../base -config "" -render=0 -f pdf -noprc image.asy ../asy -dir ../base -config "" -render=0 -f pdf -noprc eetomumu.asy ../asy -dir ../base -config "" -render=0 -f pdf -noprc colons.asy ../asy -dir ../base -config "" -render=0 -f pdf -noprc join3.asy ../asy -dir ../base -config "" -render=0 -f pdf -noprc logticks.asy ../asy -dir ../base -config "" -render=0 -f pdf -noprc mexicanhat.asy ../asy -dir ../base -config "" -render=0 -f pdf -noprc irregularcontour.asy ../asy -dir ../base -config "" -render=0 -f pdf -noprc linetype.asy ../asy -dir ../base -config "" -render=0 -f pdf -noprc colors.asy ../asy -dir ../base -config "" -render=0 -f pdf -noprc legend.asy ../asy -dir ../base -config "" -render=0 -f pdf -noprc beziercurve.asy ../asy -dir ../base -config "" -render=0 -f pdf -noprc hatch.asy ../asy -dir ../base -config "" -render=0 -f pdf -noprc leastsquares.asy ../asy -dir ../base -config "" -render=0 -f pdf -noprc onecontour.asy ../asy -dir ../base -config "" -render=0 -f pdf -noprc Hobbydir.asy ../asy -dir ../base -config "" -render=0 -f pdf -noprc tile.asy ../asy -dir ../base -config "" -render=0 -f pdf -noprc cube.asy ../asy -dir ../base -config "" -render=0 -f pdf -noprc Bode.asy ../asy -dir ../base -config "" -render=0 -f pdf -noprc flowchartdemo.asy ../asy -dir ../base -config "" -render=0 -f pdf -noprc knots.asy ../asy -dir ../base -config "" -render=0 -f pdf -noprc join.asy ../asy -dir ../base -config "" -render=0 -f pdf -noprc lineargraph0.asy ../asy -dir ../base -config "" -render=0 -f pdf -noprc filegraph.asy ../asy -dir ../base -config "" -render=0 -f pdf -noprc histogram.asy ../asy -dir ../base -config "" -render=0 -f pdf -noprc icon.asy ../asy -dir ../base -config "" -render=0 -f pdf -noprc bezier2.asy ../asy -dir ../base -config "" -render=0 -f pdf -noprc multicontour.asy ../asy -dir ../base -config "" -render=0 -f pdf -noprc penimage.asy ../asy -dir ../base -config "" -render=0 -f pdf -noprc generalaxis.asy ../asy -dir ../base -config "" -render=0 -f pdf -noprc vectorfield.asy ../asy -dir ../base -config "" -render=0 -f pdf -noprc diagonal.asy ../asy -dir ../base -config "" -render=0 -f pdf -noprc loggrid.asy ../asy -dir ../base -config "" -render=0 -f pdf -noprc markers1.asy ../asy -dir ../base -config "" -render=0 -f pdf -noprc datagraph.asy ../asy -dir ../base -config "" -render=0 -f pdf -noprc CAD1.asy ../asy -dir ../base -config "" -render=0 -f pdf -noprc penfunctionimage.asy ../asy -dir ../base -config "" -render=0 -f pdf -noprc exp.asy ../asy -dir ../base -config "" -render=0 -f pdf -noprc GaussianSurface.asy ../asy -dir ../base -config "" -render=0 -f pdf -noprc scaledgraph.asy ../asy -dir ../base -config "" -render=0 -f pdf -noprc unitcircle3.asy ../asy -dir ../base -config "" -render=0 -f pdf -noprc HermiteSpline.asy ../asy -dir ../base -config "" -render=0 -f pdf -noprc quartercircle.asy ../asy -dir ../base -config "" -render=0 -f pdf -noprc logo.asy ../asy -dir ../base -config "" -render=0 -f pdf -noprc helix.asy ../asy -dir ../base -config "" -render=0 -f pdf -noprc slopefield1.asy ../asy -dir ../base -config "" -render=0 -f pdf -noprc log2graph.asy ../asy -dir ../base -config "" -render=0 -f pdf -noprc monthaxis.asy ../asy -dir ../base -config "" -render=0 -f pdf -noprc imagecontour.asy ../asy -dir ../base -config "" -render=0 -f pdf -noprc bezier.asy rm -f latexusage-* rm -f latexusage.pre rm -f latexusage.aux latex latexusage This is pdfTeX, Version 3.1415926-2.4-1.40.13 (TeX Live 2012) restricted \write18 enabled. entering extended mode (./latexusage.tex LaTeX2e <2011/06/27> Babel <v3.8m> and hyphenation patterns for english, dumylang, nohyphenation, bu lgarian, russian, ukrainian, loaded. (/usr/share/texmf-dist/tex/latex/base/article.cls Document Class: article 2007/10/19 v1.4h Standard LaTeX document class and so on. In your log, all ../asy lines after diatom.asy are absent, latex is run right away. This cannot be right. But I don't know why make does not do a lot of work it should do (and does for me). Found that "asy" generates incorrect *.tex file diatom_.tex has such rows: \ASYalign(298.812097,202.629617)(0.000000,-0.281250){\vphantom{$10^4$}%} \definecolor{ASYcolor}{gray}{0.000000}\color{ASYcolor} But '%' is special symbol in latex, which means the comment till the end of line, so closing curly brace ignores '}' by latex. Adding backslash '\' before '%' fix that error. And tex-file became correct. \ASYalign(298.812097,202.629617)(0.000000,-0.281250){\vphantom{$10^4$}\%} \definecolor{ASYcolor}{gray}{0.000000}\color{ASYcolor} Andrey Grozin, can you find that that row in your doc/diatom_.tex and post here? In my file that string positioned at row 136. (In reply to comment #7) > Found that "asy" generates incorrect *.tex file > > diatom_.tex has such rows: > \ASYalign(298.812097,202.629617)(0.000000,-0.281250){\vphantom{$10^4$}%} > \definecolor{ASYcolor}{gray}{0.000000}\color{ASYcolor} No, I have no such line. The most similar one is line 124: \ASYalign(298.840240,16.545565)(-0.500000,-1.000000){\vphantom{$10^4$}$10$} \definecolor{ASYcolor}{gray}{0.000000}\color{ASYcolor} When everything's normal, one does not see these foo_.tex files at all: they are used to produce foo.pdf and removed at once. I had to add -k to the asy call to keep them. Created bugreport at project bugtracker https://sourceforge.net/tracker/?func=detail&atid=685683&aid=3605634&group_id=120000 Andrey Grozin, can you attach the correct diatom_.tex, I'll try to inspect the sources for error, that caused bug on my machine. Created attachment 339712 [details]
diatom_.tex on my computer
It definitely contains no %}, and latex does not complain.
commit d4b53ef9737f262afefe09ec5539e35c2c425d43 Author: Justin Lecher <jlec@gentoo.org> Date: Wed Nov 11 10:59:12 2015 +0100 media-gfx/asymptote: Drop old obsolets Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=314265 Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=458598 Package-Manager: portage-2.2.23 Signed-off-by: Justin Lecher <jlec@gentoo.org> https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d4b53ef9737f262afefe09ec5539e35c2c425d43 |