Package Details: java-service-wrapper 3.5.29-1

Git Clone URL: https://aur.archlinux.org/java-service-wrapper.git (read-only)
Package Base: java-service-wrapper
Description: Enables a Java Application to be run as a Windows Service or Unix Daemon
Upstream URL: http://wrapper.tanukisoftware.com
Licenses: GPL2
Conflicts: java-service-wrapper-bin
Submitter: siasia
Maintainer: skydrome
Last Packager: skydrome
Votes: 109
Popularity: 6.058873
First Submitted: 2011-09-28 06:51
Last Updated: 2016-03-17 07:12

Latest Comments

cemsbr commented on 2015-08-27 05:24

Please, add cunit to the dependencies.

LysanderAkili commented on 2015-07-23 03:14

makepkg
...
sed: can't read /home/user/build/java-service-wrapper/src/wrapper_3.5.26_src/src/c/Makefile-linux-x86*.make: No such file or directory

skydrome commented on 2015-07-09 02:24

i fixed the build on x64 by not building the unit tests.

emvigo commented on 2015-07-08 21:25

Hi, I'm getting this build error *with* classpath installed (x86_64 Arch):

init:msg:
[echo] **********************************************************************
[echo] * About to build a 64-bit version of Java Service Wrapper Community 3.5.26.
[echo] * The OS Name is "linux", resolved from "Linux".
[echo] * The Architecture is "x86", resolved from "amd64".
[echo] * The distribution name will be: wrapper-linux-x86-64-3.5.26
[echo] **********************************************************************

update-info-c:
[copy] Copying 1 file to /tmp/yaourt-tmp-ugi/aur-java-service-wrapper/src/wrapper_3.5.26_src/src/c

compile-c-unix-check:

compile-c-unix:
[mkdir] Created dir: /tmp/yaourt-tmp-ugi/aur-java-service-wrapper/src/wrapper_3.5.26_src/bin
[mkdir] Created dir: /tmp/yaourt-tmp-ugi/aur-java-service-wrapper/src/wrapper_3.5.26_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 logger_file.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] gcc -O3 -fPIC -Wall --pedantic -DLINUX -DJSW64 -D_FILE_OFFSET_BITS=64 -fpic -D_GNU_SOURCE -DUNICODE -D_UNICODE -c wrapperinfo.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 loggerjni.c
[exec] gcc -O3 -fPIC -Wall --pedantic -DLINUX -DJSW64 -D_FILE_OFFSET_BITS=64 -fpic -D_GNU_SOURCE -DUNICODE -D_UNICODE -shared wrapper_i18n.o wrapperjni_unix.o wrapperinfo.o wrapperjni.o loggerjni.o -o ../../lib/libwrapper.so
[exec] gcc -O3 -fPIC -Wall --pedantic -DLINUX -DJSW64 -D_FILE_OFFSET_BITS=64 -fpic -D_GNU_SOURCE -DUNICODE -D_UNICODE -DCUNIT testsuite.c test_example.c test_javaadditionalparam.c test_hashmap.c test_filter.c wrapper.c wrapperinfo.c wrappereventloop.c wrapper_unix.c property.c logger.c logger_file.c wrapper_file.c wrapper_i18n.c wrapper_hashmap.c -lm -pthread -L/usr/local/lib -lncurses -lcunit -o ../../test/testsuite
[exec] testsuite.c:21:29: fatal error: CUnit/Automated.h: No such file or directory
[exec] compilation terminated.
[exec] test_example.c:15:25: fatal error: CUnit/Basic.h: No such file or directory
[exec] compilation terminated.
[exec] test_javaadditionalparam.c:15:25: fatal error: CUnit/Basic.h: No such file or directory
[exec] compilation terminated.
[exec] test_hashmap.c:15:25: fatal error: CUnit/Basic.h: No such file or directory
[exec] compilation terminated.
[exec] test_filter.c:15:25: fatal error: CUnit/Basic.h: No such file or directory
[exec] compilation terminated.
[exec] wrapper.c:51:25: fatal error: CUnit/Basic.h: No such file or directory
[exec] compilation terminated.
[exec] Makefile-linux-x86-64.make:42: recipe for target 'testsuite' failed
[exec] make: *** [testsuite] Error 1

BUILD FAILED
/tmp/yaourt-tmp-ugi/aur-java-service-wrapper/src/wrapper_3.5.26_src/build.xml:713: exec returned: 2

Total time: 18 seconds
==> ERROR: A failure occurred in build().
Aborting...

Please confirm whether it's a general issue or it's just me.

archaurwiki commented on 2015-03-28 02:20

Can you please change the source url to https? Thank you.
And yes, please include classpath as a dependency. It's been over 3 months since our first request.

archaurwiki commented on 2015-03-28 01:51

Can you please change the source url to https? Thank you.
And yes, please include cunit as a dependency. It's been over 3 months since our first request.

GI_Jack commented on 2015-01-08 17:27

jni.h is included in the 'classpath' package. for everyone who gets a failed build, pacman -S classpath. It will build with that.

again, can we get this made a dependency?

gim commented on 2015-01-04 10:45

I experience the same build error for quite a while, so I had to add it to pkgignore. Today I tried to build this again and it seems error is still not fixed.

http://slexy.org/raw/s2DH55ALjD

kd0bpv commented on 2014-12-31 17:03

I'm confirming dumphblooz's error. Also, this seem to be the cause for the reports of " /wrapper/java-service-wrapper/src/wrapper_3.5.25_src/build.xml:713: exec returned: 2"

compile-c-unix:
[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 logger_file.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 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-mark/aur-java-service-wrapper/src/wrapper_3.5.26_src/build.xml:713: exec returned: 2

kd0bpv commented on 2014-12-31 16:58

To confirm dumphblooz's error:
compile-c-unix:
[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 logger_file.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 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

All comments