BSD Ports

lang/ruby40 4.0.7 NetBSD

Ruby 4.0.7 release package

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
Last update
Commit
7fdfc7c282
License
2-clause-bsd OR ruby-license
Categories
lang, ruby
Package size
19231.0 KiB, 87858.2 KiB installed

Description

Ruby is an interpreted object-oriented programming language often used for web development. It also offers many scripting features to process plain text and serialized files, or manage system tasks. It is simple, straightforward, and extensible.

Ruby 4.0 introduces a number of new features and performance improvements, here are some of them: * Ruby Box

a new (experimental) feature to provide separation about definitions

* Performance: ZJIT

a new just-in-time (JIT) compiler, which is developed as the
next generation of YJIT

It is not enabled on pkgsrc for now.

* Ractor Improvements * Stdlib updates * Retirement of RJIT: Experital pure-Ruby JIT compiler

In the other systems

SystemPortVersion
NetBSDlang/ruby404.0.7
FreeBSDlang/ruby404.0.7,1

Install

Binary package:

pkgin install ruby40

From pkgsrc:

cd /usr/pkgsrc/lang/ruby40 && make install clean

Dependencies

Run dependencies 2
Required by 1

Commit history 3

DateCommitCreditsLog message
7fdfc7c282 rin ruby*: Works around GCC 14 bug on alpha
s/-O2/-O1/ for GCC >= 14 on alpha. Otherwise, for ruby34, e.g., ``` gcc -mieee -O2 -mieee -pthread -I/usr/include -I/usr/pkg/include -fPIC -pipe -fno-strict-overflow -fvisibility=hidden -fexcess-precision=standard -DRUBY_EXPORT -I. -I.ext/include/alpha-netbsd -I.ext/include -I./include -I. -I./prism -I./enc/unicode/15.0.0 -Dmodular_gc_dir="" -I/usr/include -I/usr/pkg/include -o ractor.o -c ractor.c during RTL pass: sched2 ractor.c: In function 'ractor_channel_func': ractor.c:4010:1: internal compiler error: in move_insn, at haifa-sched.cc:5477 4010 | } | ^ 0x1215184ff diagnostic_impl(rich_location*, diagnostic_metadata const*, int, char const*, __va_list_tag*, diagnostic_t) ???:0 0x121518beb internal_error(char const*, ...) ???:0 …
da377b9149 taca lang/ruby40: update to 4.0.7
This release contains fix for CVE-2026-80212 and CVE-2026-80213 in resolv gem. 4.0.7 (2026-09-15) * Bug #22188: addr2line doesn't find symbols when compiled with GCC LTO * Bug #22210: Check if issue #19969 is still reproducible / re-opened in 4.0.x * Bug #22217: Segmentation fault when resuming execution with Coverage.start and ruby/debug * Fix formatting in ObjectSpace._id2ref error path by eregon · Pull Request #18206 * Bug #22200: ObjectSpace._id2ref can return a different object than the id's owner on Ruby 4.0 (stale id2ref_tbl entry for objects with generic fields) * Bug #22123: Ruby::Box + BUNDLER_SETUP can evaluate gemspecs before main-box RubyGems initialization * Bump ERB to 6.0.7 by k0kubun · Pull Request #18282 …
4ff4ff044a taca lang/ruby40: update to 4.0.6
pkgsrc change: stop installing obsolete ChangeLog. 4.0.6 (2026-07-14) What's Changed * Bug #22070: Thread.each_caller_location(1, 1) segfaults when called from a cfunc * Bug #22075: heap-use-after-free in rb_vm_ci_lookup under parallel Ractors * Bug #22076: defined? returns nil for protected methods defined in a module even when callable * Bug #22072: [BUG] should have cvar cache entry * Bug #22074: YJIT misaligns locals when there are > 256 local variables * Bug #22064: GC compaction breaks compare-by-identity sets * Bug #22084: invokesuper from define_method in Ractor can call wrong super method or crash * Bug #22092: Array#sum takes slow path, does not perform compensated summation of Float elements when init argument is a Float …