Skip to content
New issue

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

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

Already on GitHub? # to your account

Cargo build script of zenoh-plugin-rest modifies source directory #897

Closed
fuzzypixelz opened this issue Apr 3, 2024 · 1 comment
Closed
Labels
bug Something isn't working

Comments

@fuzzypixelz
Copy link
Member

fuzzypixelz commented Apr 3, 2024

Describe the bug

When packaging/publishing zenoh-plugin-rest on Windows I get:

error: failed to verify package tarball
  
Caused by:
  Source directory was modified by build.rs during cargo publish. Build scripts should not modify anything outside of OUT_DIR.
  Changed: D:\a\zenoh-backend-filesystem\zenoh-backend-filesystem\zenoh\target\package\zenoh-plugin-rest-0.11.0-dev\config_schema.json5

This happens because on Windows line breaks are CRLF and not LF.

Build scripts should not modify any files outside OUTDIR
.

@milyin

To reproduce

  1. See https://github.com/eclipse-zenoh/zenoh-backend-filesystem/actions/runs/8537311104/job/23387616672

System info

  • Platform: Windows 10
  • Zenoh ref: 6799a92
@fuzzypixelz
Copy link
Member Author

Resolved in #939.

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

No branches or pull requests

1 participant