Package Details: jcef-jetbrains-git 122.1.8.api1.16.r5.f8bb25b-1

Git Clone URL: https://aur.archlinux.org/jcef-jetbrains-git.git (read-only, click to copy)
Package Base: jcef-jetbrains-git
Description: A simple framework for embedding Chromium-based browsers into Java-based applications. (Used for JetBrainsRuntime)
Upstream URL: https://github.com/JetBrains/jcef
Licenses: BSD
Conflicts: jcef-jetbrains
Provides: jcef-jetbrains
Submitter: huyz
Maintainer: huyz
Last Packager: huyz
Votes: 0
Popularity: 0.000000
First Submitted: 2022-03-20 08:33 (UTC)
Last Updated: 2024-03-03 15:04 (UTC)

Dependencies (19)

Required by (9)

Sources (1)

Latest Comments

Score_Under commented on 2023-11-01 19:18 (UTC)

Now seems to be asking for zip in makedepends

syori commented on 2023-08-09 22:22 (UTC)

    [javac] /home/syori/.cache/yay/jcef-jetbrains-git/src/jcef/java/module-info.java:3: error: module not found: jogl.all
    [javac]     requires jogl.all;
    [javac]                  ^
    [javac] 1 error

BUILD FAILED
/home/syori/.cache/yay/jcef-jetbrains-git/src/jcef/build.xml:74: Compile failed; see the compiler error output for details.
        at org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:1373)
        at org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:1092)
        at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:299)
        at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
        at java.base/java.lang.reflect.Method.invoke(Method.java:578)
        at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:99)
        at org.apache.tools.ant.Task.perform(Task.java:350)
        at org.apache.tools.ant.Target.execute(Target.java:449)
        at org.apache.tools.ant.Target.performTasks(Target.java:470)
        at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1401)
        at org.apache.tools.ant.Project.executeTarget(Project.java:1374)
        at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
        at org.apache.tools.ant.Project.executeTargets(Project.java:1264)
        at org.apache.tools.ant.Main.runBuild(Main.java:818)
        at org.apache.tools.ant.Main.startAnt(Main.java:223)
        at org.apache.tools.ant.launch.Launcher.run(Launcher.java:284)
        at org.apache.tools.ant.launch.Launcher.main(Launcher.java:101)

Total time: 0 seconds
==> ERROR: A failure occurred in build().
    Aborting...
 -> error making: jcef-jetbrains-git-exit status 4
 -> Failed to install the following packages. Manual intervention is required:
jcef-jetbrains-git - exit status 4

Tried install jogl from AUR, but didn't helped

Score_Under commented on 2023-06-26 06:28 (UTC) (edited on 2023-06-26 06:29 (UTC) by Score_Under)

follow-up: problem seems to be caused by JAVA_HOME not being exported. I added an export JAVA_HOME after the assignment and it worked just fine.

reproducing on a "dirty" system: run unset JAVA_HOME immediately before makepkg

Score_Under commented on 2023-06-26 06:07 (UTC)

been getting this on build in clean chroot since 8th May 2023:

CMake Error at CMakeLists.txt:238 (message):
  A Java installation is required.  Set the JAVA_HOME environment variable to
  explicitly specify the Java installation directory.

isbest commented on 2023-05-08 12:32 (UTC)

build error

akliuxingyuan commented on 2023-04-30 12:37 (UTC)

I setup a patch to avoid package jcef-test.jar and build sucessfully

skip_test.patch

diff --git a/jb/tools/linux/create_bundle.sh b/jb/tools/linux/create_bundle.sh
index b123d5b..7027f2f 100755
--- a/jb/tools/linux/create_bundle.sh
+++ b/jb/tools/linux/create_bundle.sh
@@ -43,6 +43,6 @@ echo "*** create archive..."
 tar -cvzf "$ARTIFACT.tar.gz" -C "$ARTIFACT" $(ls "$ARTIFACT")
 rm -rf "$ARTIFACT"
 ls -lah "$ARTIFACT.tar.gz"
-cp "$OUT_CLS_DIR"/jcef-tests.jar .
+# cp "$OUT_CLS_DIR"/jcef-tests.jar .

 echo "*** SUCCESSFUL"
diff --git a/tools/compile.sh b/tools/compile.sh
index 10f863d..dc9c543 100755
--- a/tools/compile.sh
+++ b/tools/compile.sh
@@ -23,7 +23,7 @@ else

   #$JAVA_HOME/bin/javac -Xdiags:verbose -cp "$CLS_PATH" -d "$OUT_PATH" "${JAVA_PATH}"/tests/detailed/*.java "${JAVA_PATH}"/tests/junittests/*.java "${JAVA_PATH}"/tests/simple/*.java "${JAVA_PATH}"/org/cef/*.java "${JAVA_PATH}"/org/cef/browser/*.java "${JAVA_PATH}"/org/cef/callback/*.java "${JAVA_PATH}"/org/cef/handler/*.java "${JAVA_PATH}"/org/cef/misc/*.java "${JAVA_PATH}"/org/cef/network/*.java
   cd "$DIR"
-  ant -v jar tests-jar
+  ant -v jar

   # Copy MANIFEST.MF
   if which rsync &>/dev/null; then

you need modify PKGBUILD to get the patch work https://wiki.archlinux.org/title/Patching_packages

isbest commented on 2023-04-30 02:48 (UTC)

I looked at the error message and found that it was caused by using a non-existent API in a test case of a source file. To ignore this error, you can modify the build() function in the PKGBUILD file to the following code.

build() {
    cd jcef
    #sed -i "s/4.46/5.4/g" tools/buildtools/download_from_google_storage.py
    #sed -i "s/^DownloadCEF.*$/set(CEF_ROOT \"\/opt\/cef\")/g" CMakeLists.txt
    sed -i '114d' java_tests/tests/junittests/TouchEventTest.java
    cd jb/tools/linux
    JAVA_HOME=/usr/lib/jvm/$(ls /usr/lib/jvm | grep 17 | head -n 1) ./build.sh all
}

Adrian.Carver commented on 2023-03-29 17:58 (UTC)

He's not going to. Build() failure.

A package upgrade is required.

isbest commented on 2023-03-06 17:45 (UTC)

构建失败了