Anybody know what's going on with nodejs in rawhide?
It seems libuv has been rebased to 1.x which brings various API changes but nodejs is still 0.10 which doesn't seem to be able to cope? Trying to build binary extensions gets errors like:
In file included from ../src/srs.cc:5:0: /usr/include/node/node.h:150:46: error: 'uv_statbuf_t' does not name a type v8::Localv8::Object BuildStatsObject(const uv_statbuf_t* s); ^ /usr/include/node/node.h:252:27: error: variable or field 'SetErrno' declared void NODE_EXTERN void SetErrno(uv_err_t err); ^ /usr/include/node/node.h:252:27: error: 'uv_err_t' was not declared in this scope srs.target.mk:92: recipe for target 'Release/obj.target/srs/src/srs.o' failed make: Leaving directory '/builddir/build/BUILD/package-fedora/build' make: *** [Release/obj.target/srs/src/srs.o] Error 1
Because node.h is referring to types like uv_err_t that uv.h no longer defines...
Tom
On 18/04/15 11:05, Tom Hughes wrote:
Anybody know what's going on with nodejs in rawhide?
It seems libuv has been rebased to 1.x which brings various API changes but nodejs is still 0.10 which doesn't seem to be able to cope? Trying to build binary extensions gets errors like:
In file included from ../src/srs.cc:5:0: /usr/include/node/node.h:150:46: error: 'uv_statbuf_t' does not name a type v8::Localv8::Object BuildStatsObject(const uv_statbuf_t* s); ^ /usr/include/node/node.h:252:27: error: variable or field 'SetErrno' declared void NODE_EXTERN void SetErrno(uv_err_t err); ^ /usr/include/node/node.h:252:27: error: 'uv_err_t' was not declared in this scope srs.target.mk:92: recipe for target 'Release/obj.target/srs/src/srs.o' failed make: Leaving directory '/builddir/build/BUILD/package-fedora/build' make: *** [Release/obj.target/srs/src/srs.o] Error 1
Because node.h is referring to types like uv_err_t that uv.h no longer defines...
Is there any news on this? I've got extensions that need to be rebuilt because of other SONAME changes but right now no binary extensions will build in rawhide...
Tom
On Sat, Apr 18, 2015 at 3:05 AM, Tom Hughes tom@compton.nu wrote:
Anybody know what's going on with nodejs in rawhide?
nodejs 0.10 in F22 and Rawhide now uses compat-libuv010 instead of libuv, which has been updated for other dependents (and nodejs 0.12 in F23). I missed a few details in the switch (must have been excited to go on vacation :-).
These are now resolved by node-gyp-0.10.6-4 and nodejs-0.10.36-4 in F22 and Rawhide: https://admin.fedoraproject.org/updates/node-gyp-0.10.6-4.fc22,nodejs-0.10.3...
I rebuilt the few packages that have failed in rawhide, and I submitted a buildroot override for F22 also, though nobody neems to have noticed the breakage there yet.
Sorry for the trouble, -T.C.
On 29/04/15 23:11, T.C. Hollingsworth wrote:
On Sat, Apr 18, 2015 at 3:05 AM, Tom Hughes tom@compton.nu wrote:
Anybody know what's going on with nodejs in rawhide?
nodejs 0.10 in F22 and Rawhide now uses compat-libuv010 instead of libuv, which has been updated for other dependents (and nodejs 0.12 in F23). I missed a few details in the switch (must have been excited to go on vacation :-).
These are now resolved by node-gyp-0.10.6-4 and nodejs-0.10.36-4 in F22 and Rawhide: https://admin.fedoraproject.org/updates/node-gyp-0.10.6-4.fc22,nodejs-0.10.3...
Thanks.
Could you create a builtroot override in F22 so I can rebuild srs there?
Tom
On Wed, Apr 29, 2015 at 4:06 PM, Tom Hughes tom@compton.nu wrote:
Could you create a builtroot override in F22 so I can rebuild srs there?
It was already done. :-)
-T.C.
On 30/04/15 01:21, T.C. Hollingsworth wrote:
On Wed, Apr 29, 2015 at 4:06 PM, Tom Hughes tom@compton.nu wrote:
Could you create a builtroot override in F22 so I can rebuild srs there?
It was already done. :-)
Something seems to be wrong though - maybe a new gyp dependency is missing from the override? Here's the build log:
https://kojipkgs.fedoraproject.org//work/tasks/4829/9604829/build.log
Tom
On 30/04/15 07:09, Tom Hughes wrote:
On 30/04/15 01:21, T.C. Hollingsworth wrote:
On Wed, Apr 29, 2015 at 4:06 PM, Tom Hughes tom@compton.nu wrote:
Could you create a builtroot override in F22 so I can rebuild srs there?
It was already done. :-)
Something seems to be wrong though - maybe a new gyp dependency is missing from the override? Here's the build log:
https://kojipkgs.fedoraproject.org//work/tasks/4829/9604829/build.log
This seems to be a bug in gyp itself, not node-gyp. It needs python-setuptools for pkg_resources but the rpm doesn't require it.
Somehow on rawhide something else is dragging it in, but not on F22.
I have raised https://bugzilla.redhat.com/show_bug.cgi?id=1217358
Tom
nodejs@lists.fedoraproject.org