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

./lotus-provider' 调用 stat 失败: 没有那个文件或目录 #11610

Closed
4 of 11 tasks
iamhuoge opened this issue Feb 4, 2024 · 2 comments
Closed
4 of 11 tasks

./lotus-provider' 调用 stat 失败: 没有那个文件或目录 #11610

iamhuoge opened this issue Feb 4, 2024 · 2 comments
Labels
kind/bug Kind: Bug

Comments

@iamhuoge
Copy link

iamhuoge commented Feb 4, 2024

Checklist

  • This is not a security-related bug/issue. If it is, please follow please follow the security policy.
  • I have searched on the issue tracker and the lotus forum, and there is no existing related issue or discussion.
  • I am running the Latest release, the most recent RC(release canadiate) for the upcoming release or the dev branch(master), or have an issue updating to any of these.
  • I did not make any code changes to lotus.

Lotus component

  • lotus daemon - chain sync
  • lotus fvm/fevm - Lotus FVM and FEVM interactions
  • lotus miner/worker - sealing
  • lotus miner - proving(WindowPoSt/WinningPoSt)
  • lotus JSON-RPC API
  • lotus message management (mpool)
  • Other

Lotus Version

v1.25.2

Repro Steps

  1. Run 'sudo make install'
  2. See error
    'install -C ./lotus /usr/local/bin/lotus
    install -C ./lotus-miner /usr/local/bin/lotus-miner
    install -C ./lotus-worker /usr/local/bin/lotus-worker
    install -C ./lotus-provider /usr/local/bin/lotus-provider
    install: 对 './lotus-provider' 调用 stat 失败: 没有那个文件或目录
    make: *** [Makefile:142:install-provider] 错误 1
    '
    ...

Describe the Bug

  1. Run 'sudo make install'
  2. See error
    'install -C ./lotus /usr/local/bin/lotus
    install -C ./lotus-miner /usr/local/bin/lotus-miner
    install -C ./lotus-worker /usr/local/bin/lotus-worker
    install -C ./lotus-provider /usr/local/bin/lotus-provider
    install: 对 './lotus-provider' 调用 stat 失败: 没有那个文件或目录
    make: *** [Makefile:142:install-provider] 错误 1

Logging Information

1. Run 'sudo make install'
3. See error 
'install -C ./lotus /usr/local/bin/lotus
install -C ./lotus-miner /usr/local/bin/lotus-miner
install -C ./lotus-worker /usr/local/bin/lotus-worker
install -C ./lotus-provider /usr/local/bin/lotus-provider
install: 对 './lotus-provider' 调用 stat 失败: 没有那个文件或目录
make: *** [Makefile:142:install-provider] 错误 1
@magik6k
Copy link
Contributor

magik6k commented Feb 4, 2024

Did you run make build before make install or make all.

If you ran make build the problem probably is that the build step is missing lotus-provider dependency

lotus/Makefile

Line 127 in 95fb198

build: lotus lotus-miner lotus-worker

If you want to work around the issue you can just run

make all
sudo make install

@rjan90
Copy link
Contributor

rjan90 commented Feb 13, 2024

Fixed by: #11616

@rjan90 rjan90 closed this as completed Feb 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Kind: Bug
Projects
None yet
Development

No branches or pull requests

3 participants