Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 881607 - media-gfx/enblend-4.2.0_p20161007-r5 fails to compile: convert: no decode delegate for this image format TIF @ 741
Summary: media-gfx/enblend-4.2.0_p20161007-r5 fails to compile: convert: no decode del...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Andreas K. Hüttel
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-11-17 06:57 UTC by Agostino Sarubbo
Modified: 2023-05-06 17:09 UTC (History)
4 users (show)

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


Attachments
build.log (build.log,158.39 KB, text/plain)
2022-11-17 06:57 UTC, Agostino Sarubbo
Details
1-CMakeError.log (1-CMakeError.log,7.44 KB, text/plain)
2022-11-17 06:57 UTC, Agostino Sarubbo
Details
1-CMakeOutput.log (1-CMakeOutput.log,72.21 KB, text/plain)
2022-11-17 06:57 UTC, Agostino Sarubbo
Details
enblend-4.2.0_p20161007-r2:20221118-124527.log (enblend-4.2.0_p20161007-r2:20221118-124527.log,491.11 KB, text/plain)
2022-11-18 13:25 UTC, Bernd
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2022-11-17 06:57:11 UTC
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)
Comment 1 Agostino Sarubbo gentoo-dev 2022-11-17 06:57:13 UTC
CC'ing also the author of the commit (ef829652925fbe6e01dafe871e78e5a2637e18a0)
Comment 2 Agostino Sarubbo gentoo-dev 2022-11-17 06:57:14 UTC
Created attachment 833133 [details]
build.log

build log and emerge --info
Comment 3 Agostino Sarubbo gentoo-dev 2022-11-17 06:57:15 UTC
Created attachment 833135 [details]
1-CMakeError.log

1-CMakeError.log
Comment 4 Agostino Sarubbo gentoo-dev 2022-11-17 06:57:17 UTC
Created attachment 833137 [details]
1-CMakeOutput.log

1-CMakeOutput.log
Comment 5 Agostino Sarubbo gentoo-dev 2022-11-17 06:57:18 UTC
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
Comment 6 Agostino Sarubbo gentoo-dev 2022-11-17 06:58:03 UTC
tracked separately than 875203 while both has the same compile failure.
Comment 7 John Helmert III archtester Gentoo Infrastructure gentoo-dev Security 2022-11-17 16:18:06 UTC
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.
Comment 8 Bernd 2022-11-17 16:52:47 UTC
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.
Comment 9 John Helmert III archtester Gentoo Infrastructure gentoo-dev Security 2022-11-17 18:01:19 UTC
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.
Comment 10 Bernd 2022-11-18 13:25:56 UTC
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.
Comment 11 Agostino Sarubbo gentoo-dev 2022-12-18 14:26:35 UTC
ci has reproduced this issue with version 4.2.0_p20161007-r5 - Updating summary.
Comment 12 Larry the Git Cow gentoo-dev 2023-05-06 17:09:38 UTC
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(-)