Opened 14 months ago

Last modified 2 weeks ago

#67123 new defect

openjdk8 @8u362 fails to build when libjpeg-turbo is active

Reported by: fhgwright (Fred Wright) Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.8.1
Keywords: Cc: usersxx, cooljeanius (Eric Gallager), Dave-Allured (Dave Allured), mascguy (Christopher Nielsen)
Port: openjdk8

Description

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 openjdk8.

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 from.

Change History (3)

comment:1 Changed 4 months ago by cooljeanius (Eric Gallager)

Cc: cooljeanius added

comment:2 Changed 2 weeks ago by Dave-Allured (Dave Allured)

Cc: Dave-Allured added

comment:3 Changed 2 weeks ago by mascguy (Christopher Nielsen)

Cc: mascguy added
Note: See TracTickets for help on using tickets.