GNU bug report logs - #72582
[PATCH 0/2] gnu: racket: Update to 8.14.

Previous Next

Package: guix-patches;

Reported by: Philip McGrath <philip <at> philipmcgrath.com>

Date: Sun, 11 Aug 2024 20:38:02 UTC

Severity: normal

Tags: patch

Merged with 72742

Done: Christopher Baines <mail <at> cbaines.net>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 72582 in the body.
You can then email your comments to 72582 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to philip <at> philipmcgrath.com, guix-patches <at> gnu.org:
bug#72582; Package guix-patches. (Sun, 11 Aug 2024 20:38:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Philip McGrath <philip <at> philipmcgrath.com>:
New bug report received and forwarded. Copy sent to philip <at> philipmcgrath.com, guix-patches <at> gnu.org. (Sun, 11 Aug 2024 20:38:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Philip McGrath <philip <at> philipmcgrath.com>
To: guix-patches <at> gnu.org
Subject: [PATCH 0/2] gnu: racket: Update to 8.14.
Date: Sun, 11 Aug 2024 16:37:04 -0400
Hi,

The first patch here updates Racket to 8.14.

Efraim, the second patch is the reason I'm CC'ing you in particular: I hadn't
noticed your commit 0c96f7932de50c81f4b4714f287520699107c8bb until now. The
native trv64le backend is definitely supported for riscv64-linux (it is
working in the Debian packaging, for example [1]), so whatever problem you
encountered is almost certainly a bug either in the Guix packaging or in some
unusual pathway of Racket's build scripts that we're excercising. Do you have
any details about the error you got? Does it still happen with the proposed
revert? Unfortunately I don't have riscv64 hardware myself.

Thanks,
Philip

[1]: https://buildd.debian.org/status/fetch.php?pkg=racket&arch=riscv64&ver=8.13%2Bdfsg1-2&stamp=1718018079&raw=0

Philip McGrath (2):
  gnu: racket: Update to 8.14.
  Revert "gnu: chez-scheme-for-racket: Fix building on riscv64-linux."

 gnu/packages/chez.scm   |  7 +++----
 gnu/packages/racket.scm | 32 ++++++++++++++++----------------
 2 files changed, 19 insertions(+), 20 deletions(-)


base-commit: de714bcb46d61922e0efc10783ea23fb0202f583
-- 
2.45.2





Information forwarded to philip <at> philipmcgrath.com, guix-patches <at> gnu.org:
bug#72582; Package guix-patches. (Sun, 11 Aug 2024 21:40:01 GMT) Full text and rfc822 format available.

Message #8 received at 72582 <at> debbugs.gnu.org (full text, mbox):

From: Philip McGrath <philip <at> philipmcgrath.com>
To: 72582 <at> debbugs.gnu.org
Cc: Philip McGrath <philip <at> philipmcgrath.com>,
 Efraim Flashner <efraim <at> flashner.co.il>
Subject: [PATCH 1/2] gnu: racket: Update to 8.14.
Date: Sun, 11 Aug 2024 17:38:41 -0400
* gnu/packages/racket.scm (%racket-version): Update to 8.14.
(racket)[inputs]<compatibility, db, drracket, gui, htdp, math>
<parser-tools, rackunit, redex, scribble, snip, typed-racket>
<string-constants, web-server>: Update hashes.
* gnu/packages/chez.scm (chez-scheme-for-racket): Fix comment.

Change-Id: I1bcfd8b4db178e42b200077ab909af37907264d0
---
 gnu/packages/chez.scm   |  2 +-
 gnu/packages/racket.scm | 32 ++++++++++++++++----------------
 2 files changed, 17 insertions(+), 17 deletions(-)

diff --git a/gnu/packages/chez.scm b/gnu/packages/chez.scm
index 47edc56e87..aa081f1677 100644
--- a/gnu/packages/chez.scm
+++ b/gnu/packages/chez.scm
@@ -296,7 +296,7 @@ (define chez-configure
 (define-public chez-scheme-for-racket
   (package
     (name "chez-scheme-for-racket")
-    ;; The version should match `(scheme-version-number #t)`.
+    ;; The version should match `(scheme-version #t)`.
     ;; See s/cmacros.ss c. line 360.
     (version "10.1.0-pre-release.1")
     (source #f)
diff --git a/gnu/packages/racket.scm b/gnu/packages/racket.scm
index f43a314983..3598418e58 100644
--- a/gnu/packages/racket.scm
+++ b/gnu/packages/racket.scm
@@ -201,7 +201,7 @@ (define-module (gnu packages racket)
 ;;
 ;; CODE:
 
-(define %racket-version "8.13") ; Remember to update chez-scheme-for-racket!
+(define %racket-version "8.14") ; Remember to update chez-scheme-for-racket!
 (define %racket-commit
   (string-append "v" %racket-version))
 (define %racket-origin
@@ -211,7 +211,7 @@ (define %racket-origin
           (url "https://github.com/racket/racket")
           (commit %racket-commit)))
     (sha256
-     (base32 "0pf9lmch7bz3gs4dbn2qb7mraxzjfiz50aij9zsli9jc022ybqb9"))
+     (base32 "0hg113fnd4nkvisf0ia9b367h02xfww9kysnb6fc6iac059lpard"))
     (file-name (git-file-name "racket" %racket-version))
     (patches (search-patches "racket-chez-scheme-bin-sh.patch"
                              "racket-rktio-bin-sh.patch"))
@@ -702,7 +702,7 @@ (define-public racket
        "class-iop" (base32 "08z57q83cr7wnh6g8ah3hdhmsmf9zp1jfs7yvxv188l3hzvygy5l")
        '("class-iop-lib"))
       (simple-racket-origin
-       "compatibility" (base32 "0ydx9alrpqg03xcl7zm5qcpx017i554q9ramz69vpwlfy3zdqmdm")
+       "compatibility" (base32 "1fwssnz6himnkb45ngd48ngkh01xl940y0ivdk7kpkpi0qla7glp")
        '("compatibility" "compatibility-doc" "compatibility-lib"))
       (simple-racket-origin
        "contract-profile" (base32 "1xm2z8g0dpv5d9h2sg680vx1a8ix9gbsdpxxb8qv1w7akp73paj3")
@@ -714,7 +714,7 @@ (define-public racket
        "datalog" (base32 "0nf6cy4djpyhfvgpa6yn72apbz9s83gp0qg95pzjd0az4v6qwq1s")
        '(("datalog" ".")))
       (simple-racket-origin
-       "db" (base32 "0xx0k8yw2vb9b4vk2dwjfbpixnmriqsv7kpv3fvfxbwyg42y0db5")
+       "db" (base32 "16jyl0snw2f52mbpzf5rlccwl5cm7bfsiy8mbqlr1slmli84z5yx")
        '("db" "db-doc" "db-lib"))
       (simple-racket-origin
        "deinprogramm" (base32 "05l643h1mc4v7jhs4fq7yi84zl24nk1zx6ld07a6zgn85kik3vzb")
@@ -726,7 +726,7 @@ (define-public racket
        "draw" (base32 "1h7mckay8yjcgmj3r0jkf1csn430gn43n8jl1l956q9gcprlmncl")
        '("draw" "draw-doc" "draw-lib"))
       (simple-racket-origin
-       "drracket" (base32 "155qzbg2jg5kbv580z30z4w1ac3p527ixk0daan86wkgpl0lxnzn")
+       "drracket" (base32 "1r0yjwlv4rb2npc7dprgnfym7l5fn3q0cgfy64115dq43g97hvjq")
        '("drracket"
          "drracket-plugin-lib"
          "drracket-tool"
@@ -760,13 +760,13 @@ (define-public racket
        "games" (base32 "13z7fnbr48s98lmfxc0nbfhbqkd4hphymy2r63hqm783xzn6ylzi")
        '(("games" ".")))
       (simple-racket-origin
-       "gui" (base32 "1vz3h9mwmycl9sbx19dsfkx5sqh71nwv360g80khwyvnsx99fxfs")
+       "gui" (base32 "0hzz5ywmf6hm8sdffj508lf767akdbnv9z4fbzy6q0zy2cgbdsjq")
        '("gui" "gui-doc" "gui-lib" "tex-table"))
       (simple-racket-origin
        "gui-pkg-manager" (base32 "1ji9448d723nklqvycwdswj0ni28sabrncag14f9mx47did5myb5")
        '("gui-pkg-manager-lib"))
       (simple-racket-origin
-       "htdp" (base32 "0z58askwixx0vh99dmpbjvv099hkhykgnlgfs679vxbjcnfwafd6")
+       "htdp" (base32 "0qrj8dk5vmhlvg7w5g6jy0zxsjsm7mz1shkdh01nf4m9x9rwlxhn")
        '("htdp" "htdp-doc" "htdp-lib"))
       (simple-racket-origin
        "html" (base32 "18n1jnjgzfknc8nv8dppi85nb8q08gqdwkg6hfjk08x0p00anx2x")
@@ -790,7 +790,7 @@ (define-public racket
        "make" (base32 "10852fj30bz5r46c3d99s37fkgy5yh44gb01j29sf3kxnhi0g2sa")
        '(("make" ".")))
       (simple-racket-origin
-       "math" (base32 "03ybjcp1w38f539dzsh8qb5cw0mb2hslpyqwbcsqxj3l9vqjlm8y")
+       "math" (base32 "0nldjgzn4aw8n5pw8cj5q3y1ycr9g4vzsxzkyjvd86v9whnyzhcm")
        '("math" "math-doc" "math-lib"))
       (simple-racket-origin
        "mysterx" (base32 "11p9jzrafw0hizhl0cs4sxx7rv281185q8hryic2rpk0kzjdyr48")
@@ -828,7 +828,7 @@ (define-public racket
        "option-contract" (base32 "1914dcxy6qzpg3cpnzdm9lj0kwyw8xdb85mwiamqfkbg0xlyyhpa")
        '("option-contract" "option-contract-doc" "option-contract-lib"))
       (simple-racket-origin
-       "parser-tools" (base32 "1lp7wixmxcnha7cz834xfqqr48c2nldjbn9lng69bihpw01h9zms")
+       "parser-tools" (base32 "0i822p7ik6q03l7mrlf0qb63xdxvx06yl5lg1g1qri5wmi5xj0pb")
        '("parser-tools" "parser-tools-doc" "parser-tools-lib"))
       (simple-racket-origin
        "pconvert" (base32 "00czi0p399mmyrvxyrs5kniizpkqfxyz2ncxqi2jy79a7wk79pb1")
@@ -888,7 +888,7 @@ (define-public racket
        "racklog" (base32 "0fr8xij0sssfnmwn6dfdi4jj3l62f2yj3jrjljv13kaycrfls032")
        '(("racklog" ".")))
       (simple-racket-origin
-       "rackunit" (base32 "18s2rg5y5i68m83z3b81dwv6ixm67iyv3varm9azmnr7di0gflzj")
+       "rackunit" (base32 "1h6734l8bfnh8ipfzad5zdclffq643fh4mw4z28ina93kmw2h9gz")
        '("rackunit"
          "rackunit-doc"
          "rackunit-gui"
@@ -904,7 +904,7 @@ (define-public racket
        "realm" (base32 "0rlvwyd6rpyl0zda4a5p8dp346fvqzc8555dgfnrhliymkxb6x4g")
        '(("realm" ".")))
       (simple-racket-origin
-       "redex" (base32 "083ql7xx7slnpvyr0a8z2wdyib84lh155frjx8gmcisri5895z28")
+       "redex" (base32 "0g8ynsh0xp0nqikygh99azv2ajyccfzm3cq82ywlylqxrrwdaviw")
        '("redex"
          "redex-benchmark"
          "redex-doc"
@@ -919,7 +919,7 @@ (define-public racket
        "scheme-lib" (base32 "0pcf0y8rp4qyjhaz5ww5sr5diq0wpcdfrrnask7zapyklzx1jx8x")
        '(("scheme-lib" ".")))
       (simple-racket-origin
-       "scribble" (base32 "03sgcgq8s0dk2zbn4jm514lx720rdx2pj8plr0sy7j0wnvm3rzsi")
+       "scribble" (base32 "0ag34rq2xfcvx5yz5nq3razfaci0qyi6pd62mxqj2141vwiz6p99")
        '("scribble"
          "scribble-doc"
          "scribble-html-lib"
@@ -948,10 +948,10 @@ (define-public racket
        "slideshow" (base32 "147s7si6lxx6hm84wk2rfplk6wprladl9zni9pdvaxfa25chrabf")
        '("slideshow" "slideshow-doc" "slideshow-exe" "slideshow-lib" "slideshow-plugin"))
       (simple-racket-origin
-       "snip" (base32 "1aikzimkxvdvf81jxacm2zm8xir7nx1j6l6539pywl3xaf3nb2fm")
+       "snip" (base32 "1jpy5728w9bszgsjczlzrjjxsvqlcn4ah6gd3rp0plp8zzk9mq0s")
        '("snip" "snip-lib"))
       (simple-racket-origin
-       "typed-racket" (base32 "1r746jaxi5xxrk2zsn6v7bhb0drnlf7nx1ni0lvf7mvhqw7f97ci")
+       "typed-racket" (base32 "04kq9iwrqvlbd4v52zqdzdhfb4vn7agvllrd227ih6zzw8bxvhz9")
        '("source-syntax"
          "typed-racket"
          "typed-racket-compatibility"
@@ -962,7 +962,7 @@ (define-public racket
        "srfi" (base32 "0z7kchsz9m6cb4qmbznzqs2px45fz1g81amg9zn7n1sa31x3jzch")
        '("srfi" "srfi-doc" "srfi-lib" "srfi-lite-lib"))
       (simple-racket-origin
-       "string-constants" (base32 "0225f1wmq1n9f2x1pg50fssdnd4bpc11q1jgsykwf4ik4fnaa520")
+       "string-constants" (base32 "1fr55s6rmkzzvam33cqnf1hv24v6k3694695p40vf8d77czmiz83")
        '("string-constants" "string-constants-doc" "string-constants-lib"))
       (simple-racket-origin
        "swindle" (base32 "1q8vdxpzczzwdw2mys2caab45yvadmqkixsr29k8pl03n8dsg8j9")
@@ -977,7 +977,7 @@ (define-public racket
        "unix-socket" (base32 "02dfwas5ynbpyz74w9kwb4wgb37y5wys7svrlmir8k0n9ph9vq0y")
        '("unix-socket" "unix-socket-doc" "unix-socket-lib"))
       (simple-racket-origin
-       "web-server" (base32 "0wpsgdz38zxjrs4kazad71dl9y11cvn6jj4fz2maba77021byzyn")
+       "web-server" (base32 "0ry5vwjd06ml9hmspgrwci8c99syx7zhp9sgldmhwwfvf5m1g29d")
        '("web-server" "web-server-doc" "web-server-lib"))
       (simple-racket-origin
        "wxme" (base32 "1qp5gr9gqsakiq3alw6m4yyv5vw4i3hp4y4nhq8vl2nkjmirvn0b")
-- 
2.45.2





Information forwarded to philip <at> philipmcgrath.com, guix-patches <at> gnu.org:
bug#72582; Package guix-patches. (Sun, 11 Aug 2024 21:40:02 GMT) Full text and rfc822 format available.

Message #11 received at 72582 <at> debbugs.gnu.org (full text, mbox):

From: Philip McGrath <philip <at> philipmcgrath.com>
To: 72582 <at> debbugs.gnu.org
Cc: Philip McGrath <philip <at> philipmcgrath.com>,
 Efraim Flashner <efraim <at> flashner.co.il>
Subject: [PATCH 2/2] Revert "gnu: chez-scheme-for-racket: Fix building on
 riscv64-linux."
Date: Sun, 11 Aug 2024 17:38:42 -0400
Native code generation for riscv64-linux is supported:
this commit masked a bug somewhere in our packaging or the build
modes we're using.

This reverts commit 0c96f7932de50c81f4b4714f287520699107c8bb.
---
 gnu/packages/chez.scm | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/chez.scm b/gnu/packages/chez.scm
index aa081f1677..0874a9a817 100644
--- a/gnu/packages/chez.scm
+++ b/gnu/packages/chez.scm
@@ -130,9 +130,8 @@ (define* (target-chez-arch #:optional (system
     #f)
    ((target-ppc32? system)
     "ppc32")
-   ;; This is apparently not ready in chez-scheme-for-racket.
-   ;((target-riscv64? system)
-   ; "rv64")
+   ((target-riscv64? system)
+    "rv64")
    ((string-prefix? "loongarch64-" system)
     "la64")
    (else
-- 
2.45.2





Merged 72582 72742. Request was from "Philip McGrath" <philip <at> philipmcgrath.com> to control <at> debbugs.gnu.org. (Wed, 21 Aug 2024 01:35:02 GMT) Full text and rfc822 format available.

Information forwarded to guix-patches <at> gnu.org:
bug#72582; Package guix-patches. (Wed, 21 Aug 2024 01:41:01 GMT) Full text and rfc822 format available.

Message #16 received at 72582 <at> debbugs.gnu.org (full text, mbox):

From: "Philip McGrath" <philip <at> philipmcgrath.com>
To: ashish.is <at> lostca.se, 72742 <at> debbugs.gnu.org, 72582 <at> debbugs.gnu.org
Cc: Ludovic Courtès <ludo <at> gnu.org>,
 Efraim Flashner <efraim <at> flashner.co.il>,
 Liliana Marie Prikler <liliana.prikler <at> gmail.com>
Subject: Re: [bug#72742] [PATCH] gnu: racket: Update to 8.14.
Date: Tue, 20 Aug 2024 21:39:00 -0400
Hi Ashish,

On Tue, Aug 20, 2024, at 8:54 PM, ashish.is <at> lostca.se wrote:
> From: Ashish SHUKLA <ashish.is <at> lostca.se>
>
> * gnu/packages/racket.scm (%racket-version): Update to 8.14.
> (racket)[inputs]<compatibility, db, drracket, gui, htdp, math>
> <parser-tools, rackunit, redex, sribble, snip, typed-racket>
> <string-constants, web-server>: Update hashes.
>
> Change-Id: Id5a08e0e550cb8a2d5cd0920880ae19f9ac319c7
> ---
>  gnu/packages/racket.scm | 32 ++++++++++++++++----------------
>  1 file changed, 16 insertions(+), 16 deletions(-)
>

Thanks for sending <https://issues.guix.gnu.org/72742>!

I had in fact sent essentially the same patch in <https://issues.guix.gnu.org/72582>; it's just waiting for someone to review and merge it. I'm CC'ing a few people who might be able to take a look.

In 72582 I also sent a commit reverting 0c96f7932de50c81f4b4714f287520699107c8bb, which merely masked an underlying problem on riscv64-linux, for reasons I explained in the cover letter there. If no one has time or hardware to look into the riscv situation, it's of course fine to just apply the commit with the update to 8.14 and address riscv in a separate issue (which arguably I should have done in the first place ...).

Thanks,
Philip McGrath
(The Guix "Racket team")




Information forwarded to guix-patches <at> gnu.org:
bug#72582; Package guix-patches. (Wed, 21 Aug 2024 02:38:01 GMT) Full text and rfc822 format available.

Message #19 received at 72582 <at> debbugs.gnu.org (full text, mbox):

From: Liliana Marie Prikler <liliana.prikler <at> gmail.com>
To: Philip McGrath <philip <at> philipmcgrath.com>, ashish.is <at> lostca.se, 
 72742 <at> debbugs.gnu.org, 72582 <at> debbugs.gnu.org
Cc: Ludovic Courtès <ludo <at> gnu.org>,
 Efraim Flashner <efraim <at> flashner.co.il>
Subject: Re: [bug#72742] [PATCH] gnu: racket: Update to 8.14.
Date: Wed, 21 Aug 2024 04:35:05 +0200
Hi Philip,

Am Dienstag, dem 20.08.2024 um 21:39 -0400 schrieb Philip McGrath:
> In 72582 I also sent a commit reverting
> 0c96f7932de50c81f4b4714f287520699107c8bb, which merely masked an
> underlying problem on riscv64-linux, for reasons I explained in the
> cover letter there. If no one has time or hardware to look into the
> riscv situation, it's of course fine to just apply the commit with
> the update to 8.14 and address riscv in a separate issue (which
> arguably I should have done in the first place ...).
Looking at CI, there appears to be no meaningful difference except that
previously unknown packages have since become blocked – for what
appears to be completely unrelated reasons, e.g. missing disk space[1].

So while the CI situation for riscv is "we don't know", at the very
least we could push the update that's already built.

Cheers

[1]
https://bordeaux.guix.gnu.org/build/4c0c8fce-f139-4936-9dd8-4c08ba887ac1/log





Reply sent to Christopher Baines <mail <at> cbaines.net>:
You have taken responsibility. (Thu, 22 Aug 2024 11:48:02 GMT) Full text and rfc822 format available.

Notification sent to Philip McGrath <philip <at> philipmcgrath.com>:
bug acknowledged by developer. (Thu, 22 Aug 2024 11:48:02 GMT) Full text and rfc822 format available.

Message #24 received at 72582-done <at> debbugs.gnu.org (full text, mbox):

From: Christopher Baines <mail <at> cbaines.net>
To: Philip McGrath <philip <at> philipmcgrath.com>
Cc: 72582-done <at> debbugs.gnu.org
Subject: Re: [bug#72582] [PATCH 0/2] gnu: racket: Update to 8.14.
Date: Thu, 22 Aug 2024 12:47:03 +0100
[Message part 1 (text/plain, inline)]
Philip McGrath <philip <at> philipmcgrath.com> writes:

> Hi,
>
> The first patch here updates Racket to 8.14.
>
> Efraim, the second patch is the reason I'm CC'ing you in particular: I hadn't
> noticed your commit 0c96f7932de50c81f4b4714f287520699107c8bb until now. The
> native trv64le backend is definitely supported for riscv64-linux (it is
> working in the Debian packaging, for example [1]), so whatever problem you
> encountered is almost certainly a bug either in the Guix packaging or in some
> unusual pathway of Racket's build scripts that we're excercising. Do you have
> any details about the error you got? Does it still happen with the proposed
> revert? Unfortunately I don't have riscv64 hardware myself.
>
> Thanks,
> Philip
>
> [1]: https://buildd.debian.org/status/fetch.php?pkg=racket&arch=riscv64&ver=8.13%2Bdfsg1-2&stamp=1718018079&raw=0
>
> Philip McGrath (2):
>   gnu: racket: Update to 8.14.
>   Revert "gnu: chez-scheme-for-racket: Fix building on riscv64-linux."
>
>  gnu/packages/chez.scm   |  7 +++----
>  gnu/packages/racket.scm | 32 ++++++++++++++++----------------
>  2 files changed, 19 insertions(+), 20 deletions(-)
>
>
> base-commit: de714bcb46d61922e0efc10783ea23fb0202f583

I've gone ahead and pushed these patches as
14e3b08f0012269984b26729f476a7cd1c1ec3bc. The build farm is slowly
catching up with riscv64-linux, so hopefully we'll be able to test
things more systematically soon.

Thanks,

Chris
[signature.asc (application/pgp-signature, inline)]

Reply sent to Christopher Baines <mail <at> cbaines.net>:
You have taken responsibility. (Thu, 22 Aug 2024 11:48:02 GMT) Full text and rfc822 format available.

Notification sent to ashish.is <at> lostca.se:
bug acknowledged by developer. (Thu, 22 Aug 2024 11:48:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 20 Sep 2024 11:24:08 GMT) Full text and rfc822 format available.

This bug report was last modified 322 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.