Re: Providing GraalVM Community Edition Debian package

2020-07-17 Thread Thorsten Glaser
On Thu, 9 Jul 2020, Dongjin Lee wrote:

> Hello Debian Java community,
>
> It seems like there was a discussion about providing GraalVM community
> edition (aka GraalVM CE) Debian package years ago, but it is still not

Yes, please!

I also asked around upstream, and, according to them, there’s still a
little that can be done in our OpenJDK packaging:


On Tue, 02 Jun 2020 00:45:30 -0700, Severin Gehwolf wrote:

>@mirabilos This ticket tracks buildability of substrate VM with stock OpenJDK 
>11.
>
>If you can convince Debian packagers to create a `static-libs`
>sub-package for OpenJDK 11 similar to what we did for
>[Fedora](https://src.fedoraproject.org/rpms/java-11-openjdk/pull-request/84)
>then you *should* be able to build substrate (including native-image)
>with plain OpenJDK 11.0.8 as build JDK which is a first step towards
>that goal of yours.

>Reply to this email directly or view it on GitHub:
>https://github.com/oracle/graal/issues/2196#issuecomment-637355855

Perhaps this (also looking at the mentioned issue, which shows a
number of other things) will enable the Free part of GraalVM to
be completely available in Debian.

bye,
//mirabilos
-- 
tarent solutions GmbH
Rochusstraße 2-4, D-53123 Bonn • http://www.tarent.de/
Tel: +49 228 54881-393 • Fax: +49 228 54881-235
HRB 5168 (AG Bonn) • USt-ID (VAT): DE122264941
Geschäftsführer: Dr. Stefan Barth, Kai Ebenrett, Boris Esser, Alexander Steeg



Re: Providing GraalVM Community Edition Debian package

2020-07-14 Thread tony mancill
Hi Dongjin,

On Tue, Jul 14, 2020 at 07:43:20PM +0900, Dongjin Lee wrote:
> Hi Tony,
> 
> > In this case, given that Graal is GPLv2 with the CPE, it feels like we
> should be building it from source.
> 
> Thanks for the comprehensive explanation. It was the very answer I needed.
> 
> Then, if I create the Debian package in the way you described(i.e., built
> from the source), may I contact the mailing list again?

Yes, please do!  And also feel free to reach out to the list if you have
questions, suggestions, or would like to work on other Java packages for
Debian.

Cheers,
tony


signature.asc
Description: PGP signature


Re: Providing GraalVM Community Edition Debian package

2020-07-14 Thread Dongjin Lee
Hi Tony,

> In this case, given that Graal is GPLv2 with the CPE, it feels like we
should be building it from source.

Thanks for the comprehensive explanation. It was the very answer I needed.

Then, if I create the Debian package in the way you described(i.e., built
from the source), may I contact the mailing list again?

Best,
Dongjin

On Tue, Jul 14, 2020 at 11:26 AM tony mancill  wrote:

> Hello Dongjin,
>
> On Thu, Jul 09, 2020 at 06:45:43PM +0900, Dongjin Lee wrote:
> > Hello Debian Java community,
> >
> > It seems like there was a discussion about providing GraalVM community
> > edition (aka GraalVM CE) Debian package years ago, but it is still not
> > offered yet:
> >
> > https://www.mail-archive.com/debian-java@lists.debian.org/msg23951.html
> >
> > I have built and maintained GraalVM CE's Debian package (link below) and
> > hope to contribute to the community. Could anyone help me? I am a total
> > layman to Debian package maintenance.
> >
> > https://github.com/dongjinleekr/graalvm-ce-deb
> >
> > All kinds of feedbacks and advice are greatly appreciated.
>
> I took a look at the repo, which takes prebuilt binaries and creates a
> .deb from them.  This sort of binary-only package is not suitable for
> Debian "main" - the package would need to build the Graal CE compiler
> from its sources [1] in order to comply with the DFSG (Debian Free
> Software Guidelines).  Furthermore, and this can be the difficult part,
> all components in the tool chain used to compile that package must also
> be packaged for Debian and build from source within Debian.  There are
> occasionally exceptions made for bootstapping, but that's a different
> topic.
>
> Sometimes software is packaged and is available via non-free [2], but it
> is not part of Debian.  Is that what you are asking about?  In this
> case, given that Graal is GPLv2 with the CPE, it feels like we should be
> building it from source.
>
> If you are interested, here is a link to the DFSG and an excellent FAQ
> about [3,4].
>
> Cheers,
> tony
>
> [1] https://github.com/oracle/graal
> [2] https://www.debian.org/doc/debian-policy/ch-archive#s-non-free
> [3] https://www.debian.org/social_contract.html#guidelines
> [4] https://people.debian.org/~bap/dfsg-faq.html
>


-- 
*Dongjin Lee*

*A hitchhiker in the mathematical world.*




*github:  github.com/dongjinleekr
keybase: https://keybase.io/dongjinleekr
linkedin: kr.linkedin.com/in/dongjinleekr
speakerdeck: speakerdeck.com/dongjin
*


Re: Providing GraalVM Community Edition Debian package

2020-07-13 Thread tony mancill
Hello Dongjin,

On Thu, Jul 09, 2020 at 06:45:43PM +0900, Dongjin Lee wrote:
> Hello Debian Java community,
> 
> It seems like there was a discussion about providing GraalVM community
> edition (aka GraalVM CE) Debian package years ago, but it is still not
> offered yet:
> 
> https://www.mail-archive.com/debian-java@lists.debian.org/msg23951.html
> 
> I have built and maintained GraalVM CE's Debian package (link below) and
> hope to contribute to the community. Could anyone help me? I am a total
> layman to Debian package maintenance.
> 
> https://github.com/dongjinleekr/graalvm-ce-deb
> 
> All kinds of feedbacks and advice are greatly appreciated.

I took a look at the repo, which takes prebuilt binaries and creates a
.deb from them.  This sort of binary-only package is not suitable for
Debian "main" - the package would need to build the Graal CE compiler
from its sources [1] in order to comply with the DFSG (Debian Free
Software Guidelines).  Furthermore, and this can be the difficult part,
all components in the tool chain used to compile that package must also
be packaged for Debian and build from source within Debian.  There are
occasionally exceptions made for bootstapping, but that's a different
topic.

Sometimes software is packaged and is available via non-free [2], but it
is not part of Debian.  Is that what you are asking about?  In this
case, given that Graal is GPLv2 with the CPE, it feels like we should be
building it from source.

If you are interested, here is a link to the DFSG and an excellent FAQ
about [3,4].

Cheers,
tony

[1] https://github.com/oracle/graal
[2] https://www.debian.org/doc/debian-policy/ch-archive#s-non-free
[3] https://www.debian.org/social_contract.html#guidelines
[4] https://people.debian.org/~bap/dfsg-faq.html


signature.asc
Description: PGP signature