Package Details: javahelp2 2.0.05.r90-7

Git Clone URL: https://aur.archlinux.org/javahelp2.git (read-only, click to copy)
Package Base: javahelp2
Description: Java based help system
Upstream URL: https://javaee.github.io/javahelp/
Licenses: GPL2, custom, CDDL
Submitter: td123
Maintainer: MRWITEK
Last Packager: MRWITEK
Votes: 36
Popularity: 0.000000
First Submitted: 2011-12-07 20:36 (UTC)
Last Updated: 2023-07-19 23:31 (UTC)

Dependencies (3)

Sources (2)

Latest Comments

1 2 3 Next › Last »

alekpr commented on 2023-07-09 19:06 (UTC)

Okay, so for some reason javac -version was emitting through STDERR and not STDOUT. Changing this line:

local java_ver="$(javac -version | sed -e 's/^javac\s\+\([0-9]\+\.[0-9]\+\).*$/\1/g')"

to this:

local java_ver="$(javac -version 2>&1 | sed -e 's/^javac\s\+\([0-9]\+\.[0-9]\+\).*$/\1/g')"

fixed it for me.

vendci commented on 2023-05-19 04:30 (UTC) (edited on 2023-05-19 04:33 (UTC) by vendci)

It builds successfully after adding repo: arch4edu/arch-ck/blackarch.

I think adding arch4edu repo only will resolve building error because javahelp2 and java-flexdock are needed when I am installing acilab-bin which is math tool.

BTW, you'd better not importing PGP key that fails.

vi /etc/pacman.conf

[arch4edu] SigLevel = Never Server = https://mirrors.tuna.tsinghua.edu.cn/arch4edu/$arch

[repo-ck] Server = https://mirrors.tuna.tsinghua.edu.cn/repo-ck/$arch

[blackarch] SigLevel = Never Server = https://mirrors.ustc.edu.cn/blackarch/$repo/os/$arch

MRWITEK commented on 2023-04-26 00:17 (UTC)

@petronny This package builds successfully in a clean chroot with extra-x86_64-build, so you have a problem with your build environment. Perhaps recreating build chroot will help.

petronny commented on 2023-04-24 04:40 (UTC)

BUILD FAILED
/build/javahelp2/src/javahelp2/javahelp_nbproject/build.xml:104: The following error occurred while executing this line:
/build/javahelp2/src/javahelp2/JSearchIndexer_nbproject/nbproject/build-impl.xml:314: The following error occurred while executing this line:
/build/javahelp2/src/javahelp2/JSearchClient_nbproject/nbproject/build-impl.xml:314: The following error occurred while executing this line:
/build/javahelp2/src/javahelp2/javahelp_nbproject/nbproject/build-impl.xml:598: The following error occurred while executing this line:
/build/javahelp2/src/javahelp2/javahelp_nbproject/nbproject/build-impl.xml:244: Compile failed; see the compiler error output for details.

https://github.com/arch4edu/cactus/actions/runs/4781635271/jobs/8500276898

RX14 commented on 2023-04-17 15:33 (UTC)

This PKGBUILD fails if _JAVA_OPTIONS is set. Editing the sed command to be sed -e '/Picked up _JAVA_OPTIONS/d;s/^javac\s\+\([0-9]\+\.[0-9]\+\).*$/\1/g' fixes this issue for me. Hopefully this fix could be upstreamed.

MRWITEK commented on 2019-09-28 19:40 (UTC)

The repo at github (https://github.com/javaee/javahelp) is now archived.

PedroHLC commented on 2019-08-26 13:28 (UTC)

Confirming that fixes mentioned in @alexanderp comment are required.

alexanderp commented on 2019-08-06 17:37 (UTC) (edited on 2019-08-06 18:08 (UTC) by alexanderp)

Need to add jdk8-openjdk to makedepends, and modify the build line as such JAVA_HOME=/usr/lib/jvm/java-8-openjdk ant release, else compilation fails.