Wind River Support Network

HomeDefectsLIN8-3240
Fixed

LIN8-3240 : make package-manager error

Created: Apr 12, 2016    Updated: Dec 3, 2018
Resolved Date: Apr 12, 2016
Found In Version: 8.0.0.3
Fix Version: 8.0.0.5
Severity: Standard
Applicable for: Wind River Linux 8
Component/s: Build & Config

Description

If there're two JRE versions in /WindRiver8.0.3/maintenance/wrInstaller/x86-linux2/jre,
for example, 1.8.0_65 and 1.8.0_40, 

make package-manager 

will fail, the error message is:

/WindRiver8.0.3/wrlinux-8/scripts/pkgmgr-gui.sh: line 131: /WindRiver8.0.3/maintenance/wrInstaller/x86-linux2/jre/1.8.0_65: is a directory 

In order to show the command line, I added a "-x" in the first line of pkgmgr-gui.sh,  the output is :

+ /WindRiver8.0.3/maintenance/wrInstaller/x86-linux2/jre/1.8.0_65 /WindRiver8.0.3/maintenance/wrInstaller/x86-linux2/jre/1.8.0_40/bin/java -jar /WindRiver8.0.3/wrlinux-8/scripts/jars/PKGmgr_gui_linux.jar --wrlinuxdir /WindRiver8.0.3/wrlinux-8 --projectDir /ls10xx_prj-core 
/WindRiver8.0.3/wrlinux-8/scripts/pkgmgr-gui.sh: line 131: /WindRiver8.0.3/maintenance/wrInstaller/x86-linux2/jre/1.8.0_65: is a directory 

We can see, both version of JRE are in the command line:

/WindRiver8.0.3/maintenance/wrInstaller/x86-linux2/jre/1.8.0_65 /WindRiver8.0.3/maintenance/wrInstaller/x86-linux2/jre/1.8.0_40/bin/java

Other Downloads


Live chat
Online