Skip to content

make: remove plugins/clnrest dir prior to building clnrest #8201

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

Conversation

endothermicdev
Copy link
Collaborator

Inspired by #8159, this should be the last step to cleaning up traces of the old plugin during build - make clean and make install have already been addressed.

When building in the same directory used for <=v24.11, this would occur:
cp: cannot create regular file plugins/clnrest: Permission denied
make: *** [plugins/Makefile:149: plugins/clnrest] Error 1
make: *** Waiting for unfinished jobs....

Remove the old directory so the new rust binary can take its place.

Changelog-Fixed: make cleans up old clnrest directory prior to building the new plugin.

Important

25.02 FREEZE JANUARY 31ST: Non-bugfix PRs not ready by this date will wait for 25.05.

Checklist

Before submitting the PR, ensure the following tasks are completed. If an item is not applicable to your PR, please mark it as checked:

  • The changelog has been updated in the relevant commit(s) according to the guidelines.
  • Tests have been added or modified to reflect the changes.
  • Documentation has been reviewed and updated as needed.
  • Related issues have been listed and linked, including any that this PR closes.

@endothermicdev endothermicdev added this to the v25.02.1 milestone Apr 3, 2025
@endothermicdev endothermicdev force-pushed the remove-clnrest-build-dir branch 2 times, most recently from f212d3e to 3d12bb9 Compare April 3, 2025 19:20
When building in the same directory used for <=v24.11, this would occur:
  cp: cannot create regular file plugins/clnrest: Permission denied
  make: *** [plugins/Makefile:149: plugins/clnrest] Error 1
  make: *** Waiting for unfinished jobs....

Remove the old directory so the new rust binary can take its place.

Changelog-Fixed: `make` cleans up old clnrest directory prior to building the new plugin.
@ShahanaFarooqui
Copy link
Collaborator

Closing this PR as the change has already been merged with PR #8159.

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

Successfully merging this pull request may close these issues.

2 participants