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 GrcXGP8wEWAjEQAA0tVLHw (envelope-from ) for ; Wed, 27 Jan 2021 09:23:11 +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 uDBtE/8wEWC8GwAAB5/wlQ (envelope-from ) for ; Wed, 27 Jan 2021 09:23:11 +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 84DFE9404CE for ; Wed, 27 Jan 2021 09:23:10 +0000 (UTC) Received: from localhost ([::1]:58102 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l4h2b-0000cq-8L for larch@yhetil.org; Wed, 27 Jan 2021 04:23:09 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:50638) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l4h2U-0000cX-JO for guix-patches@gnu.org; Wed, 27 Jan 2021 04:23:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:60458) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1l4h2U-0002aM-CC for guix-patches@gnu.org; Wed, 27 Jan 2021 04:23:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1l4h2U-0002EG-8o for guix-patches@gnu.org; Wed, 27 Jan 2021 04:23:02 -0500 Subject: bug#45977: [PATCH v2 0/2] gnu: guile-redis: Update to 2.0.0. Resent-From: Efraim Flashner Original-Sender: "Debbugs-submit" Resent-To: guix-patches@gnu.org Resent-Date: Wed, 27 Jan 2021 09:23:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 45977 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: BonfaceKilz Mail-Followup-To: 45977@debbugs.gnu.org, efraim@flashner.co.il, me@bonfacemunyoki.com Received: via spool by 45977-done@debbugs.gnu.org id=D45977.16117393418481 (code D ref 45977); Wed, 27 Jan 2021 09:23:02 +0000 Received: (at 45977-done) by debbugs.gnu.org; 27 Jan 2021 09:22:21 +0000 Received: from localhost ([127.0.0.1]:43769 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l4h1p-0002Ch-1J for submit@debbugs.gnu.org; Wed, 27 Jan 2021 04:22:21 -0500 Received: from flashner.co.il ([178.62.234.194]:37706) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l4h1n-0002CT-4Q for 45977-done@debbugs.gnu.org; Wed, 27 Jan 2021 04:22:19 -0500 Received: from localhost (unknown [31.210.181.184]) by flashner.co.il (Postfix) with ESMTPSA id 137FE4018B; Wed, 27 Jan 2021 09:22:13 +0000 (UTC) Date: Wed, 27 Jan 2021 11:21:37 +0200 From: Efraim Flashner Message-ID: References: <20210126104233.21674-1-me@bonfacemunyoki.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="e8GGVYEH4RNuz7Sz" Content-Disposition: inline In-Reply-To: <20210126104233.21674-1-me@bonfacemunyoki.com> X-PGP-Key-ID: 0x41AAE7DCCA3D8351 X-PGP-Key: https://flashner.co.il/~efraim/efraim_flashner.asc X-PGP-Fingerprint: A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: 45977-done@debbugs.gnu.org Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -3.95 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 84DFE9404CE X-Spam-Score: -3.95 X-Migadu-Scanner: scn1.migadu.com X-TUID: 500IaS6BGGnh --e8GGVYEH4RNuz7Sz Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Jan 26, 2021 at 01:42:31PM +0300, BonfaceKilz wrote: > Hi! For this patch, I've downgraded guile2.0-redis back to 1.3.0. The pro= blem > with with trying to build v2.0.0 on guile2.0 is that libs like (ice-9 > textual-ports) were not yet present; but are used in v2.0 of > guile-redis. Here's what I have when I get into a guile2.0 repl: I dug into it a bit more and it looks like (redis utils) imports (ice-9 textual-imports) only for the put-string function. If I remove the import then guile2.0-redis compiles just fine, but I wasn't sure if there was a good test for it. (ins)efraim@3900XT ~$ guix environment --ad-hoc guile@2.0 -- guile ;;; WARNING: loading compiled file /home/efraim/.guix-profile/lib/guile/3.0= /site-ccache/ice-9/readline.go failed: ;;; ERROR: In procedure make_objcode_from_file: bad header on object file: = "\x7fELF\x02\x01\x01=EF=BF=BD\x00\x00\x00\x00\x00\x00\x00\x00" ;;; WARNING: loading compiled file /run/current-system/profile/lib/guile/3.= 0/site-ccache/ice-9/readline.go failed: ;;; ERROR: In procedure make_objcode_from_file: bad header on object file: = "\x7fELF\x02\x01\x01=EF=BF=BD\x00\x00\x00\x00\x00\x00\x00\x00" Consider installing the 'guile-readline' package for convenient interactive line editing and input history. ;;; WARNING: loading compiled file /home/efraim/.guix-profile/lib/guile/3.0= /site-ccache/ice-9/colorized.go failed: ;;; ERROR: In procedure make_objcode_from_file: bad header on object file: = "\x7fELF\x02\x01\x01=EF=BF=BD\x00\x00\x00\x00\x00\x00\x00\x00" ;;; WARNING: loading compiled file /run/current-system/profile/lib/guile/3.= 0/site-ccache/ice-9/colorized.go failed: ;;; ERROR: In procedure make_objcode_from_file: bad header on object file: = "\x7fELF\x02\x01\x01=EF=BF=BD\x00\x00\x00\x00\x00\x00\x00\x00" GNU Guile 2.0.14 Copyright (C) 1995-2016 Free Software Foundation, Inc. Guile comes with ABSOLUTELY NO WARRANTY; for details type `,show w'. This program is free software, and you are welcome to redistribute it under certain conditions; type `,show c' for details. Enter `,help' for help. scheme@(guile-user)> (put-string "abcde" %current-output-port) ;;; :1:0: warning: possibly unbound variable `put-string' ;;; :1:0: warning: possibly unbound variable `%current-output-port' :1:0: In procedure #:1:0 ()>: :1:0: In procedure module-lookup: Unbound variable: put-string Entering a new prompt. Type `,bt' for a backtrace or `,q' to continue. scheme@(guile-user) [1]> ,q scheme@(guile-user)> (use-modules (rnrs io ports)) scheme@(guile-user)> (put-string "abcde" %current-output-port) ;;; :4:0: warning: possibly unbound variable `%current-output-port' :4:12: In procedure #:4:0 ()>: :4:12: In procedure module-lookup: Unbound variable: %current= -output-port Entering a new prompt. Type `,bt' for a backtrace or `,q' to continue. Ignoring the errors about %current-output-port, in guile2.0 put-string is in (rnrs io ports), so it looks like it's safe to substitute (ice-9 textual-ports) for (rnrs io ports) in guile2.0-redis. So I made that change and dropped your second patch. If someone mentions that guile2.0-redis@2.0.0 is broken we can revisit :) > #+begin_src=20 > =E2=9E=9C guix git:(master) =E2=9C=97 guix environment -C --ad-hoc guile= @2.0.14 -- guile > The following derivation will be built: > /gnu/store/f6pxq82f7ifzxmlaba72x0mn9rqfdf8b-profile.drv > The following profile hooks will be built: > /gnu/store/3ghqadnzhddgcf8nljfzjrkyzvizn61m-manual-database.drv > /gnu/store/4p7wnbk6bh9g6q1wlb48zmf09rlnwdxl-info-dir.drv > /gnu/store/4q08ispks919baxrvp5g7wyipn1n98lc-fonts-dir.drv > /gnu/store/f15hk17knzla3wzhmfyx61lwih1g5mjq-ca-certificate-bundle.drv > building CA certificate bundle... > building fonts directory... > building directory of Info manuals... > building database for manual pages... > building profile with 1 package... > GNU Guile 2.0.14 > Copyright (C) 1995-2016 Free Software Foundation, Inc. >=20 > Guile comes with ABSOLUTELY NO WARRANTY; for details type `,show w'. > This program is free software, and you are welcome to redistribute it > under certain conditions; type `,show c' for details. >=20 > Enter `,help' for help. > scheme@(guile-user)> ,use (ice-9 textual-ports) > While executing meta-command: > ERROR: no code for module (ice-9 textual-ports) > scheme@(guile-user)>=20 > #+end_src >=20 > In this patch set, I've downgraded the guile2.0-redis version to 1.3.0. >=20 > BonfaceKilz (2): > gnu: guile-redis: Update to 2.0.0. > gnu: guile2.0-redis: Revert to 1.3.0. >=20 > gnu/packages/guile-xyz.scm | 15 +++++++++++++-- > 1 file changed, 13 insertions(+), 2 deletions(-) >=20 > --=20 > 2.29.2 >=20 --=20 Efraim Flashner =D7=90=D7=A4=D7=A8=D7=99=D7=9D = =D7=A4=D7=9C=D7=A9=D7=A0=D7=A8 GPG key =3D A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted --e8GGVYEH4RNuz7Sz Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAmARMKEACgkQQarn3Mo9 g1GO9Q//WBoA8VRDCdf1dzSHUFTGBLJimydegFT+Y37GhqjP2lHhALKDsNgiKGPR JpUKoiPjbXCeVFSFTQRqm9rsdNr9f9xAHRj1pRAe7ykHVpnXytm5LXwBUoFQ2Hz8 tQqSsQEzZ4sOuF5YH/tqUMg865KDy6E8rpvit4EvqNd+IbZg+pvo+hC8ihNsKk8F /IzgyAKaJ+ty6SD5yC3lCYYlpdzuHAZbH35p0msw+TYepq4dQlEaeCSyVekPjML/ HNlJ01W4/qSRvzu52X5PSsX17UmM0a7ka4Ft9ZDmADaT+DbOIuiL8MKqFuIFlyGf McgHbks6OjFRsx7ewlb2A3BKrFb41xSksPvklj83N2NZbVGmXmQDzLjmsHyIVoJ1 kFkb9O1ZmP0fqms9yQhZbP0t4OuhMMzHwWW3jhRjgyJG6SwCdlLs/bWUsKmJWay5 9cBU7eYJO0zBWhAZ5GjHnHXuyvNp3DbeuLnQYug7kpYLc1ahLyfMMRl3zpJQzTU2 9KdzIol1ZeZiwIHIcjYcnMGnNWFh/7qpnOKzcvP/m4Hy2kOup8O3lMc4djED1lY/ yl3R9VIpEXgH1yabMHCZPUTkYhJRzZLfkSn8M6mJyjeHpXgDxg1Tsu8UmbKtTq3+ lo+BMQsWQuGa07uc5xaT5zJDrP38T+kbDDdTG7fjL+MNioTmJQE= =u7Lh -----END PGP SIGNATURE----- --e8GGVYEH4RNuz7Sz--