I found, that like Zyclon said, with cunit installed it builds properly. Also am building on x86_64
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.39 |
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, java-openjdk-ea-binAUR, zulu-23-binAUR, jdkAUR, jdk21-jetbrains-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 .. 4 5 6 7 8 9 10 11 12 Next › Last »
selligendo commented on 2014-08-19 05:27 (UTC)
skydrome commented on 2014-08-19 02:08 (UTC)
i cannot reproduce that error with openjdk7 or 8, i have neither junit or cunit installed. But i am building on i686 if that has any relevance. If you could paste the whole log of the build that would be great (office space voice),... yaahhh
Zyclon commented on 2014-08-18 19:17 (UTC)
you need to add cunit to dependency list
<deleted-account> commented on 2014-08-18 14:17 (UTC)
Can you please resolve these issues before unflagging as out of date? I also have this new issue as seen below. Thank you.
D101101 commented on 2014-08-18 14:12 (UTC)
****
[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 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] #include "CUnit/Automated.h"
[exec] ^
[exec] compilation terminated.
[exec] test_example.c:15:25: fatal error: CUnit/Basic.h: No such file or directory
[exec] #include "CUnit/Basic.h"
[exec] ^
[exec] compilation terminated.
[exec] test_javaadditionalparam.c:15:25: fatal error: CUnit/Basic.h: No such file or directory
[exec] #include "CUnit/Basic.h"
[exec] ^
[exec] compilation terminated.
[exec] test_hashmap.c:15:25: fatal error: CUnit/Basic.h: No such file or directory
[exec] #include "CUnit/Basic.h"
[exec] ^
[exec] compilation terminated.
[exec] test_filter.c:15:25: fatal error: CUnit/Basic.h: No such file or directory
[exec] #include "CUnit/Basic.h"
[exec] ^
[exec] compilation terminated.
[exec] wrapper.c:45:25: fatal error: CUnit/Basic.h: No such file or directory
[exec] #include "CUnit/Basic.h"
[exec] ^
[exec] compilation terminated.
[exec] Makefile-linux-x86-64.make:42: recipe for target 'testsuite' failed
[exec] make: *** [testsuite] Error 1
BUILD FAILED
/build/java-service-wrapper/src/wrapper_3.5.25_src/build.xml:713: exec returned: 2
<deleted-account> commented on 2014-08-17 21:31 (UTC)
The new jre7-openjdk/jre7-openjdk-headless/jdk7-openjdk 7.u65_2.5.1-8 may have broken java-service-wrapper (see also: i2p).
$ yaourt -Rsc java-service-wrapper ; yaourt -S java-service-wrapper
==> Starting prepare()...
/tmp/yaourt-tmp/aur-java-service-wrapper/./PKGBUILD: line 22: /etc/profile.d/jdk6.sh: No such file or directory
==> Starting build()...
Buildfile: /tmp/makepkg/java-service-wrapper/src/wrapper_3.5.24_src/build.xml
init-setup:
init-windows:
init-unix:
init-bits-warning:
init-bits-mismatch-warning:
init:
init:msg:
[echo] **********************************************************************
[echo] * About to build a 64-bit version of Java Service Wrapper Community 3.5.24.
[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.24
[echo] **********************************************************************
init:java-missing:
convert:
update-info:
[copy] Copying 1 file to /tmp/makepkg/java-service-wrapper/src/wrapper_3.5.24_src/src/java/org/tanukisoftware/wrapper
compile-java-warn:
[echo] **********************************************************************
[echo] * WARNING
[echo] * The jar is being built for Java version . This will not be
[echo] * compatible with older JVMs.
[echo] **********************************************************************
compile-java:core:
[mkdir] Created dir: /tmp/makepkg/java-service-wrapper/src/wrapper_3.5.24_src/build/classes
[mkdir] Created dir: /tmp/makepkg/java-service-wrapper/src/wrapper_3.5.24_src/build/testclasses
[mkdir] Created dir: /tmp/makepkg/java-service-wrapper/src/wrapper_3.5.24_src/lib
[javac] Compiling 103 source files to /tmp/makepkg/java-service-wrapper/src/wrapper_3.5.24_src/build/classes
[javac] javac: invalid target release:
[javac] Usage: javac <options> <source files>
[javac] use -help for a list of possible options
BUILD FAILED
/tmp/makepkg/java-service-wrapper/src/wrapper_3.5.24_src/build.xml:542: Compile failed; see the compiler error output for details.
Total time: 1 second
<deleted-account> commented on 2014-08-17 21:30 (UTC)
The new jre7-openjdk/jre7-openjdk-headless/jdk7-openjdk 7.u65_2.5.1-8 may have broken java-service-wrapper (see also: i2p).
$ pkg -Rsc java-service-wrapper ; pkg -S java-service-wrapper
==> Starting prepare()...
/tmp/yaourt-tmp/aur-java-service-wrapper/./PKGBUILD: line 22: /etc/profile.d/jdk6.sh: No such file or directory
==> Starting build()...
Buildfile: /tmp/makepkg/java-service-wrapper/src/wrapper_3.5.24_src/build.xml
init-setup:
init-windows:
init-unix:
init-bits-warning:
init-bits-mismatch-warning:
init:
init:msg:
[echo] **********************************************************************
[echo] * About to build a 64-bit version of Java Service Wrapper Community 3.5.24.
[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.24
[echo] **********************************************************************
init:java-missing:
convert:
update-info:
[copy] Copying 1 file to /tmp/makepkg/java-service-wrapper/src/wrapper_3.5.24_src/src/java/org/tanukisoftware/wrapper
compile-java-warn:
[echo] **********************************************************************
[echo] * WARNING
[echo] * The jar is being built for Java version . This will not be
[echo] * compatible with older JVMs.
[echo] **********************************************************************
compile-java:core:
[mkdir] Created dir: /tmp/makepkg/java-service-wrapper/src/wrapper_3.5.24_src/build/classes
[mkdir] Created dir: /tmp/makepkg/java-service-wrapper/src/wrapper_3.5.24_src/build/testclasses
[mkdir] Created dir: /tmp/makepkg/java-service-wrapper/src/wrapper_3.5.24_src/lib
[javac] Compiling 103 source files to /tmp/makepkg/java-service-wrapper/src/wrapper_3.5.24_src/build/classes
[javac] javac: invalid target release:
[javac] Usage: javac <options> <source files>
[javac] use -help for a list of possible options
BUILD FAILED
/tmp/makepkg/java-service-wrapper/src/wrapper_3.5.24_src/build.xml:542: Compile failed; see the compiler error output for details.
Total time: 1 second
securitybreach commented on 2014-08-17 17:38 (UTC)
comhack@Cerberus ~/Downloads/java-service-wrapper % makepkg
==> Making package: java-service-wrapper 3.5.24-1 (Sun Aug 17 12:38:12 CDT 2014)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Downloading wrapper_3.5.24_src.tar.gz...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 538k 100 538k 0 0 144k 0 0:00:03 0:00:03 --:--:-- 144k
==> Validating source files with sha256sums...
wrapper_3.5.24_src.tar.gz ... Passed
==> Extracting sources...
-> Extracting wrapper_3.5.24_src.tar.gz with bsdtar
==> Starting prepare()...
/home/comhack/Downloads/java-service-wrapper/PKGBUILD: line 22: /etc/profile.d/jdk6.sh: No such file or directory
==> Starting build()...
Picked up _JAVA_OPTIONS: -Dswing.defaultlaf=com.sun.java.swing.plaf.gtk.GTKLookAndFeel
Buildfile: /old-home/comhack/Downloads/java-service-wrapper/src/wrapper_3.5.24_src/build.xml
init-setup:
init-windows:
init-unix:
init-bits-warning:
init-bits-mismatch-warning:
init:
init:msg:
[echo] **********************************************************************
[echo] * About to build a 64-bit version of Java Service Wrapper Community 3.5.24.
[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.24
[echo] **********************************************************************
init:java-missing:
convert:
update-info:
[copy] Copying 1 file to /old-home/comhack/Downloads/java-service-wrapper/src/wrapper_3.5.24_src/src/java/org/tanukisoftware/wrapper
compile-java-warn:
[echo] **********************************************************************
[echo] * WARNING
[echo] * The jar is being built for Java version . This will not be
[echo] * compatible with older JVMs.
[echo] **********************************************************************
compile-java:core:
[mkdir] Created dir: /old-home/comhack/Downloads/java-service-wrapper/src/wrapper_3.5.24_src/build/classes
[mkdir] Created dir: /old-home/comhack/Downloads/java-service-wrapper/src/wrapper_3.5.24_src/build/testclasses
[mkdir] Created dir: /old-home/comhack/Downloads/java-service-wrapper/src/wrapper_3.5.24_src/lib
[javac] Compiling 103 source files to /old-home/comhack/Downloads/java-service-wrapper/src/wrapper_3.5.24_src/build/classes
[javac] javac: invalid target release:
[javac] Usage: javac <options> <source files>
[javac] use -help for a list of possible options
BUILD FAILED
/old-home/comhack/Downloads/java-service-wrapper/src/wrapper_3.5.24_src/build.xml:542: Compile failed; see the compiler error output for details.
Total time: 0 seconds
==> ERROR: A failure occurred in build().
Aborting...
skydrome commented on 2014-04-23 16:05 (UTC)
yes
sehraf commented on 2014-04-23 13:58 (UTC)
hi, can you add 'armv7h' to arch? (tested on Cubietruck)
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