From patchwork Fri Jan 31 16:22:41 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Ekaitz Zarraga X-Patchwork-Id: 20050 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 756CB16706; Fri, 31 Jan 2020 17:41:15 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id CE7E0161FA for ; Fri, 31 Jan 2020 17:41:14 +0000 (GMT) Received: from localhost ([::1]:57076 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ixaI6-0001uz-9W for patchwork@mira.cbaines.net; Fri, 31 Jan 2020 12:41:14 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:39850) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ixaHw-0001ui-6g for guix-patches@gnu.org; Fri, 31 Jan 2020 12:41:05 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ixaHv-00079h-2E for guix-patches@gnu.org; Fri, 31 Jan 2020 12:41:04 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:60289) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ixaHu-00079L-MX for guix-patches@gnu.org; Fri, 31 Jan 2020 12:41:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ixaHu-00075P-I0 for guix-patches@gnu.org; Fri, 31 Jan 2020 12:41:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#39372] Chicken Scheme: Update version to 5.1.0 and add gcc-toolchain Resent-From: Ekaitz at ElenQ Technology Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 31 Jan 2020 17:41:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 39372 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 39372@debbugs.gnu.org X-Debbugs-Original-To: "guix-patches@gnu.org" Received: via spool by submit@debbugs.gnu.org id=B.158049241327147 (code B ref -1); Fri, 31 Jan 2020 17:41:02 +0000 Received: (at submit) by debbugs.gnu.org; 31 Jan 2020 17:40:13 +0000 Received: from localhost ([127.0.0.1]:38024 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ixaH6-00073m-Vv for submit@debbugs.gnu.org; Fri, 31 Jan 2020 12:40:13 -0500 Received: from lists.gnu.org ([209.51.188.17]:43173) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ixZ4J-00057j-F2 for submit@debbugs.gnu.org; Fri, 31 Jan 2020 11:22:55 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:40560) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ixZ4H-000538-NN for guix-patches@gnu.org; Fri, 31 Jan 2020 11:22:55 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ixZ4G-0000Ir-4P for guix-patches@gnu.org; Fri, 31 Jan 2020 11:22:53 -0500 Received: from mail-40134.protonmail.ch ([185.70.40.134]:46615) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1ixZ4F-0000As-JY for guix-patches@gnu.org; Fri, 31 Jan 2020 11:22:52 -0500 Date: Fri, 31 Jan 2020 16:22:41 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=elenq.tech; s=protonmail; t=1580487766; bh=yAsy37DXgLYYvx7q2jEJtKtvAB5HiFsY8gr76dKAlys=; h=Date:To:From:Reply-To:Subject:Feedback-ID:From; b=bALEulZ/rFcu4Yg3HwcZwaNYCRqYOjUbfMxi61QBogfE1764z5a3srfsmcmVdCe58 34MJTLx4pxSFLrT+Gko7JZIcqMXDBg29atXzOfDgPMQSfUy5RdvaHeS/4MfrNKSf7y gTn6+InY+ZuXUNM0UX7onDpt4iPZbQB4xHZxkpAk= From: Ekaitz at ElenQ Technology Message-ID: Feedback-ID: yrcNPDs6h_GmICDqa8wDN84Xewau0mXpBhN3eq2lvinS3lyxTuFMITDIGb7qalJ2C1nOhz7EVHHgQPysAd4y8g==:Ext:ProtonMail MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Mailman-Approved-At: Fri, 31 Jan 2020 12:40:12 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Ekaitz at ElenQ Technology Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches Hi, I made a patch for chicken-scheme according to this conversation in the help-guix mailing list: https://lists.gnu.org/archive/html/help-guix/2020-01/msg00230.html I pushed the version to 5.1.0 and added gcc-toolchain as a propagated-input as the conversation suggested. The reason is without the gcc-toolchain csc (the chicken compiler) is unable to deal with -lm (math library), which is not installed with the current chicken package. The linked conversation suggests that gcc-toolchain is a fundamental part of chicken so it should be a dependency of it. Sorry if I didn't follow the format, but I was unable to find a good contributing guide. Best, Ekaitz diff --git a/gnu/packages/scheme.scm b/gnu/packages/scheme.scm index 1009896a70..f1d04bfa53 100644 --- a/gnu/packages/scheme.scm +++ b/gnu/packages/scheme.scm @@ -11,6 +11,7 @@ ;;; Copyright © 2017, 2018, 2019, 2020 Tobias Geerinckx-Rice ;;; Copyright © 2018 Adam Massmann ;;; Copyright © 2018 Gabriel Hondet +;;; Copyright © 2018 Ekaitz Zarraga ;;; ;;; This file is part of GNU Guix. ;;; @@ -69,6 +70,7 @@ #:use-module (gnu packages tls) #:use-module (gnu packages gl) #:use-module (gnu packages libedit) + #:use-module (gnu packages commencement) #:use-module (srfi srfi-1) #:use-module (ice-9 match)) @@ -371,14 +373,14 @@ mashups, office (web agendas, mail clients, ...), etc.") (define-public chicken (package (name "chicken") - (version "5.0.0") + (version "5.1.0") (source (origin (method url-fetch) (uri (string-append "https://code.call-cc.org/releases/" version "/chicken-" version ".tar.gz")) (sha256 (base32 - "15b5yrzfa8aimzba79x7v6y282f898rxqxfxrr446sjx9jwlpfd8")))) + "0jsbp3kp0134f318j3wpd1n85gf8qzh034fn198gvazsv2l024aw")))) (build-system gnu-build-system) (arguments `(#:modules ((guix build gnu-build-system) @@ -401,6 +403,7 @@ mashups, office (web agendas, mail clients, ...), etc.") ;; Parallel builds are not supported, as noted in README. #:parallel-build? #f)) + (propagated-inputs `(("gcc-toolchain", gcc-toolchain))) (home-page "http://www.call-cc.org/") (synopsis "R5RS Scheme implementation that compiles native code via C") (description