Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.maint.java > #12175

Re: Kotlin: looking for a DD to review/upload

From Sunil Mohan Adapa <sunil@medhas.org>
Newsgroups linux.debian.maint.java
Subject Re: Kotlin: looking for a DD to review/upload
Date 2021-05-07 03:20 +0200
Message-ID <CbXjP-3cG-1@gated-at.bofh.it> (permalink)
References <C9gsF-41u-1@gated-at.bofh.it> <CbPcC-6H1-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 06/05/21 9:32 am, Matthias Klose wrote:
> On 4/29/21 5:01 PM, Sunil Mohan Adapa wrote:
>> Hello,
>>
>> Kotlin packaging[1] is in a good shape and ready to be uploaded[2] into
>> Debian. We need a DD willing to upload it.
> 
>> The actual upload needs to wait for openjdk-8, which is currently in the
>> NEW queue, to be accepted first. However, the wait time can be used to
>> do any final reviews.
> 
> - please can we have a sane upstream version? Like 1.3.31
>   and then document in debian/README.source about the additional
>   components added?  Is it likely that these other components
>   need updates without a kotlin update?

The two small components were added to the package only to make the
bootstrapping process simpler. After the bootstrapping process is done
and kotlin is in Debian, we can separate out the two components into
their own deb packages and have a clean version number for kotlin (along
with new version packaging). Can we tolerate this until then?

> 
> - debian/bootstrap creates a deb, which has the deb itself
>   in the root directory.

This was known but ignored as bootstrap process is only used as input
for stage1 (stage3/4 output will be uploaded into Debian). This
lingering deb is the result of creating the output deb file in a
directory that is being packed into the deb.

> 
> - debian/rules has
>         export JDK_16="/usr/lib/jvm/java-8-openjdk-amd64"
>         export JDK_17="/usr/lib/jvm/java-8-openjdk-amd64"
>         export JDK_18="/usr/lib/jvm/java-8-openjdk-amd64"
>         export JDK_9="/usr/lib/jvm/java-11-openjdk-amd64"
>   which are meaningless, as every command is executed in its
>   own subshell.

I will do this cleanup.

> 
> - after installing the bootstrap deb, and trying the build,
>   I get:
> 
> [ERROR] Failed to execute goal on project kotlin-maven-plugin: Could not resolve
> dependencies for project
> org.jetbrains.kotlin:kotlin-maven-plugin:maven-plugin:1.3.31: The following
> artifacts could not be resolved:
> org.jetbrains.kotlin:kotlin-compiler:jar:1.3.31,
> org.jetbrains.kotlin:kotlin-scripting-compiler:jar:1.3.31: Cannot access central
> (https://repo.maven.apache.org/maven2) in offline mode and the artifact
> org.jetbrains.kotlin:kotlin-compiler:jar:1.3.31 has not been downloaded from it
> before. -> [Help 1]

This must be because of the recent changes to build two additional jar
files needed by other projects. Since these missing dependencies are
part of the built kotlin deb after stage1 and we didn't test the full
bootstrap with the recent changes, we didn't face this issue. I will fix
this on priority.

To work around:

- An older commit 8455d719 will likely not have the issue.
- Using a pre-build binary[1] will likely not have the issue.

Links:

1) https://www.emorrp1.name/kotlin/

-- 
Sunil

Back to linux.debian.maint.java | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Kotlin: looking for a DD to review/upload Sunil Mohan Adapa <sunil@medhas.org> - 2021-04-29 17:10 +0200
  Re: Kotlin: looking for a DD to review/upload Thorsten Glaser <t.glaser@tarent.de> - 2021-04-29 17:20 +0200
    Re: Kotlin: looking for a DD to review/upload Sunil Mohan Adapa <sunil@medhas.org> - 2021-04-29 22:00 +0200
    Re: Kotlin: looking for a DD to review/upload Thorsten Glaser <t.glaser@tarent.de> - 2021-05-02 00:00 +0200
      Re: Kotlin: looking for a DD to review/upload Olek Wojnar <olek@debian.org> - 2021-05-04 21:30 +0200
        Re: Kotlin: looking for a DD to review/upload Olek Wojnar <olek@debian.org> - 2021-05-04 22:00 +0200
    Re: Kotlin: looking for a DD to review/upload Olek Wojnar <olek@debian.org> - 2021-05-02 00:00 +0200
    openjdk-8 back in sid (was Re: Kotlin: looking for a DD to  review/upload) Thorsten Glaser <t.glaser@tarent.de> - 2021-06-14 13:30 +0200
  Re: Kotlin: looking for a DD to review/upload Matthias Klose <doko@debian.org> - 2021-05-06 18:40 +0200
    Re: Kotlin: looking for a DD to review/upload Sunil Mohan Adapa <sunil@medhas.org> - 2021-05-07 03:20 +0200
      Re: Kotlin: looking for a DD to review/upload Sunil Mohan Adapa <sunil@medhas.org> - 2021-05-07 08:10 +0200
      Re: Kotlin: looking for a DD to review/upload Matthias Klose <doko@debian.org> - 2021-05-07 10:20 +0200
        Re: Kotlin: looking for a DD to review/upload Phil Morrell <debian@emorrp1.name> - 2021-05-07 15:00 +0200
          Re: Kotlin: looking for a DD to review/upload Emmanuel Bourg <ebourg@apache.org> - 2021-05-07 16:40 +0200
          Re: Kotlin: looking for a DD to review/upload Thorsten Glaser <t.glaser@tarent.de> - 2021-05-07 17:50 +0200
        Re: Kotlin: looking for a DD to review/upload Emmanuel Bourg <ebourg@apache.org> - 2021-05-07 10:50 +0200
          Re: Kotlin: looking for a DD to review/upload Sunil Mohan Adapa <sunil@medhas.org> - 2021-05-08 01:10 +0200
        debhelper 13 (was Re: Kotlin: looking for a DD to review/upload) Thorsten Glaser <t.glaser@tarent.de> - 2021-05-07 17:40 +0200
          Re: debhelper 13 (was Re: Kotlin: looking for a DD to review/upload) Matthias Klose <doko@debian.org> - 2021-05-07 18:20 +0200
      Re: Kotlin: looking for a DD to review/upload Sunil Mohan Adapa <sunil@medhas.org> - 2021-05-08 00:40 +0200
        Re: Kotlin: looking for a DD to review/upload Sunil Mohan Adapa <sunil@medhas.org> - 2021-06-16 06:10 +0200

csiph-web