Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 417241 - net-libs/nodejs-0.7.8 node-waf, command not found
Summary: net-libs/nodejs-0.7.8 node-waf, command not found
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Patrick Lauer
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-05-23 09:37 UTC by onip
Modified: 2012-06-27 06:08 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Proposed patch to make node-waf work (nodejs-0.7.8.ebuild.patch,1.20 KB, patch)
2012-06-17 18:24 UTC, Scott Dial
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description onip 2012-05-23 09:37:33 UTC
I'm running latest ~ of net-libs/nodejs (0.7.8) and installing some modules with npm (ex sqlite3) fail because the command "node-waf" is not found.

by googling it seems that this binary should be installed along with node and npm exacutables, maybe it is worth checking the ebuild for some missing instructions

thanks

Reproducible: Always
Comment 1 onip 2012-05-23 09:57:22 UTC
also let me add this one while you are looking at the ebuild:

npm is installed in /bin/npm while normally in gentoo binaries from packages are in /usr/bin/ (and node is there, indeed).

I sincerly don't care about this one but maybe someone else would.

Thanks again

p.s. I've just manually run ebuild unpack, and compile phases and a node-waf python executable script is in the work/node-0.7.8/tools directory
Comment 2 Patrick Lauer gentoo-dev 2012-05-25 04:07:46 UTC
Upstream changed the buildsystem into a broken mess, ebuild pulls out files one by one. Since it does *not* use waf I assumed that it's not needed.

(I lack words to describe the confusion I see there!)

Let me try to re-add it ...
Comment 3 SchAmane 2012-05-31 13:02:30 UTC
I have same issue here. No node-waf for me :(
Module developers will heavy need this.
Comment 4 Scott Dial 2012-06-17 18:24:08 UTC
Created attachment 315615 [details, diff]
Proposed patch to make node-waf work

I ran into the same issues as the OP. I patched the build in my local overlay. I've attached the patch. I also move npm from /bin to /usr/bin, but that is not necessarily required. I changed the cp of files in deps/uv/include to a recursive copy after having issues with "uv.h" missing for some modules. Also note, the wafadmin directory critically must be in ../lib/node relative to the node-waf tool. I put them both relative to /usr, but I have not exhaustively tested this location -- that is to say, I wonder why node_modules gets put in /lib and if other tools must in / then.
Comment 5 Patrick Lauer gentoo-dev 2012-06-27 06:08:21 UTC
+  27 Jun 2012; Patrick Lauer <patrick@gentoo.org> +nodejs-0.7.12.ebuild:
+  Bump for #419345 #417241
Comment 6 Patrick Lauer gentoo-dev 2012-06-27 06:08:56 UTC
+  27 Jun 2012; Patrick Lauer <patrick@gentoo.org> +nodejs-0.7.12.ebuild:
+  Bump for #419345 #417241