Mailinglist Archive: opensuse-buildservice (339 mails)

< Previous Next >
Re: [opensuse-buildservice] java version: which BuildRequires?
  • From: "Roberto Mannai" <robermann@xxxxxxxxx>
  • Date: Mon, 17 Mar 2008 16:06:18 +0100
  • Message-id: <414e44f70803170806r248abb35q3e3c6c2c24917a61@xxxxxxxxxxxxxx>
How could I access that primary.xml.gz file? I mean, where is a list
of all target build repository packages?

Into the build service do there is the following project:
https://build.opensuse.org/project/show?project=openSUSE%3A10.3%3ANonFree
But I cannot see any package listed into it.

Maybe I should go into, for example,
http://en.opensuse.org/Package_Repositories#Official_Repositories
and get a suitable
http://download.opensuse.org/update/10.3/repodata/primary.xml.gz ...

I cannot understand this general situation: I need the jjack package.
From
(http://packages.opensuse-community.org/index.jsp?distro=openSUSE_103&searchTerm=jjack)
il would seem it is available into openSuse10.3, but it isn't in the
standard repo.

Until I run the build into OBS I'll never know if that package is
available... Is it correct? How do you (all of you, in general) handle
this situation?

Thanks
Roberto




The only way I know to get a list of packages with a certain provides is for
example:
zgrep java-devel /path/to/primary.xml.gz

Anyone knows a better way?
Greetings



>
>
>
> On Mon, Mar 17, 2008 at 3:02 PM, Thomas Schmidt <tschmidt@xxxxxxx> wrote:
>> Roberto Mannai schrieb:
>>
>>> I got:
>> > expansion error nothing provides java-devel >= 1.5
>>
>> This is because openSUSE 10.3 only has gcj for java 1.4 in the OSS tree.
>> You should use: openSUSE:10.3:NonFree/standard to be able to build java
1.5 code for 10.3.
>>
>> Greetings
>>
>>
>>
>> >
>> > Below is SPEC header:
>> > Name: codesounding
>> > Version: 1.4
>> > Release: 1
>> > License: GPL
>> > BuildRoot: %{_tmppath}/%{name}-%{version}-build
>> > Autoreqprov: on
>> >
>> > BuildRequires: unzip
>> > BuildRequires: update-alternatives
>> > BuildRequires: java-devel >= 1.5
>> >
>> > BuildRequires: ant
>> > Requires: java >= 1.5.0
>> > BuildArch: noarch
>> > Group: Dummy
>> > Summary: My Dummy Package
>> > URL: http://www.codesounding.org
>> > Source0: %{name}%{version}_src.zip
>> >
>> >
>> > Maybe must I delete the update-alternatives row?
>> >
>> > On Mon, Mar 17, 2008 at 2:48 PM, Thomas Schmidt <tschmidt@xxxxxxx>
wrote:
>> >> Roberto Mannai schrieb:
>> >>
>> >>> Hi all
>> >> > I'm new to the Build Service, and fast I'm getting crazy :) My
project
>> >> > must be compiled with a JVM >= 1.5, but I cannot guess how to label
>> >> > the required package:
>> >> >
>> >> > BuildRequires: java-1_5_0-gcj-compat-devel ?
>> >> > BuildRequires: java-1_5_0-sun-devel ?
>> >>
>> >> There is a macro which expands to the best package per system:
>> >>
>> >> BuildRequires: java-devel >= 1.5
>> >>
>> >> Greetings
>> >>
>> >>
>> >> >
>> >> > If I understood well, the package name depends on the target system
>> >> > (openSUSE_10.3 packages are different than openSUSE_Factory ones).
>> >> > java-1_5_0-sun-devel on openSuse10.3 does not work anymore.
>> >> >
>> >> > Any help is very welcome :)
>> >> > Ciao
>> >> > rob
>> >> >
---------------------------------------------------------------------
>> >> > To unsubscribe, e-mail:
opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
>> >> > For additional commands, e-mail:
opensuse-buildservice+help@xxxxxxxxxxxx
>> >> >
>> >>
>> >>
>> >> --
>> >> Thomas Schmidt (tschmidt [at] suse.de)
>> >> SUSE Linux Products GmbH :: Research & Development :: Internal Tools
>> >> "Don't Panic", Douglas Adams (1952 - 11.05.2001)
>> >>
>> > ---------------------------------------------------------------------
>> > To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
>> > For additional commands, e-mail:
opensuse-buildservice+help@xxxxxxxxxxxx
>> >
>>
>>
>> --
>> Thomas Schmidt (tschmidt [at] suse.de)
>> SUSE Linux Products GmbH :: Research & Development :: Internal Tools
>> "Don't Panic", Douglas Adams (1952 - 11.05.2001)
>>


--


Thomas Schmidt (tschmidt [at] suse.de)
SUSE Linux Products GmbH :: Research & Development :: Internal Tools
"Don't Panic", Douglas Adams (1952 - 11.05.2001)

---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups