[External] : Re: Trouble compiling openjfx webkit on Fedora Linux

Orion Poplawski orion at nwra.com
Mon Oct 13 23:46:12 UTC 2025


On 10/13/25 12:26, Kevin Rushforth wrote:
> 
> 
> On 10/13/2025 10:42 AM, Orion Poplawski wrote:
>> On 10/13/25 11:28, Kevin Rushforth wrote:
>>> This looks like it might be related to moving jdk.jsobject out of the JDK to
>>> be distributed with JavaFX that I did starting in JDK 24 / JavaFX 24.
>> I don't think so as I see it in old versions as well.
> 
> Yes, I looked more closely at your failure, and you are right. It isn't 
> related.
> 
>>> A few questions:
>>>
>>> 1. What JDK are you using to build? Does it have JavaFX modules in it?
>> OpenJDK 25.  It does not have JavaFX modules - that is what this package
>> provides.>
> 
> OK.
> 
>>> 2. What OS are you using to build? What version of GCC?
>> Fedora Rawhide.  GCC 15.2.1
> 
> You may or may not run into any GCC 15 failures (we had several with GCC 
> 14, which are now all fixed). If you do, feel free to let us know.
> 
>>> 3. What tag or branch in the jfx (or is it jfx25u) repo are you using?
>> I've tried with a couple different ones:
>>
>> jfx17u-17.0.13-0
>> jfx21u-21.0.9+1
>> jfx25u-25+29
> 
> OK.
> 
>>> 4. What is the gradle command line you used to build?
>> Again, we're not using gradle because it is not packaged for Fedora and we
>> must build using packaged tools.>
> 
> You are in uncharted waters then. How are you building the class files 
> and the modules if you don't run "gradle"? It isn't as simple as running 
> "javac". I don't have the time to help you debug your environment, but I 
> would recommend looking at what the gradle build does when it builds the 
> class files. Specifically, the header files that are missing and causing 
> your build failure are generated as part of building the Java classes 
> for the javafx.web module (which must be built before the native code 
> can be built).
> 
> I didn't spot anything amiss in the cmake output, so it might be that 
> once you run javac to build the classes and header files you'll be able 
> to proceed.
> 
> Good luck.
> 
> -- Kevin

Are there any detailed webkit build logs out there that I could use as a 
reference?


-- 
Orion Poplawski
he/him/his  - surely the least important thing about me
IT Systems Manager                         720-772-5637
NWRA, Boulder/CoRA Office             FAX: 303-415-9702
3380 Mitchell Lane                       orion at nwra.com
Boulder, CO 80301                 https://www.nwra.com/


More information about the openjfx-dev mailing list