Path to this page:
Subject: CVS commit: [pkgsrc-2022Q1] pkgsrc/lang
From: Benny Siegert
Date: 2022-05-08 16:53:38
Message id: 20220508145338.8B79EFA94@cvs.NetBSD.org
Log Message:
Pullup tickets #6626 and #6627 - requested by taca
ruby30-base: build fix
ruby31-base: build fix
Revisions pulled up:
- lang/ruby/platform.mk 1.10-1.12
- lang/ruby/rubyversion.mk 1.251
- lang/ruby30-base/Makefile 1.7
- lang/ruby30-base/distinfo 1.9-1.10
- lang/ruby30-base/patches/patch-configure 1.2
- lang/ruby30-base/patches/patch-include_ruby_internal_static__assert.h 1.1
- lang/ruby31-base/Makefile 1.4-1.5
- lang/ruby31-base/distinfo 1.4-1.7
- lang/ruby31-base/patches/patch-configure 1.2
- lang/ruby31-base/patches/patch-include_ruby_internal_static__assert.h 1.1
- lang/ruby31-base/patches/patch-template_Makefile.in 1.1
- lang/ruby31-base/patches/patch-tool_runruby.rb 1.1
---
Module Name: pkgsrc
Committed By: jperkin
Date: Wed May 4 15:49:51 UTC 2022
Modified Files:
pkgsrc/lang/ruby31-base: Makefile distinfo
pkgsrc/lang/ruby31-base/patches: patch-configure
Log Message:
ruby31-base: Retain _XOPEN_SOURCE on SunOS.
Fixes build of eventmachine (which assumes the XPG4.2 "void *" type for
iov_base), and mirrors settings of ruby 2.x. Bump PKGREVISION.
---
Module Name: pkgsrc
Committed By: taca
Date: Wed May 4 16:16:49 UTC 2022
Modified Files:
pkgsrc/lang/ruby: platform.mk
Log Message:
lang/ruby: fix build problem of Ruby 3.1 on NetBSD 8
Fix build problem of Ruby 3.1 on NetBSD 8 by disabling dtrace.
Ruby 3.1 dtrace(1) to modify compiled object files during build process.
But something wrong on NetBSD 8, includeing 8.2_STABLE.
For example, vm.o contains these symbols on NetBSD 9:
0000000000000000 A __dtrace_ruby___array__create
0000000000000000 A __dtrace_ruby___cmethod__entry
0000000000000000 A __dtrace_ruby___cmethod__return
0000000000000000 A __dtrace_ruby___hash__create
0000000000000000 A __dtrace_ruby___method__entry
0000000000000000 A __dtrace_ruby___method__return
0000000000000000 A __dtraceenabled_ruby___array__create
0000000000000000 A __dtraceenabled_ruby___cmethod__entry
0000000000000000 A __dtraceenabled_ruby___cmethod__return
0000000000000000 A __dtraceenabled_ruby___hash__create
0000000000000000 A __dtraceenabled_ruby___method__entry
0000000000000000 A __dtraceenabled_ruby___method__return
But on NetBSD 8:
0000000000000000 A __dtrace_ruby___array-create
0000000000000000 A __dtrace_ruby___cmethod-entry
0000000000000000 A __dtrace_ruby___cmethod-return
0000000000000000 A __dtrace_ruby___hash-create
0000000000000000 A __dtrace_ruby___method-entry
0000000000000000 A __dtrace_ruby___method-return
0000000000000000 A __dtraceenabled_ruby___array-create
0000000000000000 A __dtraceenabled_ruby___cmethod-entry
0000000000000000 A __dtraceenabled_ruby___cmethod-return
0000000000000000 A __dtraceenabled_ruby___hash-create
0000000000000000 A __dtraceenabled_ruby___method-entry
0000000000000000 A __dtraceenabled_ruby___method-return
---
Module Name: pkgsrc
Committed By: jperkin
Date: Wed May 4 15:49:16 UTC 2022
Modified Files:
pkgsrc/lang/ruby30-base: Makefile distinfo
pkgsrc/lang/ruby30-base/patches: patch-configure
Log Message:
ruby30-base: Retain _XOPEN_SOURCE on SunOS.
Fixes build of eventmachine (which assumes the XPG4.2 "void *" type for
iov_base), and mirrors settings of ruby 2.x. Bump PKGREVISION.
---
Module Name: pkgsrc
Committed By: taca
Date: Wed May 4 16:44:53 UTC 2022
Modified Files:
pkgsrc/lang/ruby: platform.mk
pkgsrc/lang/ruby30-base: distinfo
pkgsrc/lang/ruby31-base: distinfo
Added Files:
pkgsrc/lang/ruby30-base/patches:
patch-include_ruby_internal_static__assert.h
pkgsrc/lang/ruby31-base/patches:
patch-include_ruby_internal_static__assert.h
Log Message:
lang/ruby: fix Ruby 3.0 build problem on NetBSD 8.0
Something wrong with expantion of static_assert macro in <assert.h>
on NetBSD 8.0. So, avoid use of static_assert on NetBSD 8.0.
NetBSD 8.1 and later dose not have this problem.
---
Module Name: pkgsrc
Committed By: jperkin
Date: Thu May 5 10:15:17 UTC 2022
Modified Files:
pkgsrc/lang/ruby: rubyversion.mk
Log Message:
ruby: Handle ruby31 changing the config triple for arm64 macOS.
---
Module Name: pkgsrc
Committed By: jperkin
Date: Thu May 5 10:25:06 UTC 2022
Modified Files:
pkgsrc/lang/ruby31-base: distinfo
Added Files:
pkgsrc/lang/ruby31-base/patches: patch-tool_runruby.rb
Log Message:
ruby31-base: Fix install on macOS arm64.
---
Module Name: pkgsrc
Committed By: taca
Date: Sat May 7 09:36:16 UTC 2022
Modified Files:
pkgsrc/lang/ruby: platform.mk
pkgsrc/lang/ruby31-base: Makefile distinfo
Added Files:
pkgsrc/lang/ruby31-base/patches: patch-template_Makefile.in
Log Message:
lang/ruby31-base: better fix than privious one
Instead of disabling DTrace, process object file yjit.o with "dtrace \
-G".
Bump PKGREVISION.
Files: