[MacPorts] #39440: nodejs: upgrading from @0.8.15 to @0.10.11 removes node-waf
#39440: nodejs: upgrading from @0.8.15 to @0.10.11 removes node-waf ---------------------+-------------------------------- Reporter: egall@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Keywords: | Port: nodejs ---------------------+-------------------------------- I recently upgraded my nodejs installation, and on upgrading, it removed these files: {{{ ---> Deactivating nodejs @0.8.15_0+python27+ssl DEBUG: deactivating file: /opt/local/share/man/man1/node.1.gz DEBUG: /opt/local/share/man/man1 is not empty DEBUG: /opt/local/share/man is not empty DEBUG: deactivating file: /opt/local/share/doc/nodejs/README.md DEBUG: deactivating file: /opt/local/share/doc/nodejs/LICENSE DEBUG: deactivating file: /opt/local/share/doc/nodejs/ChangeLog DEBUG: deactivating file: /opt/local/share/doc/nodejs/AUTHORS DEBUG: deactivating directory: /opt/local/share/doc/nodejs DEBUG: /opt/local/share/doc is not empty DEBUG: /opt/local/share is not empty DEBUG: deactivating file: /opt/local/lib/node/wafadmin/py3kfixes.py DEBUG: deactivating file: /opt/local/lib/node/wafadmin/pproc.py DEBUG: deactivating file: /opt/local/lib/node/wafadmin/ansiterm.py DEBUG: deactivating file: /opt/local/lib/node/wafadmin/__init__.py DEBUG: deactivating file: /opt/local/lib/node/wafadmin/Utils.py DEBUG: deactivating file: /opt/local/lib/node/wafadmin/Tools/xlcxx.py DEBUG: deactivating file: /opt/local/lib/node/wafadmin/Tools/xlc.py DEBUG: deactivating file: /opt/local/lib/node/wafadmin/Tools/winres.py DEBUG: deactivating file: /opt/local/lib/node/wafadmin/Tools/unittestw.py DEBUG: deactivating file: /opt/local/lib/node/wafadmin/Tools/suncxx.py DEBUG: deactivating file: /opt/local/lib/node/wafadmin/Tools/suncc.py DEBUG: deactivating file: /opt/local/lib/node/wafadmin/Tools/python.py DEBUG: deactivating file: /opt/local/lib/node/wafadmin/Tools/preproc.py DEBUG: deactivating file: /opt/local/lib/node/wafadmin/Tools/osx.py DEBUG: deactivating file: /opt/local/lib/node/wafadmin/Tools/node_addon.py DEBUG: deactivating file: /opt/local/lib/node/wafadmin/Tools/nasm.py DEBUG: deactivating file: /opt/local/lib/node/wafadmin/Tools/misc.py DEBUG: deactivating file: /opt/local/lib/node/wafadmin/Tools/libtool.py DEBUG: deactivating file: /opt/local/lib/node/wafadmin/Tools/intltool.py DEBUG: deactivating file: /opt/local/lib/node/wafadmin/Tools/icpc.py DEBUG: deactivating file: /opt/local/lib/node/wafadmin/Tools/icc.py DEBUG: deactivating file: /opt/local/lib/node/wafadmin/Tools/gxx.py DEBUG: deactivating file: /opt/local/lib/node/wafadmin/Tools/gob2.py DEBUG: deactivating file: /opt/local/lib/node/wafadmin/Tools/gnu_dirs.py DEBUG: deactivating file: /opt/local/lib/node/wafadmin/Tools/gdc.py DEBUG: deactivating file: /opt/local/lib/node/wafadmin/Tools/gcc.py DEBUG: deactivating file: /opt/local/lib/node/wafadmin/Tools/gas.py DEBUG: deactivating file: /opt/local/lib/node/wafadmin/Tools/dmd.py DEBUG: deactivating file: /opt/local/lib/node/wafadmin/Tools/d.py DEBUG: deactivating file: /opt/local/lib/node/wafadmin/Tools/cxx.py DEBUG: deactivating file: /opt/local/lib/node/wafadmin/Tools/config_c.py DEBUG: deactivating file: /opt/local/lib/node/wafadmin/Tools/compiler_d.py DEBUG: deactivating file: /opt/local/lib/node/wafadmin/Tools/compiler_cxx.py DEBUG: deactivating file: /opt/local/lib/node/wafadmin/Tools/compiler_cc.py DEBUG: deactivating file: /opt/local/lib/node/wafadmin/Tools/ccroot.py DEBUG: deactivating file: /opt/local/lib/node/wafadmin/Tools/cc.py DEBUG: deactivating file: /opt/local/lib/node/wafadmin/Tools/ar.py DEBUG: deactivating file: /opt/local/lib/node/wafadmin/Tools/__init__.py DEBUG: deactivating directory: /opt/local/lib/node/wafadmin/Tools DEBUG: deactivating file: /opt/local/lib/node/wafadmin/TaskGen.py DEBUG: deactivating file: /opt/local/lib/node/wafadmin/Task.py DEBUG: deactivating file: /opt/local/lib/node/wafadmin/Scripting.py DEBUG: deactivating file: /opt/local/lib/node/wafadmin/Runner.py DEBUG: deactivating file: /opt/local/lib/node/wafadmin/Options.py DEBUG: deactivating file: /opt/local/lib/node/wafadmin/Node.py DEBUG: deactivating file: /opt/local/lib/node/wafadmin/Logs.py DEBUG: deactivating file: /opt/local/lib/node/wafadmin/Environment.py DEBUG: deactivating file: /opt/local/lib/node/wafadmin/Constants.py DEBUG: deactivating file: /opt/local/lib/node/wafadmin/Configure.py DEBUG: deactivating file: /opt/local/lib/node/wafadmin/Build.py DEBUG: deactivating directory: /opt/local/lib/node/wafadmin DEBUG: deactivating directory: /opt/local/lib/node DEBUG: deactivating file: /opt/local/lib/dtrace/node.d DEBUG: deactivating directory: /opt/local/lib/dtrace DEBUG: /opt/local/lib is not empty DEBUG: deactivating file: /opt/local/include/node/v8stdint.h DEBUG: deactivating file: /opt/local/include/node/v8.h DEBUG: deactivating file: /opt/local/include/node/v8-testing.h DEBUG: deactivating file: /opt/local/include/node/v8-profiler.h DEBUG: deactivating file: /opt/local/include/node/v8-preparser.h DEBUG: deactivating file: /opt/local/include/node/v8-debug.h DEBUG: deactivating file: /opt/local/include/node/uv.h DEBUG: deactivating file: /opt/local/include/node/uv-private/uv-win.h DEBUG: deactivating file: /opt/local/include/node/uv-private/uv-unix.h DEBUG: deactivating file: /opt/local/include/node/uv-private/tree.h DEBUG: deactivating file: /opt/local/include/node/uv-private/ngx-queue.h DEBUG: deactivating file: /opt/local/include/node/uv-private/ev.h DEBUG: deactivating file: /opt/local/include/node/uv-private/eio.h DEBUG: deactivating directory: /opt/local/include/node/uv-private DEBUG: deactivating file: /opt/local/include/node/node_version.h DEBUG: deactivating file: /opt/local/include/node/node_object_wrap.h DEBUG: deactivating file: /opt/local/include/node/node_buffer.h DEBUG: deactivating file: /opt/local/include/node/node.h DEBUG: deactivating file: /opt/local/include/node/ev-emul.h DEBUG: deactivating file: /opt/local/include/node/eio-emul.h DEBUG: deactivating file: /opt/local/include/node/ares_version.h DEBUG: deactivating file: /opt/local/include/node/ares.h DEBUG: deactivating directory: /opt/local/include/node DEBUG: /opt/local/include is not empty DEBUG: deactivating file: /opt/local/bin/node-waf DEBUG: deactivating file: /opt/local/bin/node DEBUG: /opt/local/bin is not empty DEBUG: /opt/local is not empty DEBUG: /opt is not empty DEBUG: / is not empty DEBUG: Executing org.macports.main (nodejs) DEBUG: clean phase started at Fri Jun 14 17:08:36 EDT 2013 ---> Cleaning nodejs }}} Now it contains: {{{ Local-Admins-MacBook-Pro:nodetcl ericgallager$ port contents nodejs Port nodejs contains: /opt/local/bin/node /opt/local/include/node/ares.h /opt/local/include/node/ares_version.h /opt/local/include/node/node.h /opt/local/include/node/node_buffer.h /opt/local/include/node/node_object_wrap.h /opt/local/include/node/node_version.h /opt/local/include/node/uv-private/ngx-queue.h /opt/local/include/node/uv-private/tree.h /opt/local/include/node/uv-private/uv-unix.h /opt/local/include/node/uv-private/uv-win.h /opt/local/include/node/uv.h /opt/local/include/node/v8-debug.h /opt/local/include/node/v8-preparser.h /opt/local/include/node/v8-profiler.h /opt/local/include/node/v8-testing.h /opt/local/include/node/v8.h /opt/local/include/node/v8stdint.h /opt/local/lib/dtrace/node.d /opt/local/share/doc/nodejs/AUTHORS /opt/local/share/doc/nodejs/ChangeLog /opt/local/share/doc/nodejs/LICENSE /opt/local/share/doc/nodejs/README.md /opt/local/share/man/man1/node.1.gz }}} Was the `node-waf` executable supposed to have been removed like that? I need it to configure a package I'm working on porting: https://github.com/bovine/nodetcl -- Ticket URL: <https://trac.macports.org/ticket/39440> MacPorts <http://www.macports.org/> Ports system for OS X
#39440: nodejs: upgrading from @0.8.15 to @0.10.11 removes node-waf ----------------------+-------------------------------- Reporter: egall@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: wontfix | Keywords: Port: nodejs | ----------------------+-------------------------------- Changes (by larryv@…): * status: new => closed * resolution: => wontfix Comment: Upstream removed it from unstable 0.9.1 last year. https://github.com/joyent/node/blob/v0.9.1/ChangeLog#L11 -- Ticket URL: <https://trac.macports.org/ticket/39440#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X
#39440: nodejs: upgrading from @0.8.15 to @0.10.11 removes node-waf ----------------------+-------------------------------- Reporter: egall@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: wontfix | Keywords: Port: nodejs | ----------------------+-------------------------------- Comment (by egall@…): Replying to [comment:1 larryv@…]:
Upstream removed it from unstable 0.9.1 last year.
Hm, darn. So could there be a separate nodejs8 port or something for projects that still need `node-waf`? -- Ticket URL: <https://trac.macports.org/ticket/39440#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
#39440: nodejs: upgrading from @0.8.15 to @0.10.11 removes node-waf ----------------------+-------------------------------- Reporter: egall@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: wontfix | Keywords: Port: nodejs | ----------------------+-------------------------------- Comment (by larryv@…): Replying to [comment:2 egall@…]:
Hm, darn. So could there be a separate nodejs8 port or something for projects that still need `node-waf`?
That seems like major overkill. Do we even have any ports that require node-waf? And it looks like projects [https://github.com/joyent/node/issues/3475 should be moving to node-gyp] anyway. -- Ticket URL: <https://trac.macports.org/ticket/39440#comment:3> MacPorts <http://www.macports.org/> Ports system for OS X
#39440: nodejs: upgrading from @0.8.15 to @0.10.11 removes node-waf ----------------------+-------------------------------- Reporter: egall@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: wontfix | Keywords: Port: nodejs | ----------------------+-------------------------------- Comment (by egall@…): Replying to [comment:3 larryv@…]:
And it looks like projects [https://github.com/joyent/node/issues/3475 should be moving to node-gyp] anyway.
ok, so how about a port for `node-gyp` then? It doesn't look like there currently is one: {{{ Local-Admins-MacBook-Pro:~ root# port search gyp No match for gyp found }}} Fink has a `gyp` package btw: http://fink.cvs.sourceforge.net/fink/dists/10.4/stable/main/finkinfo/libs/py... /gyp-py.info?view=markup -- Ticket URL: <https://trac.macports.org/ticket/39440#comment:4> MacPorts <http://www.macports.org/> Ports system for OS X
#39440: nodejs: upgrading from @0.8.15 to @0.10.11 removes node-waf ----------------------+-------------------------------- Reporter: egall@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: wontfix | Keywords: Port: nodejs | ----------------------+-------------------------------- Comment (by ciserlohn@…): Replying to [comment:4 egall@…]:
Replying to [comment:3 larryv@…]:
And it looks like projects [https://github.com/joyent/node/issues/3475 should be moving to node-gyp] anyway.
ok, so how about a port for `node-gyp` then? It doesn't look like there currently is one: {{{ Local-Admins-MacBook-Pro:~ root# port search gyp No match for gyp found }}} Fink has a `gyp` package btw: http://fink.cvs.sourceforge.net/fink/dists/10.4/stable/main/finkinfo/libs/py... /gyp-py.info?view=markup
node-gyp is available through npm: {{{ $ sudo port install npm }}} (...) {{{ $ npm search node-gyp npm http GET https://registry.npmjs.org/-/all/since?stale=update_after&startkey=137136598... npm http 200 https://registry.npmjs.org/-/all/since?stale=update_after&startkey=137136598... NAME DESCRIPTION AUTHOR DATE VERSION KEYWORDS node-gyp Node.js native addon build tool =TooTallNate =tootallnate 2013-06-05 23:02 0.10.0 native addon module c c++ bindings gyp $ }}} -- Ticket URL: <https://trac.macports.org/ticket/39440#comment:5> MacPorts <http://www.macports.org/> Ports system for OS X
#39440: nodejs: upgrading from @0.8.15 to @0.10.11 removes node-waf ----------------------+-------------------------------- Reporter: egall@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: wontfix | Keywords: Port: nodejs | ----------------------+-------------------------------- Comment (by egall@…): Replying to [comment:5 ciserlohn@…]:
node-gyp is available through npm: {{{ $ sudo port install npm }}} (...) {{{ $ npm search node-gyp npm http GET https://registry.npmjs.org/-/all/since?stale=update_after&startkey=137136598... npm http 200 https://registry.npmjs.org/-/all/since?stale=update_after&startkey=137136598... NAME DESCRIPTION AUTHOR DATE VERSION KEYWORDS node-gyp Node.js native addon build tool =TooTallNate =tootallnate 2013-06-05 23:02 0.10.0 native addon module c c++ bindings gyp $ }}}
OK, that could work for building manually, but how would I go about calling that from a portfile? I would imagine it would be a bad idea to call `npm` from a portfile, as then the files it installs would be untracked by MacPorts. We already have ports for perl modules, python eggs, ruby gems, cabal and opam packages, and probably some things from a few other language-specific package managers that I'm forgetting. Couldn't we start carrying ports for npm modules, too? -- Ticket URL: <https://trac.macports.org/ticket/39440#comment:6> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts