-
-
Notifications
You must be signed in to change notification settings - Fork 902
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
Installed gems using vendored libraries report inappropriate library paths in nokogiri -v
#1482
Comments
I'll note that all installed gems do this if they're using vendored libraries:
and so what I recommended above should be the action we take here: VersioInfo shouldn't track/display these paths unless the gem is using system libraries. |
nokogiri -v
So what this really means is that the paths are not useful, and we should remove them entirely. Because that would be a (slight) breaking change I'm going to move this into the v1.11.0 milestone. |
some backwards-incompatible changes here that I don't expect actually break anything for anyone: * Nokogiri::VersionInfo will no longer contain the following keys (previously these were set only when vendored libraries were being used): * `libxml/libxml2_path` * `libxml/libxslt_path` * `nokogiri -v` will no longer emit these VersionInfo values * these C macros will no longer be defined: * NOKOGIRI_LIBXML2_PATH * NOKOGIRI_LIBXSLT_PATH * these global variables will no longer be defined: * NOKOGIRI_LIBXML2_PATH * NOKOGIRI_LIBXSLT_PATH Fixes #1482
See PR at #1859 which is scheduled for v1.11.0. |
some backwards-incompatible changes here that I don't expect actually break anything for anyone: * Nokogiri::VersionInfo will no longer contain the following keys (previously these were set only when vendored libraries were being used): * `libxml/libxml2_path` * `libxml/libxslt_path` * `nokogiri -v` will no longer emit these VersionInfo values * these C macros will no longer be defined: * NOKOGIRI_LIBXML2_PATH * NOKOGIRI_LIBXSLT_PATH * these global variables will no longer be defined: * NOKOGIRI_LIBXML2_PATH * NOKOGIRI_LIBXSLT_PATH Fixes #1482
some backwards-incompatible changes here that I don't expect actually break anything for anyone: * Nokogiri::VersionInfo will no longer contain the following keys (previously these were set only when vendored libraries were being used): * `libxml/libxml2_path` * `libxml/libxslt_path` * `nokogiri -v` will no longer emit these VersionInfo values * these C macros will no longer be defined: * NOKOGIRI_LIBXML2_PATH * NOKOGIRI_LIBXSLT_PATH * these global variables will no longer be defined: * NOKOGIRI_LIBXML2_PATH * NOKOGIRI_LIBXSLT_PATH Fixes #1482
some backwards-incompatible changes here that I don't expect actually break anything for anyone: * Nokogiri::VersionInfo will no longer contain the following keys (previously these were set only when vendored libraries were being used): * `libxml/libxml2_path` * `libxml/libxslt_path` * `nokogiri -v` will no longer emit these VersionInfo values * these C macros will no longer be defined: * NOKOGIRI_LIBXML2_PATH * NOKOGIRI_LIBXSLT_PATH * these global variables will no longer be defined: * NOKOGIRI_LIBXML2_PATH * NOKOGIRI_LIBXSLT_PATH Fixes #1482
With PR applied, output looks like:
|
…ibrary-paths [#1482] remove library paths from version output
Cross-compiled windows gem contains misleading and incorrect library paths in
VersionInfo
:Really, we should alter
VersionInfo
to only contain these paths if using the system libraries, regardless of platform.The text was updated successfully, but these errors were encountered: