-
Notifications
You must be signed in to change notification settings - Fork 29.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
--shared-openssl causes configure/gaf failure on io.js 2.3.0 (and 2.{1,2}.\d) #1985
Comments
@Haifen can you post the output of /cc @jbergstroem |
@bnoordhuis Result is: -lssl -lcrypto I assume -L is omitted because the libraries live in /usr/lib64. I assume pkg-config is omitting the library search flag because it's part of the standard search path? Is this normal behavior? Does Gyp expect a -L flag regardless of whether or not specifying one is necessary for compilation? |
@Haifen thanks for posting this. If this is from the ebuild you should file a bug at the gentoo bugzilla: http://bugs.gentoo.org. This is probably a whitespace issue parsing pkg-config output. |
@jbergstroem It sounds like an issue w/ pkg-config, since the build options above are verbatim from the ebuild and are likely to be what I would use when compiling by hand. That said, I will open a bug and attach bnoordhuis' patch. |
Gentoo bug is at Gentoo's bugtracker (Bug 552232) |
@Haifen its most likely not a bug with pkg-config. Parsing its output is just full of compromises. FYI, I'm the maintainer for the gentoo ebuilds (node, iojs) so I'll make sure we get a fix as soon as possible - but since you saw the error from emerge it's better to start in that bug tracker since it might be because of your local configuration. |
Fix parsing of `pkg-config --cflags-only-I`. The configure_library() step sometimes appended a list in a list instead of list of strings to include_dirs. This commit removes the default handling for includes and libpath options. They don't have defaults at the moment and I don't see that changing anytime soon. Fixing the code is more work and because it's dead code anyway, I opted to remove it instead. Fixes: nodejs#1985 PR-URL: nodejs#1986 Reviewed-By: Johan Bergström <bugs@bergstroem.nu>
Fixed by c207e8d. |
@jbergstroem I can confirm the bug on all my machines, so it is definitely not because of @Haifen 's local config ;) |
@msva didn't say it was because of his config, but it's definitely different depending on what the |
Hi-
When configuring io.js 2.3.0 (building using Gentoo, invocation of configure script happens from the src_configure() phase of the ebuild), Gaf spat this out:
The configure script invocation that caused the error was:
After farting around a bit on the commandline, I realized that the --shared-openssl configure option caused the issue.
There is a chance that there is something weird enough about my openssl install that it causes a type error in Python's posixpath.py, but I'm assuming something else may be going on. Ideas?
The text was updated successfully, but these errors were encountered: