From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id KN6gMJjGo2D1JwAAgWs5BA (envelope-from ) for ; Tue, 18 May 2021 15:52:24 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id yP1iLJjGo2BgGwAAB5/wlQ (envelope-from ) for ; Tue, 18 May 2021 13:52:24 +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 4909712F63 for ; Tue, 18 May 2021 15:52:24 +0200 (CEST) Received: from localhost ([::1]:33608 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lj091-0004k2-Dt for larch@yhetil.org; Tue, 18 May 2021 09:52:23 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39408) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lj08q-0004gC-9g for guix-devel@gnu.org; Tue, 18 May 2021 09:52:12 -0400 Received: from mailrelay.tugraz.at ([129.27.2.202]:24348) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lj08m-00055S-Om for guix-devel@gnu.org; Tue, 18 May 2021 09:52:11 -0400 Received: from nijino.local (91-114-247-246.adsl.highway.telekom.at [91.114.247.246]) by mailrelay.tugraz.at (Postfix) with ESMTPSA id 4Fky9G2Bmlz3wZs; Tue, 18 May 2021 15:52:02 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1621345922; bh=HPQ9jVFQSW4L1dgFid7F2g7luN7gKwD0WZHX781z0Lk=; h=Subject:From:To:Cc:Date:In-Reply-To:References; b=XcuQXPDJ28rnwSQ4LlRZbVJ+nZTWKOHY6HnZlKCaTtAEe/9CFyN+VypNAzKrtmQs/ xTIaxFXqFuToiajPhZCQL3/+GtCa+B0aYqfBFE4gP2Aqiis2bgLIq3fU/SzB8afbn8 HnBKHELFizXPJ6HLOtqu5Uj08GoovdbXuV6JuoUc= Message-ID: Subject: Re: Scala package From: Leo Prikler To: Julien Lepiller Date: Tue, 18 May 2021 15:52:01 +0200 In-Reply-To: <20210518143730.716c0756@tachikoma.lepiller.eu> References: <20210518010111.7eea541a@tachikoma.lepiller.eu> <875yzgjrzp.fsf@elephly.net> <20210518143730.716c0756@tachikoma.lepiller.eu> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.34.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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: , Cc: guix-devel@gnu.org 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=1621345944; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc: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=HPQ9jVFQSW4L1dgFid7F2g7luN7gKwD0WZHX781z0Lk=; b=DRfW4Pgh8mkMiyUnNkHRnKJW3BRL6XKiREqHUlDIp0s43aN1kvsXIit/ig2S8KwMCfc/Yg fxi8PPYld1OmHr84R8C9tAjGYnCtwTX5InTvVkyVNGUF9bTQwE2XJ4O8PRD+q4JsYCEhv3 swDQ1Q5giSjvBOvxG7e0JHj+N/CTzvylo6ij2O+HYqA+6qXeHlGbypQSgnEKqoTgAZnG+n 61ABRpyRsFnx/zh37BejCbUm/iywxzNrYuiSqpjDG70jTpfGJKtGO0JVpj9D4BCR1hIpXS xe34yDAZ6bLr78EXFAoU+SuZz288ekZRELkyipB1FxQgLsHvf8gN9UDSdhRJDw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1621345944; a=rsa-sha256; cv=none; b=io80YvjeQIqaFstHPsgoNTjo9+2whzhCktw+zBJqJMVSA9HBPi/kJaw4H9OsqyfOPhS9qL E8bjganL/2RdhxqwwZDpKbeffr0qMElZoZg7EFTw0g5wa87NwVdWogwh5P542Xb8XOpw0s MlXsoGNteIgO1DIscTB4e0Pqvf243UtbDs6CdZPamz2KJcriNvqTvXfFlYVzr09o8TtsKG lul4O/yPLNprfsoC11CGNSkdxXlz3qWa7X+LinFMfVZMpifHNGLNaSgNPSClpzk9kLJuta zrCLYMtepA0q1VXRGyEa0GOjuCBBxxGoa6c1E++YFpOM62ydJgdkgDUemkzQbg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=tugraz.at header.s=mailrelay header.b=XcuQXPDJ; 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: -1.34 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=tugraz.at header.s=mailrelay header.b=XcuQXPDJ; dmarc=fail reason="SPF not aligned (relaxed)" header.from=student.tugraz.at (policy=none); 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: 4909712F63 X-Spam-Score: -1.34 X-Migadu-Scanner: scn0.migadu.com X-TUID: TO6gvAtRHvGw Am Dienstag, den 18.05.2021, 14:37 +0200 schrieb Julien Lepiller: > Le Tue, 18 May 2021 13:36:43 +0200, > Leo Prikler a écrit : > > > Am Dienstag, den 18.05.2021, 07:15 -0400 schrieb Julien Lepiller: > > > The old scala is written in a superset of java5, that requires > > > PiCo > > > to build, and PiCo was built with JaCo. They were developped at > > > EPFL, and you can find a binary for it, but no source: > > > http://zenger.org/jaco/ > > > > > > Apparently, JaCo was later reimplemented in Keris, whose source > > > code > > > is available. However, KeCo (the Keris compiler) is written in > > > Keris. > > > > > > It is not even clear that building an old version of scala is > > > going > > > to work, as the language evolved a lot since then. > > > > > > I think the best way to bootstrap would be to reimplement Scala > > > in > > > another language. I tried that too, but even the parser is > > > crazy. > > Thanks Julien and Ricardo for the detailed explanation of what goes > > wrong here. > > > > Would a bootstrap chain from 2.0.x work at least, so that the crazy > > Scala parser can target a specific (early) version and we get a > > slightly smaller binary or are the gains from that too > > minimal? This > > is also a concern going forward, can we always hope to "bootstrap" > > the > > next Scala version with the one currently packaged in Guix? > > That's not even clear it would be possible. Citing discussion on > Scala's forum > ( > https://contributors.scala-lang.org/t/compiling-scala-and-sbt-for-debian-distro/3620/12 > ) > > The Scala 2.12 compiler is written in Scala 2.12 and uses the Scala > 2.12 standard library. Compiling it with 2.11 isn’t an option. > > and later: > > If that was the only hurdle you had to clear, you might be fine. But > it > isn’t the only hurdle; the compiler was re-bootstrapped several dozen > times between 2.11.6 and 2.12.9. (And then a bunch more times after > that to get to 2.13.0.) > > so we would get an enormous bootstrap chain, and it's not even > guaranteed that each bootstrap can be replayed nicely. So in the end we would always be forced to bootstrap Scala 2.x.y from more or less that exact 2.x.y? How does anyone find this acceptable?