Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 736886 - dev-util/wasmer-0.11.0 should enable at least one backends by default - wasmer: error: 'cranelift' isn't a valid value for '--backend <backend>' [possible values: ]
Summary: dev-util/wasmer-0.11.0 should enable at least one backends by default - wasme...
Status: RESOLVED PKGREMOVED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: Normal normal
Assignee: William Hubbs
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2020-08-12 15:09 UTC by Julius
Modified: 2025-01-06 19:54 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Use flags for backend features (ebuild-improvement-suggestions.patch,1.16 KB, patch)
2020-08-12 15:13 UTC, Julius
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Julius 2020-08-12 15:09:28 UTC
The ebuild only enables the default features, but wasmer for some reason enables none of the backends by default, thus the built binaries cannot execute any wasm and are useless.

(The additional kwasmd binary immediately panics with "Kwasm loader is not enabled during compilation.")

Reproducible: Always

Steps to Reproduce:
1. emerge =dev-util/wasmer-0.11.0
2. acquire some random test file, e.g. https://github.com/wasmerio/wasmer/blob/be9da7278ba52d3790a339dfa656508d8d6acf12/tests/wasi_test_resources/snapshot1/hello.wasm
3. run wasmer hello.wasm
Actual Results:  
error: 'cranelift' isn't a valid value for '--backend <backend>'
	[possible values: ]

Expected Results:  
Hello, world!
Comment 1 Julius 2020-08-12 15:13:44 UTC
Created attachment 654330 [details, diff]
Use flags for backend features
Comment 2 Larry the Git Cow gentoo-dev 2025-01-06 19:54:26 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7678dbb047090b30ae6605ab17ad6702cc9cda47

commit 7678dbb047090b30ae6605ab17ad6702cc9cda47
Author:     Florian Schmaus <flow@gentoo.org>
AuthorDate: 2025-01-06 19:41:22 +0000
Commit:     Florian Schmaus <flow@gentoo.org>
CommitDate: 2025-01-06 19:41:33 +0000

    dev-util/wasmer: treeclean
    
    Closes: https://bugs.gentoo.org/716768 (pkgremoved)
    Closes: https://bugs.gentoo.org/724240 (pkgremoved)
    Closes: https://bugs.gentoo.org/727492 (pkgremoved)
    Closes: https://bugs.gentoo.org/736886 (pkgremoved)
    Closes: https://bugs.gentoo.org/765640 (pkgremoved)
    Closes: https://bugs.gentoo.org/771306 (pkgremoved)
    Closes: https://bugs.gentoo.org/830077 (pkgremoved)
    Closes: https://bugs.gentoo.org/864079 (pkgremoved)
    Closes: https://bugs.gentoo.org/868207 (pkgremoved)
    Closes: https://bugs.gentoo.org/910681 (pkgremoved)
    Closes: https://bugs.gentoo.org/915513 (pkgremoved)
    Closes: https://bugs.gentoo.org/933595 (pkgremoved)
    Signed-off-by: Florian Schmaus <flow@gentoo.org>

 dev-util/wasmer/Manifest             | 163 -----------------------------
 dev-util/wasmer/metadata.xml         |   8 --
 dev-util/wasmer/wasmer-0.11.0.ebuild | 194 -----------------------------------
 profiles/package.mask                |   4 -
 4 files changed, 369 deletions(-)