From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 1C52413933E for ; Sat, 17 Jul 2021 03:52:44 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 277CBE0877; Sat, 17 Jul 2021 03:52:43 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C42BDE0877 for ; Sat, 17 Jul 2021 03:52:42 +0000 (UTC) Received: from [2a0c:b641:69c:e789:6d3:b0ff:fe40:5fd8] (port=54330 helo=robot) by muon with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94) (envelope-from ) id 1m4bNV-00077g-AR; Sat, 17 Jul 2021 03:52:37 +0000 From: Benda Xu To: "Yuan Liao (Leo)" Cc: gentoo-soc@lists.gentoo.org Subject: Re: [gentoo-soc] Week 4 Report for Big Data Infrastructure and H2O ebuilds Project References: Date: Sat, 17 Jul 2021 11:52:36 +0800 In-Reply-To: (Yuan Liao's message of "Sun, 4 Jul 2021 22:03:17 -0700") Message-ID: <874kctzjej.fsf@robot.e.airelinux.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-soc@lists.gentoo.org Reply-to: gentoo-soc@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 Content-Type: text/plain X-Archives-Salt: 61b68685-56ab-4f31-935c-472991e1365a X-Archives-Hash: 8fcfc0a8d6e1c48cb60d355722225ce0 Hi Leo, "Yuan Liao (Leo)" writes: > I have been quite busy creating the ebuilds that build the Kotlin > libraries from source during the past week, and I am pleased to report > that the work is now complete and the ebuilds are installable and > usable. Every Kotlin library listed here [1] can be built from source > using those ebuilds. All ebuilds have been pushed to my fork of the > Spark overlay [2]. > > To use the ebuilds to build the Kotlin libraries from source, binary > JARs for kotlin-stdlib and kotlin-reflect pre-built by the upstream > must be installed first for bootstrapping. Then, after the Kotlin > compiler package -- dev-lang/kotlin-bin -- is installed, the libraries > can be built from source. The exact commands to build and install the > libraries from source are: > > env USE="binary" emerge -a1 dev-java/kotlin-stdlib dev-java/kotlin-reflect > emerge --ask dev-lang/kotlin-bin > emerge --ask --update --newuse --deep @world > > The ebuilds only use kotlinc and javac to build the Kotlin libraries. > Although Gradle is used by the upstream to build Kotlin, it is not > used in those ebuilds. I extracted the commands Gradle would run to > build each library component to create those ebuilds. > > I am currently in the process of writing a blog post describing how I > discovered the way to extract those commands from Gradle and > surmounted various challenges in creating those ebuilds, and I have > also planned to provide more documentation regarding installing and > maintaining those packages. The blog post is supposed to be completed > today, but I really cannot make it because there are really lots of > things to talk about and my brain is slowing down as bedtime is coming > closer and closer. I am sorry for the delay. Once it is published > (hopefully tomorrow), I will post the link to it in a reply to this > email. The link to the documentation will also be posted after it is > done. Congratulation for such a major triumph as a by-product of your GSoC project! The idea for Gentoo to be the first GNU/Linux distribution supporting kotlin toolchain from source code is the sexiest. @fordfrog, IMHO this achievement deserves wider exposure. I would like to encourage Leo to call for early testers of Gentoo Kotlin ebuilds on -dev and start the procedure to land https://wiki.gentoo.org/wiki/User:Leo3418/Kotlin somewhere aligned with https://wiki.gentoo.org/wiki/Java. How do you think? Cheers, Benda