[DRE-maint] Bug#847834: ruby-github-markup: FTBFS: IndexError: pop from empty list

Chris Lamb lamby at debian.org
Mon Dec 12 08:04:09 UTC 2016


Source: ruby-github-markup
Version: 1.5.0+dfsg-3
Severity: serious
Justification: fails to build from source
User: reproducible-builds at lists.alioth.debian.org
Usertags: ftbfs
X-Debbugs-Cc: reproducible-bugs at lists.alioth.debian.org

Dear Maintainer,

ruby-github-markup fails to build from source in unstable/amd64:

  […]

  update-alternatives: using /usr/share/docutils/scripts/python2/rst2s5 to provide /usr/bin/rst2s5 (rst2s5) in auto mode
  update-alternatives: using /usr/share/docutils/scripts/python2/rst2xetex to provide /usr/bin/rst2xetex (rst2xetex) in auto mode
  update-alternatives: using /usr/share/docutils/scripts/python2/rst2xml to provide /usr/bin/rst2xml (rst2xml) in auto mode
  update-alternatives: using /usr/share/docutils/scripts/python2/rstpep2html to provide /usr/bin/rstpep2html (rstpep2html) in auto mode
  Setting up rake (10.5.0-2) ...
  Setting up libruby2.3:amd64 (2.3.3-1) ...
  Setting up ruby2.3 (2.3.3-1) ...
  Setting up ruby2.3-dev:amd64 (2.3.3-1) ...
  Setting up ruby (1:2.3.3) ...
  Setting up ruby-rinku (1.7.3-2) ...
  Setting up gem2deb-test-runner (0.33.1) ...
  Setting up ruby-redcarpet (3.3.4-2) ...
  Setting up ruby-json (2.0.1+dfsg-3) ...
  Setting up ruby-all-dev:amd64 (1:2.3.3) ...
  Setting up ruby-creole (0.5.0-2) ...
  Setting up ruby-tdiff (0.3.3-1) ...
  Setting up asciidoctor (1.5.4-2) ...
  Setting up ruby-pkg-config (1.1.7-1) ...
  Setting up ruby-atomic (1.1.16-2+b6) ...
  Setting up ruby-setup (3.4.1-9) ...
  Setting up ruby-expression-parser (0.9.1-4) ...
  Setting up ruby-redcloth (4.3.2-2) ...
  Setting up ruby-thread-safe (0.3.5-3) ...
  Setting up ruby-i18n (0.7.0-2) ...
  Setting up ruby-rubypants (0.6.0-1) ...
  Setting up ruby-tzinfo (1.2.2-2) ...
  Setting up ruby-blankslate (3.1.3-1) ...
  Setting up ruby-posix-spawn (0.3.11-1+b2) ...
  Setting up gem2deb (0.33.1) ...
  Setting up ruby-activesupport (2:4.2.7.1-1) ...
  Setting up ruby-nokogiri (1.6.8.1-1) ...
  Setting up ruby-nokogiri-diff (0.2.0-1) ...
  Setting up ruby-org (0.9.12-2) ...
  Setting up ruby-html-pipeline (1.11.0-1) ...
  Setting up ruby-builder (3.2.2-4) ...
  Setting up ruby-sanitize (2.1.0-2) ...
  Setting up ruby-wikicloth (0.8.1+dfsg-4) ...
  Setting up ruby-github-markup-build-deps (1.5.0+dfsg-3) ...
  Processing triggers for libc-bin (2.24-8) ...
  Processing triggers for ca-certificates (20161130) ...
  Updating certificates in /etc/ssl/certs...
  0 added, 0 removed; done.
  Running hooks in /etc/ca-certificates/update.d...
  done.
  
  **************************************************************************************
  ** Environment                                                                      **
  **************************************************************************************
  
  PATH=/home/lamby/git/projects/dotfiles/dotfiles/..//bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
  HOSTNAME=02ac3422a2dd
  TERM=xterm
  PAGER=more
  DISPLAY=:0
  DOCKER_IMAGE=lamby-debian-sid
  DEB_BUILD_OPTIONS=parallel=9
  PIP_DOWNLOAD_CACHE=/home/lamby/.cache/pip
  HOME=/home/lamby
  LOGNAME=lamby
  SHLVL=1
  PWD=/home/lamby/temp/cdt.20161212085942.NYbJv0Lql2.db.ruby-github-markup/ruby-github-markup-1.5.0+dfsg
  OLDPWD=/home/lamby/temp/cdt.20161212085942.NYbJv0Lql2.db.ruby-github-markup
  GPG_TTY=/dev/console
  QUILT_PATCHES=debian/patches
  QUILT_NO_DIFF_INDEX=1
  QUILT_REFRESH_ARGS=-p ab --no-timestamps --no-index
  DEBEMAIL=lamby at debian.org
  DEBFULLNAME=Chris Lamb
  EDITOR=vim
  LESS=-cgiFx4M
  GPG_KEY=1E953E27D4311E58
  BLASTER=A220 I5 D1 H5 P330 T6
  _=/usr/bin/env
  
  **************************************************************************************
  ** Building ruby-github-markup 1.5.0+dfsg-3 on amd64                                **
  **************************************************************************************
  
   dpkg-buildpackage -rfakeroot -us -uc -b
  dpkg-buildpackage: info: source package ruby-github-markup
  dpkg-buildpackage: info: source version 1.5.0+dfsg-3
  dpkg-buildpackage: info: source distribution unstable
  dpkg-buildpackage: info: source changed by Antonio Terceiro <terceiro at debian.org>
   dpkg-source --before-build ruby-github-markup-1.5.0+dfsg
  dpkg-buildpackage: info: host architecture amd64
   fakeroot debian/rules clean
  dh clean --buildsystem=ruby --with ruby
     dh_testdir -O--buildsystem=ruby
     debian/rules override_dh_auto_clean
  make[1]: Entering directory '«BUILDDIR»'
  dh_auto_clean
  	dh_ruby --clean
     dh_ruby --clean
  fatal: Not a git repository (or any parent up to mount point /home)
  Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
  rm -rf doc
  make[1]: Leaving directory '«BUILDDIR»'
     dh_clean -O--buildsystem=ruby
   debian/rules build
  dh build --buildsystem=ruby --with ruby
     dh_testdir -O--buildsystem=ruby
     dh_update_autotools_config -O--buildsystem=ruby
     dh_auto_configure -O--buildsystem=ruby
  	dh_ruby --configure
     debian/rules override_dh_auto_build
  make[1]: Entering directory '«BUILDDIR»'
  dh_auto_build
  	dh_ruby --build
     dh_ruby --build
  # build documentation
  rdoc --main=README.md --exclude=commands lib
  Parsing sources...
   12% [ 1/ 8]  lib/github-markup.rb
   25% [ 2/ 8]  lib/github/markup.rb
   37% [ 3/ 8]  lib/github/markup/command_implementation.rb
   50% [ 4/ 8]  lib/github/markup/gem_implementation.rb
   62% [ 5/ 8]  lib/github/markup/implementation.rb
   75% [ 6/ 8]  lib/github/markup/markdown.rb
   87% [ 7/ 8]  lib/github/markup/rdoc.rb
  100% [ 8/ 8]  lib/github/markups.rb
  
  Generating Darkfish format into «BUILDDIR»/doc...
  
  
    Files:       8
  
    Classes:     6 ( 6 undocumented)
    Modules:     8 ( 8 undocumented)
    Constants:   3 ( 3 undocumented)
    Attributes:  6 ( 6 undocumented)
    Methods:    24 (24 undocumented)
  
    Total:      47 (47 undocumented)
      0.00% documented
  
    Elapsed: 0.2s
  
  rm -f doc/js/*.js.gz
  make[1]: Leaving directory '«BUILDDIR»'
     dh_auto_test -O--buildsystem=ruby
  	dh_ruby --test
   fakeroot debian/rules binary
  dh binary --buildsystem=ruby --with ruby
     dh_testroot -O--buildsystem=ruby
     dh_prep -O--buildsystem=ruby
     debian/rules override_dh_auto_install
  make[1]: Entering directory '«BUILDDIR»'
  # use utf-8 locale so test cases work
  LC_ALL=C.UTF-8 dh_auto_install
  	dh_ruby --install /home/lamby/temp/cdt.20161212085942.NYbJv0Lql2.db.ruby-github-markup/ruby-github-markup-1.5.0\+dfsg/debian/ruby-github-markup
     dh_ruby --install
  fatal: Not a git repository (or any parent up to mount point /home)
  Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
  
  ┌──────────────────────────────────────────────────────────────────────────────┐
  │ Install files                                                                │
  └──────────────────────────────────────────────────────────────────────────────┘
  
  install -d «BUILDDIR»/debian/ruby-github-markup/usr/bin
  install -D -m755 «BUILDDIR»/bin/github-markup /home/lamby/temp/cdt.20161212085942.NYbJv0Lql2.db.ruby-github-markup/ruby-github-markup-1.5.0+dfsg/debian/ruby-github-markup/usr/bin/github-markup
  install -d «BUILDDIR»/debian/ruby-github-markup/usr/lib/ruby/vendor_ruby
  install -D -m644 «BUILDDIR»/lib/github-markup.rb /home/lamby/temp/cdt.20161212085942.NYbJv0Lql2.db.ruby-github-markup/ruby-github-markup-1.5.0+dfsg/debian/ruby-github-markup/usr/lib/ruby/vendor_ruby/github-markup.rb
  install -D -m644 «BUILDDIR»/lib/github/markup.rb /home/lamby/temp/cdt.20161212085942.NYbJv0Lql2.db.ruby-github-markup/ruby-github-markup-1.5.0+dfsg/debian/ruby-github-markup/usr/lib/ruby/vendor_ruby/github/markup.rb
  install -D -m644 «BUILDDIR»/lib/github/markup/command_implementation.rb /home/lamby/temp/cdt.20161212085942.NYbJv0Lql2.db.ruby-github-markup/ruby-github-markup-1.5.0+dfsg/debian/ruby-github-markup/usr/lib/ruby/vendor_ruby/github/markup/command_implementation.rb
  install -D -m644 «BUILDDIR»/lib/github/markup/markdown.rb /home/lamby/temp/cdt.20161212085942.NYbJv0Lql2.db.ruby-github-markup/ruby-github-markup-1.5.0+dfsg/debian/ruby-github-markup/usr/lib/ruby/vendor_ruby/github/markup/markdown.rb
  install -D -m644 «BUILDDIR»/lib/github/markup/rdoc.rb /home/lamby/temp/cdt.20161212085942.NYbJv0Lql2.db.ruby-github-markup/ruby-github-markup-1.5.0+dfsg/debian/ruby-github-markup/usr/lib/ruby/vendor_ruby/github/markup/rdoc.rb
  install -D -m644 «BUILDDIR»/lib/github/markup/implementation.rb /home/lamby/temp/cdt.20161212085942.NYbJv0Lql2.db.ruby-github-markup/ruby-github-markup-1.5.0+dfsg/debian/ruby-github-markup/usr/lib/ruby/vendor_ruby/github/markup/implementation.rb
  install -D -m644 «BUILDDIR»/lib/github/markup/gem_implementation.rb /home/lamby/temp/cdt.20161212085942.NYbJv0Lql2.db.ruby-github-markup/ruby-github-markup-1.5.0+dfsg/debian/ruby-github-markup/usr/lib/ruby/vendor_ruby/github/markup/gem_implementation.rb
  install -D -m644 «BUILDDIR»/lib/github/markups.rb /home/lamby/temp/cdt.20161212085942.NYbJv0Lql2.db.ruby-github-markup/ruby-github-markup-1.5.0+dfsg/debian/ruby-github-markup/usr/lib/ruby/vendor_ruby/github/markups.rb
  install -D -m644 «BUILDDIR»/lib/github/commands/rest2html /home/lamby/temp/cdt.20161212085942.NYbJv0Lql2.db.ruby-github-markup/ruby-github-markup-1.5.0+dfsg/debian/ruby-github-markup/usr/lib/ruby/vendor_ruby/github/commands/rest2html
  Rewriting shebang line of «BUILDDIR»/debian/ruby-github-markup/usr/bin/github-markup
  
  ┌──────────────────────────────────────────────────────────────────────────────┐
  │ Install Rubygems integration metadata                                        │
  └──────────────────────────────────────────────────────────────────────────────┘
  
  generating gemspec at «BUILDDIR»/debian/ruby-github-markup/usr/share/rubygems-integration/all/specifications/gitlab-markup-1.5.0.gemspec
  /usr/bin/ruby2.3 /usr/bin/gem2deb-test-runner
  
  ┌──────────────────────────────────────────────────────────────────────────────┐
  │ Checking Rubygems dependency resolution on ruby2.3                           │
  └──────────────────────────────────────────────────────────────────────────────┘
  
  fatal: Not a git repository (or any parent up to mount point /home)
  Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
  GEM_PATH=debian/ruby-github-markup/usr/share/rubygems-integration/all:/home/lamby/.gem/ruby/2.3.0:/var/lib/gems/2.3.0:/usr/lib/x86_64-linux-gnu/rubygems-integration/2.3.0:/usr/share/rubygems-integration/2.3.0:/usr/share/rubygems-integration/all ruby2.3 -e gem\ \"gitlab-markup\"
  
  ┌──────────────────────────────────────────────────────────────────────────────┐
  │ Run tests for ruby2.3 from debian/ruby-tests.rake                            │
  └──────────────────────────────────────────────────────────────────────────────┘
  
  RUBYLIB=«BUILDDIR»/debian/ruby-github-markup/usr/lib/ruby/vendor_ruby:. GEM_PATH=debian/ruby-github-markup/usr/share/rubygems-integration/all:/home/lamby/.gem/ruby/2.3.0:/var/lib/gems/2.3.0:/usr/lib/x86_64-linux-gnu/rubygems-integration/2.3.0:/usr/share/rubygems-integration/2.3.0:/usr/share/rubygems-integration/all ruby2.3 -S rake -f debian/ruby-tests.rake
  /usr/bin/ruby2.3 -I"test"  "/usr/lib/ruby/vendor_ruby/rake/rake_test_loader.rb" "test/markup_test.rb" -v
  Run options: -v --seed 47064
  
  # Running:
  
  MarkupTest#test_asciidoc = 0.09 s = .
  MarkupTest#test_raises_error_if_command_exits_non_zero = 0.00 s = .
  MarkupTest#test_org = 0.12 s = .
  MarkupTest#test_textile = 0.03 s = .
  MarkupTest#test_creole = 0.04 s = .
  MarkupTest#test_noformat = 0.00 s = .
  MarkupTest#test_rdoc = 0.05 s = .
  MarkupTest#test_litcoffee = 0.02 s = .
  MarkupTest#test_pod = 0.08 s = .
  MarkupTest#test_markdown = 0.01 s = .
  MarkupTest#test_preserve_markup = 0.10 s = .
  MarkupTest#test_rst.txt = 0.12 s = .
  MarkupTest#test_txt = 0.01 s = .
  MarkupTest#test_knows_what_it_can_and_cannot_render = 0.00 s = .
  MarkupTest#test_rmd = 0.01 s = .
  MarkupTest#test_toc.rst = 0.11 s = .
  MarkupTest#test_each_render_has_a_name = 0.00 s = .
  MarkupTest#test_rst = 0.11 s = E
  
  Finished in 0.901007s, 19.9777 runs/s, 48.8343 assertions/s.
  
    1) Error:
  MarkupTest#test_rst:
  GitHub::Markup::CommandError: Traceback (most recent call last):
    File "«BUILDDIR»/lib/github/commands/rest2html", line 196, in <module>
      sys.stdout.write("%s%s" % (main(), "\n"))
    File "«BUILDDIR»/lib/github/commands/rest2html", line 182, in main
      parts = publish_parts(text, writer=writer, settings_overrides=SETTINGS)
    File "/usr/lib/python2.7/dist-packages/docutils/core.py", line 448, in publish_parts
      enable_exit_status=enable_exit_status)
    File "/usr/lib/python2.7/dist-packages/docutils/core.py", line 662, in publish_programmatically
      output = pub.publish(enable_exit_status=enable_exit_status)
    File "/usr/lib/python2.7/dist-packages/docutils/core.py", line 219, in publish
      output = self.writer.write(self.document, self.destination)
    File "/usr/lib/python2.7/dist-packages/docutils/writers/__init__.py", line 80, in write
      self.translate()
    File "/usr/lib/python2.7/dist-packages/docutils/writers/_html_base.py", line 71, in translate
      self.document.walkabout(visitor)
    File "/usr/lib/python2.7/dist-packages/docutils/nodes.py", line 174, in walkabout
      if child.walkabout(visitor):
    File "/usr/lib/python2.7/dist-packages/docutils/nodes.py", line 174, in walkabout
      if child.walkabout(visitor):
    File "/usr/lib/python2.7/dist-packages/docutils/nodes.py", line 174, in walkabout
      if child.walkabout(visitor):
    File "/usr/lib/python2.7/dist-packages/docutils/nodes.py", line 187, in walkabout
      visitor.dispatch_departure(self)
    File "/usr/lib/python2.7/dist-packages/docutils/nodes.py", line 1895, in dispatch_departure
      return method(node)
    File "«BUILDDIR»/lib/github/commands/rest2html", line 147, in depart_image
      self.body.append(self.context.pop())
  IndexError: pop from empty list
      «BUILDDIR»/lib/github/markup/command_implementation.rb:47:in `execute'
      «BUILDDIR»/lib/github/markup/command_implementation.rb:25:in `render'
      «BUILDDIR»/lib/github/markup.rb:23:in `render'
      «BUILDDIR»/test/markup_test.rb:41:in `call'
      /usr/lib/ruby/vendor_ruby/html/pipeline/filter.rb:137:in `call'
      /usr/lib/ruby/vendor_ruby/html/pipeline.rb:121:in `block in perform_filter'
      /usr/lib/ruby/vendor_ruby/html/pipeline.rb:159:in `instrument'
      /usr/lib/ruby/vendor_ruby/html/pipeline.rb:120:in `perform_filter'
      /usr/lib/ruby/vendor_ruby/html/pipeline.rb:106:in `block (2 levels) in call'
      /usr/lib/ruby/vendor_ruby/html/pipeline.rb:105:in `each'
      /usr/lib/ruby/vendor_ruby/html/pipeline.rb:105:in `inject'
      /usr/lib/ruby/vendor_ruby/html/pipeline.rb:105:in `block in call'
      /usr/lib/ruby/vendor_ruby/html/pipeline.rb:159:in `instrument'
      /usr/lib/ruby/vendor_ruby/html/pipeline.rb:103:in `call'
      /usr/lib/ruby/vendor_ruby/html/pipeline.rb:135:in `to_html'
      «BUILDDIR»/test/markup_test.rb:60:in `block (2 levels) in <class:MarkupTest>'
      /usr/lib/ruby/vendor_ruby/minitest/test.rb:107:in `block (3 levels) in run'
      /usr/lib/ruby/vendor_ruby/minitest/test.rb:204:in `capture_exceptions'
      /usr/lib/ruby/vendor_ruby/minitest/test.rb:104:in `block (2 levels) in run'
      /usr/lib/ruby/vendor_ruby/minitest/test.rb:255:in `time_it'
      /usr/lib/ruby/vendor_ruby/minitest/test.rb:103:in `block in run'
      /usr/lib/ruby/vendor_ruby/minitest.rb:348:in `on_signal'
      /usr/lib/ruby/vendor_ruby/minitest/test.rb:275:in `with_info_handler'
      /usr/lib/ruby/vendor_ruby/minitest/test.rb:102:in `run'
      /usr/lib/ruby/vendor_ruby/minitest.rb:799:in `run_one_method'
      /usr/lib/ruby/vendor_ruby/minitest.rb:322:in `run_one_method'
      /usr/lib/ruby/vendor_ruby/minitest.rb:310:in `block (2 levels) in run'
      /usr/lib/ruby/vendor_ruby/minitest.rb:309:in `each'
      /usr/lib/ruby/vendor_ruby/minitest.rb:309:in `block in run'
      /usr/lib/ruby/vendor_ruby/minitest.rb:348:in `on_signal'
      /usr/lib/ruby/vendor_ruby/minitest.rb:335:in `with_info_handler'
      /usr/lib/ruby/vendor_ruby/minitest.rb:308:in `run'
      /usr/lib/ruby/vendor_ruby/minitest.rb:158:in `block in __run'
      /usr/lib/ruby/vendor_ruby/minitest.rb:158:in `map'
      /usr/lib/ruby/vendor_ruby/minitest.rb:158:in `__run'
      /usr/lib/ruby/vendor_ruby/minitest.rb:135:in `run'
      /usr/lib/ruby/vendor_ruby/minitest.rb:62:in `block in autorun'
  
  18 runs, 44 assertions, 0 failures, 1 errors, 0 skips
  rake aborted!
  Command failed with status (1): [ruby -I"test"  "/usr/lib/ruby/vendor_ruby/rake/rake_test_loader.rb" "test/markup_test.rb" -v]
  
  Tasks: TOP => default
  (See full trace by running task with --trace)
  ERROR: Test "ruby2.3" failed. Exiting.
  dh_auto_install: dh_ruby --install «BUILDDIR»/debian/ruby-github-markup returned exit code 1
  debian/rules:19: recipe for target 'override_dh_auto_install' failed
  make[1]: *** [override_dh_auto_install] Error 1
  make[1]: Leaving directory '«BUILDDIR»'
  debian/rules:6: recipe for target 'binary' failed
  make: *** [binary] Error 2
  dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit status 2

  […]

The full build log is attached.


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby at debian.org / chris-lamb.co.uk
       `-
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ruby-github-markup.1.5.0+dfsg-3.unstable.amd64.log.txt.gz
Type: application/octet-stream
Size: 7123 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-ruby-extras-maintainers/attachments/20161212/8762372d/attachment-0001.obj>


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