Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 04 Mar 2025 19:38:48 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 285159] [NEW PORT] java/jextract: generate bindings from native libraries
Message-ID:  <bug-285159-7788-vw0JsR9ZEg@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-285159-7788@https.bugs.freebsd.org/bugzilla/>
References:  <bug-285159-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D285159

--- Comment #4 from Igor Kolesnik <igor@kolesnik.es> ---
(In reply to Benjamin Takacs from comment #3)

I had llvm15 installed already, tried it, and it worked.

Then I decided to try the default llvm port (which is 19), and
jextract build failed with the following output:

> Task :verify FAILED
Exception in thread "main" java.lang.ExceptionInInitializerError
        at
org.openjdk.jextract@23/org.openjdk.jextract.clang.LibClang.<clinit>(Unknown
Source)
        at
org.openjdk.jextract@23/org.openjdk.jextract.impl.Parser.parse(Unknown Sour=
ce)
        at
org.openjdk.jextract@23/org.openjdk.jextract.JextractTool.parseInternal(Unk=
nown
Source)
        at
org.openjdk.jextract@23/org.openjdk.jextract.JextractTool.run(Unknown Sourc=
e)
        at
org.openjdk.jextract@23/org.openjdk.jextract.JextractTool.main(Unknown Sour=
ce)
Caused by: java.lang.UnsatisfiedLinkError: no clang in java.library.path:
/usr/java/packages/lib/amd64:/usr/lib:/usr/local/lib
        at java.base/java.lang.ClassLoader.loadLibrary(Unknown Source)
        at java.base/java.lang.Runtime.loadLibrary0(Unknown Source)
        at java.base/java.lang.System.loadLibrary(Unknown Source)
        at
org.openjdk.jextract@23/org.openjdk.jextract.clang.libclang.Index_h.<clinit=
>(Unknown
Source)
        ... 5 more

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-285159-7788-vw0JsR9ZEg>