MidnightBSD Magus

devel/jakarta-commons-daemon

Wrapper code to start/stop a Java application as a daemon

Flavor Version Run OSVersion Arch License Restricted Status
1.0.15 320 0.7 amd64 apache2 0 fail

Events

Machine Type Time Message
m5 info 2016-03-21 12:38:26.827935 Test Started
m5 fail 2016-03-21 12:39:33.069862 make build returned non-zero: 1
m5 fail 2016-03-21 12:39:33.200912 Test complete.

Log

===>  Building for jakarta-commons-daemon-1.0.15
(cd native; /usr/bin/make  all)
cc -O2 -pipe -fno-strict-aliasing -DOS_FREEBSD -DDSO_DLFCN -D_THREAD_SAFE -pthread -DCPU=\"amd64\" -Wall -Wstrict-prototypes   -I/usr/local/openjdk7/include -I/usr/local/openjdk7/include/freebsd -c jsvc-unix.c -o jsvc-unix.o
cc -O2 -pipe -fno-strict-aliasing -DOS_FREEBSD -DDSO_DLFCN -D_THREAD_SAFE -pthread -DCPU=\"amd64\" -Wall -Wstrict-prototypes   -I/usr/local/openjdk7/include -I/usr/local/openjdk7/include/freebsd -c arguments.c -o arguments.o
cc -O2 -pipe -fno-strict-aliasing -DOS_FREEBSD -DDSO_DLFCN -D_THREAD_SAFE -pthread -DCPU=\"amd64\" -Wall -Wstrict-prototypes   -I/usr/local/openjdk7/include -I/usr/local/openjdk7/include/freebsd -c debug.c -o debug.o
cc -O2 -pipe -fno-strict-aliasing -DOS_FREEBSD -DDSO_DLFCN -D_THREAD_SAFE -pthread -DCPU=\"amd64\" -Wall -Wstrict-prototypes   -I/usr/local/openjdk7/include -I/usr/local/openjdk7/include/freebsd -c dso-dlfcn.c -o dso-dlfcn.o
cc -O2 -pipe -fno-strict-aliasing -DOS_FREEBSD -DDSO_DLFCN -D_THREAD_SAFE -pthread -DCPU=\"amd64\" -Wall -Wstrict-prototypes   -I/usr/local/openjdk7/include -I/usr/local/openjdk7/include/freebsd -c dso-dyld.c -o dso-dyld.o
cc -O2 -pipe -fno-strict-aliasing -DOS_FREEBSD -DDSO_DLFCN -D_THREAD_SAFE -pthread -DCPU=\"amd64\" -Wall -Wstrict-prototypes   -I/usr/local/openjdk7/include -I/usr/local/openjdk7/include/freebsd -c help.c -o help.o
cc -O2 -pipe -fno-strict-aliasing -DOS_FREEBSD -DDSO_DLFCN -D_THREAD_SAFE -pthread -DCPU=\"amd64\" -Wall -Wstrict-prototypes   -I/usr/local/openjdk7/include -I/usr/local/openjdk7/include/freebsd -c home.c -o home.o
cc -O2 -pipe -fno-strict-aliasing -DOS_FREEBSD -DDSO_DLFCN -D_THREAD_SAFE -pthread -DCPU=\"amd64\" -Wall -Wstrict-prototypes   -I/usr/local/openjdk7/include -I/usr/local/openjdk7/include/freebsd -c java.c -o java.o
In file included from java.c:24:
/usr/local/openjdk7/include/jni.h:45:20: error: jni_md.h: No such file or directory
In file included from java.c:24:
/usr/local/openjdk7/include/jni.h:63: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'jsize'
/usr/local/openjdk7/include/jni.h:122: error: expected specifier-qualifier-list before 'jbyte'
/usr/local/openjdk7/include/jni.h:220: error: expected specifier-qualifier-list before 'jint'
/usr/local/openjdk7/include/jni.h:1869: error: expected specifier-qualifier-list before 'jint'
/usr/local/openjdk7/include/jni.h:1877: error: expected specifier-qualifier-list before 'jint'
/usr/local/openjdk7/include/jni.h:1895: error: expected specifier-qualifier-list before 'jint'
/usr/local/openjdk7/include/jni.h:1934: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'jint'
/usr/local/openjdk7/include/jni.h:1937: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'jint'
/usr/local/openjdk7/include/jni.h:1940: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'jint'
/usr/local/openjdk7/include/jni.h:1944: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'jint'
/usr/local/openjdk7/include/jni.h:1947: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
java.c: In function 'failed':
java.c:56: error: 'const struct JNINativeInterface_' has no member named 'GetStringUTFChars'
java.c:59: error: 'const struct JNINativeInterface_' has no member named 'ReleaseStringUTFChars'
java.c: At top level:
java.c:106: error: expected declaration specifiers or '...' before '*' token
java.c:106: warning: type defaults to 'int' in declaration of 'jint'
java.c:106: error: 'jint' declared as function returning a function
java.c:106: warning: function declaration isn't a prototype
java.c: In function 'java_signal':
java.c:117: error: 'const struct JNINativeInterface_' has no member named 'GetStaticMethodID'
java.c:119: error: 'const struct JNINativeInterface_' has no member named 'ExceptionClear'
java.c:124: error: 'const struct JNINativeInterface_' has no member named 'CallStaticBooleanMethod'
java.c:128: error: 'const struct JNINativeInterface_' has no member named 'ExceptionClear'
java.c: In function 'java_init':
java.c:141: error: 'jvm_create_t' undeclared (first use in this function)
java.c:141: error: (Each undeclared identifier is reported only once
java.c:141: error: for each function it appears in.)
java.c:141: error: expected ';' before 'symb'
java.c:216: error: 'symb' undeclared (first use in this function)
java.c:216: error: expected ';' before 'dso_symbol'
java.c:238: error: 'JavaVMInitArgs' has no member named 'version'
java.c:248: error: 'JavaVMInitArgs' has no member named 'ignoreUnrecognized'
java.c:249: error: 'JavaVMInitArgs' has no member named 'nOptions'
java.c:250: error: 'JavaVMInitArgs' has no member named 'nOptions'
java.c:275: error: 'JavaVMInitArgs' has no member named 'options'
java.c:280: error: 'JavaVMInitArgs' has no member named 'version'
java.c:282: error: 'JavaVMInitArgs' has no member named 'ignoreUnrecognized'
java.c:292: error: 'JavaVMInitArgs' has no member named 'nOptions'
java.c:294: error: 'JavaVMInitArgs' has no member named 'nOptions'
java.c:316: error: 'const struct JNINativeInterface_' has no member named 'FindClass'
java.c:335: error: 'const struct JNINativeInterface_' has no member named 'RegisterNatives'
java.c: In function 'JVM_destroy':
java.c:354: error: 'const struct JNINativeInterface_' has no member named 'FindClass'
java.c:363: error: 'const struct JNINativeInterface_' has no member named 'GetStaticMethodID'
java.c:370: error: 'const struct JNINativeInterface_' has no member named 'CallStaticVoidMethod'
java.c:370: error: cast specifies function type
java.c:374: error: 'const struct JNIInvokeInterface_' has no member named 'DestroyJavaVM'
java.c: In function 'java_load':
java.c:395: error: 'const struct JNINativeInterface_' has no member named 'NewStringUTF'
java.c:403: error: 'const struct JNINativeInterface_' has no member named 'FindClass'
java.c:409: error: 'const struct JNINativeInterface_' has no member named 'NewObjectArray'
java.c:417: error: 'const struct JNINativeInterface_' has no member named 'NewStringUTF'
java.c:423: error: 'const struct JNINativeInterface_' has no member named 'SetObjectArrayElement'
java.c:428: error: 'const struct JNINativeInterface_' has no member named 'GetStaticMethodID'
java.c:435: error: 'const struct JNINativeInterface_' has no member named 'CallStaticBooleanMethod'
java.c: In function 'java_start':
java.c:456: error: 'const struct JNINativeInterface_' has no member named 'GetStaticMethodID'
java.c:462: error: 'const struct JNINativeInterface_' has no member named 'CallStaticBooleanMethod'
java.c: In function 'java_sleep':
java.c:487: error: 'const struct JNINativeInterface_' has no member named 'FindClass'
java.c:492: error: 'const struct JNINativeInterface_' has no member named 'GetStaticMethodID'
java.c:498: error: 'const struct JNINativeInterface_' has no member named 'CallStaticVoidMethod'
java.c:498: error: 'jlong' undeclared (first use in this function)
java.c:498: error: expected ')' before 'wait'
java.c: In function 'java_stop':
java.c:511: error: 'const struct JNINativeInterface_' has no member named 'GetStaticMethodID'
java.c:517: error: 'const struct JNINativeInterface_' has no member named 'CallStaticBooleanMethod'
java.c: In function 'java_version':
java.c:536: error: 'const struct JNINativeInterface_' has no member named 'GetStaticMethodID'
java.c:542: error: 'const struct JNINativeInterface_' has no member named 'CallStaticVoidMethod'
java.c: In function 'java_check':
java.c:558: error: 'const struct JNINativeInterface_' has no member named 'NewStringUTF'
java.c:567: error: 'const struct JNINativeInterface_' has no member named 'GetStaticMethodID'
java.c:573: error: 'const struct JNINativeInterface_' has no member named 'CallStaticBooleanMethod'
java.c: In function 'java_destroy':
java.c:593: error: 'const struct JNINativeInterface_' has no member named 'GetStaticMethodID'
java.c:599: error: 'const struct JNINativeInterface_' has no member named 'CallStaticBooleanMethod'
*** [java.o] Error code 1
cc -O2 -pipe -fno-strict-aliasing -DOS_FREEBSD -DDSO_DLFCN -D_THREAD_SAFE -pthread -DCPU=\"amd64\" -Wall -Wstrict-prototypes   -I/usr/local/openjdk7/include -I/usr/local/openjdk7/include/freebsd -c location.c -o location.o
cc -O2 -pipe -fno-strict-aliasing -DOS_FREEBSD -DDSO_DLFCN -D_THREAD_SAFE -pthread -DCPU=\"amd64\" -Wall -Wstrict-prototypes   -I/usr/local/openjdk7/include -I/usr/local/openjdk7/include/freebsd -c replace.c -o replace.o
cc -O2 -pipe -fno-strict-aliasing -DOS_FREEBSD -DDSO_DLFCN -D_THREAD_SAFE -pthread -DCPU=\"amd64\" -Wall -Wstrict-prototypes   -I/usr/local/openjdk7/include -I/usr/local/openjdk7/include/freebsd -c locks.c -o locks.o
1 error
*** [native/all] Error code 2
1 error
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** [do-build] Error code 1

Stop in /usr/mports/devel/jakarta-commons-daemon.