[MacPorts] #67123: openjdk8 @8u362 fails to build when libjpeg-turbo is active

MacPorts noreply at macports.org
Sun Mar 19 23:31:07 UTC 2023

#67123: openjdk8 @8u362 fails to build when libjpeg-turbo is active
 Reporter:  fhgwright  |      Owner:  (none)
     Type:  defect     |     Status:  new
 Priority:  Normal     |  Milestone:
Component:  ports      |    Version:  2.8.1
 Keywords:             |       Port:  openjdk8
 The openjdk8 build procedure looks for libjpeg, and if it's found, it
 opportunistically attempts to include JPEG support.  But the build doesn't
 actually work in this case, failing with many link-time undefineds.  The
 workaround is to temporarily deactivate libjpeg-turbo while building

 A minimal fix would be to declare a conflicts_build against libjpeg-turbo,
 essentially documenting the above annoyance to the user.

 A better fix would be to disable the opportunistic JPEG support, though it
 doesn't seem to have a configure option to do so.

 An even better fix would be to make JPEG support actually work, possibly
 as a variant (which would mean also making the no-JPEG case work).  This
 would require determining where the missing functions are supposed to come

Ticket URL: <https://trac.macports.org/ticket/67123>
MacPorts <https://www.macports.org/>
Ports system for macOS

More information about the macports-tickets mailing list