pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: graphics/libheif fails to build



On Sun, Jul 14, 2024 at 08:45:00PM +0200, Martin Husemann wrote:
> While trying to build xsane (with pkgsrc -current as of a few hours ago)
> I ran into this:
> 
> [ 91%] Built target heif-thumbnailer
> [ 92%] Linking CXX executable heif-test
> [ 93%] Building CXX object examples/CMakeFiles/heif-enc.dir/decoder_tiff.cc.o
> /usr/pkgobj/graphics/libheif/work/libheif-1.18.0/examples/decoder_tiff.cc:35:10: fatal error: tiff.h: No such file or directory
>    35 | #include <tiff.h>
>       |          ^~~~~~~~
> compilation terminated.
> --- examples/CMakeFiles/heif-enc.dir/decoder_tiff.cc.o ---
> 
> 
> and the pkg doesn't seem to depend on anything that would provide tiff:
> 
> ===> Installing dependencies for libheif-1.18.0
> ==========================================================================
> The following variables will affect the build process of this package,
> libheif-1.18.0.  Their current value is shown below:
> 
>         * JPEG_DEFAULT = jpeg
> 
> Based on these variables, the following variables have been set:
> 
>         * JPEGBASE (defined, but empty)
>         * JPEG_TYPE = jpeg
> 
> You may want to abort the process now with CTRL-C and change the value
> of variables in the first group before continuing.  Be sure to run
> `/usr/bin/make clean' after the changes.
> ==========================================================================
> => Tool dependency cmake>=0: found cmake-3.30.0
> => Tool dependency mktools-[0-9]*: found mktools-20220614
> => Tool dependency pkgconf-[0-9]*: found pkgconf-2.2.0nb1
> => Tool dependency cwrappers>=20150314: found cwrappers-20220403
> => Tool dependency checkperms>=1.1: found checkperms-1.12
> => Full dependency png>=1.6.0nb1: found png-1.6.43
> => Full dependency dav1d>=1.3.0: found dav1d-1.4.3
> => Full dependency libaom>=3.3.0nb1: found libaom-3.9.1
> => Full dependency libde265>=1.0.6: found libde265-1.0.15
> => Full dependency svt-av1>=1.4.1: found svt-av1-1.8.0
> => Full dependency x265>=3.6: found x265-3.6
> => Full dependency jpeg>=9: found jpeg-9e
> 
> 
> What is missing?

An example is built when libtiff is found, and libtiff is found behing
pkgsrc's back if it's installed since the package is using cmake.

pkg_delete tiff, build in a sandbox with just the dependencies
installed, or find the magic option to turn off tiff detection in the
package :)
 Thomas


Home | Main Index | Thread Index | Old Index