[DRE-maint] Bug#1029519: nanoc FTBFS Failure:Nanoc::Filters::ColorizeSyntax::PygmentizeTest

Vinay vinaykeshava at disroot.org
Mon Jan 23 17:17:45 GMT 2023


Source: nanoc
Version: 4.12.14-2
Severity: important

Dear Maintainer,
nanoc FTBFS on rebuilding with new upstream of ruby-fog-local (0.8.0)

Useful log

  6) Failure:
Nanoc::Filters::ColorizeSyntax::PygmentizeTest#test_colorize_syntax_with_default_colorizer 
[/<<PKGBUILDDIR>>/nanoc/test/filters/colorize_syntax/test_pygmentize.rb:38]:
--- expected
+++ actual
@@ -1 +1 @@
-"<pre><code class=\"language-ruby\"><span class=\"nb\">puts</span> 
<span class=\"s2\">\"foo\"</span></code></pre>"
+"<pre><code class=\"language-ruby\"><span class=\"nb\">puts</span><span 
class=\"w\"> </span><span class=\"s2\">\"foo\"</span></code></pre>"


Full build log


Finished in 11.288962s, 25.5116 runs/s, 75.2948 assertions/s.

   1) Skipped:
Nanoc::Filters::PandocTest#test_filter 
[/<<PKGBUILDDIR>>/nanoc/test/helper.rb:39]:
requiring pandoc-ruby failed

   2) Skipped:
Nanoc::Filters::PandocTest#test_params_old 
[/<<PKGBUILDDIR>>/nanoc/test/helper.rb:39]:
requiring pandoc-ruby failed

   3) Skipped:
Nanoc::Filters::PandocTest#test_params_new 
[/<<PKGBUILDDIR>>/nanoc/test/helper.rb:39]:
requiring pandoc-ruby failed

   4) Skipped:
Nanoc::Filters::HandlebarsTest#test_filter_without_layout 
[/<<PKGBUILDDIR>>/nanoc/test/helper.rb:39]:
requiring handlebars failed

   5) Skipped:
Nanoc::Filters::HandlebarsTest#test_filter 
[/<<PKGBUILDDIR>>/nanoc/test/helper.rb:39]:
requiring handlebars failed

   6) Failure:
Nanoc::Filters::ColorizeSyntax::PygmentizeTest#test_colorize_syntax_with_default_colorizer 
[/<<PKGBUILDDIR>>/nanoc/test/filters/colorize_syntax/test_pygmentize.rb:38]:
--- expected
+++ actual
@@ -1 +1 @@
-"<pre><code class=\"language-ruby\"><span class=\"nb\">puts</span> 
<span class=\"s2\">\"foo\"</span></code></pre>"
+"<pre><code class=\"language-ruby\"><span class=\"nb\">puts</span><span 
class=\"w\"> </span><span class=\"s2\">\"foo\"</span></code></pre>"


   7) Skipped:
Nanoc::Filters::YUICompressorTest#test_filter_css 
[/<<PKGBUILDDIR>>/nanoc/test/helper.rb:210]:
Could not find external command "java"

   8) Skipped:
Nanoc::Filters::YUICompressorTest#test_filter_javascript 
[/<<PKGBUILDDIR>>/nanoc/test/helper.rb:210]:
Could not find external command "java"

   9) Skipped:
Nanoc::Filters::BlueClothTest#test_filter 
[/<<PKGBUILDDIR>>/nanoc/test/helper.rb:39]:
requiring bluecloth failed

  10) Skipped:
Nanoc::Filters::TypogrubyTest#test_filter 
[/<<PKGBUILDDIR>>/nanoc/test/helper.rb:39]:
requiring typogruby failed

288 runs, 850 assertions, 1 failures, 0 errors, 9 skips
/usr/bin/ruby3.1 -S rspec 
--exclude-pattern=spec/**/{gem,meta,manifest}_spec.rb
=> spec-nanoc
mv lib lib.off

Progress: 
|====================================================================|

Pending: (Failures listed here are expected and do not affect your 
suite's status)

   1) list of contributors in README includes everyone mentioned in NEWS.md
      # Temporarily skipped with xit
      # ./spec/contributors_spec.rb:14

   2) list of contributors in README is sorted
      # Temporarily skipped with xit
      # ./spec/contributors_spec.rb:19

   3) Nanoc::DataSources::Filesystem#load_objects items two content 
files (no inline metadata) with one meta file errors
      # Temporarily skipped with xit
      # ./spec/nanoc/data_sources/filesystem_spec.rb:125

   4) Nanoc::DataSources::Filesystem#load_objects items two content 
files (both have inline metadata) with one meta file errors
      # Temporarily skipped with xit
      # ./spec/nanoc/data_sources/filesystem_spec.rb:169

   5) Nanoc::DataSources::Filesystem#changes_for_dir when directory 
exists returns a stream
      # Test does not work on Debian builds
      # ./spec/nanoc/data_sources/filesystem_spec.rb:293

   6) Nanoc::DataSources::Filesystem#changes_for_dir when directory 
exists contains one element after changing
      # Test does not work on Debian builds
      # ./spec/nanoc/data_sources/filesystem_spec.rb:297

   7) Nanoc::DataSources::Filesystem#changes_for_dir when directory 
exists Test does not work on Debian builds
      # No reason given
      # ./spec/nanoc/data_sources/filesystem_spec.rb:320

   8) Nanoc::DataSources::Filesystem#changes_for_dir when directory does 
not exist returns a stream
      # Test does not work on Debian builds
      # ./spec/nanoc/data_sources/filesystem_spec.rb:324

   9) Nanoc::DataSources::Filesystem#changes_for_dir when directory does 
not exist does not raise
      # Test does not work on Debian builds
      # ./spec/nanoc/data_sources/filesystem_spec.rb:328

   10) Nanoc::Filters::Less one file compiles a.less
      # Could not load gem "less"
      # ./spec/nanoc/filters/less_spec.rb:27

   11) Nanoc::Filters::Less one file with compression compiles and 
compresses a.less
      # Could not load gem "less"
      # ./spec/nanoc/filters/less_spec.rb:44

   12) Nanoc::Filters::Less two files compiles a.less
      # Could not load gem "less"
      # ./spec/nanoc/filters/less_spec.rb:60

   13) Nanoc::Filters::Less two files recompiles a.less if b.less has 
changed
      # Could not load gem "less"
      # ./spec/nanoc/filters/less_spec.rb:65

   14) Nanoc::Filters::Less paths relative to site directory compiles a.less
      # Could not load gem "less"
      # ./spec/nanoc/filters/less_spec.rb:86

   15) Nanoc::Filters::Less paths relative to site directory recompiles 
a.less if b.less has changed
      # Could not load gem "less"
      # ./spec/nanoc/filters/less_spec.rb:91

   16) Nanoc::Filters::Less paths relative to current file compiles a.less
      # Could not load gem "less"
      # ./spec/nanoc/filters/less_spec.rb:112

   17) Nanoc::Filters::Less paths relative to current file recompiles 
a.less if b.less has changed
      # Could not load gem "less"
      # ./spec/nanoc/filters/less_spec.rb:117

Finished in 13.92 seconds (files took 0.76723 seconds to load)
590 examples, 0 failures, 17 pending
/usr/bin/ruby3.1 -S rspec 
--exclude-pattern=spec/**/{gem,meta,manifest}_spec.rb
mv lib.off lib

<= spec-nanoc
=> spec-nanoc-core
mv lib lib.off

Progress: 
|====================================================================|

Pending: (Failures listed here are expected and do not affect your 
suite's status)

   1) Nanoc::Core::Context has correct examples
      # Temporarily skipped with xit
      # ./spec/nanoc/core/context_spec.rb:41

   2) Nanoc::Core::DirectedGraph has correct examples
      # Temporarily skipped with xit
      # ./spec/nanoc/core/directed_graph_spec.rb:54

   3) Nanoc::Core::Store can write humongous amounts of data
      # No reason given
      # ./spec/nanoc/core/store_spec.rb:113

   4) Nanoc::Core has up-to-date version information
      # This is a time bomb for downstream distributors
      # ./spec/nanoc/core_spec.rb:6

Finished in 27.82 seconds (files took 0.66043 seconds to load)
1918 examples, 0 failures, 4 pending
/usr/bin/ruby3.1 -S rspec 
--exclude-pattern=spec/**/{gem,meta,manifest}_spec.rb
mv lib.off lib

<= spec-nanoc-core
=> spec-nanoc-cli
mv lib lib.off

Progress: 
|====================================================================|

Pending: (Failures listed here are expected and do not affect your 
suite's status)

   1) Nanoc::CLI::Commands::Compile#run --watch watches with --watch
      # Temporarily skipped with xit
      # ./spec/nanoc/cli/commands/compile_spec.rb:59

   2) Nanoc::CLI::Commands::View#run does not crash when output dir does 
not exist and --live-reload is given
      # Temporarily skipped with xit
      # ./spec/nanoc/cli/commands/view_spec.rb:64

   3) Nanoc::CLI::Commands::View#run default configuration serves 
/index.html as /
      # Temporarily skipped with xit
      # ./spec/nanoc/cli/commands/view_spec.rb:29

   4) Nanoc::CLI::Commands::View#run index_filenames including 
index.xhtml serves /index.xhtml as /
      # Temporarily skipped with xit
      # ./spec/nanoc/cli/commands/view_spec.rb:49

   5) Nanoc::CLI::ErrorHandler#handle_error exit behavior exit on error 
exits on error
      # Temporarily skipped with xit
      # ./spec/nanoc/cli/error_handler_spec.rb:75

   6) Nanoc::CLI::ErrorHandler#handle_error exit behavior no exit on 
error does not exit on error
      # Temporarily skipped with xit
      # ./spec/nanoc/cli/error_handler_spec.rb:83

   7) Nanoc::CLI::ErrorHandler#handle_error printing behavior LoadError 
prints summary
      # Temporarily skipped with xit
      # ./spec/nanoc/cli/error_handler_spec.rb:109

Finished in 1.31 seconds (files took 0.3705 seconds to load)
131 examples, 0 failures, 7 pending
/usr/bin/ruby3.1 -S rspec 
--exclude-pattern=spec/**/{gem,meta,manifest}_spec.rb
mv lib.off lib

<= spec-nanoc-cli
=> spec-nanoc-live
mv lib lib.off

Progress: 
|====================================================================|

Pending: (Failures listed here are expected and do not affect your 
suite's status)

   1) Nanoc::Live::CommandRunners::Live watches
      # Temporarily skipped with xit
      # ./spec/nanoc/live/command_runners/live_spec.rb:34

   2) Nanoc::Live::CommandRunners::Live listens
      # Temporarily skipped with xit
      # ./spec/nanoc/live/command_runners/live_spec.rb:46

   3) Nanoc::Live::CommandRunners::Live listens for websocket connections
      # Temporarily skipped with xit
      # ./spec/nanoc/live/command_runners/live_spec.rb:58

Finished in 8.35 seconds (files took 0.49557 seconds to load)
9 examples, 0 failures, 3 pending
/usr/bin/ruby3.1 -S rspec 
--exclude-pattern=spec/**/{gem,meta,manifest}_spec.rb
mv lib.off lib

<= spec-nanoc-live
=> spec-nanoc-external
mv lib lib.off

Progress: 
|====================================================================|

Finished in 0.00911 seconds (files took 0.44915 seconds to load)
1 example, 0 failures
/usr/bin/ruby3.1 -S rspec 
--exclude-pattern=spec/**/{gem,meta,manifest}_spec.rb
mv lib.off lib

<= spec-nanoc-external
=> spec-nanoc-checking
mv lib lib.off

Progress: 
|====================================================================|

Finished in 1.44 seconds (files took 0.56188 seconds to load)
85 examples, 0 failures
/usr/bin/ruby3.1 -S rspec 
--exclude-pattern=spec/**/{gem,meta,manifest}_spec.rb
mv lib.off lib

<= spec-nanoc-checking
=> spec-nanoc-deploying
mv lib lib.off

Progress: |========================fatal: a branch named 'master' 
already exists
=fatal: a branch named 'master' already exists
fatal: a branch named 'master' already exists
fatal: a branch named 'master' already exists
fatal: a branch named 'master' already exists
=fatal: a branch named 'master' already exists
fatal: a branch named 'master' already exists
fatal: a branch named 'master' already exists
=fatal: a branch named 'master' already exists
fatal: a branch named 'master' already exists
fatal: a branch named 'master' already exists
fatal: a branch named 'master' already exists
=fatal: a branch named 'master' already exists
fatal: a branch named 'master' already exists
fatal: a branch named 'master' already exists
=fatal: a branch named 'master' already exists
fatal: a branch named 'master' already exists
fatal: a branch named 'master' already exists
fatal: a branch named 'master' already exists
fatal: a branch named 'master' already exists
=fatal: a branch named 'master' already exists
fatal: a branch named 'master' already exists
=fatal: a branch named 'master' already exists
=======fatal: a branch named 'master' already exists
fatal: a branch named 'master' already exists
=fatal: a branch named 'master' already exists
fatal: a branch named 'master' already exists
=fatal: a branch named 'master' already exists
fatal: a branch named 'master' already exists
fatal: a branch named 'master' already exists
fatal: a branch named 'master' already exists
fatal: a branch named 'master' already exists
=fatal: a branch named 'master' already exists
fatal: a branch named 'master' already exists
=fatal: a branch named 'master' already exists
fatal: a branch named 'master' already exists
fatal: a branch named 'master' already exists
fatal: a branch named 'master' already exists
fatal: a branch named 'master' already exists
=fatal: a branch named 'master' already exists
fatal: a branch named 'master' already exists
=fatal: a branch named 'master' already exists
fatal: a branch named 'master' already exists
fatal: a branch named 'master' already exists
fatal: a branch named 'master' already exists
fatal: a branch named 'master' already exists
========fatal: a branch named 'master' already exists
=fatal: a branch named 'master' already exists
fatal: a branch named 'master' already exists
fatal: a branch named 'master' already exists
fatal: a branch named 'master' already exists
fatal: a branch named 'master' already exists
=fatal: a branch named 'master' already exists
fatal: a branch named 'master' already exists
=fatal: a branch named 'master' already exists
fatal: a branch named 'master' already exists
fatal: a branch named 'master' already exists
fatal: a branch named 'master' already exists
fatal: a branch named 'master' already exists
=fatal: a branch named 'master' already exists
fatal: a branch named 'master' already exists
=fatal: a branch named 'master' already exists
fatal: a branch named 'master' already exists
fatal: a branch named 'master' already exists
fatal: a branch named 'master' already exists
fatal: a branch named 'master' already exists
=fatal: a branch named 'master' already exists
fatal: a branch named 'master' already exists
fatal: a branch named 'master' already exists
==========|

Finished in 14.58 seconds (files took 0.49937 seconds to load)
238 examples, 0 failures
rake aborted!
Failed: test_nanoc
/<<PKGBUILDDIR>>/debian/ruby-tests.rake:56:in `block in <top (required)>'
Tasks: TOP => default
(See full trace by running task with --trace)
mv lib.off lib

<= spec-nanoc-deploying
ERROR: Test "ruby3.1" failed. Exiting.
dh_auto_install: error: dh_ruby --install /<<PKGBUILDDIR>>/debian/tmp 
returned exit code 1
make: *** [debian/rules:9: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit 
status 2
--------------------------------------------------------------------------------
Build finished at 2023-01-23T16:20:54Z

Finished
--------


+------------------------------------------------------------------------------+
| Cleanup |
+------------------------------------------------------------------------------+

Purging /<<BUILDDIR>>
Not cleaning session: cloned chroot in use
E: Build failure (dpkg-buildpackage died)



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