Feature #18571
closed
Removed the bundled sources from release package after Ruby 3.2
Added by hsbt (Hiroshi SHIBATA) almost 3 years ago.
Updated about 2 years ago.
Description
We shipped release package with the 3rd party source for mswin environment especially.
The current status is here:
- libyaml: psych gem, ruby repo and package always bundled it.
- libffi: only ruby package bundled it. fiddle gem and repo are not bundled.
- zlib: gem, ruby repo and package don't bundled.
I propose we stop bundling the third-party source for security and maintenance reasons. Because we have vcpkg for mswin environment today. So, vcpkg provides the runtime for psych, fiddle and zlib.
- Status changed from Open to Assigned
- Assignee set to hsbt (Hiroshi SHIBATA)
We decided on the following policy.
- We will remove the bundled sources from ruby repo.
- If users put the third-party source under the ruby packages, ruby build system use them.
Accepted, for the record.
Matz.
- Related to Bug #18666: No rule to make target 'yaml/yaml.h', needed by 'api.o' added
- Status changed from Assigned to Closed
- Status changed from Closed to Assigned
The current distributed package still contained libyaml and libffi sources.
We will remove them and introduce the instructions to download them when building ruby like ./configure --enable-download-source
.
- Related to Bug #18790: cannot load such file -- digest (LoadError) added
- Related to Bug #18034: Segmentation fault fiddle with `--enable-bundled-libffi` and macOS added
I and nobu added --with-xxx-source-dir
option for psych and fiddle instead of --enable-bundled-libyaml
.
The users who want to use newer version of libyaml or libffi environment can use this option like gem install psych -- --with-libyaml-source-dir=$(pwd)/libyaml-0.2.5
.
- Target version set to 3.2
We should add the additional options and instructions to document or NEWS.
- Status changed from Assigned to Closed
Also available in: Atom
PDF
Like0
Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0