|Summary:||java/openjdk12 and java/openjdk11: can not build on 11-STABLE (configure error: libjpeg is not found)|
|Product:||Ports & Packages||Reporter:||Lev A. Serebryakov <lev>|
|Component:||Individual Port(s)||Assignee:||freebsd-java (Nobody) <java>|
|Status:||Closed Overcome By Events|
|Severity:||Affects Only Me||CC:||glewis|
Description Lev A. Serebryakov 2019-04-09 12:17:36 UTC
java/openjdk12 can not be built on FreeBSD 11.2-STABLE. Configure can not find jpeg.h. I've tried to add "--with-libjpeg-include" / "--with-libjpeg-lib" (as is done for libgif), but "configure" complains about these options: Using freetype: system checking for which libjpeg to use... system checking for JPEG... no checking jpeglib.h usability... no checking jpeglib.h presence... no checking for jpeglib.h... no configure: error: --with-libjpeg=system specified, but jpeglib.h not found! configure exiting with result code 1 % ls /usr/local/include/jpeglib.h /usr/local/include/jpeglib.h %
Comment 1 Lev A. Serebryakov 2019-04-09 12:21:13 UTC
java/openjdk11 has same problem.
Comment 2 Greg Lewis 2019-04-11 22:02:30 UTC
Please attach config.log
Comment 3 Greg Lewis 2019-04-11 22:04:35 UTC
Also, what JPEG library do you have installed? Is it the default (jpeg-turbo) or something different?
Comment 4 Lev A. Serebryakov 2019-04-12 12:19:57 UTC
Created attachment 203613 [details] config.log and configure.log for failed build on FreeBSD 11.2 with graphics/jpeg installed It is basic `graphics/jpeg` which was installed long time ago for some other port.
Comment 5 Lev A. Serebryakov 2019-04-12 16:01:45 UTC
It works with jpeg-turbo, though.
Comment 6 Greg Lewis 2019-05-17 04:35:09 UTC
At the moment the port is pulling in the jpeg dependency with USES=jpeg. The two libraries should be compatible, so maybe this is a bug in the jpeg detection which only impacts with the older version of the jpeg library.
Comment 7 Greg Lewis 2020-12-06 03:07:12 UTC
Closing this because the older jpeg library has now been deleted from the ports collection and all ports now use jpeg-turbo.