pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: lang/openjdk-bin for platforms other than amd64 NetBSD or Linux?



On 03/03, Greg Troxel wrote:
> "J. Lewis Muir" <jlmuir%imca-cat.org@localhost> writes:
> > Yes, this one.  Sorry I wasn't too clear on that.  There's no
> > lang/openjdk21 binary package for macOS arm64 from MNX.  It's marked
> > with a build status of "prefailed" at
> >
> >   https://releng.netbsd.org/bulktracker/pkg/46287274
> 
> This is why it's not a good idea to write programs in Java :-)
 
Ouch.

> > OK, thanks for the clarification on that.  I was aware that this
> > fallback mechanism existed, but I wasn't aware that you generally do not
> > encode a dependency on foo-bin.
> 
> mk/java-vm.mk should be enlightening.
 
It was, and I learned that I can encode a normal JVM dependency on foo
and make it be satisfied by foo-bin by setting PKG_JVM_DEFAULT=foo-bin.

> What's wrong is the culture of Java.
> 
> I see the presence of such a warning not as a problem in the package but
> a clue that there are problems in Java the ecosystem.  My dim memory is
> that passing TCK is sufficiently burdensome, somehow, that it's
> essentially not possible for open source projects.   I also have a dim
> memory of some demands to label jdks as not having passed TCK.   But I
> tend to disregard such things as noise.
> 
> Maybe you can download the TCK (maybe it's available under an open
> source license), type 'make test', and see how that goes?  But
> serioulsy, my guess is you won't get very far.

Ouch again.  Well, I think it's going in a better direction now that
there are various organizations besides Oracle providing free builds
of OpenJDK.  Those organizations include Microsoft, Red Hat, Eclipse
Foundation (Adoptium), Amazon, Azul, and IBM according to

  https://en.wikipedia.org/wiki/Java_version_history#Release_table

But this TCK thing does seem burdensome.  I just looked at

  https://openjdk.org/groups/conformance/JckAccess/

and it's a far cry from running "make test". :-(

Lewis


Home | Main Index | Thread Index | Old Index