fresh-borzoni opened a new issue, #3599:
URL: https://github.com/apache/fluss/issues/3599

   ### Search before asking
   
   - [x] I searched in the [issues](https://github.com/apache/fluss/issues) and 
found nothing similar.
   
   
   ### Description
   
   Failed to load NIF library: '.../fluss_nif.so: cannot open shared object 
file: No such file or directory' (UndefinedFunctionError) function 
Fluss.Native.table_descriptor_new/2 is undefined
   
   It's not deterministic as the same code passes on one run and fails on 
another (e.g. green at review, red later on an unrelated PR).
   
   The cause is caching: the job caches Mix's _build, and when that cache is 
restored, mix compile thinks the app is already built and skips the rustler 
step, so fluss_nif.so never gets (re)placed, and the tests can't load 
Fluss.Native. The heavy native build is already covered by the Rust target/ 
cache, so caching _build on top of it just causes this.
   
   
   ### Willingness to contribute
   
   - [x] I'm willing to submit a PR!


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to