From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id GERTBRZCyl/QWQAA0tVLHw (envelope-from ) for ; Fri, 04 Dec 2020 14:05:10 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id UBNBARZCyl+lAQAA1q6Kng (envelope-from ) for ; Fri, 04 Dec 2020 14:05:10 +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 445369400D3 for ; Fri, 4 Dec 2020 14:05:09 +0000 (UTC) Received: from localhost ([::1]:54794 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1klBhr-0007sg-MB for larch@yhetil.org; Fri, 04 Dec 2020 09:05:07 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:44466) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kl9Na-0002ZP-Ma for bug-guix@gnu.org; Fri, 04 Dec 2020 06:36:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:59779) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kl9Na-0003h9-D0 for bug-guix@gnu.org; Fri, 04 Dec 2020 06:36:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kl9Na-0002vR-AR for bug-guix@gnu.org; Fri, 04 Dec 2020 06:36:02 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#42771: [PATCH] Disable tests for smalltalk and add candidate releases Resent-From: Holger Peters Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Fri, 04 Dec 2020 11:36: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.160708170911178 (code B ref 42771); Fri, 04 Dec 2020 11:36:02 +0000 Received: (at 42771) by debbugs.gnu.org; 4 Dec 2020 11:35:09 +0000 Received: from localhost ([127.0.0.1]:43092 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kl9Mf-0002u9-Ly for submit@debbugs.gnu.org; Fri, 04 Dec 2020 06:35:09 -0500 Received: from mout02.posteo.de ([185.67.36.66]:60353) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kl9Mc-0002tO-Pi for 42771@debbugs.gnu.org; Fri, 04 Dec 2020 06:35:04 -0500 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id 3D2112400FC for <42771@debbugs.gnu.org>; Fri, 4 Dec 2020 12:34:56 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.de; s=2017; t=1607081696; bh=sQMThkdyrRUjqBcDSVdpoYlI1ocYFLTMHrXqKBe9gMM=; h=From:Subject:Date:To:From; b=PITdkumhsDVTgFdEANyxpHg+79ELv+aOZRPZVTyCdo4kdnu4UQEvWd6Na9bZ9P5kn 4bg04CUKHZjlqb8jHSxbDmT6oARCsCYei80fKJKNKcu0gugSpf29/0kCLduTx26j5+ Wk5wnWO5Fy+D8vPzxZvIELs5yxEooieKwI5qnaV7fhFNoROy03RrHEFe8bQFXALNRe ihLe8fUldtFFKI7RMlL17J72ExSRcssfmCgCcfRo2FukxwR1x6ZR3nfguf+aBL12ms dPRu1gSa+j8QbVe3nXU5DCJ548z9jO1PRfKNIrnRX0LQT8qnUOBJhGCf6KNR6oLrfz oonVy33WitWig== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4CnVxC4gd2z6tm6 for <42771@debbugs.gnu.org>; Fri, 4 Dec 2020 12:34:55 +0100 (CET) From: Holger Peters Content-Type: multipart/alternative; boundary="Apple-Mail=_2FD9B7D6-7701-40A2-9908-2728F92C7A9C" Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.4\)) Date: Fri, 4 Dec 2020 12:34:54 +0100 References: <20201128220944.520616-1-holger.peters@posteo.de> In-Reply-To: <20201128220944.520616-1-holger.peters@posteo.de> Message-Id: X-Mailer: Apple Mail (2.3608.120.23.2.4) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Mailman-Approved-At: Fri, 04 Dec 2020 09:02:33 -0500 X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -0.69 Authentication-Results: aspmx1.migadu.com; dkim=fail (headers rsa verify failed) header.d=posteo.de header.s=2017 header.b=PITdkumh; 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-Migadu-Queue-Id: 445369400D3 X-Spam-Score: -0.69 X-Migadu-Scanner: ns3122888.ip-94-23-21.eu X-TUID: OSmM5ujtTqHH --Apple-Mail=_2FD9B7D6-7701-40A2-9908-2728F92C7A9C Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Investigating the test failures, I found = https://lists.gnu.org/archive/html/help-smalltalk/2015-02/msg00001.html = = which is the reference in gnu smalltalk mailinglists that matches the = observed test failures when I build on my machine. > Am 28.11.2020 um 23:09 schrieb Holger Peters = : >=20 > 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. >=20 > * 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(-) >=20 > 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)) >=20 > (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)))))))) > + > --=20 > 2.28.0 >=20 --Apple-Mail=_2FD9B7D6-7701-40A2-9908-2728F92C7A9C Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=us-ascii Investigating the test failures, I found https://lists.gnu.org/archive/html/help-smalltalk/2015-02/msg00= 001.html which is the reference in gnu smalltalk mailinglists = that matches the observed test failures when I build on my machine.

Am 28.11.2020 um 23:09 schrieb Holger Peters <holger.peters@posteo.de>:

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-"
+ =             &n= bsp;           &nbs= p; 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
+ =             &n= bsp;  (method git-fetch)
+ =             &n= bsp;  (uri (git-reference
+ =             &n= bsp;        (url git-url)
+ =             &n= bsp;        (commit commit)))
+ =             &n= bsp;  (file-name (git-file-name name version))
+ =             &n= bsp;  (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
+ =             (l= ambda _
+ =             &n= bsp; (let ((libc (assoc-ref %build-inputs "libc")))
+ =             &n= bsp;   (substitute* "libc.la.in"
+ =             &n= bsp;     (("@LIBC_SO_NAME@") "libc.so")
+ =             &n= bsp;     (("@LIBC_SO_DIR@") =  (string-append libc "/lib"))))
+ =             &n= bsp; #t))))))))
+
--
2.28.0


= --Apple-Mail=_2FD9B7D6-7701-40A2-9908-2728F92C7A9C--