public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Dominik 'Rathann' Mierzejewski <dominik@greysector.net>
To: git-commits@fedoraproject.org
Subject: [rpms/binaryen] rawhide: update to 132 (resolves rhbz#2501187)
Date: Sat, 15 Aug 2026 07:00:26 GMT	[thread overview]
Message-ID: <178677722603.1.14113473657136579688.rpms-binaryen-5204aa44ccd1@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/binaryen
            Branch : rawhide
            Commit : 5204aa44ccd11c4d3c298cbc7794e16d0050270d
            Author : Dominik 'Rathann' Mierzejewski <dominik@greysector.net>
            Date   : 2026-08-15T02:08:13+02:00
            Stats  : +52/-20 in 5 file(s)
            URL    : https://src.fedoraproject.org/rpms/binaryen/c/5204aa44ccd11c4d3c298cbc7794e16d0050270d?branch=rawhide

            Log:
            update to 132 (resolves rhbz#2501187)

- rename the new wasm2c due to conflict with wabt (upstream issue 9002)
- skip a failing test on i686 (upstream issue 9006)

---
diff --git a/.gitignore b/.gitignore
index d2eff82..9330a06 100644
--- a/.gitignore
+++ b/.gitignore
@@ -25,3 +25,5 @@
 /binaryen-version_126.tar.gz
 /binaryen-version_129.tar.gz
 /binaryen-version_130.tar.gz
+/binaryen-version_131.tar.gz
+/binaryen-version_132.tar.gz

diff --git a/binaryen-fix-filecheck-empty.patch b/binaryen-fix-filecheck-empty.patch
index 8c768ed..356a888 100644
--- a/binaryen-fix-filecheck-empty.patch
+++ b/binaryen-fix-filecheck-empty.patch
@@ -1,9 +1,9 @@
-diff -up binaryen-version_129/test/lit/fuzz-types.test.empty binaryen-version_129/test/lit/fuzz-types.test
---- binaryen-version_129/test/lit/fuzz-types.test.empty	2026-04-01 16:29:27.000000000 +0200
-+++ binaryen-version_129/test/lit/fuzz-types.test	2026-04-26 17:38:26.759846815 +0200
-@@ -30,9 +30,9 @@
- ;; CHECK-NEXT:  (type $18 (struct (field (ref null $6)) (field (ref $17)) (field (mut f64)) (field (mut i64))))
- ;; CHECK-NEXT:  (type $19 (sub $4 (func (result i64))))
+diff -up binaryen-version_132/test/lit/fuzz-types.test.empty binaryen-version_132/test/lit/fuzz-types.test
+--- binaryen-version_132/test/lit/fuzz-types.test.empty	2026-08-12 23:53:06.000000000 +0200
++++ binaryen-version_132/test/lit/fuzz-types.test	2026-08-13 11:53:14.729440247 +0200
+@@ -28,9 +28,9 @@
+ ;; CHECK-NEXT:  (type $18 (describes $16) (struct))
+ ;; CHECK-NEXT:  (type $19 (cont $17))
  ;; CHECK-NEXT: )
 -;; CHECK-NEXT: 
 +;; CHECK-EMPTY: 
@@ -12,13 +12,25 @@ diff -up binaryen-version_129/test/lit/fuzz-types.test.empty binaryen-version_12
 +;; CHECK-EMPTY: 
  ;; CHECK-NEXT: Built 20 types:
  ;; CHECK-NEXT: (rec
- ;; CHECK-NEXT:  (type $0 (sub (shared (func (result (ref $3) i64)))))
-diff -up binaryen-version_129/test/lit/merge/manifest.wat.empty binaryen-version_129/test/lit/merge/manifest.wat
---- binaryen-version_129/test/lit/merge/manifest.wat.empty	2026-04-01 16:29:27.000000000 +0200
-+++ binaryen-version_129/test/lit/merge/manifest.wat	2026-04-26 17:37:41.455525820 +0200
+ ;; CHECK-NEXT:  (type $0 (shared (func (param i32 (ref null $3)) (result (ref null $3) f32 f32 i64))))
+diff -up binaryen-version_132/test/lit/merge/manifest-explicit-name.wat.empty binaryen-version_132/test/lit/merge/manifest-explicit-name.wat
+--- binaryen-version_132/test/lit/merge/manifest-explicit-name.wat.empty	2026-08-12 23:53:06.000000000 +0200
++++ binaryen-version_132/test/lit/merge/manifest-explicit-name.wat	2026-08-13 12:50:55.866123039 +0200
 @@ -8,7 +8,7 @@
  
  ;; CHECK:      second
+ ;; CHECK-NEXT: 0_1
+-;; CHECK-NEXT:
++;; CHECK-EMPTY:
+ 
+ ;; MERGED:      (module
+ ;; MERGED-NEXT:  (type $0 (func))
+diff -up binaryen-version_132/test/lit/merge/manifest.wat.empty binaryen-version_132/test/lit/merge/manifest.wat
+--- binaryen-version_132/test/lit/merge/manifest.wat.empty	2026-08-12 23:53:06.000000000 +0200
++++ binaryen-version_132/test/lit/merge/manifest.wat	2026-08-13 11:53:14.729440247 +0200
+@@ -9,7 +9,7 @@
+ 
+ ;; CHECK:      second
  ;; CHECK-NEXT: baz
 -;; CHECK-NEXT:
 +;; CHECK-EMPTY:

diff --git a/binaryen-use-system-gtest.patch b/binaryen-use-system-gtest.patch
index b21a9e9..3cd965b 100644
--- a/binaryen-use-system-gtest.patch
+++ b/binaryen-use-system-gtest.patch
@@ -1,6 +1,6 @@
-diff -up binaryen-version_124/test/gtest/CMakeLists.txt.orig binaryen-version_124/test/gtest/CMakeLists.txt
---- binaryen-version_124/test/gtest/CMakeLists.txt.orig	2025-09-02 21:40:31.000000000 +0200
-+++ binaryen-version_124/test/gtest/CMakeLists.txt	2025-09-27 14:43:29.978321412 +0200
+diff -up binaryen-version_132/test/gtest/CMakeLists.txt.orig binaryen-version_132/test/gtest/CMakeLists.txt
+--- binaryen-version_132/test/gtest/CMakeLists.txt.orig	2026-08-12 23:53:06.000000000 +0200
++++ binaryen-version_132/test/gtest/CMakeLists.txt	2026-08-13 11:45:07.535953711 +0200
 @@ -1,8 +1,5 @@
  if(BUILD_FUZZTEST)
    include_directories(SYSTEM ${PROJECT_SOURCE_DIR}/third_party/fuzztest)
@@ -10,21 +10,27 @@ diff -up binaryen-version_124/test/gtest/CMakeLists.txt.orig binaryen-version_12
  endif()
  
  set(unittest_SOURCES
-diff -up binaryen-version_124/third_party/CMakeLists.txt.orig binaryen-version_124/third_party/CMakeLists.txt
---- binaryen-version_124/third_party/CMakeLists.txt.orig	2025-09-02 21:40:31.000000000 +0200
-+++ binaryen-version_124/third_party/CMakeLists.txt	2025-09-27 16:37:27.579437684 +0200
-@@ -1,15 +1,7 @@
+diff -up binaryen-version_132/third_party/CMakeLists.txt.orig binaryen-version_132/third_party/CMakeLists.txt
+--- binaryen-version_132/third_party/CMakeLists.txt.orig	2026-08-12 23:53:06.000000000 +0200
++++ binaryen-version_132/third_party/CMakeLists.txt	2026-08-13 11:46:54.884721941 +0200
+@@ -1,21 +1,7 @@
  if(BUILD_FUZZTEST)
    add_subdirectory(fuzztest)
  elseif(BUILD_TESTS)
 -  # fuzztest includes gtest, but if we're not building fuzztest, build gtest ourselves.
 -  add_library(gtest STATIC googletest/googletest/src/gtest-all.cc)
 -  add_library(gtest_main STATIC googletest/googletest/src/gtest_main.cc)
+-  add_library(gmock STATIC googletest/googlemock/src/gmock-all.cc)
+-  add_library(gmock_main STATIC googletest/googlemock/src/gmock_main.cc)
 -  target_compile_options(gtest PRIVATE "-fno-rtti")
 -  target_compile_options(gtest_main PRIVATE "-fno-rtti")
+-  target_compile_options(gmock PRIVATE "-fno-rtti")
+-  target_compile_options(gmock_main PRIVATE "-fno-rtti")
 -  include_directories(
 -    googletest/googletest
 -    googletest/googletest/include
+-    googletest/googlemock
+-    googletest/googlemock/include
 -  )
 +  find_package(GTest CONFIG REQUIRED COMPONENTS GTest GMock)
  endif()

diff --git a/binaryen.spec b/binaryen.spec
index 8cf107d..83ba5fa 100644
--- a/binaryen.spec
+++ b/binaryen.spec
@@ -4,8 +4,8 @@
 
 Summary:       Compiler and toolchain infrastructure library for WebAssembly
 Name:          binaryen
-Version:       130
-Release:       2%{?dist}
+Version:       132
+Release:       1%{?dist}
 
 URL:           https://github.com/WebAssembly/binaryen
 Source0:       %{url}/archive/version_%{version}/%{name}-version_%{version}.tar.gz
@@ -69,6 +69,10 @@ mv test/spec/testsuite{-%{wats_commit},}
 rm -rv test/lit/d8
 # lit/help tests fail with python-filecheck-1.0.3
 rm -rv test/lit/help
+%ifarch i686
+# https://github.com/WebAssembly/binaryen/issues/9006
+rm test/lit/ctor-eval/flatten_overflow.wast
+%endif
 %patch -P2 -p1 -b .empty
 rm -rv third_party/FP16
 %endif
@@ -85,6 +89,7 @@ rm -rv third_party/FP16
 %install
 %cmake_install
 rm -v %{buildroot}%{_bindir}/binaryen-unittests
+mv %{buildroot}%{_bindir}/{,binaryen-}wasm2c
 
 %if %{with check}
 %check
@@ -97,6 +102,8 @@ rm -v %{buildroot}%{_bindir}/binaryen-unittests
 %files
 %license LICENSE
 %doc README.md
+# https://github.com/WebAssembly/binaryen/issues/9002
+%{_bindir}/binaryen-wasm2c
 %{_bindir}/wasm-as
 %{_bindir}/wasm-ctor-eval
 %{_bindir}/wasm-dis
@@ -115,6 +122,11 @@ rm -v %{buildroot}%{_bindir}/binaryen-unittests
 %{_libdir}/%{name}/libbinaryen.so
 
 %changelog
+* Thu Aug 13 2026 Dominik Mierzejewski <dominik@greysector.net> - 132-1
+- update to 132 (resolves rhbz#2501187)
+- rename the new wasm2c due to conflict with wabt (upstream issue 9002)
+- skip a failing test on i686 (upstream issue 9006)
+
 * Wed Jul 15 2026 Fedora Release Engineering <releng@fedoraproject.org> - 130-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild
 

diff --git a/sources b/sources
index a57bf20..87f9ddd 100644
--- a/sources
+++ b/sources
@@ -1,2 +1,2 @@
-SHA512 (binaryen-version_130.tar.gz) = 8b419225ac060dd727c88d30e4422bc631ea08d2e70b69bf7ed3757d797666eaa462d0a0e17c02195a9b799304959b16bff8b10bbcecc9afd65c9cb99e6f048c
+SHA512 (binaryen-version_132.tar.gz) = 307cae22fffb1ad97d0e000482251af5b6b7a35102789071b6cb639c39dc9f2dcf6a803e00d0353d809d21b8fcf10ffb632aa8f01f7f4ff25911fa64c0f934e6
 SHA512 (testsuite-4b24564.tar.gz) = c6647d2afcd28f0f42e2a50e26362f60f7234abd6421aea832c267e5c62ac6e8dc77c5d3c26803ebc2eb878a18c3856ab2bcee277884d5d410a566d2c0b855e2

                 reply	other threads:[~2026-08-15  7:00 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178677722603.1.14113473657136579688.rpms-binaryen-5204aa44ccd1@fedoraproject.org \
    --to=dominik@greysector.net \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox