[opensuse-packaging] Fallen into a Java rat hole and need some help
Hi, Working on dependencies to build CloudStack. One of the packages needs ws-commons-util which already exists in network:/cluster:/xtreemos. ws-commons-util requires java-javadoc and some package fulfills this requirement as it builds just fine on openSUSE. However, on SLE nothing provides java-javadoc and the build fails. How can I figure out what package provides java-javadoc On my openSUSE 12.1 system -> rpm -qf /usr/bin/javadoc file /usr/bin/javadoc is not owned by any package OBS search for java-javadoc turns up nothing either. I took a look at the spec file for openjdk to no avail. I am out of ideas of places to look and could use some help. Thanks, Robert -- Robert Schweikert MAY THE SOURCE BE WITH YOU SUSE-IBM Software Integration Center LINUX Tech Lead rjschwei@suse.com rschweik@ca.ibm.com 781-464-8147 -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
On Tue, 2012-06-26 at 16:27 -0400, Robert Schweikert wrote:
Hi,
Working on dependencies to build CloudStack. One of the packages needs ws-commons-util which already exists in network:/cluster:/xtreemos. ws-commons-util requires java-javadoc and some package fulfills this requirement as it builds just fine on openSUSE. However, on SLE nothing provides java-javadoc and the build fails.
How can I figure out what package provides java-javadoc
On my openSUSE 12.1 system
-> rpm -qf /usr/bin/javadoc file /usr/bin/javadoc is not owned by any package
Maybe this helps you on the right track:
ls -la /usr/bin/javadoc lrwxrwxrwx 1 root root 25 Jun 17 15:38 /usr/bin/javadoc -> /etc/alternatives/javadoc ls -la /etc/alternatives/javadoc lrwxrwxrwx 1 root root 45 Jun 17 15:38 /etc/alternatives/javadoc -> /usr/lib64/jvm/java-1.6.0-openjdk/bin/javadoc rpm -qf /usr/lib64/jvm/java-1.6.0-openjdk/bin/javadoc java-1_6_0-openjdk-devel-1.6.0.0_b24.1.11.2-1.1.x86_64
Best regards, Dominique -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
On 06/26/2012 04:36 PM, Dimstar / Dominique Leuenberger wrote:
On Tue, 2012-06-26 at 16:27 -0400, Robert Schweikert wrote:
Hi,
Working on dependencies to build CloudStack. One of the packages needs ws-commons-util which already exists in network:/cluster:/xtreemos. ws-commons-util requires java-javadoc and some package fulfills this requirement as it builds just fine on openSUSE. However, on SLE nothing provides java-javadoc and the build fails.
How can I figure out what package provides java-javadoc
On my openSUSE 12.1 system
-> rpm -qf /usr/bin/javadoc file /usr/bin/javadoc is not owned by any package
Maybe this helps you on the right track:
ls -la /usr/bin/javadoc lrwxrwxrwx 1 root root 25 Jun 17 15:38 /usr/bin/javadoc -> /etc/alternatives/javadoc ls -la /etc/alternatives/javadoc lrwxrwxrwx 1 root root 45 Jun 17 15:38 /etc/alternatives/javadoc -> /usr/lib64/jvm/java-1.6.0-openjdk/bin/javadoc rpm -qf /usr/lib64/jvm/java-1.6.0-openjdk/bin/javadoc java-1_6_0-openjdk-devel-1.6.0.0_b24.1.11.2-1.1.x86_64
I did find this, but the openjdk package does not have a Provides: java-javadoc in the spec file, thus I do not understand how it would be resolved as the ws-commons-util spec file has a Requires: java-javadoc ???? Still confused. Robert -- Robert Schweikert MAY THE SOURCE BE WITH YOU SUSE-IBM Software Integration Center LINUX Tech Lead rjschwei@suse.com rschweik@ca.ibm.com 781-464-8147 -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
On Tue, 2012-06-26 at 16:43 -0400, Robert Schweikert wrote:
On 06/26/2012 04:36 PM, Dimstar / Dominique Leuenberger wrote:
On Tue, 2012-06-26 at 16:27 -0400, Robert Schweikert wrote:
Hi,
Working on dependencies to build CloudStack. One of the packages needs ws-commons-util which already exists in network:/cluster:/xtreemos. ws-commons-util requires java-javadoc and some package fulfills this requirement as it builds just fine on openSUSE. However, on SLE nothing provides java-javadoc and the build fails.
How can I figure out what package provides java-javadoc
On my openSUSE 12.1 system
-> rpm -qf /usr/bin/javadoc file /usr/bin/javadoc is not owned by any package
Maybe this helps you on the right track:
ls -la /usr/bin/javadoc lrwxrwxrwx 1 root root 25 Jun 17 15:38 /usr/bin/javadoc -> /etc/alternatives/javadoc ls -la /etc/alternatives/javadoc lrwxrwxrwx 1 root root 45 Jun 17 15:38 /etc/alternatives/javadoc -> /usr/lib64/jvm/java-1.6.0-openjdk/bin/javadoc rpm -qf /usr/lib64/jvm/java-1.6.0-openjdk/bin/javadoc java-1_6_0-openjdk-devel-1.6.0.0_b24.1.11.2-1.1.x86_64
I did find this, but the openjdk package does not have a
Provides: java-javadoc
in the spec file, thus I do not understand how it would be resolved as the ws-commons-util spec file has a
Requires: java-javadoc
????
Still confused. Robert
At least on 12.1: osc ls -b openSUSE:12.1:Update java-1_6_0-openjdk.309 standard x86_64 lists a subpackage called: java-1_6_0-openjdk-javadoc-1.6.0.0_b24.1.11.1-3.1.x86_64.rpm This is likely the one you need? Also, on my factory machine, I can see:
zypper wp java-javadoc Loading repository data... Reading installed packages... S | Name | Type | Version | Arch | Repository --+----------------------------+---------+------------------------+--------+----------------- | java-1_6_0-openjdk-javadoc | package | 1.6.0.0_b24.1.11.2-1.1 | x86_64 | openSUSE:Factory | java-1_6_0-openjdk-javadoc | package | 1.6.0.0_b24.1.11.2-1.1 | i586 | openSUSE:Factory | java-1_7_0-openjdk-javadoc | package | 1.7.0.0_147-2.1 | x86_64 | openSUSE:Factory | java-1_7_0-openjdk-javadoc | package | 1.7.0.0_147-2.1 | i586 | openSUSE:Factory
Dominique -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
On Tue, Jun 26, 2012 at 04:43:19PM -0400, Robert Schweikert wrote:
On 06/26/2012 04:36 PM, Dimstar / Dominique Leuenberger wrote:
On Tue, 2012-06-26 at 16:27 -0400, Robert Schweikert wrote:
Hi,
Working on dependencies to build CloudStack. One of the packages needs ws-commons-util which already exists in network:/cluster:/xtreemos. ws-commons-util requires java-javadoc and some package fulfills this requirement as it builds just fine on openSUSE. However, on SLE nothing provides java-javadoc and the build fails.
How can I figure out what package provides java-javadoc
On my openSUSE 12.1 system
-> rpm -qf /usr/bin/javadoc file /usr/bin/javadoc is not owned by any package
Maybe this helps you on the right track:
ls -la /usr/bin/javadoc lrwxrwxrwx 1 root root 25 Jun 17 15:38 /usr/bin/javadoc -> /etc/alternatives/javadoc ls -la /etc/alternatives/javadoc lrwxrwxrwx 1 root root 45 Jun 17 15:38 /etc/alternatives/javadoc -> /usr/lib64/jvm/java-1.6.0-openjdk/bin/javadoc rpm -qf /usr/lib64/jvm/java-1.6.0-openjdk/bin/javadoc java-1_6_0-openjdk-devel-1.6.0.0_b24.1.11.2-1.1.x86_64
I did find this, but the openjdk package does not have a
Provides: java-javadoc
I am pretty sure it do osc cat openSUSE:12.1 java-1_6_0-openjdk java-1_6_0-openjdk.spec | grep -B 7 java-javadoc java-1_6_0-openjdk.spec%package javadoc %package javadoc # As 1.6.0 is stable, obsolete java-1_7_0-icedtea in openSUSE 11.0 and earlier: Summary: Documentation of the Java API of OpenJDK 6 Group: Development/Languages/Java Requires(pre): %{_sbindir}/update-alternatives Provides: java-%{javaver}-javadoc = %{version}-%{release} Provides: java-1.6.0-openjdk-javadoc = %{version}-%{release} Provides: java-javadoc = %{version}-%{release} so that might be some OBS issue - you might tune prjconf to do %if 0%{?suse_version} <= 1210 Substitute: java-javadoc java-1_6_0-openjdk-javadoc %endif this won't break the build on 12.2+, where openjdk7 is available only Regards Michal Vyskocil
participants (3)
-
Dimstar / Dominique Leuenberger
-
Michal Vyskocil
-
Robert Schweikert