All of lore.kernel.org
 help / color / mirror / Atom feed
* oracle-jse-jdk
@ 2016-05-05 16:57 Mihaylov, Emil
  2016-05-05 17:11 ` oracle-jse-jdk Mark Hatle
  0 siblings, 1 reply; 8+ messages in thread
From: Mihaylov, Emil @ 2016-05-05 16:57 UTC (permalink / raw)
  To: yocto

[-- Attachment #1: Type: text/plain, Size: 469 bytes --]

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


[-- Attachment #2: Type: text/html, Size: 849 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: oracle-jse-jdk
  2016-05-05 16:57 oracle-jse-jdk Mihaylov, Emil
@ 2016-05-05 17:11 ` Mark Hatle
  2016-05-05 17:43   ` oracle-jse-jdk Mihaylov, Emil
  0 siblings, 1 reply; 8+ messages in thread
From: Mark Hatle @ 2016-05-05 17:11 UTC (permalink / raw)
  To: Mihaylov, Emil, yocto

On 5/5/16 11:57 AM, Mihaylov, Emil wrote:
> 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,

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

> Any idea how to solve the issue
> 
> thanks
> 
> 
> 



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: oracle-jse-jdk
  2016-05-05 17:11 ` oracle-jse-jdk Mark Hatle
@ 2016-05-05 17:43   ` Mihaylov, Emil
  2016-05-05 18:36     ` oracle-jse-jdk Mark Hatle
  2016-05-06  9:10     ` oracle-jse-jdk Maxin B. John
  0 siblings, 2 replies; 8+ messages in thread
From: Mihaylov, Emil @ 2016-05-05 17:43 UTC (permalink / raw)
  To: Mark Hatle, yocto

[-- Attachment #1: Type: text/plain, Size: 848 bytes --]

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



On 5/5/2016 10:11 AM, Mark Hatle wrote:
> DEPENDS' and the packages associated RDEPENDS.


[-- Attachment #2: Type: text/html, Size: 1560 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: oracle-jse-jdk
  2016-05-05 17:43   ` oracle-jse-jdk Mihaylov, Emil
@ 2016-05-05 18:36     ` Mark Hatle
  2016-05-06  9:10     ` oracle-jse-jdk Maxin B. John
  1 sibling, 0 replies; 8+ messages in thread
From: Mark Hatle @ 2016-05-05 18:36 UTC (permalink / raw)
  To: Mihaylov, Emil, yocto

On 5/5/16 12:43 PM, Mihaylov, Emil wrote:
> 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

> 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
> 
> 
> 
> On 5/5/2016 10:11 AM, Mark Hatle wrote:
>> DEPENDS' and the packages associated RDEPENDS.
> 



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: oracle-jse-jdk
  2016-05-05 17:43   ` oracle-jse-jdk Mihaylov, Emil
  2016-05-05 18:36     ` oracle-jse-jdk Mark Hatle
@ 2016-05-06  9:10     ` Maxin B. John
  2016-05-06 17:49       ` oracle-jse-jdk Mark Hatle
  1 sibling, 1 reply; 8+ messages in thread
From: Maxin B. John @ 2016-05-06  9:10 UTC (permalink / raw)
  To: Mihaylov, Emil; +Cc: yocto

Hi Emil,

On Thu, May 05, 2016 at 10:43:08AM -0700, Mihaylov, Emil wrote:

>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


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: oracle-jse-jdk
  2016-05-06  9:10     ` oracle-jse-jdk Maxin B. John
@ 2016-05-06 17:49       ` Mark Hatle
  2016-05-06 19:08         ` oracle-jse-jdk Mihaylov, Emil
  2016-05-10 22:30         ` oracle-jse-jdk Mihaylov, Emil
  0 siblings, 2 replies; 8+ messages in thread
From: Mark Hatle @ 2016-05-06 17:49 UTC (permalink / raw)
  To: Maxin B. John, Mihaylov, Emil; +Cc: yocto

On 5/6/16 4:10 AM, Maxin B. John wrote:
> Hi Emil,
> 
> On Thu, May 05, 2016 at 10:43:08AM -0700, Mihaylov, Emil wrote:
> 
>> 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 ?

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

> Best Regards,
> Maxin
> 



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: oracle-jse-jdk
  2016-05-06 17:49       ` oracle-jse-jdk Mark Hatle
@ 2016-05-06 19:08         ` Mihaylov, Emil
  2016-05-10 22:30         ` oracle-jse-jdk Mihaylov, Emil
  1 sibling, 0 replies; 8+ messages in thread
From: Mihaylov, Emil @ 2016-05-06 19:08 UTC (permalink / raw)
  To: Mark Hatle, Maxin B. John; +Cc: yocto

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


On 5/6/2016 10:49 AM, Mark Hatle wrote:
> On 5/6/16 4:10 AM, Maxin B. John wrote:
>> Hi Emil,
>>
>> On Thu, May 05, 2016 at 10:43:08AM -0700, Mihaylov, Emil wrote:
>>
>>> 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 ?
> 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
>
>> Best Regards,
>> Maxin
>>



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: oracle-jse-jdk
  2016-05-06 17:49       ` oracle-jse-jdk Mark Hatle
  2016-05-06 19:08         ` oracle-jse-jdk Mihaylov, Emil
@ 2016-05-10 22:30         ` Mihaylov, Emil
  1 sibling, 0 replies; 8+ messages in thread
From: Mihaylov, Emil @ 2016-05-10 22:30 UTC (permalink / raw)
  To: Mark Hatle, Maxin B. John; +Cc: yocto

did anybody overcome this issues and made it work ?



On 5/6/2016 10:49 AM, Mark Hatle wrote:
> On 5/6/16 4:10 AM, Maxin B. John wrote:
>> Hi Emil,
>>
>> On Thu, May 05, 2016 at 10:43:08AM -0700, Mihaylov, Emil wrote:
>>
>>> 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 ?
> 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
>
>> Best Regards,
>> Maxin
>>



^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2016-05-10 22:30 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-05-05 16:57 oracle-jse-jdk Mihaylov, Emil
2016-05-05 17:11 ` oracle-jse-jdk Mark Hatle
2016-05-05 17:43   ` oracle-jse-jdk Mihaylov, Emil
2016-05-05 18:36     ` oracle-jse-jdk Mark Hatle
2016-05-06  9:10     ` oracle-jse-jdk Maxin B. John
2016-05-06 17:49       ` oracle-jse-jdk Mark Hatle
2016-05-06 19:08         ` oracle-jse-jdk Mihaylov, Emil
2016-05-10 22:30         ` oracle-jse-jdk Mihaylov, Emil

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.