From: v.ondruch@... Date: 2018-11-16T09:07:30+00:00 Subject: [ruby-core:89833] [Ruby trunk Bug#15306] Generate prelude.c using miniruby Issue #15306 has been updated by vo.x (Vit Ondruch). In this specific case, I am concerned about the possibility of patching Ruby, specifically #8566. It is, unfortunately, a bit more complex with the bootstrapping. Ideally, the content of tarball should be the same as the content of the upstream repository, because, in Fedora, there are guidelines such as [1]. OTOH, using Ruby to bootstrap Ruby is problematic, because of the necessity of bootstrapping new distributions (RHEL8 Beta was released yesterday [2], yay!) and new platforms. Generally, I would be glad if as much code as possible is generated during the build and the amount of pre-generated code shipped in the released tarball is minimal, while I'd like to avoid dependency on Ruby. Miniruby is helping with both cases, so I appreciate the existence of Miniruby. [1]: https://fedoraproject.org/wiki/Packaging:What_Can_Be_Packaged#Pregenerated_code [2]: https://developers.redhat.com/blog/2018/11/15/red-hat-enterprise-linux-8-beta-is-here/ ---------------------------------------- Bug #15306: Generate prelude.c using miniruby https://bugs.ruby-lang.org/issues/15306#change-74892 * Author: vo.x (Vit Ondruch) * Status: Open * Priority: Normal * Assignee: * Target version: * ruby -v: ruby 2.6.0preview3 (2018-11-06 trunk 65578) [x86_64-linux] * Backport: 2.3: UNKNOWN, 2.4: UNKNOWN, 2.5: UNKNOWN ---------------------------------------- I don't see any reason why prelude.c should be included in source tarball and why it should not be generated by miniruby. Please see the attached patch. Please note this is a clone of #10554, which was closed just because it was old, not because it was resolved. ---Files-------------------------------- 0001-Generate-preludes-using-miniruby.patch (883 Bytes) -- https://bugs.ruby-lang.org/ Unsubscribe: