[Bug 948045] New: Nodejs 4.0 rpm does install addon-rpm.gypi
http://bugzilla.opensuse.org/show_bug.cgi?id=948045 Bug ID: 948045 Summary: Nodejs 4.0 rpm does install addon-rpm.gypi Classification: openSUSE Product: openSUSE 13.1 Version: Final Hardware: All OS: openSUSE 13.1 Status: NEW Severity: Normal Priority: P5 - None Component: Other Assignee: bnc-team-screening@forge.provo.novell.com Reporter: jarek@stormdust.net QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.2454.101 Safari/537.36 Build Identifier: File addon-rpm.gypi is referenced in configure.j, but missing in the rpm. The result is that any attempt to use "node-gyp rebuild" results in an error like this: gyp: /usr/lib64/node_modules/npm/node_modules/node-gyp/addon-rpm.gypi not found (cwd: /usr/lib/node_modules/java) while reading includes of binding.gyp while trying to load binding.gyp gyp ERR! configure error gyp ERR! stack Error: `gyp` failed with exit code: 1 gyp ERR! stack at ChildProcess.onCpExit (/usr/lib64/node_modules/npm/node_modules/node-gyp/lib/configure.js:358:16) gyp ERR! stack at emitTwo (events.js:87:13) gyp ERR! stack at ChildProcess.emit (events.js:172:7) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12) gyp ERR! System Linux 3.11.10-29-desktop gyp ERR! command "/usr/bin/node" "/usr/lib64/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" Reproducible: Always Steps to Reproduce: 1. Install nodejs-4.0.0 from the official opensSUSE update repository 2. Run "npm install java" (or try to install any other package which required gyp rebuild) 3. Observe failure due to missing addon-rpm.gypi Looking at the source rpm, it seems that there is a patch which creates the addon-rpm.gypi file, but the file does not end up in the rpm. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=948045
J Cora
http://bugzilla.opensuse.org/show_bug.cgi?id=948045
J Cora
http://bugzilla.opensuse.org/show_bug.cgi?id=948045 http://bugzilla.opensuse.org/show_bug.cgi?id=948045#c1 Marguerite Su changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |CONFIRMED Assignee|bnc-team-screening@forge.pr |i@marguerite.su |ovo.novell.com | --- Comment #1 from Marguerite Su --- sorry, the addon-rpm.gypi was created but not installed. will fix it through the next update -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=948045
http://bugzilla.opensuse.org/show_bug.cgi?id=948045#c2
malcolm cooke
http://bugzilla.opensuse.org/show_bug.cgi?id=948045 http://bugzilla.opensuse.org/show_bug.cgi?id=948045#c3 --- Comment #3 from Marguerite Su --- I just prepared the next update to 4.2.1. A temp workaround would be to use the one in devel:languages:nodejs repo. Marguerite -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=948045
http://bugzilla.opensuse.org/show_bug.cgi?id=948045#c6
Bruno Friedmann
phantomjs@1.9.19 install /home/bruno/git/geo-front3/node_modules/phantomjs node install.js
PhantomJS not found on PATH Download already available at /tmp/phantomjs/phantomjs-1.9.8-linux-x86_64.tar.bz2 Verified checksum of previously downloaded file Extracting tar contents (via spawned process) Removing /home/bruno/git/geo-front3/node_modules/phantomjs/lib/phantom Copying extracted folder /tmp/phantomjs/phantomjs-1.9.8-linux-x86_64.tar.bz2-extract-1449759930812/phantomjs-1.9.8-linux-x86_64 -> /home/bruno/git/geo-front3/node_modules/phantomjs/lib/phantom Writing location.js file Done. Phantomjs binary available at /home/bruno/git/geo-front3/node_modules/phantomjs/lib/phantom/bin/phantomjs npm WARN optional dep failed, continuing fsevents@0.3.8 npm WARN optional dep failed, continuing fsevents@1.0.6 \
bufferutil@1.2.1 install /home/bruno/git/geo-front3/node_modules/karma/node_modules/socket.io/node_modules/engine.io/node_modules/ws/node_modules/bufferutil node-gyp rebuild
gyp: /usr/lib64/node_modules/npm/node_modules/node-gyp/addon-rpm.gypi not found (cwd: /home/bruno/git/geo-front3/node_modules/karma/node_modules/socket.io/node_modules/engine.io/node_modules/ws/node_modules/bufferutil) while reading includes of binding.gyp while trying to load binding.gyp gyp ERR! configure error gyp ERR! stack Error: `gyp` failed with exit code: 1 gyp ERR! stack at ChildProcess.onCpExit (/usr/lib64/node_modules/npm/node_modules/node-gyp/lib/configure.js:358:16) gyp ERR! stack at emitTwo (events.js:87:13) gyp ERR! stack at ChildProcess.emit (events.js:172:7) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12) gyp ERR! System Linux 4.3.0-22.g60ce178-default gyp ERR! command "/usr/bin/node" "/usr/lib64/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" gyp ERR! cwd /home/bruno/git/geo-front3/node_modules/karma/node_modules/socket.io/node_modules/engine.io/node_modules/ws/node_modules/bufferutil gyp ERR! node -v v4.2.1 gyp ERR! node-gyp -v v3.0.3 gyp ERR! not ok
utf-8-validate@1.2.1 install /home/bruno/git/geo-front3/node_modules/karma/node_modules/socket.io/node_modules/engine.io/node_modules/ws/node_modules/utf-8-validate node-gyp rebuild
gyp: /usr/lib64/node_modules/npm/node_modules/node-gyp/addon-rpm.gypi not found (cwd: /home/bruno/git/geo-front3/node_modules/karma/node_modules/socket.io/node_modules/engine.io/node_modules/ws/node_modules/utf-8-validate) while reading includes of binding.gyp while trying to load binding.gyp gyp ERR! configure error gyp ERR! stack Error: `gyp` failed with exit code: 1 gyp ERR! stack at ChildProcess.onCpExit (/usr/lib64/node_modules/npm/node_modules/node-gyp/lib/configure.js:358:16) gyp ERR! stack at emitTwo (events.js:87:13) gyp ERR! stack at ChildProcess.emit (events.js:172:7) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12) gyp ERR! System Linux 4.3.0-22.g60ce178-default gyp ERR! command "/usr/bin/node" "/usr/lib64/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" gyp ERR! cwd /home/bruno/git/geo-front3/node_modules/karma/node_modules/socket.io/node_modules/engine.io/node_modules/ws/node_modules/utf-8-validate gyp ERR! node -v v4.2.1 gyp ERR! node-gyp -v v3.0.3 gyp ERR! not ok npm WARN optional dep failed, continuing bufferutil@1.2.1 npm WARN optional dep failed, continuing utf-8-validate@1.2.1
bufferutil@1.2.1 install /home/bruno/git/geo-front3/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/node_modules/engine.io-client/node_modules/ws/node_modules/bufferutil node-gyp rebuild
I've tried 4.2.2 for 13.1 from obs nodejs repo same result addon-rpm is missing too. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=948045
http://bugzilla.opensuse.org/show_bug.cgi?id=948045#c7
Reg Proctor
http://bugzilla.opensuse.org/show_bug.cgi?id=948045 http://bugzilla.opensuse.org/show_bug.cgi?id=948045#c8 --- Comment #8 from Marguerite Su --- omg... sorry guys, my mistake... I install addon-rpm.gypi to /usr/share/node and it get included in nodejs-devel pacakge :-( will fix this problem again in factory and released products. sorry again Marguerite -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=948045 http://bugzilla.opensuse.org/show_bug.cgi?id=948045#c9 --- Comment #9 from Marguerite Su --- can anyone check if the nodejs 5.3.0 in devel:languages:nodejs repository fix the bug? -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=948045 http://bugzilla.opensuse.org/show_bug.cgi?id=948045#c10 Marguerite Su changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |vladimir@krivenko.ru --- Comment #10 from Marguerite Su --- *** Bug 948733 has been marked as a duplicate of this bug. *** -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=948045 http://bugzilla.opensuse.org/show_bug.cgi?id=948045#c11 Marguerite Su changed: What |Removed |Added ---------------------------------------------------------------------------- Status|CONFIRMED |RESOLVED Resolution|--- |FIXED --- Comment #11 from Marguerite Su --- no answer, considered it as fixed. https://build.opensuse.org/request/show/352558 maintenance queue for this bug -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=948045 http://bugzilla.opensuse.org/show_bug.cgi?id=948045#c13 Marguerite Su changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED Resolution|--- |FIXED --- Comment #13 from Marguerite Su --- I think you missed the error messages, which indicates it's actually boo#961254. -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com