hop icon indicating copy to clipboard operation
hop copied to clipboard

nodejs library build fails with missing symbol `uv-fs-stat-cb-vector-props`

Open pmatos opened this issue 3 years ago • 3 comments

I am trying to use the JS compiler inside hop. I compiled bigloo and hop just fine (modulo the PRs I added).

Compiling a JS file with hop complains about a missing nodejs.heap. This file seems to be generated by hop/nodejs, but not distributed with any binary package. Trying to run make inside this folder complains about missing symbol uv-fs-stat-cb-vector-props. Disabling libuv at configure time makes the process of building the nodejs library earlier on.

I did notice that this variable showed up in the very last commit and reverting the last commit for uv.scm allows nodejs.heap to be built.

I have also tried a couple of different libuv versions in case mine is too recent but didn't have much luck.

pmatos avatar Mar 01 '23 10:03 pmatos

I'm on macos and I have the same error

bentxt avatar Apr 24 '23 14:04 bentxt

Hi everyone,

Sorry about that.

This error is a Bigloo backward compatibilty problem. During the last weeks I have very significantly improved the performance of the libuv binding and this needed some new functions to be implemented directly by the Bigloo compiler. I have tried to protect these new optimization with "cond-expand" code so that Hop can still be compiled with older Bigloo versions but I have missed some places here and there. I have now fixed that and it should be able to build Hop again with old Bigloo version. I have pushed that new version of the github repo. Please let me know if you are still facing problems.

Once again, all my apologizes for the inconvenience.

manuel-serrano avatar May 16 '23 09:05 manuel-serrano

Thanks for all your efforts I tried to build it with a fresh checkout and while I no longer get this error I get a new one https://github.com/manuel-serrano/hop/issues/101

bentxt avatar May 22 '23 13:05 bentxt