https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: media-gfx/enblend-4.2.0_p20161007-r2 fails to compile. Discovered on: amd64 (internal ref: ci)
CC'ing also the author of the commit (ef829652925fbe6e01dafe871e78e5a2637e18a0)
Created attachment 833133 [details] build.log build log and emerge --info
Created attachment 833135 [details] 1-CMakeError.log 1-CMakeError.log
Created attachment 833137 [details] 1-CMakeOutput.log 1-CMakeOutput.log
Error(s) that match a know pattern in addition to what has been reported in the summary: FAILED: doc/seam-line-visualization.eps /var/tmp/portage/media-gfx/enblend-4.2.0_p20161007-r2/work/enblend-4.2.0_p20161007_build/doc/seam-line-visualization.eps /var/tmp/portage/media-gfx/enblend-4.2.0_p20161007-r2/temp/environment: line 2310: -DINSTALL_HTML_DOC=ON: command not found /var/tmp/portage/media-gfx/enblend-4.2.0_p20161007-r2/temp/environment: line 2311: -DINSTALL_PDF_DOC=ON: command not found
tracked separately than 875203 while both has the same compile failure.
The obvious solution is installing virtual/imagemagick-tools[tiff], but rebuilding gives: FAILED: doc/entropy-cutoff.png doc/entropy-cutoff.cleantex.gp /var/tmp/portage/media-gfx/enblend-4.2.0_p20161007-r1/work/enblend-4.2.0_p20161007_build/doc/entropy-cutoff.png /var/tmp/portage/media-gfx/enblend-4.2.0_p20161007-r1/work/enblend-4.2.0_p20161007_build/doc/entropy-cutoff.cleantex.gp cd /var/tmp/portage/media-gfx/enblend-4.2.0_p20161007-r1/work/enblend-4.2.0_p20161007_build/doc && /usr/bin/perl /var/tmp/portage/media-gfx/enblend-4.2.0_p20161007-r1/work/enblend-4.2.0_p20161007/doc/cleantex /var/tmp/portage/media-gfx/enblend-4.2.0_p20161007-r1/work/enblend-4.2.0_p20161007/doc/entropy-cutoff.gp > entropy-cutoff.cleantex.gp && /usr/bin/gnuplot --default-settings -e "DATA_DIR='/var/tmp/portage/media-gfx/enblend-4.2.0_p20161007-r1/work/enblend-4.2.0_p20161007/doc'" -e "set output \"entropy-cutoff.png\"; set terminal pngcairo enhanced transparent truecolor size 720,540" entropy-cutoff.cleantex.gp set output "entropy-cutoff.png"; set terminal pngcairo enhanced transparent truecolor size 720,540 ^ line 0: unknown or ambiguous terminal type; type just 'set terminal' for a list ninja: build stopped: subcommand failed.
Could it be gnuplot needs to be installed with USE=cairo for the pngcairo terminal type to work? The gnuplot on my desktop does have USE=cairo and knows the pngcairo terminal type.
That gets us farther! It fails making some file, which later errors out when it tries to install it: !!! Error: Cannot open Ghostscript for piped input: gs -q -dSAFER -dNOPAUSE -dBATCH -dCompatibilityLevel=1.5 -sDEVICE=pdfwrite -sOutputFile=photographic-workflow-eps-converted-to.pdf -dPDFSETTINGS#/prepress -dMaxSubsetPct=100 -dSubsetFonts=true -dEmbedAllFonts=true -dAutoRotatePages#/None - -c quit system returned with code 512 LaTeX Warning: Reference `fig:photographic-workflow' on page 5 undefined on inp ut line 10. /var/tmp/portage/media-gfx/enblend-4.2.0_p20161007-r1/work/enblend-4.2.0_p20161 007/doc/common-standard-workflow.tex:16: Package pdftex.def Error: File `photog raphic-workflow-eps-converted-to.pdf' not found: using draft setting. See the pdftex.def package documentation for explanation. Type H <return> for immediate help. ... l.16 \includeimage{photographic-workflow} ? /var/tmp/portage/media-gfx/enblend-4.2.0_p20161007-r1/work/enblend-4.2.0_p20161 007/doc/common-standard-workflow.tex:16: Emergency stop. ... l.16 \includeimage{photographic-workflow} /var/tmp/portage/media-gfx/enblend-4.2.0_p20161007-r1/work/enblend-4.2.0_p20161 007/doc/common-standard-workflow.tex:16: ==> Fatal error occurred, no output P DF file produced! Transcript written on enblend.log.
Created attachment 833381 [details] enblend-4.2.0_p20161007-r2:20221118-124527.log Adding USE=tiff to virtual/imagemagick-tools, USE=cairo to gnuplot and app-text/ghostscript-gpl get's a little further. Compilation succeeds, but installation failes: -- Installing: /var/tmp/portage-ondisk/portage/media-gfx/enblend-4.2.0_p20161007-r2/image/usr/share/doc/enblend-4.2.0_p20161007-r2/enfuse.ps CMake Error at doc/cmake_install.cmake:53 (file): file INSTALL cannot find "/var/tmp/portage-ondisk/portage/media-gfx/enblend-4.2.0_p20161007-r2/work/enblend-4.2.0_p20161007_build/doc/enblend.pdf": No such file or directory. Call Stack (most recent call first): cmake_install.cmake:48 (include) FAILED: CMakeFiles/install.util cd /var/tmp/portage-ondisk/portage/media-gfx/enblend-4.2.0_p20161007-r2/work/enblend-4.2.0_p20161007_build && /usr/bin/cmake -P cmake_install.cmake ninja: build stopped: subcommand failed. AFAICS the PDF generation of the LaTeX documentation also fails, while the dvi and ps files are generated. There are several occurences of PDF output file generation failed messages. (/usr/share/texmf-dist/tex/latex/l3backend/l3backend-pdftex.def) (./enblend.aux (./enblend-overview.aux) (./common-known-limitations.aux ./common-known-limitations.aux:43: LaTeX Error: Missing \begin{document}. See the LaTeX manual or LaTeX Companion for explanation. Type H <return> for immediate help. ... l.43 t ingdepth}{0} ? ./common-known-limitations.aux:43: Emergency stop. ... l.43 t ingdepth}{0} ./common-known-limitations.aux:43: ==> Fatal error occurred, no output PDF fil e produced! I don't use LaTeX actively very much these days, but what I can see, the documentation still uses some long outdated styles, like fixltx2e, obsoleted in 2015: I'm attaching my build log for reference.
ci has reproduced this issue with version 4.2.0_p20161007-r5 - Updating summary.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7dfb6f66b8c0fb1aee3c5e860f54d076227a54f3 commit 7dfb6f66b8c0fb1aee3c5e860f54d076227a54f3 Author: Andreas K. Hüttel <dilfridge@gentoo.org> AuthorDate: 2023-05-06 17:08:59 +0000 Commit: Andreas K. Hüttel <dilfridge@gentoo.org> CommitDate: 2023-05-06 17:09:27 +0000 media-gfx/enblend: Add a ton of missing build dependencies :| Closes: https://bugs.gentoo.org/881607 Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org> media-gfx/enblend/enblend-4.2.0_p20161007-r5.ebuild | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-)