[Pkg-sass-devel] Bug#854304: compass-slickmap-plugin: breaks compass: unknown regexp options - har (SyntaxError)

Jonas Smedegaard dr at jones.dk
Sun Feb 5 21:36:49 UTC 2017


Package: compass-slickmap-plugin
Version: 0.5.1.1-4
Severity: important

The recently added patch 2001 had a syntax error - missing quotes around
path string.

This causes Compass to throw this error:

/usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require': /usr/lib/ruby/vendor_ruby/compass-slickmap.rb:1: unknown regexp options - har (SyntaxError)
    from /usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require'
    from /usr/lib/ruby/vendor_ruby/compass/frameworks.rb:161:in `block in discover_gem_extensions!'
    from /usr/lib/ruby/vendor_ruby/compass/frameworks.rb:159:in `each'
    from /usr/lib/ruby/vendor_ruby/compass/frameworks.rb:159:in `discover_gem_extensions!'
    from /usr/lib/ruby/vendor_ruby/compass/frameworks.rb:180:in `discover_extensions!'
    from /usr/lib/ruby/vendor_ruby/compass/commands.rb:14:in `<top (required)>'
    from /usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require'
    from /usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require'
    from /usr/lib/ruby/vendor_ruby/compass/exec.rb:7:in `<top (required)>'
    from /usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require'
    from /usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require'
    from /usr/bin/compass:21:in `block in <main>'
    from /usr/bin/compass:8:in `fallback_load_path'
    from /usr/bin/compass:19:in `<main>'

Fix is to add singlequotes around the path on first line of the patched
file.

 - Jonas



More information about the pkg-sass-devel mailing list