Emerging media-libs/tiff with [ebuild N ] media-libs/tiff-4.0.3-r4 USE="cxx zlib -jbig -jpeg -lzma -static-libs" and without having media-libs/jpeg installed, fails to build with raw_decode.c:45:55: fatal error: jpeglib.h: No such file or directory compilation terminated. make[2]: *** [raw_decode.o] Error 1 make[2]: *** Waiting for unfinished jobs.... emerging media-libs/jpeg solves the problem. Reproducible: Always Expected Results: media-libs/tiff shouldn't require jpeg if the use flag is disabled.
Created attachment 357502 [details] build.log
fixed in 4.0.3-r6 by REQUIRED_USE