commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Benedikt Ritter <brit...@apache.org>
Subject Re: [crypto]
Date Sat, 11 Jun 2016 09:19:32 GMT
I also see those warnings on MacOS. I don't know whether they indicate real
problems.

Gary Gregory <garydgregory@gmail.com> schrieb am Do., 9. Juni 2016 um 08:51:

> When I build on Linux, I get some warnings. Can we get these fixed?
>
> make:
>      [exec] compiling OSInfo.java
>      [exec] make: Warning: File
> 'target/classes/org/apache/commons/crypto/VERSION' has modification time
> 6.1 s in the future
>      [exec] "$JAVA_HOME/bin/javac" -source 1.6 -target 1.6 -d
> target/jni-classes -sourcepath src/main/java
>
> src/main/java/org/apache/commons/crypto/random/OpensslCryptoRandomNative.java
>      [exec] warning: [options] bootstrap class path not set in conjunction
> with -source 1.6
>      [exec] 1 warning
>      [exec] "$JAVA_HOME/bin/javah" -force -classpath target/jni-classes -o
>
> target/jni-classes/org/apache/commons/crypto/random/OpensslCryptoRandomNative.h
> org.apache.commons.crypto.random.OpensslCryptoRandomNative
>      [exec] gcc -I/usr/lib/jvm/java-8-openjdk-i386/include -O2 -fPIC
> -fvisibility=hidden -m32 -Ilib/include -I/usr/include
> -I"src/main/native/org/apache/commons/crypto/"
> -I"/usr/lib/jvm/java-8-openjdk-i386/include/linux"
> -I"target/jni-classes/org/apache/commons/crypto/cipher"
> -I"target/jni-classes/org/apache/commons/crypto/random" -c
>
> src/main/native/org/apache/commons/crypto/random/OpensslCryptoRandomNative.c
> -o target/commons-crypto-1.0.0-SNAPSHOT-Linux-x86/OpensslCryptoRandom.o
>      [exec]
>
> src/main/native/org/apache/commons/crypto/random/OpensslCryptoRandomNative.c:37:0:
> warning: "JNIEXPORT" redefined
>      [exec]  #define JNIEXPORT __attribute__((__visibility__("default")))
>      [exec]  ^
>      [exec] In file included from
> /usr/lib/jvm/java-8-openjdk-i386/include/jni.h:45:0,
>      [exec]                  from
> src/main/native/org/apache/commons/crypto/org_apache_commons_crypto.h:71,
>      [exec]                  from
>
> src/main/native/org/apache/commons/crypto/random/org_apache_commons_crypto_random.h:22,
>      [exec]                  from
>
> src/main/native/org/apache/commons/crypto/random/OpensslCryptoRandomNative.c:19:
>      [exec] /usr/lib/jvm/java-8-openjdk-i386/include/linux/jni_md.h:33:0:
> note: this is the location of the previous definition
>      [exec]    #define JNIEXPORT     __attribute__((visibility("default")))
>      [exec]  ^
>      [exec] "$JAVA_HOME/bin/javac" -source 1.6 -target 1.6 -d
> target/jni-classes -sourcepath src/main/java
> src/main/java/org/apache/commons/crypto/cipher/OpensslNative.java
>      [exec] warning: [options] bootstrap class path not set in conjunction
> with -source 1.6
>      [exec] 1 warning
>      [exec] "$JAVA_HOME/bin/javah" -force -classpath target/jni-classes -o
> target/jni-classes/org/apache/commons/crypto/cipher/OpensslNative.h
> org.apache.commons.crypto.cipher.OpensslNative
>      [exec] gcc -I/usr/lib/jvm/java-8-openjdk-i386/include -O2 -fPIC
> -fvisibility=hidden -m32 -Ilib/include -I/usr/include
> -I"src/main/native/org/apache/commons/crypto/"
> -I"/usr/lib/jvm/java-8-openjdk-i386/include/linux"
> -I"target/jni-classes/org/apache/commons/crypto/cipher"
> -I"target/jni-classes/org/apache/commons/crypto/random" -c
> src/main/native/org/apache/commons/crypto/cipher/OpensslNative.c -o
> target/commons-crypto-1.0.0-SNAPSHOT-Linux-x86/OpensslNative.o
>      [exec]
> src/main/native/org/apache/commons/crypto/cipher/OpensslNative.c:26:0:
> warning: "JNIEXPORT" redefined
>      [exec]  #define JNIEXPORT __attribute__((__visibility__("default")))
>      [exec]  ^
>      [exec] In file included from
> /usr/lib/jvm/java-8-openjdk-i386/include/jni.h:45:0,
>      [exec]                  from
> src/main/native/org/apache/commons/crypto/org_apache_commons_crypto.h:71,
>      [exec]                  from
> src/main/native/org/apache/commons/crypto/cipher/OpensslNative.c:19:
>      [exec] /usr/lib/jvm/java-8-openjdk-i386/include/linux/jni_md.h:33:0:
> note: this is the location of the previous definition
>      [exec]    #define JNIEXPORT     __attribute__((visibility("default")))
>      [exec]  ^
>      [exec] g++ -I/usr/lib/jvm/java-8-openjdk-i386/include -O2 -fPIC
> -fvisibility=hidden -m32 -Ilib/include  -I/usr/include
> -I"/usr/lib/jvm/java-8-openjdk-i386/include/linux"
> -I"target/jni-classes/org/apache/commons/crypto/cipher"
> -I"target/jni-classes/org/apache/commons/crypto/random" -o
> target/commons-crypto-1.0.0-SNAPSHOT-Linux-x86/libcommons-crypto.so
> target/commons-crypto-1.0.0-SNAPSHOT-Linux-x86/OpensslCryptoRandom.o
> target/commons-crypto-1.0.0-SNAPSHOT-Linux-x86/OpensslNative.o -shared
> -static-libgcc -static-libstdc++
>      [exec] strip
> target/commons-crypto-1.0.0-SNAPSHOT-Linux-x86/libcommons-crypto.so
>      [exec] cp
> target/commons-crypto-1.0.0-SNAPSHOT-Linux-x86/libcommons-crypto.so
>
> target/classes/org/apache/commons/crypto/native/Linux/x86/libcommons-crypto.so
>      [exec] cp
> target/commons-crypto-1.0.0-SNAPSHOT-Linux-x86/libcommons-crypto.so
>
> target/classes/org/apache/commons/crypto/native/Linux/x86/libcommons-crypto.so
>      [exec] make: warning:  Clock skew detected.  Your build may be
> incomplete.
>
> Thank you,
> Gary
>
> --
> E-Mail: garydgregory@gmail.com | ggregory@apache.org
> Java Persistence with Hibernate, Second Edition
> <http://www.manning.com/bauer3/>
> JUnit in Action, Second Edition <http://www.manning.com/tahchiev/>
> Spring Batch in Action <http://www.manning.com/templier/>
> Blog: http://garygregory.wordpress.com
> Home: http://garygregory.com/
> Tweet! http://twitter.com/GaryGregory
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message