Bug 290127 - java/bootstrap-openjdk11: misses libX11.so.6 which no dependency provides
Summary: java/bootstrap-openjdk11: misses libX11.so.6 which no dependency provides
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-java (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-10-10 12:12 UTC by Alexander Leidinger
Modified: 2026-03-03 11:29 UTC (History)
5 users (show)

See Also:
bugzilla: maintainer-feedback? (java)


Attachments
[PATCH] java/bootstrap-openjdk17: add missing dependency on libx11 (1.09 KB, patch)
2025-12-15 16:12 UTC, Siva Mahadevan
siva: maintainer-approval? (java)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Leidinger freebsd_committer freebsd_triage 2025-10-10 12:12:00 UTC
Poudriere shows this:
Warning: bootstrap-openjdk11-11.0.5.10.1 will be rebuilt as it misses libX11.so.6 which no dependency provides. This may be a port bug if it repeats next build.

This is also an issue for bootstrap-openjdk17.
Comment 1 Siva Mahadevan freebsd_committer freebsd_triage 2025-12-15 16:12:14 UTC
Created attachment 266214 [details]
[PATCH] java/bootstrap-openjdk17: add missing dependency on libx11

I'm running into this issue for bootstrap-openjdk17, which is very annoying since it requires a rebuild on every invocation of 'poudriere bulk'. Attached a patch that should fix the issue for it, and a similar approach can be used for 11 if necessary in this bug report.
Comment 2 Harald Eilertsen freebsd_committer freebsd_triage 2025-12-15 19:00:06 UTC
There's a review about this issue with some discussion:
https://reviews.freebsd.org/D53944

I'm also working on a different way of bootstrapping the OpenJDK builds. I'm writing a bit about it in the this issue:
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=289731
Comment 3 Ronald Klop freebsd_committer freebsd_triage 2026-03-02 14:19:24 UTC
Is this still a problem since this commit that changes the bootstrapping ports 4121610441a887d2c26bc5d5ae33772f1cc9b0c6?
Comment 4 Alexander Leidinger freebsd_committer freebsd_triage 2026-03-03 11:29:04 UTC
No, with the new java bootstrap poudriere doesn't complain anymore.