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 IGV6LZlByl+VUwAA0tVLHw (envelope-from ) for ; Fri, 04 Dec 2020 14:03:05 +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 eDp0KZlByl+wLwAAB5/wlQ (envelope-from ) for ; Fri, 04 Dec 2020 14:03:05 +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 1CCE0940484 for ; Fri, 4 Dec 2020 14:03:05 +0000 (UTC) Received: from localhost ([::1]:50128 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1klBfr-0005se-TH for larch@yhetil.org; Fri, 04 Dec 2020 09:03:03 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:51378) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kl9sY-0006xO-Rc for bug-guix@gnu.org; Fri, 04 Dec 2020 07:08:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:59943) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kl9sY-0007hl-K1 for bug-guix@gnu.org; Fri, 04 Dec 2020 07:08:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kl9sY-00086C-EF for bug-guix@gnu.org; Fri, 04 Dec 2020 07:08: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 12:08: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.160708362531062 (code B ref 42771); Fri, 04 Dec 2020 12:08:02 +0000 Received: (at 42771) by debbugs.gnu.org; 4 Dec 2020 12:07:05 +0000 Received: from localhost ([127.0.0.1]:43256 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kl9rZ-00084b-Ok for submit@debbugs.gnu.org; Fri, 04 Dec 2020 07:07:05 -0500 Received: from mout01.posteo.de ([185.67.36.65]:43133) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kl9rW-00084M-Q2 for 42771@debbugs.gnu.org; Fri, 04 Dec 2020 07:07:00 -0500 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id 7427916005C for <42771@debbugs.gnu.org>; Fri, 4 Dec 2020 13:06:52 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.de; s=2017; t=1607083612; bh=tJHVVZcy8ki7ALGsCD/HBr8VeTErUMw7y92omNq9CPA=; h=From:Subject:Date:To:From; b=E/5GXSHziiLSCsLKkduESk63+b7V5sPoPEwFtf63kKat68J+VyKZp1HxD4YwB2gH4 Q4ty4e5Kap1nYUcVctyZBHz4tz13fe5pXUnHgyLgAJI2vitvfxbpJlE/HdXVa90ja6 YfTjHjmflQ9SyaaS1h08vBMba1xWvL/hMczlXO/VCfnaCufIfOFeJePcZMKWBh4JoM 4dBcHi1RETCE2YpnvTQyXpAvOTe4ClB2xJgxJdFPU6PklQvryLbaETMUj8W+jj8zRG gf7z6OFlboDK1rwlGaxX4mgd4Z3pD2elCKMUuhpWBsyIaVDPYvPNT+0fWPcSrI/TKD cfDUy35/Hr3zQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4CnWf366GKz9rxP for <42771@debbugs.gnu.org>; Fri, 4 Dec 2020 13:06:51 +0100 (CET) From: Holger Peters Content-Type: multipart/alternative; boundary="Apple-Mail=_FEE3DF9E-73C1-4B4F-B871-EAA8BAB6FCB9" Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.4\)) Date: Fri, 4 Dec 2020 13:06:50 +0100 References: <20201128220944.520616-1-holger.peters@posteo.de> In-Reply-To: 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:35 -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.31 Authentication-Results: aspmx1.migadu.com; dkim=fail (headers rsa verify failed) header.d=posteo.de header.s=2017 header.b=E/5GXSHz; 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: 1CCE0940484 X-Spam-Score: 0.31 X-Migadu-Scanner: ns3122888.ip-94-23-21.eu X-TUID: qAWkAOjunsjj --Apple-Mail=_FEE3DF9E-73C1-4B4F-B871-EAA8BAB6FCB9 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Update: Better upstream reference, I will try to include a patch. > Am 04.12.2020 um 12:34 schrieb Holger Peters = : >=20 > 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. >=20 >> 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 >=20 --Apple-Mail=_FEE3DF9E-73C1-4B4F-B871-EAA8BAB6FCB9 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=us-ascii Update: Better upstream reference, I will try to include a = patch.



Am 04.12.2020 um 12:34 schrieb Holger Peters <holger.peters@posteo.de>:

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=_FEE3DF9E-73C1-4B4F-B871-EAA8BAB6FCB9--