isar-community / isar

Extremely fast, easy to use, and fully async NoSQL database for Flutter
https://isar-community.dev
Apache License 2.0
131 stars 15 forks source link

Isar v4 release build windows fails #22

Closed mrclauss closed 5 months ago

mrclauss commented 6 months ago

Steps to Reproduce

Trigger release build.


error: failed to run custom build command for `mdbx-sys v0.0.0 (D:\a\isar\isar\packages\mdbx_sys)`

Caused by:
  process didn't exit successfully: `D:\a\isar\isar\target\release\build\mdbx-sys-f25058ecc33a1f64\build-script-build` (exit code: 101)
  --- stdout
  cargo:rerun-if-changed=build.rs

  --- stderr
  thread 'main' panicked at packages\mdbx_sys\build.rs:75:10:
  called `Result::unwrap()` on an `Err` value: Error { kind: NotFound, message: "program not found" }
  note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
warning: build failed, waiting for other jobs to finish...
mv: cannot stat 'target/x86_64-pc-windows-msvc/release/isar.dll': No such file or directory
Error: Process completed with exit code 1.

Code sample

Provide a few simple lines of code to show your problem.

Details


mrclauss commented 6 months ago

There's something different in the build agent environment between v4 and v3. The rust compiler doesn't find the make command in v4

mrclauss commented 6 months ago

Workaround is in place, some action/tool breaks the search path in the windows environment, effectively deleting mingw from the path