[DRE-maint] Bug#762493: ruby-jekyll-watch: Package should suggest ruby-rb-inotify

Thomas Prokosch thomas-bugs-0x0e at nadev.net
Mon Sep 22 19:23:35 UTC 2014


Package: ruby-jekyll-watch
Version: 1.0.0-1
Severity: minor

Jekyll is crashing under the following conditions:
1. ruby-jekyll-watch is installed
2. ruby-rb-inotify is not installed
3. The user runs "jekyll build -w" or "jekyll serve -w" without the "--force_polling" command line option.

The error message is:

/usr/lib/ruby/vendor_ruby/celluloid/mailbox.rb:69:in `sleep': No live threads left. Deadlock? (fatal)
	from /usr/lib/ruby/vendor_ruby/celluloid/mailbox.rb:69:in `wait'
	from /usr/lib/ruby/vendor_ruby/celluloid/mailbox.rb:69:in `receive'
	from /usr/lib/ruby/vendor_ruby/celluloid/calls.rb:97:in `block in wait'
	from /usr/lib/ruby/vendor_ruby/celluloid/calls.rb:96:in `loop'
	from /usr/lib/ruby/vendor_ruby/celluloid/calls.rb:96:in `wait'
	from /usr/lib/ruby/vendor_ruby/celluloid.rb:99:in `suspend'
	from /usr/lib/ruby/vendor_ruby/celluloid/calls.rb:92:in `value'
	from /usr/lib/ruby/vendor_ruby/celluloid/proxies/sync_proxy.rb:33:in `method_missing'
	from /usr/lib/ruby/vendor_ruby/listen/listener.rb:134:in `_init_actors'
	from /usr/lib/ruby/vendor_ruby/listen/listener.rb:40:in `start'
	from /usr/lib/ruby/vendor_ruby/jekyll/commands/watch.rb:43:in `watch'
	from /usr/lib/ruby/vendor_ruby/jekyll/commands/build.rb:62:in `watch'
	from /usr/lib/ruby/vendor_ruby/jekyll/commands/build.rb:35:in `process'
	from /usr/lib/ruby/vendor_ruby/jekyll/commands/serve.rb:24:in `block (2 levels) in init_with_program'
	from /usr/lib/ruby/vendor_ruby/mercenary/command.rb:220:in `call'
	from /usr/lib/ruby/vendor_ruby/mercenary/command.rb:220:in `block in execute'
	from /usr/lib/ruby/vendor_ruby/mercenary/command.rb:220:in `each'
	from /usr/lib/ruby/vendor_ruby/mercenary/command.rb:220:in `execute'
	from /usr/lib/ruby/vendor_ruby/mercenary/program.rb:35:in `go'
	from /usr/lib/ruby/vendor_ruby/mercenary.rb:22:in `program'
	from /usr/bin/jekyll:18:in `<main>'

This is just a long way of saying that the inotify interface is not available.

As Jekyll works fine with the "-w" and "--force_polling" options combined, even when the ruby-rb-inotify package is not installed, I am using "severity: minor" to report this bug.

However, it would be nice if the user would be reminded to install the ruby-rb-inotify package somehow, eg by recommending this package, or printing an appropriate error message.

Best wishes,
Thomas

-- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'oldstable-updates'), (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 3.14-2-686-pae (SMP w/1 CPU core)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=ANSI_X3.4-1968) (ignored: LC_ALL set to C)
Shell: /bin/sh linked to /bin/dash

Versions of packages ruby-jekyll-watch depends on:
ii  ruby                          1:2.1.0.4
ii  ruby1.9.1 [ruby-interpreter]  1.9.3.484-2
ii  ruby2.1 [ruby-interpreter]    2.1.2-3

ruby-jekyll-watch recommends no packages.

ruby-jekyll-watch suggests no packages.

-- no debconf information



More information about the Pkg-ruby-extras-maintainers mailing list