Bug#1020028: cimg: FTBFS: ImfHeader.h:22:10: fatal error: ImathVec.h: No such file or directory

Lucas Nussbaum lucas at debian.org
Sun Sep 18 07:20:46 BST 2022


Source: cimg
Version: 3.0.2+dfsg-1
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20220917 ftbfs-bookworm

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
> g++ -o CImg_demo CImg_demo.cpp -I.. -Wall -Wextra -Wfatal-errors -Werror=unknown-pragmas -Werror=unused-label -Wshadow -Ofast -Dcimg_use_vt100 -Dcimg_display=1   -Dcimg_use_xrandr  -Dcimg_use_tiff  -Dcimg_use_heif  -Dcimg_use_openexr -I/usr/include/OpenEXR -Dcimg_use_png  -Dcimg_use_jpeg  -Dcimg_use_zlib  -Dcimg_use_curl -Dcimg_use_opencv -I/usr/include/opencv4 -I/usr/include/opencv -I/usr/include/opencv4 -Dcimg_use_magick -I/usr/include/GraphicsMagick -Dcimg_use_fftw3  -lm -lX11 -lpthread  -lXrandr -ltiff -ltiffxx -lheif -lIlmImf -lHalf -lpng -lz -ljpeg -lz -lcurl -lopencv_stitching -lopencv_alphamat -lopencv_aruco -lopencv_barcode -lopencv_bgsegm -lopencv_bioinspired -lopencv_ccalib -lopencv_dnn_objdetect -lopencv_dnn_superres -lopencv_dpm -lopencv_face -lopencv_freetype -lopencv_fuzzy -lopencv_hdf -lopencv_hfs -lopencv_img_hash -lopencv_intensity_transform -lopencv_line_descriptor -lopencv_mcc -lopencv_quality -lopencv_rapid -lopencv_reg -lopencv_rgbd -lopencv_saliency -lopencv_shape -lopencv_stereo -lopencv_structured_light -lopencv_phase_unwrapping -lopencv_superres -lopencv_optflow -lopencv_surface_matching -lopencv_tracking -lopencv_highgui -lopencv_datasets -lopencv_text -lopencv_plot -lopencv_ml -lopencv_videostab -lopencv_videoio -lopencv_viz -lopencv_wechat_qrcode -lopencv_ximgproc -lopencv_video -lopencv_xobjdetect -lopencv_objdetect -lopencv_calib3d -lopencv_imgcodecs -lopencv_features2d -lopencv_dnn -lopencv_flann -lopencv_xphoto -lopencv_photo -lopencv_imgproc -lopencv_core -lGraphicsMagick++ -lGraphicsMagick -lfftw3 -lfftw3_threads
> In file included from /usr/include/OpenEXR/ImfRgbaFile.h:23,
>                  from ../CImg.h:584,
>                  from CImg_demo.cpp:48:
> /usr/include/OpenEXR/ImfHeader.h:22:10: fatal error: ImathVec.h: No such file or directory
>    22 | #include "ImathVec.h"
>       |          ^~~~~~~~~~~~
> compilation terminated.
> make[3]: *** [Makefile:315: CImg_demo] Error 1


The full build log is available from:
http://qa-logs.debian.net/2022/09/17/cimg_3.0.2+dfsg-1_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20220917;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20220917&fusertaguser=lucas@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

If you reassign this bug to another package, please marking it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.



More information about the debian-science-maintainers mailing list