My Build Failed Due To /usr/lib/jvm/java-6-sun-1.6.0.24/jre/lib does not exist - ubuntu-18.04

I am trying to run ant build-all, but when I do this it says it cannot find
/usr/lib/jvm/java-6-sun-1.6.0.24/jre/lib does not exist.
I started by executing the build:
cd /home/localhost/trunk
ant build-all
then this was the final result / error:
The following error occurred while executing this line:
/var/www/html/trunk/kavalok-build/build-all.xml:331: /usr/lib/jvm/java-6-sun-1.6.0.24/jre/lib does not exist.
How do I enable/install java-6-sun-1.6.0.24?
FULL ERROR:
BUILD FAILED
/var/www/html/trunk/build.xml:82: The following error occurred while executing this line:
/var/www/html/trunk/build-base.xml:81: The following error occurred while executing this line:
/var/www/html/trunk/kavalok-build/build-all.xml:93: The following error occurred while executing this line:
/var/www/html/trunk/kavalok-build/build-all.xml:331: /usr/lib/jvm/java-6-sun-1.6.0.24/jre/lib does not exist.

Related

"package or namespace load failed" error in loading R package "litteR"

i am getting the following error whenever i try to load the package "litteR". I have updated all my packages and dont have this problem with any other ones
library(litteR)
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
Error: package or namespace load failed for ‘litteR’:
.onLoad failed in loadNamespace() for 'tcltk', details:
call: dyn.load(file, DLLpath = DLLpath, ...)
error: unable to load shared object '/Library/Frameworks/R.framework/Versions/4.1-arm64/Resources/library/tcltk/libs/tcltk.so':
dlopen(/Library/Frameworks/R.framework/Versions/4.1-arm64/Resources/library/tcltk/libs/tcltk.so, 0x000A): Library not loaded: /opt/X11/lib/libX11.6.dylib
Referenced from: /Library/Frameworks/R.framework/Versions/4.1-arm64/Resources/library/tcltk/libs/tcltk.so
Reason: tried: '/opt/X11/lib/libX11.6.dylib' (no such file), '/usr/lib/libX11.6.dylib' (no such file)
In addition: Warning message:
In system2("/usr/bin/otool", c("-L", shQuote(DSO)), stdout = TRUE) :
running command ''/usr/bin/otool' -L '/Library/Frameworks/R.framework/Resources/library/tcltk/libs//tcltk.so'' had status 1
im not sure why this is happening, i have a macbook pro, not sure if this makes a difference
You need to install the commando line tools. Open the Terminal.app and run the following line xcode-select --install

Cakephp 3.x => 4.0 migration: Fatal error in PHPStan\Analyser\MutatingScope

When I run the rector script bin/cake upgrade rector --rules cakephp40 ../project/src I get the following error:
Notice: Undefined property: PhpParser\Node\Stmt\ClassMethod::$attrGroups in phar:///Users/uscreen/Sites/upgrade/vendor/phpstan/phpstan/phpstan.phar/vendor/nikic/php-parser/lib/PhpParser/NodeVisitor/NameResolver.php on line 216
Warning: Invalid argument supplied for foreach() in phar:///Users/uscreen/Sites/upgrade/vendor/phpstan/phpstan/phpstan.phar/vendor/nikic/php-parser/lib/PhpParser/NodeVisitor/NameResolver.php on line 216
Fatal error: PHPStan\Analyser\MutatingScope cannot implement PHPStan\Analyser\Scope - it is not an interface in phar:///Users/uscreen/Sites/upgrade/vendor/phpstan/phpstan/phpstan.phar/src/Analyser/MutatingScope.php on line 92
The script then exits with no changes made, but it echos Rector applied successfully. I don`t know where to start to debug this.

FosUserBundle + Symfony 3.4

Since 7 days I tried to repair HwiOauthFukingBundle with facebook + FosUserOtherFukingBundle + Symfony 3.4.
And now, I have this incomprehensible errors in prod but not in dev.
[2018-03-17 14:45:27] php.WARNING: Warning:
require(/var/www/vhosts/domaine.fr/var/cache/prod/doctrine/orm/Proxies/__CG__ECUserBundleEntityImage.php):
failed to open stream: No such file or directory
{"exception":"[object] (ErrorException(code: 0): Warning:
require(/var/www/vhosts/domaine.fr/var/cache/prod/doctrine/orm/Proxies/__CG__ECUserBundleEntityImage.php):
failed to open stream: No such file or directory at
/var/www/vhosts/domaine.fr/vendor/doctrine/common/lib/Doctrine/Common/Proxy/AbstractProxyFactory.php:223)"}
[]
And this one
[2018-03-17 14:45:27] request.CRITICAL: Uncaught PHP Exception
Symfony\Component\Debug\Exception\FatalErrorException: "Compile Error:
require(): Failed opening required
'/var/www/vhosts/domaine.fr/var/cache/prod/doctrine/orm/Proxies/__CG__ECUserBundleEntityImage.php'
(include_path='.:/opt/plesk/php/7.1/share/pear')" at
/var/www/vhosts/domaine.fr/vendor/doctrine/common/lib/Doctrine/Common/Proxy/AbstractProxyFactory.php
line 223 {"exception":"[object]
(Symfony\Component\Debug\Exception\FatalErrorException(code: 0):
Compile Error: require(): Failed opening required
'/var/www/vhosts/domaine.fr/var/cache/prod/doctrine/orm/Proxies/__CG__ECUserBundleEntityImage.php'
(include_path='.:/opt/plesk/php/7.1/share/pear') at
/var/www/vhosts/domaine.fr/vendor/doctrine/common/lib/Doctrine/Common/Proxy/AbstractProxyFactory.php:223)"}
[]
What's going on ?
I have clean the cache folder etc. but this error seems to be falling from the sky... this is a nightmare...

FAILURE: Execution failed for task ':card.io:buildNative'

I downloaded cardio source and config follow First build guide. But when i run './gradlew build', i got message like:
FAILURE: Build failed with an exception.
Where:
Build file '/media/hungnguyendata/eProtea/Projects/temp/card.io-Android-source/card.io/build.gradle' line: 163
What went wrong:
A problem occurred configuring project ':SampleApp'.
A problem occurred configuring project ':card.io'.
No such property: sonatypeUsername for class: org.gradle.api.publication.maven.internal.ant.DefaultGroovyMavenDeployer
After that, i create gradle.properties file for define property sonatypeUsername. Like this: "sonatypeUsername=sonatypeUsername
sonatypePassword=sonatypePassword". I got this message:
:card.io:buildNative
make: Entering directory /Projects/temp/card.io-Android-source/card.io/src/main/jni'
make: *** No rule to make target/Projects/temp/card.io-Android-source/card.io/src/main/jni/card.io-dmz/processor_support.cpp', needed by /Projects/temp/card.io-Android-source/card.io/src/main/obj/local/arm64-v8a/objs/cardioDecider/card.io-dmz/processor_support.o'. Stop.
make: *** Waiting for unfinished jobs....
make: Leaving directory/Projects/temp/card.io-Android-source/card.io/src/main/jni'
:card.io:buildNative FAILED
FAILURE: Build failed with an exception.
What went wrong:
Execution failed for task ':card.io:buildNative'.
Process 'command '/home/hungnguyen/applications/android-ndk-r10d/ndk-build'' finished with non-zero exit value 2
what should i do to build project. Thanks so much!

error while compiling solr

While compiling solr I got following error :
/home/username/MP3/solr-4.1.0/build.xml:106: The following error
occurred while executing this line:
/home/username/MP3/solr-4.1.0/solr/common-build.xml:329: The following
error occurred while executing this line:
/home/username/MP3/solr-4.1.0/solr/common-build.xml:349: The following
error occurred while executing this line:
/home/username/MP3/solr-4.1.0/lucene/module-build.xml:229: The
following error occurred while executing this line:
/home/username/MP3/solr-4.1.0/lucene/module-build.xml:141: The
following error occurred while executing this line:
/home/username/MP3/solr-4.1.0/lucene/common-build.xml:464: The
following error occurred while executing this line:
/home/username/MP3/solr-4.1.0/lucene/common-build.xml:592: Invalid
Manifest:
/home/username/MP3/solr-4.1.0/lucene/build/analysis/common/MANIFEST.MF

Resources