[fedora-java] Building against java-1.5.0-gcj-devel instead of java-1.6.0-openjdk-devel
Orion Poplawski
orion at cora.nwra.com
Thu Dec 30 18:05:21 UTC 2010
On 12/30/2010 10:57 AM, Richard Fearn wrote:
> Hi,
>
> I'm building jcip-annotations for x86_64 rawhide using mock on my F14
> x86_64 laptop. The package BuildRequires java-devel>= 1.5.0 and
> java-1.6.0-openjdk-devel is being installed to satisfy that
> dependency.
>
> When requesting a scratch build, such as this one:
>
> http://koji.fedoraproject.org/koji/taskinfo?taskID=2694190
>
> java-1.5.0-gcj-devel is installed instead. Anyone know why? I expected
> the latest version to be used for the Koji build.
I think it is because yum uses package name length in this case (for lack of
any better information) to pick between java-1.5.0-gcj-devel and
java-1.6.0-openjdk-devel. They both satisfy java-devel >= 1.5.0 so in theory
either should be fine.
--
Orion Poplawski
Technical Manager 303-415-9701 x222
NWRA/CoRA Division FAX: 303-415-9702
3380 Mitchell Lane orion at cora.nwra.com
Boulder, CO 80301 http://www.cora.nwra.com
More information about the java-devel
mailing list