oracle-jse-jdk
ython-argparse@lib32_x86 pciutils@x86_64 python-multiprocessing@lib32_x86 libxml2@lib32_x86
| Loading cache... | Updating cache... ######################################## [100%] | | Computing transaction...error: Can't install oracle-jse-jdk-1.7.0-u67r0@x86_64: no package provides libavcodec.so.52(LIBAVCODEC_52)(64bit) | | Saving cache... |
Hi i am getting this error when i add oracle-jse-jdk recipe,
Any idea how to solve the issue
thanks
Quoted 12 lines · Emil
ython-argparse@lib32_x86 pciutils@x86_64 python-multiprocessing@lib32_x86 libxml2@lib32_x86
| Loading cache... | Updating cache... ######################################## [100%] | | Computing transaction...error: Can't install oracle-jse-jdk-1.7.0-u67r0@x86_64: no package provides libavcodec.so.52(LIBAVCODEC_52)(64bit) | | Saving cache... |
Quoted 1 line
Hi i am getting this error when i add oracle-jse-jdk recipe,
The error means that the oracle-jse-jdk -package- (produced from the recipe) requires the 'libavcodec.so.52' library, with the specific soname of LIBAVCODEC_52 (64-bit version).
There was apparently nothing in your build that provides this dependency, so the installation failed.
You will need to identify what recipe provides this (libav?) and add this to the recipes (oracle-jse-jdk) 'DEPENDS' and the packages associated RDEPENDS.
--Mark
Quoted 6 lines
Any idea how to solve the issue
thanks
hi Mark,
my oracle-jse-jdk_1.7.0.bb
looks like this
-----------------------------------------------
# Automatically choose java package based on target architecture DEPENDS += "libav gtk+ libxslt libxtst"
def get_java_pkg(d):
TA = d.getVar('TARGET_ARCH', True)
if TA == "i586":
javaPkg = "oracle-jse-jdk-i586"
elif TA == "x86_64":
javaPkg = "oracle-jse-jdk-x86-64"
else:
raise bb.parse.SkipPackage("The target architecture '%s' is not supported by the meta-oracle-java layer" %TA)
return javaPkg
JAVA_PKG = "${@get_java_pkg(d)}"
require ${JAVA_PKG}.inc
-----------------------------------------
still error
thanks Emil
Quoted 1 line · Mark Hatle
DEPENDS' and the packages associated RDEPENDS.
Quoted 10 lines · Emil
hi Mark,
my oracle-jse-jdk_1.7.0.bb
looks like this
-----------------------------------------------
# Automatically choose java package based on target architecture DEPENDS += "libav gtk+ libxslt libxtst"
DEPENDS says it needs to be there before the package builds.
RDEPENDS_<package> says it needs to be to install.
The dependency error indicates that there was no package anywhere in the system providing that specific provide. You should look at libav and see if it has a matching provide. If it does not, then you are still lacking whatever is necessary for this to work.
--Mark
Quoted 27 lines
def
get_java_pkg(d):TA = d.getVar('TARGET_ARCH', True) if TA == "i586": javaPkg = "oracle-jse-jdk-i586" elif TA == "x86_64": javaPkg = "oracle-jse-jdk-x86-64" else: raise bb.parse.SkipPackage("The target architecture '%s' is notsupported by the meta-oracle-java layer" %TA)
return javaPkg
JAVA_PKG= "${@get_java_pkg(d)}"require ${JAVA_PKG}.inc
-----------------------------------------
still error
thanks Emil
Quoted 1 line · Mark Hatle
DEPENDS' and the packages associated RDEPENDS.
Hi Emil,
Quoted 10 lines · Emil
hi Mark,
my oracle-jse-jdk_1.7.0.bb
looks like this
-----------------------------------------------
# Automatically choose java package based on target architecture DEPENDS += "libav gtk+ libxslt libxtst"
From the error, I assume that you are using "RPM" as package manager in your local.conf:
PACKAGE_CLASSES ?= "package_rpm"
Could you please try to build again with "ipk or deb" as mentioned in the README file in meta-oracle-java repo ?
Best Regards,
Maxin
Quoted 15 lines · Maxin B. John
Hi Emil,
Quoted 10 lines · Emil
hi Mark,
my oracle-jse-jdk_1.7.0.bb
looks like this
-----------------------------------------------
# Automatically choose java package based on target architecture DEPENDS += "libav gtk+ libxslt libxtst"
Quoted 7 lines
From the error, I assume that you are using "RPM" as package manager in your local.conf:
PACKAGE_CLASSES?= "package_rpm"Could you please try to build again with "ipk or deb" as mentioned in the README file in meta-oracle-java repo ?
This will like result in a package that installs -- but not one that works.
RPM has additional checking that ipk and deb do not. (ipk and deb don't support SONAME style dependencies due to design differences.)
So these recipes need to work in all three package formats, and most of the time RPM finds run-time errors the others overlook due to this.
--Mark
Quoted 3 lines
Best Regards,
Maxin
no i am not using
PACKAGE_CLASSES ?= "package_rpm"
i did downloaded the image from oracle and i am using it instead.
unfortunate it still wants this damn
libavcodec.so.52
i have to add another recipe that pulls that package also
Quoted 35 lines · Mark Hatle
Quoted 14 lines · Maxin B. John
Hi Emil,
Quoted 10 lines · Emil
hi Mark,
my oracle-jse-jdk_1.7.0.bb
looks like this
-----------------------------------------------
# Automatically choose java package based on target architecture DEPENDS += "libav gtk+ libxslt libxtst"
Quoted 7 lines
From the error, I assume that you are using "RPM" as package manager in your
local.conf:
PACKAGE_CLASSES?= "package_rpm"Could you please try to build again with "ipk or deb" as mentioned in the README file in meta-oracle-java repo ?
This will like result in a package that installs -- but not one that works.
RPM has additional checking that ipk and deb do not. (ipk and deb don't support SONAME style dependencies due to design differences.)
So these recipes need to work in all three package formats, and most of the time RPM finds run-time errors the others overlook due to this.
--Mark
Quoted 3 lines
Best Regards,
Maxin
did anybody overcome this issues and made it work ?
Quoted 35 lines · Mark Hatle
Quoted 14 lines · Maxin B. John
Hi Emil,
Quoted 10 lines · Emil
hi Mark,
my oracle-jse-jdk_1.7.0.bb
looks like this
-----------------------------------------------
# Automatically choose java package based on target architecture DEPENDS += "libav gtk+ libxslt libxtst"
Quoted 7 lines
From the error, I assume that you are using "RPM" as package manager in your
local.conf:
PACKAGE_CLASSES?= "package_rpm"Could you please try to build again with "ipk or deb" as mentioned in the README file in meta-oracle-java repo ?
This will like result in a package that installs -- but not one that works.
RPM has additional checking that ipk and deb do not. (ipk and deb don't support SONAME style dependencies due to design differences.)
So these recipes need to work in all three package formats, and most of the time RPM finds run-time errors the others overlook due to this.
--Mark
Quoted 3 lines
Best Regards,
Maxin