GNU bug report logs - #68903
wabt: fix builds on !x86_64 and update to 1.0.34

Previous Next

Package: guix-patches;

Reported by: Vagrant Cascadian <vagrant <at> reproducible-builds.org>

Date: Sat, 3 Feb 2024 02:44:01 UTC

Severity: normal

Done: Vagrant Cascadian <vagrant <at> reproducible-builds.org>

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 68903 in the body.
You can then email your comments to 68903 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 guix-patches <at> gnu.org:
bug#68903; Package guix-patches. (Sat, 03 Feb 2024 02:44:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Vagrant Cascadian <vagrant <at> reproducible-builds.org>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Sat, 03 Feb 2024 02:44:01 GMT) Full text and rfc822 format available.

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

From: Vagrant Cascadian <vagrant <at> reproducible-builds.org>
To: guix-patches <at> gnu.org
Subject: fix builds on !x86_64 and update to 1.0.34
Date: Fri, 02 Feb 2024 18:42:36 -0800
[Message part 1 (text/plain, inline)]
The attached patch updates wabt to 1.0.34 and also disables tests on
non-x86_64 architectures.

Since the update to wabt 1.0.32 in commit
9d474e105977e46d1ffd9afe794d26882a66c7a0, tests were also enabled... but
it has failed to build architectures other than x86_64 ever since...

Because of this, diffoscope and reprotest have not been able to build,
as diffoscope has wabt in native-inputs.

Thanks to ulfvonbelow via #guix IRC for the simple suggestion of how to
disable tests!

Another option would be to selectively disable tests, though
historically there have been a number of relevent outstanding issues
related to tests on !x86_64, which might turn into a few rounds of
whack-a-mole every time wabt is updated:

  https://github.com/WebAssembly/wabt/issues/1045
  https://github.com/WebAssembly/wabt/issues/1044
  https://github.com/WebAssembly/wabt/issues/2118
  https://github.com/WebAssembly/wabt/issues/2240


live well,
  vagrant

[0001-gnu-wabt-Update-to-1.0.34.patch (text/x-diff, inline)]
From a378a8b7b23c2be9f8374d28fc1f89134a9fd272 Mon Sep 17 00:00:00 2001
From: Vagrant Cascadian <vagrant <at> reproducible-builds.org>
Date: Fri, 2 Feb 2024 15:32:04 -0800
Subject: [PATCH] gnu: wabt: Update to 1.0.34.

* gnu/packages/web.scm (wabt): Update to 1.0.34.
[arguments]: Disable tests on !x86_64.
---
 gnu/packages/web.scm | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm
index 1a97dd8dec..1eefb1fde7 100644
--- a/gnu/packages/web.scm
+++ b/gnu/packages/web.scm
@@ -1638,7 +1638,7 @@ (define-public libwebsockets
 (define-public wabt
   (package
     (name "wabt")
-    (version "1.0.32")
+    (version "1.0.34")
     (source
      (origin
        (method git-fetch)
@@ -1648,13 +1648,15 @@ (define-public wabt
              (recursive? #true)))
        (file-name (git-file-name name version))
        (sha256
-        (base32 "0m124r8v9c0hxiaa4iy7ch4ng8msnirbc2vb702gbdjhvgzyrcwh"))
+        (base32 "1vxvc34b7a7lkrmzdb5cjv0b54vhiyr33sy0i2ps5jrmg5rqqmia"))
        (modules '((guix build utils)))
        (snippet
         '(delete-file-recursively "third_party/gtest/"))))
     (build-system cmake-build-system)
     (arguments
      (list
+      ;; Tests on non-x86_64 architectures are not well supported upstream.
+      #:tests? (target-x86-64?)
       #:test-target "run-tests"
       #:configure-flags '(list "-DUSE_SYSTEM_GTEST=ON")
       #:phases

base-commit: f45d05133472a9da13eae20ba4a676c696682c90
-- 
2.39.2

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

Changed bug title to 'wabt: fix builds on !x86_64 and update to 1.0.34' from 'fix builds on !x86_64 and update to 1.0.34' Request was from Vagrant Cascadian <vagrant <at> reproducible-builds.org> to control <at> debbugs.gnu.org. (Tue, 06 Feb 2024 23:31:01 GMT) Full text and rfc822 format available.

Reply sent to Vagrant Cascadian <vagrant <at> reproducible-builds.org>:
You have taken responsibility. (Fri, 09 Feb 2024 21:49:02 GMT) Full text and rfc822 format available.

Notification sent to Vagrant Cascadian <vagrant <at> reproducible-builds.org>:
bug acknowledged by developer. (Fri, 09 Feb 2024 21:49:02 GMT) Full text and rfc822 format available.

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

From: Vagrant Cascadian <vagrant <at> reproducible-builds.org>
To: 68903-done <at> debbugs.gnu.org
Subject: Re: wabt: fix builds on !x86_64 and update to 1.0.34
Date: Fri, 09 Feb 2024 13:47:55 -0800
[Message part 1 (text/plain, inline)]
On 2024-02-02, Vagrant Cascadian wrote:
> The attached patch updates wabt to 1.0.34 and also disables tests on
> non-x86_64 architectures.
>
> Since the update to wabt 1.0.32 in commit
> 9d474e105977e46d1ffd9afe794d26882a66c7a0, tests were also enabled... but
> it has failed to build architectures other than x86_64 ever since...
>
> Because of this, diffoscope and reprotest have not been able to build,
> as diffoscope has wabt in native-inputs.

Pushed to master as 8ffc9233681863408034c8e371c5cfd3591545d2.

Looking forward to diffoscope on non-x86_64 again!

live well,
  vagrant
[signature.asc (application/pgp-signature, inline)]

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sat, 09 Mar 2024 12:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 1 year and 102 days ago.

Previous Next


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