[Bug 257527] lang/ruby27: add DTRACE option

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 01 Aug 2021 09:47:18 +0000

            Bug ID: 257527
           Summary: lang/ruby27: add DTRACE option
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Keywords: patch
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ruby_at_FreeBSD.org
          Reporter: evgeniy_at_khramtsov.org
             Flags: maintainer-feedback?(ruby_at_FreeBSD.org)
          Assignee: ruby_at_FreeBSD.org
 Attachment #226828 maintainer-approval?
             Flags: maintainer-feedback?

Created attachment 226828
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=226828&action=edit
v1 (use "git am")

- add DTRACE option for user to decide

lang/ruby26 assumes that DTrace support is guarded by exists() check,
failing when base toolchain is removed, and instead external toolchain
is provided by ports via /usr/local/share/toolchains/*.mk inclusion.

- remove ${OPSYS} == "FreeBSD" check

DTrace does not exist on DragonFly BSD, the only known consumer of FreeBSD

- Bump PORTREVISION per [1]

poudriere testport (post-patch) Tier 1 arch logs:

poudriere bulk diff (post-patch) Tier 1 arch logs:

poudriere package diff (post-patch) Tier 1 arch logs [1]:

Note, 11.4 has modified usr/local/lib/libruby* entries. This is not caused
by this change, instead caused by any rebuild instead. Apparently, timestamp
or something else gets baked in on 11.4, so 11.4 Ruby is not reproducible. I
don't know any tool to diff binaries to tell what exactly is not reproducible.

RUBY_PORTREVISION bump is not included in this patch, git commit --amend
if committing.

UPDATING entry is not needed, the default behaviour of port did not change,
users who disable DTRACE globally will get notified via "options changed"
of poudriere.

lang/ruby30 change is omitted due to:

Note the commented out DTrace section. I don't yet use lang/ruby30,
I don't know the reason behind this commented out section, I can't
reasonably QA lang/ruby30. Changing lang/ruby30 is up to maintainer.

You are receiving this mail because:
You are the assignee for the bug.
Received on Sun Aug 01 2021 - 09:47:18 UTC

Original text of this message