Bug 1215729

Summary: nodejs-devel should depend on compat-libuv010-devel
Product: [Fedora] Fedora Reporter: Hubert Figuiere <hub+rhbz>
Component: nodejsAssignee: NodeJS Packaging SIG <nodejs-sig>
Status: CLOSED EOL QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 22CC: jamielinux, mrunge, sgallagh, tchollingsworth, thrcka
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-07-19 13:53:27 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Hubert Figuiere 2015-04-27 14:51:59 UTC
Description of problem:
nodejs-devel should depend on compat-libuv010-devel and not on libuv-devel


Version-Release number of selected component (if applicable):
0.10.36-3.fc22

How reproducible:
All the time

Steps to Reproduce:
1. Try to compile a native Node module for node 0.10.x in F22.
2.
3.

Actual results:
Fails

Expected results:
Works

Additional info:

Comment 1 Hubert Figuiere 2015-04-27 14:54:23 UTC
This is the kind of errors:

make: Entering directory '/home/hub/source/node/sockit-to-me/build'
  CXX(target) Release/obj.target/sockit/src/node-0.10/addon.o
In file included from ../src/node-0.10/addon.cc:3:0:
/usr/include/node/node.h:150:46: error: ‘uv_statbuf_t’ does not name a type
 v8::Local<v8::Object> BuildStatsObject(const uv_statbuf_t* s);
                                              ^
In file included from ../src/node-0.10/addon.cc:3:0:
/usr/include/node/node.h:252:16: error: variable or field ‘SetErrno’ declared void
 NODE_EXTERN void SetErrno(uv_err_t err);
                ^
/usr/include/node/node.h:252:16: error: ‘uv_err_t’ was not declared in this scope
sockit.target.mk:87: recipe for target 'Release/obj.target/sockit/src/node-0.10/addon.o' failed
make: *** [Release/obj.target/sockit/src/node-0.10/addon.o] Error 1
make: Leaving directory '/home/hub/source/node/sockit-to-me/build'


uv_err_t has been removed for libuv in later releases. 0.10 still relies on it and the older libuv.

Comment 2 Fedora Update System 2015-04-29 21:58:02 UTC
node-gyp-0.10.6-4.fc22, nodejs-0.10.36-4.fc22 has been submitted as an update for Fedora 22.
https://admin.fedoraproject.org/updates/node-gyp-0.10.6-4.fc22,nodejs-0.10.36-4.fc22

Comment 3 Fedora Update System 2015-05-01 16:41:59 UTC
Package node-gyp-0.10.6-4.fc22, nodejs-0.10.36-4.fc22:
* should fix your issue,
* was pushed to the Fedora 22 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing node-gyp-0.10.6-4.fc22 nodejs-0.10.36-4.fc22'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2015-7309/node-gyp-0.10.6-4.fc22,nodejs-0.10.36-4.fc22
then log in and leave karma (feedback).

Comment 4 Hubert Figuiere 2015-05-08 14:07:14 UTC
This definitely fixes the problem.

Comment 5 Fedora Admin XMLRPC Client 2016-06-03 17:48:07 UTC
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.

Comment 6 Fedora End Of Life 2016-07-19 13:53:27 UTC
Fedora 22 changed to end-of-life (EOL) status on 2016-07-19. Fedora 22 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.