Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#78416 - [radare2] Cannot find 'wasm' plugin

Attached to Project: Community Packages
Opened by sayonalion (sayonalion) - Friday, 05 May 2023, 13:36 GMT
Last edited by Antonio Rojas (arojas) - Sunday, 07 May 2023, 07:34 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Levente Polyak (anthraxx)
Santiago Torres (sangy)
Filipe LaĆ­ns (FFY00)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Opening a WebAssembly binary file by the command [i]`r2 sample.wasm`[/i], causes the program to output the following.

[code]
ERROR: Cannot find 'wasm' asm/arch/anal plugin. See rasm2 -L or -LL
ERROR: Cannot find 'wasm' asm/arch/anal plugin. See rasm2 -L or -LL
ERROR: Cannot find 'wasm' asm/arch/anal plugin. See rasm2 -L or -LL
[/code]

[i]radare2 5.8.4 0 @ linux-x86-64 git.5.8.4[/i]

[i]commit: unknown build: 2023-04-28__20:51:49[/i]
This task depends upon

Closed by  Antonio Rojas (arojas)
Sunday, 07 May 2023, 07:34 GMT
Reason for closing:  Fixed
Additional comments about closing:  radare2 5.8.6-2
Comment by Toolybird (Toolybird) - Saturday, 06 May 2023, 01:05 GMT
The previous version opens the file successfully (radare2 5.8.2-1). The latest upstream version (5.8.6 just released, self-compiled) shows the same errors. The static bins from upstream seem to work...but I'm not real familiar with how to use the tool.
Comment by Antonio Rojas (arojas) - Saturday, 06 May 2023, 06:48 GMT
It works when built with their custom makefile, but not with meson. Probably related to https://github.com/radareorg/radare2/commit/5d5a7fb6e308eb55c9909fab154d31f2eb2c91fe

Please report it upstream.
Comment by sayonalion (sayonalion) - Saturday, 06 May 2023, 19:19 GMT
I [reported][*] upstream.

The maintainer kindly agreed to help with the Arch package and pointed out the shortcomings in the current PKGBUILD script. This can help solve the current problem.

[*]: https://github.com/radareorg/radare2/discussions/21712

Loading...