From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id iIzbKBhoo2CH4wAAgWs5BA (envelope-from ) for ; Tue, 18 May 2021 09:09:12 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id OJpoJBhoo2AAaAAAbx9fmQ (envelope-from ) for ; Tue, 18 May 2021 07:09:12 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id C5E54C95D for ; Tue, 18 May 2021 09:09:11 +0200 (CEST) Received: from localhost ([::1]:38706 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1litqo-00065X-R8 for larch@yhetil.org; Tue, 18 May 2021 03:09:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:57790) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1litqe-000655-Ex for guix-devel@gnu.org; Tue, 18 May 2021 03:09:00 -0400 Received: from mailrelay.tugraz.at ([129.27.2.202]:24582) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1litqb-0005HU-4e for guix-devel@gnu.org; Tue, 18 May 2021 03:08:59 -0400 Received: from [10.0.0.4] (91-114-247-246.adsl.highway.telekom.at [91.114.247.246]) by mailrelay.tugraz.at (Postfix) with ESMTPSA id 4FknD04W1Gz1LXsR; Tue, 18 May 2021 09:08:48 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 mailrelay.tugraz.at 4FknD04W1Gz1LXsR DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1621321728; bh=t212xwpuLIpARAjmERdUftWe8GJSRnL2QIKt7yYKXXk=; h=Subject:From:To:Date:In-Reply-To:References:From; b=J2oWHTDHnwA/zcoLYCZy1KUrauQVlY/mRpUHJ9TNXapkB6vzMBQDylIhqVDHQ9DME 6ZDhGY8g3eticBoPLQum3SpdLIfWHuB6SHNj1+EEnrT8BZlE00vBknpRplU+TcGX4w PhOK/DfYChiFwOwbOvPJLJIJZsMOzndyIgxnyKEI= Message-ID: Subject: Re: Scala package From: Leo Prikler To: Julien Lepiller , guix-devel@gnu.org Date: Tue, 18 May 2021 09:08:22 +0200 In-Reply-To: <20210518010111.7eea541a@tachikoma.lepiller.eu> References: <20210518010111.7eea541a@tachikoma.lepiller.eu> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.34.2 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-TUG-Backscatter-control: bt4lQm5Tva3SBgCuw0EnZw X-Spam-Scanner: SpamAssassin 3.003001 X-Spam-Score-relay: -1.9 X-Scanned-By: MIMEDefang 2.74 on 129.27.10.117 Received-SPF: pass client-ip=129.27.2.202; envelope-from=leo.prikler@student.tugraz.at; helo=mailrelay.tugraz.at X-Spam_score_int: -42 X-Spam_score: -4.3 X-Spam_bar: ---- X-Spam_report: (-4.3 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1621321752; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=t212xwpuLIpARAjmERdUftWe8GJSRnL2QIKt7yYKXXk=; b=Od7Fo6UwInrInYtyYDfOvnxFlDTmctZW4Jz/FuIQDAe+t9mXWYwFKqnNZF4hZWewRGa1eY 7qo1VabT6a0/hPxnxUXF+3ug1mryhazj6WM9shhDH5g/v+4P+0ExHupWbV0gLpUBBeN2gt 47TmAm9Uj8YXDr/YMLGtYHN8hLokQ/INnsfjW57OQneGYECkCUmNu4R3avdLA8/qjA7jPa PlgHcKHy6syINWXK/WvftbZqQFDfLme4bm+eevPX9NlFoPap3zv/HjNmRGRiHT5NnpUCtC STJh7gcATMc8GmG97qrZP6i3408sf+h9NVFQvScsrUdIuLJ6pV95hFN2BUfQ2g== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1621321752; a=rsa-sha256; cv=none; b=qPQTopx7vY1dd7SZAnfdGxZYX0wpQvnYj9Xz4ePn6yKXOsRql9zZ/4vbQDSPIOVxH2rysd W/WMHS1P9QOGm+deDIIcqu28VO+lGV6QlUPTQk+g311tM14ihsyHiJPs1IGoylmbmKaZW9 LlLJj4DAt3ouHIC2qkIp62vVIg4WOToxyxc+zEsRjPpI3IfZqmVwsgmyzkloXUgJa52X5b 1nVIQgX0Gak3Q6zpQEB6rkhtZmqPrk6S3Umtjrdqx5NFXP7lK0mEawc8JBJWV//tuECdom wgg+GkvPAKLMHU76N2PYWmX/X5cG8RsZjoPvx/g6nmDYOxJKWDCwU07ZFffqcQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=tugraz.at header.s=mailrelay header.b=J2oWHTDH; dmarc=pass (policy=none) header.from=student.tugraz.at; spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Migadu-Spam-Score: -3.14 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=tugraz.at header.s=mailrelay header.b=J2oWHTDH; dmarc=pass (policy=none) header.from=student.tugraz.at; spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Migadu-Queue-Id: C5E54C95D X-Spam-Score: -3.14 X-Migadu-Scanner: scn0.migadu.com X-TUID: Nu89Vi7CXEYc Hi Julien, Am Dienstag, den 18.05.2021, 01:01 +0200 schrieb Julien Lepiller: > Hi Guix! > > I have the attached file that build Scala, although it's not > bootstrapped at all. It contains %binary-scala, a few dependencies of > Scala we haven't packaged yet, and the final scala, built from > %binary-scala, without sbt (which requires Scala too). > > Since I've tried and failed to bootstrap Scala for so long, I think > it's time to give up. I can't always create miracles. Some points relevant to bootstrapping: - The last version, that ships "scalai" written in Java seems to be v1.4.0+4. Perhaps one can use scalai to bootstrap scalac within it. - The last version, that does not "require" sbt is 2.11.x, though with your workaround we can also build later versions. Would it generally be possible to use scalac 1.4 to compile any 2.x version? (We can first assume that we have this scalac as binary, and hopefully construct our chain from there similar to Rust. Then we "only" need to somehow bootstrap 1.4) > If this is acceptable, I will send actual patches later, and rework > the sbt package I had around 2018 (I managed to build it with a Scala > compiler, without a pre-existing sbt). IIRC, there are some bootstrap binaries well hidden within Guix source code, but this obviously does not look nice. > (license license:bsd-3))) I think it's actually Apache 2.0