While rebuilding stuff for the libpng upgrade, gl2ps failed to merge. pdflatex was called and pdflatex wasn't rebuilt yet for libpng-1.4, so the call failed. This happened because gl2ps documentation has automagic dependencies to pdflatex (dev-texlive/texlive-latex) and tth (dev-tex/tth). An ebuild with a possible fix has been uploaded in the science overlay.
why you say [in overlay]. Which verison of gl2ps fails for you?
(In reply to comment #1) > why you say [in overlay]. Which verison of gl2ps fails for you? > Sorry should have precised: "science" overlay where we used to have it before. Version 1.35. It is not so much failing as the fact there are automagic dependencies: find_package(LATEX) if(PDFLATEX_COMPILER) add_custom_command(OUTPUT gl2ps.pdf DEPENDS gl2ps.tex COMMAND ${PDFLATEX_COMPILER} ARGS ${CMAKE_SOURCE_DIR}/gl2ps.tex COMMAND ${PDFLATEX_COMPILER} ARGS ${CMAKE_SOURCE_DIR}/gl2ps.tex COMMAND ${PDFLATEX_COMPILER} ARGS ${CMAKE_SOURCE_DIR}/gl2ps.tex COMMAND ${CMAKE_COMMAND} -E copy gl2ps.pdf ${CMAKE_SOURCE_DIR}) add_custom_target(pdf ALL DEPENDS gl2ps.pdf) install(FILES gl2ps.pdf DESTINATION ${GL2PS_DOC}) find_program(TTH tth) if(TTH) add_custom_command(OUTPUT gl2ps.html DEPENDS gl2ps.tex gl2ps.pdf COMMAND ${CMAKE_COMMAND} -E copy_if_different ${CMAKE_SOURCE_DIR}/gl2ps.tex ${CMAKE_BINARY_DIR}/gl2ps.tex COMMAND ${TTH} ARGS -w1 gl2ps.tex) add_custom_target(html DEPENDS gl2ps.html) endif(TTH) endif(PDFLATEX_COMPILER) ----------------------- Because pdflatex wasn't in the list of dependencies portage tried to update gl2ps before pdflatex. Because I had removed libpng12 completely. pdflatex failed. Furthermore there is a second automagic depency on tth. This is of course bad.
sorry it should have been "the call to pdflatex failed".
+*gl2ps-1.3.5-r1 (11 Jul 2010) + + 11 Jul 2010; Justin Lecher <jlec@gentoo.org> +gl2ps-1.3.5-r1.ebuild: + Imported doc building patch from sci overlay, #327599 +