Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

go: module github.com/cloudwego/iasm@upgrade found (v0.1.0), but does not contain package github.com/cloudwego/iasm/x86_64 #620

Closed
shiyunjin opened this issue Apr 15, 2024 · 15 comments

Comments

@shiyunjin
Copy link

shiyunjin commented Apr 15, 2024

    github.com/bytedance/sonic imports
    github.com/bytedance/sonic/ast imports
    github.com/cloudwego/base64x imports
    github.com/bytedance/sonic/loader imports
    github.com/bytedance/sonic/internal/abi imports
    github.com/cloudwego/iasm/x86_64: no required module provides package github.com/cloudwego/iasm/x86_64; to add it:
    go get github.com/cloudwego/iasm/x86_64
@MScuti
Copy link

MScuti commented Apr 15, 2024

same situation,Maybe it's due to the #618

@MScuti
Copy link

MScuti commented Apr 15, 2024

temporarily downgrade to version: v1.11.2 fix this error.
go get github.com/bytedance/sonic@v1.11.2
@AsterDY Can you take some time to update this to resolve the issue?

@AsterDY
Copy link
Collaborator

AsterDY commented Apr 15, 2024

"github.com/cloudwego/iasm" should be v0.0.9

@fabszabo
Copy link

fabszabo commented Apr 15, 2024

The package "iasm" has always failed all it's tests: cloudwego/iasm#1

Edit: Which is why I don't think changing the version to v0.0.9 would help

@felix021
Copy link
Contributor

felix021 commented Apr 15, 2024

Please use this version of iasm:

go get github.com/cloudwego/iasm@v0.0.9

Refer to cloudwego/kitex#1319 for more details.

@fabszabo
Copy link

I see no reason or proof why that would work. All the tests in that package (even in version 0.0.9) are failing with this exact issue.

@fabszabo
Copy link

The referred issue does not include any PRs. No working tests that might give us a measure of confidence. How do we know that changing the version actually solves the issue?

@felix021
Copy link
Contributor

Sorry for the inconvenience.

This project is ported from a personal repository and we didn't pay attention to the workflow which is using go1.2 (not supported) and ARM64 (also not supported).

The v0.0.9 is just the same as the original version and v0.1.0 introduced incompatible changes and was wrongly set as the latest release.

We've removed v0.1.0 to avoid further confusion and will fix the workflow soon after.

@fabszabo
Copy link

I have tested it and it does indeed resolve the issue. Thank you @felix021

@jurilucci-geoin
Copy link

I have imported
github.com/bytedance/sonic v1.11.2
and then
github.com/chenzhuoyu/iasm v0.9.0
but this not resolve the issue.
Error:
go: all: module github.com/cloudwego/iasm@upgrade found (v0.1.0), but does not contain package github.com/cloudwego/iasm/x86_64

@fabszabo
Copy link

@jurilucci-geoin bytedance 1.11.2 does not have this issue in the first place.

temporarily downgrade to version: v1.11.2 fix this error.
go get github.com/bytedance/sonic@v1.11.2

@felix021
Copy link
Contributor

felix021 commented Apr 15, 2024

Sorry for the inconvenience.

This project is ported from a personal repository and we didn't pay attention to the workflow which is using go1.2 (not supported) and ARM64 (also not supported).

The v0.0.9 is just the same as the original version and v0.1.0 introduced incompatible changes and was wrongly set as the latest release.

We've removed v0.1.0 to avoid further confusion and will fix the workflow soon after.

@jurilucci-geoin As is explained before, this issue can be solved by:

go get github.com/cloudwego/iasm@v0.0.9

Refer to cloudwego/kitex#1319 for more details.

@AsterDY AsterDY pinned this issue Apr 15, 2024
@zenire
Copy link

zenire commented Apr 15, 2024

Also experiencing this issue via gin:

 go: mypkg imports
	github.com/gin-gonic/gin imports
	github.com/gin-gonic/gin/internal/json imports
	github.com/bytedance/sonic imports
	github.com/bytedance/sonic/ast imports
	github.com/cloudwego/base64x imports
	github.com/bytedance/sonic/loader imports
	github.com/bytedance/sonic/internal/abi imports
	github.com/cloudwego/iasm/x86_64: module github.com/cloudwego/iasm@latest found (v0.1.0), but does not contain package github.com/cloudwego/iasm/x86_64

@AsterDY AsterDY closed this as completed Apr 16, 2024
@AsterDY
Copy link
Collaborator

AsterDY commented Apr 16, 2024

TIPS: DON'T ALWAYS update your go mod using go get -u, this is not a recommended way to maintain your dependencies. Just go get to update the dependency you need update

@YangruiEmma
Copy link

YangruiEmma commented Apr 16, 2024

Also experiencing this issue via gin:

 go: mypkg imports
	github.com/gin-gonic/gin imports
	github.com/gin-gonic/gin/internal/json imports
	github.com/bytedance/sonic imports
	github.com/bytedance/sonic/ast imports
	github.com/cloudwego/base64x imports
	github.com/bytedance/sonic/loader imports
	github.com/bytedance/sonic/internal/abi imports
	github.com/cloudwego/iasm/x86_64: module github.com/cloudwego/iasm@latest found (v0.1.0), but does not contain package github.com/cloudwego/iasm/x86_64

sorry, this issue can be solved by:

go get github.com/cloudwego/iasm@latest

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants