From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id 4AqYO5/Owl/WKgAA0tVLHw (envelope-from ) for ; Sat, 28 Nov 2020 22:26:39 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id QClVN5/Owl+0PQAAbx9fmQ (envelope-from ) for ; Sat, 28 Nov 2020 22:26:39 +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 7422F9404C6 for ; Sat, 28 Nov 2020 22:26:39 +0000 (UTC) Received: from localhost ([::1]:39762 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kj8fu-0001zo-EJ for larch@yhetil.org; Sat, 28 Nov 2020 17:26:38 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:38172) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kj8Ti-0006Vk-Uk for bug-guix@gnu.org; Sat, 28 Nov 2020 17:14:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:37746) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kj8Ti-0000Ro-NK for bug-guix@gnu.org; Sat, 28 Nov 2020 17:14:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kj8Ti-0005YH-G8 for bug-guix@gnu.org; Sat, 28 Nov 2020 17:14:02 -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: Sat, 28 Nov 2020 22:14:02 +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.160660158821264 (code B ref 42771); Sat, 28 Nov 2020 22:14:02 +0000 Received: (at 42771) by debbugs.gnu.org; 28 Nov 2020 22:13:08 +0000 Received: from localhost ([127.0.0.1]:49291 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kj8Sn-0005Wq-Gh for submit@debbugs.gnu.org; Sat, 28 Nov 2020 17:13:08 -0500 Received: from mout01.posteo.de ([185.67.36.65]:52616) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kj8Sj-0005WJ-2z for 42771@debbugs.gnu.org; Sat, 28 Nov 2020 17:13:04 -0500 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id 8FDFD16005F for <42771@debbugs.gnu.org>; Sat, 28 Nov 2020 23:12:54 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.de; s=2017; t=1606601574; bh=QXX7DwzOIRP6my4qwJXNNS3ryMMnn5t6be3WVTaPnFo=; h=From:To:Cc:Subject:Date:From; b=bprglo+Lt2MY8/Nx/kQAtVa5zz5V6KG3fvYI9EoUhr6z7/AlghH/Uw/AobDUK++OK 714VG99B9I9FniFZpmaWmAiGIFwFx6k/Hi/VO+csA27BCwM0Joij8XjLfHYIcpM673 +KQ7yu2LNC1EastewP02oAk2wy1U/BHxBT3tmvBzzZY9KcjflHJ7tCgyDSsSzJ982N wF9OBGBqZq9ZNudhn40OCtOF2yg4AJwsTxdnO8tA65dl5zs2a2GhdW76Dz6sYk1CWL bBT8tb1eP8n/Nbg/FiRpZqXX7IgRLFUwWwqz/mL1nCbNo4rOeZzSEBZM1Fmz1cixGC 3CYd8AbdAJmTA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Ck5N55tDPz9rxB; Sat, 28 Nov 2020 23:12:53 +0100 (CET) From: Holger Peters Date: Sat, 28 Nov 2020 23:09:45 +0100 Message-Id: <20201128220944.520616-1-holger.peters@posteo.de> X-Mailer: git-send-email 2.28.0 MIME-Version: 1.0 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: -1.6 (-) X-Mailman-Approved-At: Sat, 28 Nov 2020 17:26:28 -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: zelphirkaltstahl@posteo.de, Holger Peters Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: 3.83 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=bprglo+L; 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: aF7PpB/wH6WK Last stable GNU smalltalk release dates back to 2013-04-08. Disabled tests as they were also failing for my non-guix build. Also added the latest alpha release as `smalltalk-next` and a build from vcs where we actually pass the tests. * gnu/packages/ruby.scm (smalltalk): Disable tests (smalltalk-next): New variable. (smalltalk-next-from-vcs): New variable. --- gnu/packages/smalltalk.scm | 63 +++++++++++++++++++++++++++++++++++++- 1 file changed, 62 insertions(+), 1 deletion(-) diff --git a/gnu/packages/smalltalk.scm b/gnu/packages/smalltalk.scm index 5d35f563e2..c96f4b1730 100644 --- a/gnu/packages/smalltalk.scm +++ b/gnu/packages/smalltalk.scm @@ -24,20 +24,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 +67,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 +152,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