[Bug 250432] devel/rubygem-rb-kqueue: Apply a patch fixing a bug which break Jekyll live reload

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Oct 18 11:01:17 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=250432

            Bug ID: 250432
           Summary: devel/rubygem-rb-kqueue: Apply a patch fixing a bug
                    which break Jekyll live reload
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: sunpoet at FreeBSD.org
          Reporter: 0mp at FreeBSD.org
             Flags: maintainer-feedback?(sunpoet at FreeBSD.org)
          Assignee: sunpoet at FreeBSD.org

Created attachment 218858
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=218858&action=edit
Patch

When running jekyll --livereload I experience the following problems:

> #<Thread:0x0000000805153558@/usr/local/lib/ruby/gems/2.6/gems/listen-3.2.1/lib/listen/internals/thread_pool.rb:6 run> terminated with exception (report_on_exception is true):
> Traceback (most recent call last):
>         7: from /usr/local/lib/ruby/gems/2.6/gems/listen-3.2.1/lib/listen/internals/thread_pool.rb:6:in `block in add'
>         6: from /usr/local/lib/ruby/gems/2.6/gems/listen-3.2.1/lib/listen/adapter/base.rb:78:in `block in start'
>         5: from /usr/local/lib/ruby/gems/2.6/gems/listen-3.2.1/lib/listen/adapter/bsd.rb:50:in `_run'
>         4: from /usr/local/lib/ruby/gems/2.6/gems/rb-kqueue-0.2.5/lib/rb-kqueue/queue.rb:316:in `run'
>         3: from /usr/local/lib/ruby/gems/2.6/gems/rb-kqueue-0.2.5/lib/rb-kqueue/queue.rb:337:in `process'
>         2: from /usr/local/lib/ruby/gems/2.6/gems/rb-kqueue-0.2.5/lib/rb-kqueue/queue.rb:337:in `each'
>         1: from /usr/local/lib/ruby/gems/2.6/gems/rb-kqueue-0.2.5/lib/rb-kqueue/queue.rb:337:in `block in process'
> /usr/local/lib/ruby/gems/2.6/gems/rb-kqueue-0.2.5/lib/rb-kqueue/event.rb:80:in `callback!': undefined method `callback!' for nil:NilClass (NoMethodError)

It turns out that the patch from this PR
(https://github.com/mat813/rb-kqueue/pull/12) fixes the issue.

I'm attaching a patch which adds the patch from the PR to the makefile.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list