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

[Bug]: mountfs.go chown errors #112

Open
pyscripter99 opened this issue Jan 18, 2023 · 2 comments
Open

[Bug]: mountfs.go chown errors #112

pyscripter99 opened this issue Jan 18, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@pyscripter99
Copy link

Describe your bug or error

running: egg build -o kernel.sh on ubuntu in virtualbox (as to avoid issues with multiple go versions)

Go Version

1.16.15

Relevant log output

../../go/pkg/mod/github.com/icexin/eggos@v0.4.1/fs/mount/mountfs.go:262:30: cannot use m (type *MountableFs) as type afero.Fs in argument to lstatIfPossible:
	*MountableFs does not implement afero.Fs (missing Chown method)
../../go/pkg/mod/github.com/icexin/eggos@v0.4.1/fs/mount/mountfs.go:266:18: cannot use m (type *MountableFs) as type afero.Fs in argument to departWalk:
	*MountableFs does not implement afero.Fs (missing Chown method)
@pyscripter99 pyscripter99 added the bug Something isn't working label Jan 18, 2023
@icexin
Copy link
Owner

icexin commented Jan 19, 2023

It seems you are using a higher version afero than eggos

@pyscripter99
Copy link
Author

pyscripter99 commented Jan 19, 2023

How would I fix?

edit:

I just run the eggos installer, via go install ( maybe go get ), then used egg build.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants