/aur-java-service-wrapper/src/wrapper_3.5.25_src/build.xml:713: exec returned: 2
how to fix this?
Search Criteria
Package Details: java-service-wrapper 3.5.59-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/java-service-wrapper.git (read-only, click to copy) |
---|---|
Package Base: | java-service-wrapper |
Description: | Enables a Java Application to be run as a Windows Service or Unix Daemon |
Upstream URL: | https://wrapper.tanukisoftware.com/doc/english/introduction.html |
Licenses: | GPL2, custom:tanuki-community |
Submitter: | None |
Maintainer: | Salama |
Last Packager: | Salama |
Votes: | 144 |
Popularity: | 0.37 |
First Submitted: | 2011-09-28 06:51 (UTC) |
Last Updated: | 2024-10-03 13:19 (UTC) |
Dependencies (2)
- ant (ant-gitAUR) (make)
- java-environment (jdk12AUR, jdk10AUR, jdk10-openj9-binAUR, jdk7AUR, amazon-corretto-16AUR, jdk8-graalvm-binAUR, jdk16-graalvm-binAUR, jdk16-adoptopenjdkAUR, jdk8-armAUR, liberica-jre-11-binAUR, jdk11-j9-binAUR, jdk11-jbr-xdgAUR, jdk16-openjdkAUR, jdk14-openjdkAUR, jdk18-openjdkAUR, amazon-corretto-19-binAUR, jdk19-graalvm-binAUR, liberica-jre-11-full-binAUR, jdk19-graalvm-ee-binAUR, jdk13-openjdk-binAUR, liberica-jre-8-full-binAUR, jdk11-graalvm-binAUR, jdk-openj9AUR, jdk11-graalvm-ee-binAUR, jdk12-openjdkAUR, jdk11-dragonwell-standard-binAUR, jdk11-jetbrains-binAUR, jdk20-graalvm-binAUR, jdk17-graalvm-binAUR, jdk8-graalvm-ee-binAUR, zulu-15-binAUR, jdk20-openj9-binAUR, zulu-13-binAUR, jdk8-dragonwell-extended-binAUR, jdk8-dragonwell-standard-binAUR, jdk11-dragonwell-extended-binAUR, jdk17-dragonwell-standard-binAUR, jdk11AUR, jdk8-j9-binAUR, jdk7-j9-binAUR, jdk7r1-j9-binAUR, jdk8-dragonwell-extendedAUR, jdk13-openjdkAUR, jdk15-openjdkAUR, jdk21-graalvm-binAUR, jdk17-jetbrainsAUR, jdk8-openj9-binAUR, jdk-ltsAUR, microsoft-openjdk-11-binAUR, microsoft-openjdk-17-binAUR, microsoft-openjdk-21-binAUR, liberica-nik-24-full-binAUR, jdk21-jetbrains-gitAUR, zulu-17-binAUR, zulu-11-binAUR, zulu-8-binAUR, mandrel-binAUR, mandrel24-binAUR, liberica-jdk-17-full-binAUR, liberica-jdk-11-lite-binAUR, liberica-jdk-11-full-binAUR, liberica-jdk-11-binAUR, jdk17-graalvm-ee-binAUR, jdk21-graalvm-ee-binAUR, jdk22-graalvm-ee-binAUR, jdk20-graalvm-ee-binAUR, jdk22-graalvm-binAUR, jdk19-openjdkAUR, jdk17-jetbrains-binAUR, zulu-jdk-fx-binAUR, jabba-binAUR, jdk21-jetbrainsAUR, jdk17-zulu-prime-binAUR, zing-21-binAUR, zing-8-binAUR, jdk23-graalvm-ee-binAUR, jdk-android-studioAUR, java-openjdk-binAUR, amazon-corretto-17AUR, amazon-corretto-21-binAUR, jdk21-temurinAUR, amazon-corretto-8AUR, amazon-corretto-11AUR, jdk11-temurinAUR, liberica-jdk-full-binAUR, liberica-jdk-21-full-binAUR, liberica-jdk-8-full-binAUR, jdk17-temurinAUR, jdk8-temurinAUR, zulu-21-binAUR, jdk-temurinAUR, jdk8AUR, zulu-17-fx-binAUR, jdk8-perfAUR, zulu-fx-binAUR, zulu8-fx-binAUR, zulu11-fx-binAUR, zulu17-fx-binAUR, zulu21-fx-binAUR, jdk-openj9-binAUR, jdk11-openj9-binAUR, jdk17-openj9-binAUR, jre-jetbrainsAUR, jdk-openjdk-wakefieldAUR, jdk21-openj9-binAUR, zulu-23-binAUR, jdkAUR, jdk21-jetbrains-binAUR, java-openjdk-ea-binAUR, jre-zulu-binAUR, jre-zulu-fx-binAUR, jdk21-dragonwell-standard-binAUR, jdk21-dragonwell-extended-binAUR, jdk-openjdk, jdk11-openjdk, jdk17-openjdk, jdk21-openjdk, jdk8-openjdk) (make)
Sources (1)
Latest Comments
« First ‹ Previous 1 .. 3 4 5 6 7 8 9 10 11 12 Next › Last »
sooqua commented on 2014-11-21 01:51 (UTC)
feliasfogg commented on 2014-11-11 07:03 (UTC)
/wrapper/java-service-wrapper/src/wrapper_3.5.25_src/build.xml:713: exec returned: 2
rchlinux-java status
Available Java environments:
java-8-openjdk (default)
cunit was installed
mmm????
hexchain commented on 2014-11-04 12:11 (UTC)
For everyone whose build is failing because of "missing" jni.h: set your JAVA_HOME to /usr/lib/jvm/java-default-runtime and make sure java environment is sane.
GI_Jack commented on 2014-10-15 22:07 (UTC)
[exec] gcc -O3 -fPIC -Wall --pedantic -DLINUX -DJSW64 -D_FILE_OFFSET_BITS=64 -fpic -D_GNU_SOURCE -DUNICODE -D_UNICODE -c wrapperjni_unix.c
[exec] gcc -O3 -fPIC -Wall --pedantic -DLINUX -DJSW64 -D_FILE_OFFSET_BITS=64 -fpic -D_GNU_SOURCE -DUNICODE -D_UNICODE -c wrapperjni.c
[exec] gcc -O3 -fPIC -Wall --pedantic -DLINUX -DJSW64 -D_FILE_OFFSET_BITS=64 -fpic -D_GNU_SOURCE -DUNICODE -D_UNICODE -c wrapperinfo.c
[exec] Makefile-linux-x86-64.make:48: recipe for target 'wrapperjni_unix.o' failed
[exec] Makefile-linux-x86-64.make:48: recipe for target 'wrapperjni.o' failed
still, even with openjdk8 selected, and a rebuilt of cunit
GDX commented on 2014-08-20 08:23 (UTC)
After update to openjdk8 is alright.
GDX commented on 2014-08-20 04:56 (UTC)
compile-c-unix:
[mkdir] Created dir: /tmp/yaourt-tmp-gdx/aur-java-service-wrapper/src/wrapper_3.5.25_src/bin
[mkdir] Created dir: /tmp/yaourt-tmp-gdx/aur-java-service-wrapper/src/wrapper_3.5.25_src/test
[echo] Build native components using 'make' and Makefile: Makefile-linux-x86-64.make
[exec] if test ! -d .deps; then mkdir .deps; fi
[exec] gcc -O3 -fPIC -Wall --pedantic -DLINUX -DJSW64 -D_FILE_OFFSET_BITS=64 -fpic -D_GNU_SOURCE -DUNICODE -D_UNICODE -pthread wrapper.c wrapperinfo.c wrappereventloop.c wrapper_unix.c property.c logger.c wrapper_file.c wrapper_i18n.c wrapper_hashmap.c -lm -o ../../bin/wrapper
[exec] gcc -O3 -fPIC -Wall --pedantic -DLINUX -DJSW64 -D_FILE_OFFSET_BITS=64 -fpic -D_GNU_SOURCE -DUNICODE -D_UNICODE -c wrapper_i18n.c
[exec] gcc -O3 -fPIC -Wall --pedantic -DLINUX -DJSW64 -D_FILE_OFFSET_BITS=64 -fpic -D_GNU_SOURCE -DUNICODE -D_UNICODE -c wrapperjni_unix.c
[exec] Makefile-linux-x86-64.make:48: recipe for target 'wrapperjni_unix.o' failed
[exec] In file included from wrapperjni.h:33:0,
[exec] from wrapperjni_unix.c:44:
[exec] org_tanukisoftware_wrapper_WrapperManager.h:2:17: fatal error: jni.h: No such file or directory
[exec] #include <jni.h>
[exec] ^
[exec] compilation terminated.
[exec] make: *** [wrapperjni_unix.o] Error 1
BUILD FAILED
/tmp/yaourt-tmp-gdx/aur-java-service-wrapper/src/wrapper_3.5.25_src/build.xml:713: exec returned: 2
dustball commented on 2014-08-20 02:42 (UTC)
For me, this fails even with CUnit installed (x86_64 too): http://sprunge.us/ObCj
skydrome commented on 2014-08-19 22:38 (UTC)
ok, ill report this upstream to be able to disable building the testsuite in the first place
frankspace commented on 2014-08-19 06:51 (UTC)
I was also unable to build on x86_64, but installing cunit allows me to build it successfully. So I agree with Zyclon, cunit needs to be added as a dependency, at least for x86_64.
Pinned Comments
skydrome commented on 2020-02-06 04:41 (UTC) (edited on 2020-02-06 04:44 (UTC) by skydrome)
pacman.conf
Add key