I will try to come up with something reasonable.

On Monday, April 23, 2018 at 12:40:01 PM UTC-4, Nadav Har'El wrote:
>
>
> On Mon, Apr 23, 2018 at 7:36 PM, Nadav Har'El <n...@scylladb.com 
> <javascript:>> wrote:
>
>>
>> On Thu, Apr 5, 2018 at 12:40 AM, Waldek Kozaczuk <jwkoz...@gmail.com 
>> <javascript:>> wrote:
>>
>>> Which version of Java is being used by build process? I have a feeling 
>>> it is higher than java 8.
>>>
>>
>> If require Java 7 or 8 for the build, I wonder if we shouldn't make an 
>> effort to find the appropriate
>> executable on the system - or maybe just giving the "-source 8" (or 7) 
>> option to the default one would be
>> enough. Or, if for some reason we can't do that, maybe just check it and 
>> warn about this problem
>> instead of letting the user deal with crypting compilation errors?
>>
>
> Oh, and another possibility on how  to fix this: Maybe we can just say 
> that the test image requires
> the "java-non-isolated". Would this be enough to fix the compilation 
> errors on Java 9?
>
>
>>
>>>
>>> On Wednesday, April 4, 2018 at 3:57:11 PM UTC-4, Geraldo Netto wrote:
>>>>
>>>> Dear Friends, 
>>>>
>>>> While, applying the changes for the crypt functions, I noticed the 
>>>> runjava-isolated module is failing to build 
>>>> I have tried it with a clean git clone and the issue persists 
>>>>
>>>> Could you try? 
>>>> Just to make sure, I'm not missing some detail (I use linux mint 18.3) 
>>>>
>>>> netto@besta01 ~/Desktop/osv/osv-clean $ scripts/build check 
>>>> Building into build/release.x64 
>>>>   GEN gen/include/osv/version.h 
>>>> No such image configuration: tests. Assuming list of modules. 
>>>> Importing /home/netto/Desktop/osv/osv-clean/modules/tests/module.py 
>>>> Importing 
>>>> /home/netto/Desktop/osv/osv-clean/modules/java-tests/module.py 
>>>> Importing /home/netto/Desktop/osv/osv-clean/modules/java/module.py 
>>>> Importing 
>>>> /home/netto/Desktop/osv/osv-clean/modules/java-isolated/module.py 
>>>> Importing /home/netto/Desktop/osv/osv-clean/modules/java-base/module.py 
>>>> Importing /home/netto/Desktop/osv/osv-clean/apps/fonts/module.py 
>>>> No module.py in 
>>>> /home/netto/Desktop/osv/osv-clean/modules/ca-certificates 
>>>> No module.py in /home/netto/Desktop/osv/osv-clean/modules/libz 
>>>> Importing /home/netto/Desktop/osv/osv-clean/modules/openjdk7/module.py 
>>>> Modules: 
>>>>   fonts 
>>>>   ca-certificates 
>>>>   libz 
>>>>   java-base 
>>>>   java-isolated 
>>>>   openjdk7 
>>>>   java 
>>>>   java-tests 
>>>>   tests.* 
>>>> mkdir -p build/etc/pki/ca-trust/extracted/openssl 
>>>> mkdir -p build/etc/pki/ca-trust/extracted/pem 
>>>> mkdir -p build/etc/pki/ca-trust/extracted/java 
>>>> p11-kit extract --format=openssl-bundle --filter=certificates 
>>>> --overwrite 
>>>> build/etc/pki/ca-trust/extracted/openssl/ca-bundle.trust.crt 
>>>> p11-kit extract --format=pem-bundle --filter=ca-anchors --overwrite 
>>>> --purpose server-auth 
>>>> build/etc/pki/ca-trust/extracted/pem/tls-ca-bundle.pem 
>>>> p11-kit extract --format=pem-bundle --filter=ca-anchors --overwrite 
>>>> --purpose email 
>>>> build/etc/pki/ca-trust/extracted/pem/email-ca-bundle.pem 
>>>> p11-kit extract --format=pem-bundle --filter=ca-anchors --overwrite 
>>>> --purpose code-signing 
>>>> build/etc/pki/ca-trust/extracted/pem/objsign-ca-bundle.pem 
>>>> p11-kit extract --format=java-cacerts --filter=ca-anchors --overwrite 
>>>> --purpose server-auth build/etc/pki/ca-trust/extracted/java/cacerts 
>>>>   MKDIRS 
>>>>   MKDIRS 
>>>> cd /home/netto/Desktop/osv/osv-clean/modules/java-base && mvn 
>>>> --projects :runjava-common,:runjava-isolated  package -DskipTests=true 
>>>> WARNING: An illegal reflective access operation has occurred 
>>>> WARNING: Illegal reflective access by 
>>>> com.google.inject.internal.cglib.core.$ReflectUtils$1 
>>>> (file:/usr/share/maven/lib/guice.jar) to method 
>>>> java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain)
>>>>  
>>>>
>>>> WARNING: Please consider reporting this to the maintainers of 
>>>> com.google.inject.internal.cglib.core.$ReflectUtils$1 
>>>> WARNING: Use --illegal-access=warn to enable warnings of further 
>>>> illegal reflective access operations 
>>>> WARNING: All illegal access operations will be denied in a future 
>>>> release 
>>>> [INFO] Scanning for projects... 
>>>> [WARNING] 
>>>> [WARNING] Some problems were encountered while building the effective 
>>>> model for io.osv:runjava-common:jar:1.0-SNAPSHOT 
>>>> [WARNING] 'version' contains an expression but should be a constant. @ 
>>>> io.osv:java-parent:${version}, 
>>>> /home/netto/Desktop/osv/osv-clean/modules/java-base/pom.xml, line 13, 
>>>> column 14 
>>>> [WARNING] 
>>>> [WARNING] Some problems were encountered while building the effective 
>>>> model for io.osv:runjava-isolated:jar:1.0-SNAPSHOT 
>>>> [WARNING] 'version' contains an expression but should be a constant. @ 
>>>> io.osv:java-parent:${version}, 
>>>> /home/netto/Desktop/osv/osv-clean/modules/java-base/pom.xml, line 13, 
>>>> column 14 
>>>> [WARNING] 
>>>> [WARNING] Some problems were encountered while building the effective 
>>>> model for io.osv:runjava-non-isolated:jar:1.0-SNAPSHOT 
>>>> [WARNING] 'version' contains an expression but should be a constant. @ 
>>>> io.osv:java-parent:${version}, 
>>>> /home/netto/Desktop/osv/osv-clean/modules/java-base/pom.xml, line 13, 
>>>> column 14 
>>>> [WARNING] 
>>>> [WARNING] Some problems were encountered while building the effective 
>>>> model for io.osv:java-parent:pom:1.0-SNAPSHOT 
>>>> [WARNING] 'version' contains an expression but should be a constant. @ 
>>>> io.osv:java-parent:${version}, 
>>>> /home/netto/Desktop/osv/osv-clean/modules/java-base/pom.xml, line 13, 
>>>> column 14 
>>>> [WARNING] 
>>>> [WARNING] It is highly recommended to fix these problems because they 
>>>> threaten the stability of your build. 
>>>> [WARNING] 
>>>> [WARNING] For this reason, future Maven versions might no longer 
>>>> support building such malformed projects. 
>>>> [WARNING] 
>>>> [INFO] 
>>>> ------------------------------------------------------------------------ 
>>>> [INFO] Reactor Build Order: 
>>>> [INFO] 
>>>> [INFO] runjava-common 
>>>> [INFO] runjava-isolated 
>>>> [INFO] 
>>>> [INFO] 
>>>> ------------------------------------------------------------------------ 
>>>> [INFO] Building runjava-common 1.0-SNAPSHOT 
>>>> [INFO] 
>>>> ------------------------------------------------------------------------ 
>>>> [INFO] 
>>>> [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ 
>>>> runjava-common --- 
>>>> [WARNING] Using platform encoding (UTF-8 actually) to copy filtered 
>>>> resources, i.e. build is platform dependent! 
>>>> [INFO] skip non existing resourceDirectory 
>>>> /home/netto/Desktop/osv/osv-clean/modules/java-base/runjava-common/src/main/resources
>>>>  
>>>>
>>>> [INFO] 
>>>> [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ 
>>>> runjava-common --- 
>>>> [INFO] Nothing to compile - all classes are up to date 
>>>> [INFO] 
>>>> [INFO] --- maven-resources-plugin:2.6:testResources 
>>>> (default-testResources) @ runjava-common --- 
>>>> [WARNING] Using platform encoding (UTF-8 actually) to copy filtered 
>>>> resources, i.e. build is platform dependent! 
>>>> [INFO] skip non existing resourceDirectory 
>>>> /home/netto/Desktop/osv/osv-clean/modules/java-base/runjava-common/src/test/resources
>>>>  
>>>>
>>>> [INFO] 
>>>> [INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) 
>>>> @ runjava-common --- 
>>>> [INFO] No sources to compile 
>>>> [INFO] 
>>>> [INFO] --- maven-surefire-plugin:2.17:test (default-test) @ 
>>>> runjava-common --- 
>>>> [INFO] Tests are skipped. 
>>>> [INFO] 
>>>> [INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ runjava-common --- 
>>>> [INFO] 
>>>> [INFO] 
>>>> ------------------------------------------------------------------------ 
>>>> [INFO] Building runjava-isolated 1.0-SNAPSHOT 
>>>> [INFO] 
>>>> ------------------------------------------------------------------------ 
>>>> [INFO] 
>>>> [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ 
>>>> runjava-isolated --- 
>>>> [WARNING] Using platform encoding (UTF-8 actually) to copy filtered 
>>>> resources, i.e. build is platform dependent! 
>>>> [INFO] skip non existing resourceDirectory 
>>>> /home/netto/Desktop/osv/osv-clean/modules/java-base/runjava-isolated/src/main/resources
>>>>  
>>>>
>>>> [INFO] 
>>>> [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ 
>>>> runjava-isolated --- 
>>>> [INFO] Changes detected - recompiling the module! 
>>>> [WARNING] File encoding has not been set, using platform encoding 
>>>> UTF-8, i.e. build is platform dependent! 
>>>> [INFO] Compiling 11 source files to 
>>>> /home/netto/Desktop/osv/osv-clean/modules/java-base/runjava-isolated/target/classes
>>>>  
>>>>
>>>> [INFO] ------------------------------------------------------------- 
>>>> [WARNING] COMPILATION WARNING : 
>>>> [INFO] ------------------------------------------------------------- 
>>>> [WARNING] 
>>>> /home/netto/Desktop/osv/osv-clean/modules/java-base/runjava-isolated/src/main/java/io/osv/isolated/IsolatingOsvSystemClassLoader.java:
>>>>  
>>>>
>>>> Some input files use or override a deprecated API. 
>>>> [WARNING] 
>>>> /home/netto/Desktop/osv/osv-clean/modules/java-base/runjava-isolated/src/main/java/io/osv/isolated/IsolatingOsvSystemClassLoader.java:
>>>>  
>>>>
>>>> Recompile with -Xlint:deprecation for details. 
>>>> [INFO] 2 warnings 
>>>> [INFO] ------------------------------------------------------------- 
>>>> [INFO] ------------------------------------------------------------- 
>>>> [ERROR] COMPILATION ERROR : 
>>>> [INFO] ------------------------------------------------------------- 
>>>> [ERROR] 
>>>> /home/netto/Desktop/osv/osv-clean/modules/java-base/runjava-isolated/src/main/java/io/osv/jul/LogManagerWrapper.java:[96,20]
>>>>  
>>>>
>>>> cannot find symbol 
>>>>   symbol:   method addPropertyChangeListener(<anonymous 
>>>> java.beans.PropertyChangeListener>) 
>>>>   location: variable manager of type java.util.logging.LogManager 
>>>> [ERROR] 
>>>> /home/netto/Desktop/osv/osv-clean/modules/java-base/runjava-isolated/src/main/java/io/osv/jul/IsolatingLogManager.java:[26,5]
>>>>  
>>>>
>>>> method does not override or implement a method from a supertype 
>>>> [ERROR] 
>>>> /home/netto/Desktop/osv/osv-clean/modules/java-base/runjava-isolated/src/main/java/io/osv/jul/IsolatingLogManager.java:[28,22]
>>>>  
>>>>
>>>> cannot find symbol 
>>>>   symbol:   method 
>>>> addPropertyChangeListener(java.beans.PropertyChangeListener) 
>>>>   location: class java.util.logging.LogManager 
>>>> [ERROR] 
>>>> /home/netto/Desktop/osv/osv-clean/modules/java-base/runjava-isolated/src/main/java/io/osv/jul/IsolatingLogManager.java:[31,5]
>>>>  
>>>>
>>>> method does not override or implement a method from a supertype 
>>>> [ERROR] 
>>>> /home/netto/Desktop/osv/osv-clean/modules/java-base/runjava-isolated/src/main/java/io/osv/jul/IsolatingLogManager.java:[33,22]
>>>>  
>>>>
>>>> cannot find symbol 
>>>>   symbol:   method 
>>>> removePropertyChangeListener(java.beans.PropertyChangeListener) 
>>>>   location: class java.util.logging.LogManager 
>>>> [INFO] 5 errors 
>>>> [INFO] ------------------------------------------------------------- 
>>>> [INFO] 
>>>> ------------------------------------------------------------------------ 
>>>> [INFO] Reactor Summary: 
>>>> [INFO] 
>>>> [INFO] runjava-common ..................................... SUCCESS [ 
>>>>  0.970 s] 
>>>> [INFO] runjava-isolated ................................... FAILURE [ 
>>>>  0.741 s] 
>>>> [INFO] 
>>>> ------------------------------------------------------------------------ 
>>>> [INFO] BUILD FAILURE 
>>>> [INFO] 
>>>> ------------------------------------------------------------------------ 
>>>> [INFO] Total time: 1.822 s 
>>>> [INFO] Finished at: 2018-04-04T16:51:05-03:00 
>>>> [INFO] Final Memory: 20M/66M 
>>>> [INFO] 
>>>> ------------------------------------------------------------------------ 
>>>> [ERROR] Failed to execute goal 
>>>> org.apache.maven.plugins:maven-compiler-plugin:3.1:compile 
>>>> (default-compile) on project runjava-isolated: Compilation failure: 
>>>> Compilation failure: 
>>>> [ERROR] 
>>>> /home/netto/Desktop/osv/osv-clean/modules/java-base/runjava-isolated/src/main/java/io/osv/jul/LogManagerWrapper.java:[96,20]
>>>>  
>>>>
>>>> cannot find symbol 
>>>> [ERROR] symbol:   method addPropertyChangeListener(<anonymous 
>>>> java.beans.PropertyChangeListener>) 
>>>> [ERROR] location: variable manager of type java.util.logging.LogManager 
>>>> [ERROR] 
>>>> /home/netto/Desktop/osv/osv-clean/modules/java-base/runjava-isolated/src/main/java/io/osv/jul/IsolatingLogManager.java:[26,5]
>>>>  
>>>>
>>>> method does not override or implement a method from a supertype 
>>>> [ERROR] 
>>>> /home/netto/Desktop/osv/osv-clean/modules/java-base/runjava-isolated/src/main/java/io/osv/jul/IsolatingLogManager.java:[28,22]
>>>>  
>>>>
>>>> cannot find symbol 
>>>> [ERROR] symbol:   method 
>>>> addPropertyChangeListener(java.beans.PropertyChangeListener) 
>>>> [ERROR] location: class java.util.logging.LogManager 
>>>> [ERROR] 
>>>> /home/netto/Desktop/osv/osv-clean/modules/java-base/runjava-isolated/src/main/java/io/osv/jul/IsolatingLogManager.java:[31,5]
>>>>  
>>>>
>>>> method does not override or implement a method from a supertype 
>>>> [ERROR] 
>>>> /home/netto/Desktop/osv/osv-clean/modules/java-base/runjava-isolated/src/main/java/io/osv/jul/IsolatingLogManager.java:[33,22]
>>>>  
>>>>
>>>> cannot find symbol 
>>>> [ERROR] symbol:   method 
>>>> removePropertyChangeListener(java.beans.PropertyChangeListener) 
>>>> [ERROR] location: class java.util.logging.LogManager 
>>>> [ERROR] -> [Help 1] 
>>>> [ERROR] 
>>>> [ERROR] To see the full stack trace of the errors, re-run Maven with 
>>>> the -e switch. 
>>>> [ERROR] Re-run Maven using the -X switch to enable full debug logging. 
>>>> [ERROR] 
>>>> [ERROR] For more information about the errors and possible solutions, 
>>>> please read the following articles: 
>>>> [ERROR] [Help 1] 
>>>> http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException 
>>>> [ERROR] 
>>>> [ERROR] After correcting the problems, you can resume the build with 
>>>> the command 
>>>> [ERROR]   mvn <goals> -rf :runjava-isolated 
>>>> Makefile:19: recipe for target 'module' failed 
>>>> make: *** [module] Error 1 
>>>> Traceback (most recent call last): 
>>>>   File "scripts/module.py", line 281, in <module> 
>>>>     args.func(args) 
>>>>   File "scripts/module.py", line 234, in build 
>>>>     make_modules(modules, args) 
>>>>   File "scripts/module.py", line 124, in make_modules 
>>>>     raise Exception('make failed for ' + module.name) 
>>>> Exception: make failed for java-isolated 
>>>> scripts/build failed: jdkbase=$jdkbase ARCH=$arch mode=$mode 
>>>> OSV_BASE=$SRC OSV_BUILD_PATH=$OSV_BUILD_PATH scripts/module.py $j_arg 
>>>> build -c $modules $usrskel_arg $no_required_arg 
>>>>
>>>>
>>>>
>>>> Kind Regards, 
>>>>
>>>> Geraldo Netto 
>>>> Sapere Aude => Non dvcor, dvco 
>>>> http://exdev.sf.net/ 
>>>>
>>> -- 
>>> You received this message because you are subscribed to the Google 
>>> Groups "OSv Development" group.
>>> To unsubscribe from this group and stop receiving emails from it, send 
>>> an email to osv-dev+u...@googlegroups.com <javascript:>.
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>>
>

-- 
You received this message because you are subscribed to the Google Groups "OSv 
Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to osv-dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to