Package Details: java-service-wrapper 3.5.41-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: https://wrapper.tanukisoftware.com/doc/english/introduction.html
Licenses: GPL2, custom:tanuki-community
Submitter: siasia
Maintainer: skydrome
Last Packager: skydrome
Votes: 142
Popularity: 1.06
First Submitted: 2011-09-28 06:51
Last Updated: 2019-11-08 01:36

Latest Comments

1 2 3 4 5 6 ... Next › Last »

skydrome commented on 2019-11-08 01:47

I removed settings JAVA_HOME from the pkgbuild thinking it wasnt needed, but I still had it in my environment which is why it built for me. I added it back, sry

AlPiotrowicz commented on 2019-11-07 20:11

It fails in the clean chroot:


==> Detected Java 13.0.1
patching file build.xml
Hunk #1 succeeded at 515 with fuzz 2 (offset -47 lines).
Hunk #2 succeeded at 545 (offset -47 lines).
==> Starting build()...
Buildfile: /build/java-service-wrapper/src/wrapper_3.5.41_src/build.xml

init-setup:

init-windows:

init-unix:

init-bits-check:

init-bits-mismatch-check:

init:

init:msg: [echo] ********** [echo] * About to build a 64-bit version of Java Service Wrapper Community 3.5.41. [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.41 [echo] **********

init:java-missing:

convert:

update-info: [copy] Copying 1 file to /build/java-service-wrapper/src/wrapper_3.5.41_src/src/java/org/tanukisoftware/wrapper

compile-java-warn: [echo] ********** [echo] * WARNING [echo] * The jar is being built for Java version 8. This will not be [echo] * compatible with older JVMs. [echo] **********

compile-java:core: [mkdir] Created dir: /build/java-service-wrapper/src/wrapper_3.5.41_src/build/classes [mkdir] Created dir: /build/java-service-wrapper/src/wrapper_3.5.41_src/build/testclasses [mkdir] Created dir: /build/java-service-wrapper/src/wrapper_3.5.41_src/lib [javac] Compiling 108 source files to /build/java-service-wrapper/src/wrapper_3.5.41_src/build/classes [javac] warning: [options] bootstrap class path not set in conjunction with -source 8 [javac] /build/java-service-wrapper/src/wrapper_3.5.41_src/src/java/org/tanukisoftware/wrapper/WrapperActionServer.java:208: warning: [deprecation] Integer(int) in Integer has been deprecated [javac] action = (Runnable)m_actions.get( new Integer( command ) ); [javac] ^ [javac] /build/java-service-wrapper/src/wrapper_3.5.41_src/src/java/org/tanukisoftware/wrapper/WrapperActionServer.java:349: warning: [deprecation] Integer(int) in Integer has been deprecated [javac] m_actions.put( new Integer( command ), action ); [javac] ^ [javac] /build/java-service-wrapper/src/wrapper_3.5.41_src/src/java/org/tanukisoftware/wrapper/WrapperActionServer.java:363: warning: [deprecation] Integer(int) in Integer has been deprecated [javac] m_actions.remove( new Integer( command ) ); [javac] ^ [javac] /build/java-service-wrapper/src/wrapper_3.5.41_src/src/java/org/tanukisoftware/wrapper/WrapperJarApp.java:308: warning: [deprecation] Integer(int) in Integer has been deprecated [javac] m_outDebug.println( WrapperManager.getRes().getString(" Classpath[{0}]=", new Integer( i ) ) + classURLs[i] ); [javac] ^ [javac] /build/java-service-wrapper/src/wrapper_3.5.41_src/src/java/org/tanukisoftware/wrapper/WrapperJarApp.java:525: warning: [deprecation] Integer(int) in Integer has been deprecated [javac] m_mainExitCode = new Integer( 1 ); [javac] ^ [javac] /build/java-service-wrapper/src/wrapper_3.5.41_src/src/java/org/tanukisoftware/wrapper/WrapperJarApp.java:562: warning: [deprecation] Integer(int) in Integer has been deprecated [javac] return new Integer( 1 ); [javac] ^ [javac] /build/java-service-wrapper/src/wrapper_3.5.41_src/src/java/org/tanukisoftware/wrapper/WrapperJarApp.java:591: warning: [deprecation] Integer(int) in Integer has been deprecated [javac] "start(args) Will wait up to {0} seconds for the main method to complete.", new Integer( maxLoops ) ) ); [javac] ^ [javac] /build/java-service-wrapper/src/wrapper_3.5.41_src/src/java/org/tanukisoftware/wrapper/WrapperJarApp.java:653: warning: [deprecation] Boolean(boolean) in Boolean has been deprecated [javac] new Boolean( m_mainComplete ), m_mainExitCode ) ); [javac] ^ [javac] /build/java-service-wrapper/src/wrapper_3.5.41_src/src/java/org/tanukisoftware/wrapper/WrapperJarApp.java:695: warning: [deprecation] Integer(int) in Integer has been deprecated [javac] "controlEvent({0}) Stopping", new Integer( event ) ) ); [javac] ^ [javac] /build/java-service-wrapper/src/wrapper_3.5.41_src/src/java/org/tanukisoftware/wrapper/WrapperManager.java:563: warning: [deprecation] Integer(int) in Integer has been deprecated [javac] m_outDebug.println( getRes().getString( " Size: {0}", new Integer( jarSize ) ) ); [javac] ^ [javac] /build/java-service-wrapper/src/wrapper_3.5.41_src/src/java/org/tanukisoftware/wrapper/WrapperManager.java:994: warning: [deprecation] Integer(int) in Integer has been deprecated [javac] new Integer( offsetDiff * TICK_MS ) ) ); [javac] ^ [javac] /build/java-service-wrapper/src/wrapper_3.5.41_src/src/java/org/tanukisoftware/wrapper/WrapperManager.java:999: warning: [deprecation] Integer(int) in Integer has been deprecated [javac] new Integer( -1 * offsetDiff * TICK_MS ) ) ); [javac] ^ [javac] /build/java-service-wrapper/src/wrapper_3.5.41_src/src/java/org/tanukisoftware/wrapper/WrapperManager.java:1026: warning: [deprecation] Long(long) in Long has been deprecated [javac] new Long( age / 1000 ) ) ); [javac] ^ [javac] /build/java-service-wrapper/src/wrapper_3.5.41_src/src/java/org/tanukisoftware/wrapper/WrapperManager.java:1169: warning: [deprecation] finalize() in Object has been deprecated [javac] protected void finalize() [javac] ^ [javac] /build/java-service-wrapper/src/wrapper_3.5.41_src/src/java/org/tanukisoftware/wrapper/WrapperManager.java:1182: warning: [deprecation] finalize() in Object has been deprecated [javac] super.finalize(); [javac] ^ [javac] /build/java-service-wrapper/src/wrapper_3.5.41_src/src/java/org/tanukisoftware/wrapper/WrapperManager.java:2346: warning: [deprecation] Integer(int) in Integer has been deprecated [javac] new Integer( i) ) ); [javac] ^ [javac] /build/java-service-wrapper/src/wrapper_3.5.41_src/src/java/org/tanukisoftware/wrapper/WrapperManager.java:2889: warning: [deprecation] Integer(int) in Integer has been deprecated [javac] m_outInfo.println( getRes().getString( "WARNING: Making JVM appear to be slow using a delay of {0} seconds...", new Integer( slowSeconds ) ) ); [javac] ^ [javac] /build/java-service-wrapper/src/wrapper_3.5.41_src/src/java/org/tanukisoftware/wrapper/WrapperManager.java:3242: warning: [deprecation] Integer(int) in Integer has been deprecated [javac] m_outDebug.println( getRes().getString( "Initial thread: {0} Priority: {1}", thisThread.getName(), new Integer( thisThread.getPriority() ) ) ); [javac] ^ [javac] /build/java-service-wrapper/src/wrapper_3.5.41_src/src/java/org/tanukisoftware/wrapper/WrapperManager.java:3323: warning: [deprecation] Integer(int) in Integer has been deprecated [javac] thisThread.getName(), new Integer( lock.m_count ), new Integer( m_shutdownLocks ) ) ); [javac] ^ [javac] /build/java-service-wrapper/src/wrapper_3.5.41_src/src/java/org/tanukisoftware/wrapper/WrapperManager.java:3323: warning: [deprecation] Integer(int) in Integer has been deprecated [javac] thisThread.getName(), new Integer( lock.m_count ), new Integer( m_shutdownLocks ) ) ); [javac] ^ [javac] /build/java-service-wrapper/src/wrapper_3.5.41_src/src/java/org/tanukisoftware/wrapper/WrapperManager.java:3353: warning: [deprecation] Integer(int) in Integer has been deprecated [javac] thisThread.getName(), new Integer( lock.m_count ), new Integer( m_shutdownLocks ) ) ); [javac] ^ [javac] /build/java-service-wrapper/src/wrapper_3.5.41_src/src/java/org/tanukisoftware/wrapper/WrapperManager.java:3353: warning: [deprecation] Integer(int) in Integer has been deprecated [javac] thisThread.getName(), new Integer( lock.m_count ), new Integer( m_shutdownLocks ) ) ); [javac] ^ [javac] /build/java-service-wrapper/src/wrapper_3.5.41_src/src/java/org/tanukisoftware/wrapper/WrapperManager.java:3375: warning: [deprecation] Integer(int) in Integer has been deprecated [javac] "wait for {0} shutdown locks to be released.", new Integer(m_shutdownLocks ) ) ); [javac] ^ [javac] /build/java-service-wrapper/src/wrapper_3.5.41_src/src/java/org/tanukisoftware/wrapper/WrapperManager.java:3392: warning: [deprecation] Integer(int) in Integer has been deprecated [javac] "Waiting for {0} shutdown locks to be released..." , new Integer(m_shutdownLocks ) ) ); [javac] ^ [javac] /build/java-service-wrapper/src/wrapper_3.5.41_src/src/java/org/tanukisoftware/wrapper/WrapperManager.java:4367: warning: [deprecation] Integer(int) in Integer has been deprecated [javac] m_outDebug.println( getRes().getString( "Pausing for {0}ms to allow a clean shutdown...", new Integer( delay ) ) ); [javac] ^ [javac] /build/java-service-wrapper/src/wrapper_3.5.41_src/src/java/org/tanukisoftware/wrapper/WrapperManager.java:4489: warning: [deprecation] Integer(int) in Integer has been deprecated [javac] m_outDebug.println( getRes().getString( "Application start main thread: {0} Priority: {1}", thisThread.getName(), new Integer( thisThread.getPriority() ) ) ); [javac] ^ [javac] /build/java-service-wrapper/src/wrapper_3.5.41_src/src/java/org/tanukisoftware/wrapper/WrapperManager.java:4533: warning: [deprecation] Integer(int) in Integer has been deprecated [javac] new Integer( exitCode ) ) ); [javac] ^ [javac] /build/java-service-wrapper/src/wrapper_3.5.41_src/src/java/org/tanukisoftware/wrapper/WrapperManager.java:4585: warning: [deprecation] Integer(int) in Integer has been deprecated [javac] new Integer( exitCode ), Thread.currentThread().getName() ) ); [javac] ^ [javac] /build/java-service-wrapper/src/wrapper_3.5.41_src/src/java/org/tanukisoftware/wrapper/WrapperManager.java:4610: warning: [deprecation] Integer(int) in Integer has been deprecated [javac] new Integer( exitCode ) ) ); [javac] ^ [javac] /build/java-service-wrapper/src/wrapper_3.5.41_src/src/java/org/tanukisoftware/wrapper/WrapperManager.java:4639: warning: [deprecation] Integer(int) in Integer has been deprecated [javac] new Integer( exitCode ), e.toString() ) ); [javac] ^ [javac] /build/java-service-wrapper/src/wrapper_3.5.41_src/src/java/org/tanukisoftware/wrapper/WrapperManager.java:4642: warning: [deprecation] Integer(int) in Integer has been deprecated [javac] new Integer( exitCode ) ) ); [javac] ^ [javac] /build/java-service-wrapper/src/wrapper_3.5.41_src/src/java/org/tanukisoftware/wrapper/WrapperManager.java:4812: warning: [deprecation] Integer(int) in Integer has been deprecated [javac] final Integer[] codeF = new Integer[] {new Integer(code)}; [javac] ^ [javac] /build/java-service-wrapper/src/wrapper_3.5.41_src/src/java/org/tanukisoftware/wrapper/WrapperManager.java:4831: warning: [deprecation] Integer(int) in Integer has been deprecated [javac] m_outDebug.println( getRes().getString( "Application stop main thread: {0} Priority: {1}", thisThread.getName(), new Integer( thisThread.getPriority() ) ) ); [javac] ^ [javac] /build/java-service-wrapper/src/wrapper_3.5.41_src/src/java/org/tanukisoftware/wrapper/WrapperManager.java:4839: warning: [deprecation] Integer(int) in Integer has been deprecated [javac] codeF[0] = new Integer( m_listener.stop( codeF[0].intValue() ) ); [javac] ^ [javac] /build/java-service-wrapper/src/wrapper_3.5.41_src/src/java/org/tanukisoftware/wrapper/WrapperManager.java:4899: warning: [deprecation] Integer(int) in Integer has been deprecated [javac] new Integer( code ) ) ); [javac] ^ [javac] /build/java-service-wrapper/src/wrapper_3.5.41_src/src/java/org/tanukisoftware/wrapper/WrapperManager.java:4958: warning: [deprecation] Integer(int) in Integer has been deprecated [javac] eventName = getRes().getString( "Unexpected event: {0}", new Integer( event ) ); [javac] ^ [javac] /build/java-service-wrapper/src/wrapper_3.5.41_src/src/java/org/tanukisoftware/wrapper/WrapperManager.java:5166: warning: [deprecation] Integer(int) in Integer has been deprecated [javac] new Integer( tryPort ), e.toString() ) ); [javac] ^ [javac] /build/java-service-wrapper/src/wrapper_3.5.41_src/src/java/org/tanukisoftware/wrapper/WrapperManager.java:5186: warning: [deprecation] Integer(int) in Integer has been deprecated [javac] new Integer( tryPort ), new Integer( m_port ) ) ); [javac] ^ [javac] /build/java-service-wrapper/src/wrapper_3.5.41_src/src/java/org/tanukisoftware/wrapper/WrapperManager.java:5186: warning: [deprecation] Integer(int) in Integer has been deprecated [javac] new Integer( tryPort ), new Integer( m_port ) ) ); [javac] ^ [javac] /build/java-service-wrapper/src/wrapper_3.5.41_src/src/java/org/tanukisoftware/wrapper/WrapperManager.java:5199: warning: [deprecation] Integer(int) in Integer has been deprecated [javac] new Integer( m_port ), e ) ); [javac] ^ [javac] /build/java-service-wrapper/src/wrapper_3.5.41_src/src/java/org/tanukisoftware/wrapper/WrapperManager.java:5222: warning: [deprecation] Integer(int) in Integer has been deprecated [javac] new Integer( tryPort ) ) ); [javac] ^ [javac] /build/java-service-wrapper/src/wrapper_3.5.41_src/src/java/org/tanukisoftware/wrapper/WrapperManager.java:5253: warning: [deprecation] Integer(int) in Integer has been deprecated [javac] new Integer( tryPort ), Integer.toString( portStatus ) ) ); [javac] ^ [javac] /build/java-service-wrapper/src/wrapper_3.5.41_src/src/java/org/tanukisoftware/wrapper/WrapperManager.java:5276: warning: [deprecation] Integer(int) in Integer has been deprecated [javac] new Integer( m_jvmPort ), new Integer( tryPort ) ) ); [javac] ^ [javac] /build/java-service-wrapper/src/wrapper_3.5.41_src/src/java/org/tanukisoftware/wrapper/WrapperManager.java:5276: warning: [deprecation] Integer(int) in Integer has been deprecated [javac] new Integer( m_jvmPort ), new Integer( tryPort ) ) ); [javac] ^ [javac] /build/java-service-wrapper/src/wrapper_3.5.41_src/src/java/org/tanukisoftware/wrapper/WrapperManager.java:5294: warning: [deprecation] Integer(int) in Integer has been deprecated [javac] new Integer( m_port ), new Integer( m_jvmPortMin ), new Integer( m_jvmPortMax ), causeMessage ) ); [javac] ^ [javac] /build/java-service-wrapper/src/wrapper_3.5.41_src/src/java/org/tanukisoftware/wrapper/WrapperManager.java:5294: warning: [deprecation] Integer(int) in Integer has been deprecated [javac] new Integer( m_port ), new Integer( m_jvmPortMin ), new Integer( m_jvmPortMax ), causeMessage ) ); [javac] ^ [javac] /build/java-service-wrapper/src/wrapper_3.5.41_src/src/java/org/tanukisoftware/wrapper/WrapperManager.java:5294: warning: [deprecation] Integer(int) in Integer has been deprecated [javac] new Integer( m_port ), new Integer( m_jvmPortMin ), new Integer( m_jvmPortMax ), causeMessage ) ); [javac] ^ [javac] /build/java-service-wrapper/src/wrapper_3.5.41_src/src/java/org/tanukisoftware/wrapper/WrapperManager.java:5300: warning: [deprecation] Integer(int) in Integer has been deprecated [javac] new Integer( m_port ), new Integer( m_jvmPortMin ), causeMessage ) ); [javac] ^ [javac] /build/java-service-wrapper/src/wrapper_3.5.41_src/src/java/org/tanukisoftware/wrapper/WrapperManager.java:5300: warning: [deprecation] Integer(int) in Integer has been deprecated [javac] new Integer( m_port ), new Integer( m_jvmPortMin ), causeMessage ) ); [javac] ^ [javac] /build/java-service-wrapper/src/wrapper_3.5.41_src/src/java/org/tanukisoftware/wrapper/WrapperManager.java:5319: warning: [deprecation] Integer(int) in Integer has been deprecated [javac] new Integer( m_soTimeout ), new Integer( m_backendSocket.getSoTimeout() ) ) ); [javac] ^ [javac] /build/java-service-wrapper/src/wrapper_3.5.41_src/src/java/org/tanukisoftware/wrapper/WrapperManager.java:5319: warning: [deprecation] Integer(int) in Integer has been deprecated [javac] new Integer( m_soTimeout ), new Integer( m_backendSocket.getSoTimeout() ) ) ); [javac] ^ [javac] /build/java-service-wrapper/src/wrapper_3.5.41_src/src/java/org/tanukisoftware/wrapper/WrapperManager.java:5420: warning: [deprecation] Integer(int) in Integer has been deprecated [javac] m_outDebug.println( getRes().getString( "Waiting for {0} threads to finish launching child processes...", new Integer( m_runningExecs ) ) ); [javac] ^ [javac] /build/java-service-wrapper/src/wrapper_3.5.41_src/src/java/org/tanukisoftware/wrapper/WrapperManager.java:5431: warning: [deprecation] Integer(int) in Integer has been deprecated [javac] m_outError.println( getRes().getString( "Timed out waiting for {0} threads to finish launching child processes.", new Integer( m_runningExecs ) ) ); [javac] ^ [javac] /build/java-service-wrapper/src/wrapper_3.5.41_src/src/java/org/tanukisoftware/wrapper/WrapperManager.java:5858: warning: [deprecation] Integer(int) in Integer has been deprecated [javac] m_outDebug.println( getRes().getString( " Delay packet processing by {0} seconds.", new Integer( m_slowSeconds ) ) ); [javac] ^ [javac] /build/java-service-wrapper/src/wrapper_3.5.41_src/src/java/org/tanukisoftware/wrapper/WrapperManager.java:5929: warning: [deprecation] Integer(int) in Integer has been deprecated [javac] new Integer( m_lowLogLevel ) ) ); [javac] ^ [javac] /build/java-service-wrapper/src/wrapper_3.5.41_src/src/java/org/tanukisoftware/wrapper/WrapperManager.java:5951: warning: [deprecation] Integer(int) in Integer has been deprecated [javac] new Integer( serviceControlCode ) ) ); [javac] ^ [javac] /build/java-service-wrapper/src/wrapper_3.5.41_src/src/java/org/tanukisoftware/wrapper/WrapperManager.java:6052: warning: [deprecation] Integer(int) in Integer has been deprecated [javac] "Wrapper code received an unknown packet type: {0}", new Integer( code ) ) ); [javac] ^ [javac] /build/java-service-wrapper/src/wrapper_3.5.41_src/src/java/org/tanukisoftware/wrapper/WrapperManager.java:6062: warning: [deprecation] Integer(int) in Integer has been deprecated [javac] new Integer( m_backendSocket.getSoTimeout() ) ) ); [javac] ^ [javac] /build/java-service-wrapper/src/wrapper_3.5.41_src/src/java/org/tanukisoftware/wrapper/WrapperResources.java:96: warning: [deprecation] finalize() in Object has been deprecated [javac] protected void finalize() [javac] ^ [javac] /build/java-service-wrapper/src/wrapper_3.5.41_src/src/java/org/tanukisoftware/wrapper/WrapperResources.java:118: warning: [deprecation] finalize() in Object has been deprecated [javac] super.finalize(); [javac] ^ [javac] /build/java-service-wrapper/src/wrapper_3.5.41_src/src/java/org/tanukisoftware/wrapper/WrapperProcessConfig.java:336: warning: [deprecation] Integer(int) in Integer has been deprecated [javac] new Integer ( softShutdownTimeout ) ) ); [javac] ^ [javac] /build/java-service-wrapper/src/wrapper_3.5.41_src/src/java/org/tanukisoftware/wrapper/WrapperProcessConfig.java:366: warning: [deprecation] Integer(int) in Integer has been deprecated [javac] new Integer( startType ) ) ); [javac] ^ [javac] /build/java-service-wrapper/src/wrapper_3.5.41_src/src/java/org/tanukisoftware/wrapper/WrapperProcess.java:62: warning: [deprecation] finalize() in Object has been deprecated [javac] protected void finalize() [javac] ^ [javac] /build/java-service-wrapper/src/wrapper_3.5.41_src/src/java/org/tanukisoftware/wrapper/WrapperProcess.java:74: warning: [deprecation] finalize() in Object has been deprecated [javac] super.finalize(); [javac] ^ [javac] /build/java-service-wrapper/src/wrapper_3.5.41_src/src/java/org/tanukisoftware/wrapper/WrapperSimpleApp.java:428: warning: [deprecation] Integer(int) in Integer has been deprecated [javac] m_mainExitCode = new Integer( 1 ); [javac] ^ [javac] /build/java-service-wrapper/src/wrapper_3.5.41_src/src/java/org/tanukisoftware/wrapper/WrapperSimpleApp.java:467: warning: [deprecation] Integer(int) in Integer has been deprecated [javac] return new Integer( 1 ); [javac] ^ [javac] /build/java-service-wrapper/src/wrapper_3.5.41_src/src/java/org/tanukisoftware/wrapper/WrapperSimpleApp.java:497: warning: [deprecation] Integer(int) in Integer has been deprecated [javac] new Integer(maxLoops) ) ); [javac] ^ [javac] /build/java-service-wrapper/src/wrapper_3.5.41_src/src/java/org/tanukisoftware/wrapper/WrapperSimpleApp.java:559: warning: [deprecation] Boolean(boolean) in Boolean has been deprecated [javac] new Boolean( m_mainComplete ), m_mainExitCode ) ); [javac] ^ [javac] /build/java-service-wrapper/src/wrapper_3.5.41_src/src/java/org/tanukisoftware/wrapper/WrapperSimpleApp.java:573: warning: [deprecation] Integer(int) in Integer has been deprecated [javac] "stop({0})", new Integer ( exitCode ) ) ); [javac] ^ [javac] /build/java-service-wrapper/src/wrapper_3.5.41_src/src/java/org/tanukisoftware/wrapper/WrapperSimpleApp.java:602: warning: [deprecation] Integer(int) in Integer has been deprecated [javac] "controlEvent({0}) Stopping", new Integer( event ) ) ); [javac] ^ [javac] /build/java-service-wrapper/src/wrapper_3.5.41_src/src/java/org/tanukisoftware/wrapper/WrapperStartStopApp.java:509: warning: [deprecation] Integer(int) in Integer has been deprecated [javac] m_mainExitCode = new Integer( 1 ); [javac] ^ [javac] /build/java-service-wrapper/src/wrapper_3.5.41_src/src/java/org/tanukisoftware/wrapper/WrapperStartStopApp.java:546: warning: [deprecation] Integer(int) in Integer has been deprecated [javac] return new Integer( 1 ); [javac] ^ [javac] /build/java-service-wrapper/src/wrapper_3.5.41_src/src/java/org/tanukisoftware/wrapper/WrapperStartStopApp.java:576: warning: [deprecation] Integer(int) in Integer has been deprecated [javac] new Integer(maxLoops) ) ); [javac] ^ [javac] /build/java-service-wrapper/src/wrapper_3.5.41_src/src/java/org/tanukisoftware/wrapper/WrapperStartStopApp.java:638: warning: [deprecation] Boolean(boolean) in Boolean has been deprecated [javac] new Boolean( m_mainComplete ), m_mainExitCode ) ); [javac] ^ [javac] /build/java-service-wrapper/src/wrapper_3.5.41_src/src/java/org/tanukisoftware/wrapper/WrapperStartStopApp.java:651: warning: [deprecation] Integer(int) in Integer has been deprecated [javac] m_outDebug.println(WrapperManager.getRes().getString( "stop({0})", new Integer( exitCode ) ) ); [javac] ^ [javac] /build/java-service-wrapper/src/wrapper_3.5.41_src/src/java/org/tanukisoftware/wrapper/WrapperStartStopApp.java:695: warning: [deprecation] Integer(int) in Integer has been deprecated [javac] new Integer( threadCnt - systemThreadCount ) ) ); [javac] ^ [javac] /build/java-service-wrapper/src/wrapper_3.5.41_src/src/java/org/tanukisoftware/wrapper/WrapperStartStopApp.java:756: warning: [deprecation] Integer(int) in Integer has been deprecated [javac] "controlEvent({0}) Stopping", new Integer( event ) ) ); [javac] ^ [javac] /build/java-service-wrapper/src/wrapper_3.5.41_src/src/java/org/tanukisoftware/wrapper/WrapperStartStopApp.java:925: warning: [deprecation] Integer(int) in Integer has been deprecated [javac] m_initError = WrapperManager.getRes().getString( "Not enough arguments. Argument count of {0} was specified.", new Integer( argCount) ); [javac] ^ [javac] /build/java-service-wrapper/src/wrapper_3.5.41_src/src/java/org/tanukisoftware/wrapper/demo/DeadLock.java:30: warning: [deprecation] Integer(int) in Integer has been deprecated [javac] System.out.println( DemoApp.getRes().getString( "Locker-{0}: Started", new Integer( m_id ) ) ); [javac] ^ [javac] /build/java-service-wrapper/src/wrapper_3.5.41_src/src/java/org/tanukisoftware/wrapper/demo/DeadLock.java:42: warning: [deprecation] Integer(int) in Integer has been deprecated [javac] System.out.println( DemoApp.getRes().getString( "Locker-{0}: Complete", new Integer( m_id ) ) ); [javac] ^ [javac] /build/java-service-wrapper/src/wrapper_3.5.41_src/src/java/org/tanukisoftware/wrapper/demo/DeadLock.java:53: warning: [deprecation] Integer(int) in Integer has been deprecated [javac] System.out.println( DemoApp.getRes().getString( "Locker-{0}: Try locking {1}...", new Integer( m_id ), m_obj2.toString() ) ); [javac] ^ [javac] /build/java-service-wrapper/src/wrapper_3.5.41_src/src/java/org/tanukisoftware/wrapper/demo/DeadLock.java:56: warning: [deprecation] Integer(int) in Integer has been deprecated [javac] System.out.println( DemoApp.getRes().getString( "Locker-{0}: Oops! Locked {1}", new Integer( m_id ), m_obj2.toString() ) ); [javac] ^ [javac] /build/java-service-wrapper/src/wrapper_3.5.41_src/src/java/org/tanukisoftware/wrapper/demo/DeadLock.java:82: warning: [deprecation] Integer(int) in Integer has been deprecated [javac] System.out.println( DemoApp.getRes().getString( "Locker-{0}: Locking {1}...", new Integer( m_id ), m_obj1.toString() ) ); [javac] ^ [javac] /build/java-service-wrapper/src/wrapper_3.5.41_src/src/java/org/tanukisoftware/wrapper/demo/DeadLock.java:85: warning: [deprecation] Integer(int) in Integer has been deprecated [javac] System.out.println( DemoApp.getRes().getString( "Locker-{0}: Locked {1}", new Integer( m_id ), m_obj1.toString() ) ); [javac] ^ [javac] /build/java-service-wrapper/src/wrapper_3.5.41_src/src/java/org/tanukisoftware/wrapper/demo/DemoApp.java:111: warning: [deprecation] Integer(int) in Integer has been deprecated [javac] System.out.println( getRes().getString( "TestWrapper: controlEvent({0})", new Integer( event ) ) ); [javac] ^ [javac] /build/java-service-wrapper/src/wrapper_3.5.41_src/src/java/org/tanukisoftware/wrapper/event/WrapperServiceActionEvent.java:135: warning: [deprecation] Integer(int) in Integer has been deprecated [javac] return WrapperManager.getRes().getString( "Unknown Code {0}", new Integer( actionSourceCode ) ); [javac] ^ [javac] /build/java-service-wrapper/src/wrapper_3.5.41_src/src/java/org/tanukisoftware/wrapper/security/WrapperUserEventPermission.java:223: warning: [deprecation] Integer(int) in Integer has been deprecated [javac] throw new AccessControlException( WrapperManager.getRes().getString( "Value {0} is out of bounds.", new Integer( lastValue ) ) ); [javac] ^ [javac] /build/java-service-wrapper/src/wrapper_3.5.41_src/src/java/org/tanukisoftware/wrapper/security/WrapperUserEventPermission.java:233: warning: [deprecation] Integer(int) in Integer has been deprecated [javac] throw new AccessControlException( WrapperManager.getRes().getString( "Value {0} is out of bounds.", new Integer( lastValue ) ) ); [javac] ^ [javac] /build/java-service-wrapper/src/wrapper_3.5.41_src/src/java/org/tanukisoftware/wrapper/security/WrapperUserEventPermission.java:237: warning: [deprecation] Integer(int) in Integer has been deprecated [javac] throw new AccessControlException( WrapperManager.getRes().getString( "Value {0} is not sorted.", new Integer( currentValue ) ) ); [javac] ^ [javac] /build/java-service-wrapper/src/wrapper_3.5.41_src/src/java/org/tanukisoftware/wrapper/security/WrapperUserEventPermission.java:251: warning: [deprecation] Integer(int) in Integer has been deprecated [javac] throw new AccessControlException( WrapperManager.getRes().getString( "Value {0} is out of bounds.", new Integer( lastValue ) ) ); [javac] ^ [javac] /build/java-service-wrapper/src/wrapper_3.5.41_src/src/java/org/tanukisoftware/wrapper/security/WrapperUserEventPermission.java:255: warning: [deprecation] Integer(int) in Integer has been deprecated [javac] throw new AccessControlException( WrapperManager.getRes().getString( "Value {0} is not sorted.", new Integer( currentValue ) ) ); [javac] ^ [javac] /build/java-service-wrapper/src/wrapper_3.5.41_src/src/java/org/tanukisoftware/wrapper/security/WrapperUserEventPermission.java:261: warning: [deprecation] Integer(int) in Integer has been deprecated [javac] throw new AccessControlException( WrapperManager.getRes().getString( "Value {0} is out of bounds.", new Integer( lastValue ) ) ); [javac] ^ [javac] /build/java-service-wrapper/src/wrapper_3.5.41_src/src/java/org/tanukisoftware/wrapper/security/WrapperUserEventPermission.java:265: warning: [deprecation] Integer(int) in Integer has been deprecated [javac] throw new AccessControlException( WrapperManager.getRes().getString( "Value {0} is not sorted.", new Integer( currentValue ) ) ); [javac] ^ [javac] /build/java-service-wrapper/src/wrapper_3.5.41_src/src/java/org/tanukisoftware/wrapper/security/WrapperUserEventPermission.java:276: warning: [deprecation] Integer(int) in Integer has been deprecated [javac] throw new java.security.AccessControlException( WrapperManager.getRes().getString( "Value {0} is not sorted.", new Integer( currentValue ) ) ); [javac] ^ [javac] /build/java-service-wrapper/src/wrapper_3.5.41_src/src/java/org/tanukisoftware/wrapper/test/AbstractActionApp.java:643: warning: [deprecation] Integer(int) in Integer has been deprecated [javac] System.out.println( Main.getRes().getString( "Service after user code {0} : {1}", new Integer( i ), service ) ); [javac] ^ [javac] /build/java-service-wrapper/src/wrapper_3.5.41_src/src/java/org/tanukisoftware/wrapper/test/DeadLockBase.java:43: warning: [deprecation] Integer(int) in Integer has been deprecated [javac] m_id = new Integer( id ); [javac] ^ [javac] /build/java-service-wrapper/src/wrapper_3.5.41_src/src/java/org/tanukisoftware/wrapper/test/DeadLockBase.java:96: warning: non-varargs call of varargs method with inexact argument type for last parameter; [javac] rentrantLockClass.getMethod( "lock", null ).invoke( lock2, [javac] ^ [javac] cast to Class for a varargs call [javac] cast to Class[] for a non-varargs call and to suppress this warning [javac] /build/java-service-wrapper/src/wrapper_3.5.41_src/src/java/org/tanukisoftware/wrapper/test/DeadLockBase.java:104: warning: non-varargs call of varargs method with inexact argument type for last parameter; [javac] rentrantLockClass.getMethod( "unlock", null ).invoke( lock2, [javac] ^ [javac] cast to Class for a varargs call [javac] cast to Class[] for a non-varargs call and to suppress this warning [javac] /build/java-service-wrapper/src/wrapper_3.5.41_src/src/java/org/tanukisoftware/wrapper/test/DeadLockBase.java:162: warning: non-varargs call of varargs method with inexact argument type for last parameter; [javac] rentrantLockClass.getMethod( "lock", null ).invoke( lock1, [javac] ^ [javac] cast to Class for a varargs call [javac] cast to Class[] for a non-varargs call and to suppress this warning [javac] Note: Some input files additionally use or override a deprecated API. [javac] Note: Some input files use unchecked or unsafe operations. [javac] Note: Recompile with -Xlint:unchecked for details. [javac] 100 warnings [javac] only showing the first 100 warnings, of 103 total; use -Xmaxwarns if you would like to see more [copy] Copying 18 files to /build/java-service-wrapper/src/wrapper_3.5.41_src/build/classes

check:junit: [echo] ********** [echo] * JUnit jar not found. Not running tests. [echo] **********

compile-java:junit:

compile-java:

jar:jar: [jar] Building jar: /build/java-service-wrapper/src/wrapper_3.5.41_src/lib/wrapper.jar [jar] Building jar: /build/java-service-wrapper/src/wrapper_3.5.41_src/lib/wrappertest.jar [jar] Building jar: /build/java-service-wrapper/src/wrapper_3.5.41_src/lib/wrapperdemo.jar [jar] Building jar: /build/java-service-wrapper/src/wrapper_3.5.41_src/lib/wrappertest2.jar

jar:

init-setup:

init-windows:

init-unix:

init-bits-check:

init-bits-mismatch-check:

init:

init:msg: [echo] ********** [echo] * About to build a 64-bit version of Java Service Wrapper Community 3.5.41. [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.41 [echo] **********

update-info-c: [copy] Copying 1 file to /build/java-service-wrapper/src/wrapper_3.5.41_src/src/c

compile-c-unix-check:

compile-c-unix: [mkdir] Created dir: /build/java-service-wrapper/src/wrapper_3.5.41_src/bin [mkdir] Created dir: /build/java-service-wrapper/src/wrapper_3.5.41_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 -D_FORTIFY_SOURCE=2 -DJSW64 -D_FILE_OFFSET_BITS=64 -fpic -D_GNU_SOURCE -DUNICODE -D_UNICODE -Wl,-z,relro,-z,now -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 wrapper_ulimit.c wrapper_encoding.c wrapper_jvminfo.c -lm -o ../../bin/wrapper [exec] gcc -O3 -fPIC -Wall --pedantic -DLINUX -D_FORTIFY_SOURCE=2 -DJSW64 -D_FILE_OFFSET_BITS=64 -fpic -D_GNU_SOURCE -DUNICODE -D_UNICODE -c wrapper_i18n.c [exec] gcc -O3 -fPIC -Wall --pedantic -DLINUX -D_FORTIFY_SOURCE=2 -DJSW64 -D_FILE_OFFSET_BITS=64 -fpic -D_GNU_SOURCE -DUNICODE -D_UNICODE -c wrapperjni_unix.c [exec] In file included from wrapperjni.h:33, [exec] from wrapperjni_unix.c:44: [exec] org_tanukisoftware_wrapper_WrapperManager.h:2:10: fatal error: jni.h: No such file or directory [exec] 2 | #include <jni.h> [exec] | ^~~~~~~ [exec] compilation terminated. [exec] make: [Makefile-linux-x86-64.make:50: wrapperjni_unix.o] Error 1 [exec] make: Waiting for unfinished jobs....

BUILD FAILED /build/java-service-wrapper/src/wrapper_3.5.41_src/build.xml:680: exec returned: 2

Total time: 9 seconds

skydrome commented on 2019-11-07 19:19

==> Starting prepare()...

==> Detected Java 13.0.1

patching file build.xml

You should see that line at the beginning ^

BUILD SUCCESSFUL Total time: 15 seconds

==> Finished making: java-service-wrapper 3.5.41-1

try not using any "aur helpers" if it doesnt work for you

AlPiotrowicz commented on 2019-11-07 15:58

After last update cannot compile it irrespectively java version used, same error as in my post below. For the most recent 13-openjdk it throws "javah does not exist" error.

applebloom commented on 2019-06-30 18:36

BUILD FAILED /home/narf/.cache/yay/java-service-wrapper/src/wrapper_3.5.39_src/build.xml:560: javah does not exist under Java 10 and higher, use the javac task with nativeHeaderDir instead

With Java 10 and 12.

CurtisLeeBolin commented on 2019-05-08 21:16

I am using openjdk 10.

$ javac --version
javac 10.0.2
init:java-missing:

convert:

update-info:
     [copy] Copying 1 file to /home/lee/.tmp/java-service-wrapper/src/wrapper_3.5.39_src/src/java/org/tanukisoftware/wrapper

compile-java-warn:
     [echo] **********************************************************************
     [echo] * WARNING
     [echo] * The jar is being built for Java version 11.  This will not be
     [echo] * compatible with older JVMs.
     [echo] **********************************************************************

compile-java:core:
    [javac] Compiling 110 source files to /home/lee/.tmp/java-service-wrapper/src/wrapper_3.5.39_src/build/classes
    [javac] javac: invalid target release: 11
    [javac] Usage: javac <options> <source files>
    [javac] use --help for a list of possible options

BUILD FAILED
/home/lee/.tmp/java-service-wrapper/src/wrapper_3.5.39_src/build.xml:532: Compile failed; see the compiler error output for details.

AlPiotrowicz commented on 2019-04-26 07:35

Unable to build it, cause javac command doesn't exist in jre-11 and it doesn't applying a patch and produces "javah does not exist under Java 10 and higher" error. If I use an "old" method to check the version in pkgbuild it also fails with:


Buildfile: /tmp/makepkg/java-service-wrapper/src/wrapper_3.5.38_src/build.xml

init-setup:

init-windows:

init-unix:

init-bits-check:

init-bits-mismatch-check:

init:

init:msg: [echo] ********** [echo] * About to build a 64-bit version of Java Service Wrapper Community 3.5.38. [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.38 [echo] **********

init:java-missing:

convert:

update-info: [copy] Copying 1 file to /tmp/makepkg/java-service-wrapper/src/wrapper_3.5.38_src/src/java/org/tanukisoftware/wrapper

compile-java-warn:

compile-java:core: [javac] Compiling 1 source file to /tmp/makepkg/java-service-wrapper/src/wrapper_3.5.38_src/build/classes

check:junit:

compile-java:junit: [javac] Compiling 1 source file to /tmp/makepkg/java-service-wrapper/src/wrapper_3.5.38_src/build/testclasses

compile-java:

jar:jar: [jar] Building jar: /tmp/makepkg/java-service-wrapper/src/wrapper_3.5.38_src/lib/wrapper.jar [jar] Building jar: /tmp/makepkg/java-service-wrapper/src/wrapper_3.5.38_src/lib/wrappertest.jar [jar] Building jar: /tmp/makepkg/java-service-wrapper/src/wrapper_3.5.38_src/lib/wrapperdemo.jar [jar] Building jar: /tmp/makepkg/java-service-wrapper/src/wrapper_3.5.38_src/lib/wrappertest2.jar

jar:

init-setup:

init-windows:

init-unix:

init-bits-check:

init-bits-mismatch-check:

init:

init:msg: [echo] ********** [echo] * About to build a 64-bit version of Java Service Wrapper Community 3.5.38. [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.38 [echo] **********

update-info-c: [copy] Copying 1 file to /tmp/makepkg/java-service-wrapper/src/wrapper_3.5.38_src/src/c

compile-c-unix-check:

compile-c-unix: [mkdir] Created dir: /tmp/makepkg/java-service-wrapper/src/wrapper_3.5.38_src/bin [mkdir] Created dir: /tmp/makepkg/java-service-wrapper/src/wrapper_3.5.38_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 wrapper_ulimit.c wrapper_encoding.c wrapper_jvminfo.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] In file included from wrapperjni.h:33, [exec] from wrapperjni_unix.c:44: [exec] org_tanukisoftware_wrapper_WrapperManager.h:2:10: fatal error: jni.h: Nie ma takiego pliku ani katalogu [exec] #include <jni.h> [exec] ^~~~~~~ [exec] compilation terminated. [exec] make: [Makefile-linux-x86-64.make:48: wrapperjni_unix.o] Błąd 1 [exec] make: Oczekiwanie na niezakończone zadania....

BUILD FAILED /tmp/makepkg/java-service-wrapper/src/wrapper_3.5.38_src/build.xml:688: exec returned: 2

Total time: 7 seconds

DDoSolitary commented on 2019-04-13 15:46

@dluciv patch is part of the base-devel group and is expected to has been installed when building the package, so it's unnecessary to list it in makedepends.

dluciv commented on 2019-04-13 15:31

It requires patch as build dependency

skydrome commented on 2019-02-22 03:50

fixed for using yay. The explanation given to me was that yay runs makepkg 3 separate times for each phase of building, so variables are lost. Wish there wasnt the need to check for a specific java version but there are still some apps that wont run on newer versions.