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 ms11 with LMTPS id yBHeEOuaw1/xUwAA0tVLHw (envelope-from ) for ; Sun, 29 Nov 2020 12:58:19 +0000 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 MP6wDOuaw1+CXwAAB5/wlQ (envelope-from ) for ; Sun, 29 Nov 2020 12:58:19 +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 77C9A9401BF for ; Sun, 29 Nov 2020 12:58:18 +0000 (UTC) Received: from localhost ([::1]:59728 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kjMHQ-00053L-86 for larch@yhetil.org; Sun, 29 Nov 2020 07:58:16 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:60326) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kjIJN-0005tF-V9 for bug-guix@gnu.org; Sun, 29 Nov 2020 03:44:01 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:38082) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kjIJN-00031n-O1 for bug-guix@gnu.org; Sun, 29 Nov 2020 03:44:01 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kjIJN-0002cZ-MJ for bug-guix@gnu.org; Sun, 29 Nov 2020 03:44:01 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#42771: [PATCH] Disable tests for smalltalk and add candidate releases References: <87sgcxc6lh.fsf@rohleder.de> In-Reply-To: <87sgcxc6lh.fsf@rohleder.de> Resent-From: Holger Peters Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sun, 29 Nov 2020 08:44:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 42771 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 42771@debbugs.gnu.org Received: via spool by 42771-submit@debbugs.gnu.org id=B42771.160663943510052 (code B ref 42771); Sun, 29 Nov 2020 08:44:01 +0000 Received: (at 42771) by debbugs.gnu.org; 29 Nov 2020 08:43:55 +0000 Received: from localhost ([127.0.0.1]:49628 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kjIJA-0002bx-VK for submit@debbugs.gnu.org; Sun, 29 Nov 2020 03:43:55 -0500 Received: from mout01.posteo.de ([185.67.36.65]:41838) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kjIJ6-0002be-6M for 42771@debbugs.gnu.org; Sun, 29 Nov 2020 03:43:47 -0500 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id 99E2E160062 for <42771@debbugs.gnu.org>; Sun, 29 Nov 2020 09:43:37 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.de; s=2017; t=1606639417; bh=bV3jR1O+mdq1n5VggIEiv8oYRvmlI7hAYBJuB1jd4Mg=; h=From:To:Cc:Subject:Date:From; b=L6lXE1DFPyftb2zYu24eil0mdR8rJ7wqFg6iJ/EF7bJu/eP7T4r+q6wPRD/CcsOdl afsKNy3t+1A3VKbJftQar4MnhVajW6WP//JFUUYvS+6o/hle9ekH0fa2P8EagisGtI xxZzb7xBUmFfNxRpN1w5fXi98whQQTQZ2UAVga5cY96pBlDSKnQsDEjcFAzdVjQ7aR wRSrDt4un/r0BrLpXLcS0hDQZzz6OaEcmuVWIi0V1iguM94TBc2Ijp9/Spuyn1U3t6 lbxSGdcd4rmRoWEFlVnqQw6GwNrRIfVUBXAEil1PsSLvSdEE/VXtppTEjj70C0g3mP YH97lwqjj8Qfw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4CkMMs0ffRz6tmM; Sun, 29 Nov 2020 09:43:36 +0100 (CET) From: Holger Peters Date: Sun, 29 Nov 2020 09:43:28 +0100 Message-Id: <20201129084328.545720-1-holger.peters@posteo.de> X-Mailer: git-send-email 2.28.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.6 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: 0.7 (/) X-Mailman-Approved-At: Sun, 29 Nov 2020 07:58:08 -0500 X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Holger Peters Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -0.18 X-Scanner: ns3122888.ip-94-23-21.eu Authentication-Results: aspmx1.migadu.com; dkim=fail (headers rsa verify failed) header.d=posteo.de header.s=2017 header.b=L6lXE1DF; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.de (policy=none); spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-TUID: FosxMeocTMUg * gnu/packages/smalltalk.scm (smalltalk): disable tests (smalltalk-next): New variable. (smalltalk-next-from-vcs): New variable. --- gnu/packages/smalltalk.scm | 64 +++++++++++++++++++++++++++++++++++++- 1 file changed, 63 insertions(+), 1 deletion(-) diff --git a/gnu/packages/smalltalk.scm b/gnu/packages/smalltalk.scm index 5d35f563e2..7136751a81 100644 --- a/gnu/packages/smalltalk.scm +++ b/gnu/packages/smalltalk.scm @@ -4,6 +4,7 @@ ;;; Copyright © 2016 Nicolas Goaziou ;;; Copyright © 2016 Ludovic Courtès ;;; Copyright © 2018 Tobias Geerinckx-Rice +;;; Copyright © 2020 Holger Peters ;;; ;;; This file is part of GNU Guix. ;;; @@ -24,20 +25,26 @@ #:use-module ((guix licenses) #:prefix license:) #:use-module (guix packages) #:use-module (guix download) + #:use-module (guix git-download) #:use-module (guix build-system cmake) #:use-module (guix build-system gnu) #:use-module (gnu packages audio) #:use-module (gnu packages autotools) #:use-module (gnu packages base) + #:use-module (gnu packages bison) #:use-module (gnu packages compression) + #:use-module (gnu packages flex) #:use-module (gnu packages fontutils) + #:use-module (gnu packages gettext) #:use-module (gnu packages gl) #:use-module (gnu packages glib) #:use-module (gnu packages libffi) #:use-module (gnu packages libsigsegv) #:use-module (gnu packages linux) + #:use-module (gnu packages perl) #:use-module (gnu packages pkg-config) #:use-module (gnu packages pulseaudio) + #:use-module (gnu packages texinfo) #:use-module (gnu packages xorg)) (define-public smalltalk @@ -61,7 +68,8 @@ (inputs `(("zip" ,zip))) (arguments - `(#:phases + `(#:tests? #f ; failing tests, 3.2.5 has been released years ago + #:phases (modify-phases %standard-phases (add-before 'configure 'fix-libc (lambda _ @@ -145,3 +153,57 @@ also includes a customisable framework for creating dynamic HTTP servers and interactively extensible Web sites.") (home-page "http://squeakvm.org/") (license license:x11))) + +;;; alpha release +(define-public smalltalk-next + (package (inherit smalltalk) + (name "smalltalk-next") + (version "3.2.91") + (source + (origin + (method url-fetch) + (uri (string-append "https://alpha.gnu.org/gnu/smalltalk/smalltalk-" + version ".tar.xz")) + (sha256 + (base32 "1zb2h5cbz1cwybqjl24lflw359lwj7sjvvhwb4x6miypzhwq4qh0")))))) + +;;; This version from the main development branch can be built with passing +;;; tests +(define-public smalltalk-next-from-vcs + (let ((revision "18") + (commit "dfe4b5660037c4d178853ee00458a75e51a88563") + (git-url "git://git.sv.gnu.org/smalltalk.git")) + (package (inherit smalltalk) + (name "smalltalk-next-from-vcs") + (version (git-version "3.2.91" revision commit)) + (source (origin + (method git-fetch) + (uri (git-reference + (url git-url) + (commit commit))) + (file-name (git-file-name name version)) + (sha256 (base32 "11dm1qricq7fwn1gfyn9ik7f1axw7l3ivipsh11dywa42pmb5j2r")))) + (native-inputs + `(("autoconf" ,autoconf) + ("automake" ,automake) + ("libtool" ,libtool) + ("flex" ,flex) + ("texinfo" ,texinfo) + ("perl" ,perl) + ("gettext" ,gettext-minimal) + ("libffi" ,libffi) + ("libltdl" ,libltdl) + ("bison" ,bison) + ("libsigsegv" ,libsigsegv) + ("pkg-config" ,pkg-config))) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-before 'configure 'fix-libc + (lambda _ + (let ((libc (assoc-ref %build-inputs "libc"))) + (substitute* "libc.la.in" + (("@LIBC_SO_NAME@") "libc.so") + (("@LIBC_SO_DIR@") (string-append libc "/lib")))) + #t)))))))) + -- 2.28.0