Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.maint.java > #11662
| Path | csiph.com!aioe.org!bofh.it!news.nic.it!robomod |
|---|---|
| From | Samyak Jain <samyak.jn11@gmail.com> |
| Newsgroups | linux.debian.maint.java |
| Subject | Re: Update for kotlin package |
| Date | Mon, 01 Jun 2020 12:20:02 +0200 |
| Message-ID | <AcPHX-6pd-5@gated-at.bofh.it> (permalink) |
| References | <AaKt4-4dK-17@gated-at.bofh.it> <AaQyt-7JS-1@gated-at.bofh.it> <Ab986-2az-7@gated-at.bofh.it> |
| X-Original-To | Emmanuel Bourg <ebourg@apache.org> |
| X-Mailbox-Line | From debian-java-request@lists.debian.org Mon Jun 1 10:19:05 2020 |
| Old-Return-Path | <samyak.jn11@gmail.com> |
| X-Amavis-Spam-Status | No, score=-2.849 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FOURLA=0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, HTML_MESSAGE=2, LDO_WHITELIST=-5, ONEWORDBODY=2, RCVD_IN_DNSWL_NONE=-0.0001] autolearn=no autolearn_force=no |
| X-Policyd-Weight | using cached result; rate: -5.5 |
| Old-Dkim-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=MJlbxZhQCE7hfGmTMAgYjynkoOiZAWyVp4lbvP63vm8=; b=O+SMQZlz/uP3ggX3hdXonhyM6qivxLfrH+chg9r33rjCy239m3hKQyDhCPFP4YQItr M66CF9BPO9B6kG83MN/A8sjD15Pn2U+mYTX7ybeJtUTyV9FWF9Ku7L0MwuBKEpgIqeuY G6CdRg8itRTgGZttzAO9LJ9o4OqG0MxpetnnHbsPwMGRy+DyMUYSfARDvGbBGJMGxK4c +1ng9cgZrHyw8gkD5N1XhgLhbRd56vSv3mN1MLSoBlimeP9Lk2p7ALFH0rpcADURZSQH M5tX4NaWw5urDvUNHlIvtWRjcLNKle/x/jd5UunCHUV6EiZKofL9DB6PvXbntsaaN88U 3fKA== |
| X-Google-Dkim-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=MJlbxZhQCE7hfGmTMAgYjynkoOiZAWyVp4lbvP63vm8=; b=Vg0y+LlpkMwm7L+rDRlvUJCw81FmVVmNxTV3+R4DVUlTcre6CVYeSSDkUjD6QoA9G5 duI8rxvdFIPE80pDEqBsvqvrIiWEz2UJxOq0oez6o63Azvq6/8bDLoJlGfQNK/328o0h Ppi/cVESKeQ2aOEGOQZZGuzSrU4RC44/AtkJhiBpQulWA9odr+VgFGAgPp4tYpbXPYPd B+S4TvqCIJnm7USdMDj7xqF60IW6gDOQANN5DbHw4ihx/6yaa3WBJj0nNLP9jgUu5/QT VFfQz3WSa/RG3Vtwqt+XFiCtphFF2McOAye7F3bxSjJQDi/XdiME6pAaC/burHOL90se 2FOA== |
| X-Gm-Message-State | AOAM532R/7qZetQUeWJBzSYcK8XUvxGJjVMFoixvnbm6C9c17rsgBPP4 6XtHA+APa8WQShAgKchfh0hxHKcXCjiM9pffyklHK30ZaXE= |
| X-Google-SMTP-Source | ABdhPJy+yPxtLb+33uUxfaDxmcGu1NvHvCCaJVpByoSFdfQTQ/3HHs3Ke8N9HFe2Y+DXGA3/JN3TtsBzZugmlaiRkWs= |
| X-Received | by 2002:a63:3188:: with SMTP id x130mr18203912pgx.249.1591006729484; Mon, 01 Jun 2020 03:18:49 -0700 (PDT) |
| MIME-Version | 1.0 |
| Content-Type | multipart/alternative; boundary="000000000000f23e7405a7031e32" |
| X-Mailing-List | <debian-java@lists.debian.org> archive/latest/22241 |
| List-ID | <debian-java.lists.debian.org> |
| List-URL | <https://lists.debian.org/debian-java/> |
| List-Archive | https://lists.debian.org/msgid-search/CAOAkg3xtxswugAm74CX1sOgvZCUqfGr3YCO3zctSe14XRMHR1Q@mail.gmail.com |
| Approved | robomod@news.nic.it |
| Lines | 142 |
| Organization | linux.* mail to news gateway |
| Sender | robomod@news.nic.it |
| X-Original-Cc | debian-java@lists.debian.org |
| X-Original-Date | Mon, 1 Jun 2020 15:48:38 +0530 |
| X-Original-Message-ID | <CAOAkg3xtxswugAm74CX1sOgvZCUqfGr3YCO3zctSe14XRMHR1Q@mail.gmail.com> |
| X-Original-References | <CAOAkg3yCqLxwy1Q8JOPtjZnvJRBCZ_96BaAsmypxgNXivH91iA@mail.gmail.com> <7568e1c6-65a3-e677-3ddc-2934ddda073e@apache.org> <CAOAkg3xscnTniAbS+tAvUropvd+ve9hm9Gmvfd8+H7XSakk3FQ@mail.gmail.com> |
| Xref | csiph.com linux.debian.maint.java:11662 |
Show key headers only | View raw
[Multipart message — attachments visible in raw view] - view raw
Hi again :D
The issue for the modified binaries was fixed last week and the package
built successfully, without any failures. The updated package can be found
here[1]
On Wed, May 27, 2020 at 4:18 AM Emmanuel Bourg <ebourg@apache.org> wrote:
> Thank you very much for working on Kotlin, that's definitely not a small
> feat.
>
> The key issue before uploading is to check if it's possible to build
> Kotlin without the bootstrap package, i.e. the kotlin package can
> rebuild itself. The process is to first build the kotlin package with
> the bootstrap binaries, then install the package built, remove the
> bootstrap package, adjust the build dependencies and rebuild kotlin.
> This rebuilt package is the one you want to upload.
>
After that to check if kotlin can build from itself, I tried testing as per
the workaround specified by ebourg in the last mail.
Created a clean lxc container and installed the kotlin .deb file. Checked
if the kotlinc compiler was working or not? Yes, the basic functionalities
work fine.
But, here is the case: I tried building the kotlin package again(to check
is rebuilding is possible without bootstrap), by removing some of the
dependencies from the bootstrap package, but it failed with the following
errors.
```
FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring project ':buildSrc'.
> Could not resolve all files for configuration ':buildSrc:classpath'.
> Could not resolve
org.jetbrains.kotlin:kotlin-gradle-plugin:1.3.30-eap-28.
Required by:
project :
> No cached version of
org.jetbrains.kotlin:kotlin-gradle-plugin:1.3.30-eap-28 available for
offline mode.
> No cached version of
org.jetbrains.kotlin:kotlin-gradle-plugin:1.3.30-eap-28 available for
offline mode.
> No cached version of
org.jetbrains.kotlin:kotlin-gradle-plugin:1.3.30-eap-28 available for
offline mode.
> Could not resolve
org.jetbrains.kotlin:kotlin-sam-with-receiver:1.3.30-eap-28.
Required by:
project :
> No cached version of
org.jetbrains.kotlin:kotlin-sam-with-receiver:1.3.30-eap-28 available for
offline mode.
> No cached version of
org.jetbrains.kotlin:kotlin-sam-with-receiver:1.3.30-eap-28 available for
offline mode.
> No cached version of
org.jetbrains.kotlin:kotlin-sam-with-receiver:1.3.30-eap-28 available for
offline mode.
```
It fails to find kotlin-Gradle-plugin in offline mode. And FWIW, we need to
package kotlinx libraries and package them, but here is the thing the
kotlinx has .kt files which need kotlin compiler itself to build them.
It looks like a cyclic dependency to me, because if we don't have kotlinx
the compiler won't function. Please correct me, if I'm mistaken.
Is there any other workaround/suggestion if possible? For now, I'm trying
to investigate if I can package kotlinx packages somehow.
Thanks and regards,
Samyak Jain
Back to linux.debian.maint.java | Previous | Next — Previous in thread | Find similar
Update for kotlin package Samyak Jain <samyak.jn11@gmail.com> - 2020-05-26 18:20 +0200
Re: Update for kotlin package Samyak Jain <samyak.jn11@gmail.com> - 2020-05-26 18:30 +0200
Re: Update for kotlin package Emmanuel Bourg <ebourg@apache.org> - 2020-05-27 00:50 +0200
Re: Update for kotlin package Samyak Jain <samyak.jn11@gmail.com> - 2020-05-27 20:40 +0200
Re: Update for kotlin package Samyak Jain <samyak.jn11@gmail.com> - 2020-06-01 12:20 +0200
csiph-web