Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 539432 - net-libs/nodejs-0.12.0 - configure: error: no such option: -D
Summary: net-libs/nodejs-0.12.0 - configure: error: no such option: -D
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: x86 Linux
: Normal normal with 2 votes (vote)
Assignee: Johan Bergström
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2015-02-09 09:41 UTC by stream009
Modified: 2015-05-14 03:52 UTC (History)
7 users (show)

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


Attachments
Bug fix patch (nodejs-0.12.0.ebuild.patch,603 bytes, patch)
2015-02-09 09:44 UTC, stream009
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description stream009 2015-02-09 09:41:31 UTC
Summary says all.

Reproducible: Always

Steps to Reproduce:
1. emerge =net-libs/nodejs-0.12.0
Actual Results:  
It fails on configuration phase.
Error says
>>> Configuring source in /var/tmp/portage/net-libs/nodejs-0.12.0/work/node-v0.12.0 ...
Usage: configure [options]

configure: error: no such option: -D
 * ERROR: net-libs/nodejs-0.12.0::gentoo failed (configure phase):

Expected Results:  
Configure properly then compile and install.
Comment 1 stream009 2015-02-09 09:44:26 UTC
Created attachment 395956 [details, diff]
Bug fix patch

This patch solves the problem for me.
Comment 2 Johan Bergström 2015-02-15 21:40:55 UTC
@patrick -- have a look at the io.js build where I cleaned all of this up (and added x32 support). Want me to file a patch?
Comment 3 stream009 2015-03-26 07:52:47 UTC
Same error happens on nodejs-0.12.1.
This bug is easy one, and I reported solution with bug a month ago. What is happening?
Comment 4 Simon C. Ion 2015-04-10 01:09:01 UTC
Same error happens when building on x86 with =net-libs/nodejs-0.12.2 (And, indeed, the whole 0.12 series so far.) Any news on applying the fix?
Comment 5 Johan Bergström 2015-04-14 02:05:52 UTC
(In reply to Simon C. Ion from comment #4)
> Same error happens when building on x86 with =net-libs/nodejs-0.12.2 (And,
> indeed, the whole 0.12 series so far.) Any news on applying the fix?

I'm in the process of fixing all outstanding nodejs issues by backporting the work I've done on iojs. See a work in progress ebuild here: https://github.com/gentoo/gentoo-portage-rsync-mirror/pull/95 

Please provide feedback in the PR but keep issues/discussion related to this bug here.
Comment 6 Johan Bergström 2015-05-11 01:55:05 UTC
WIP here: https://github.com/gentoo/gentoo-portage-rsync-mirror/pull/118
Comment 7 Johan Bergström 2015-05-14 03:52:04 UTC
Fixed in nodejs-0.12.2-r2