Mailinglist Archive: opensuse-buildservice (113 mails)

< Previous Next >
Re: [opensuse-buildservice] expansion error ...
  • From: Daniel Bornkessel <dbornkessel@xxxxxxx>
  • Date: Tue, 2 May 2006 17:19:18 +0200
  • Message-id: <200605021719.22355.dbornkessel@xxxxxxx>
On Tuesday 02 May 2006 16:24, Dr. Peter Poeml wrote:
> Hi,
>
> I noticed another problem, this time on Factory:
>
> 'java2-devel-packages' seems to expand to the non-existant package
> 'java-1_4_2-sun-devel', which does not exist.
>
> (It works in SL10.)
>
> Regards,
> Peter
The java2-devel-packages is a macro that gets substituted for
'java-1_4_2-sun-devel ... which again is not available on 10.1 and Fedora
Distributions.
A solution could be to use
java-devel
... however: on 10.0 there are several packages that provide 'java-devel',
which is why the build throws an expansion error.

If we could make the sun java available for 10.1, the following snippet should
work:

%if %{?suse_version:1}%{?!suse_version:0}
BuildRequires: java2-devel-packages
%else
BuildRequires: java-devel
%endif
#java-devel-end

Note that our current gcj substitution for the SUN Java is still very buggy
and it can happen that packages do not compile with it.


Regards,
--
Daniel Bornkessel Tel: +49 911 740 53 161
Novell :: SUSE R&D :: Internal Tools / Java Packaging
______________________________________________________________________
[==========================================] SL 10.1 since: t=61798s
< Previous Next >
Follow Ups