めんてなのおしごと

Mon, Aug 12, 2019 in debian debian

超久々にパッケージをアップデートした。

ruby-serverengineのは以下の問題。

mv lib .gem2deb.lib
RUBYLIB=. GEM_PATH= ruby2.5 -S rake -f debian/ruby-tests.rake
/usr/bin/ruby2.5 /usr/bin/rspec --pattern ./spec/\*\*/\*_spec.rb --format documentation

[!] There was an error parsing `Gemfile`: 
[!] There was an error while loading `serverengine.gemspec`: cannot load such file -- /tmp/autopkgtest-lxc.1jlmt47i/downtmp/build.eOn/src/lib/serverengine/version
Does it try to require a relative path? That's been removed in Ruby 1.9. Bundler cannot continue.

 #  from /tmp/autopkgtest-lxc.1jlmt47i/downtmp/build.eOn/src/serverengine.gemspec:1
 #  -------------------------------------------
 >  require File.expand_path 'lib/serverengine/version', File.dirname(__FILE__)
 #  
 #  -------------------------------------------
. Bundler cannot continue.

 #  from /tmp/autopkgtest-lxc.1jlmt47i/downtmp/build.eOn/src/Gemfile:2
 #  -------------------------------------------
 #  source 'https://rubygems.org/'
 >  gemspec
 #  -------------------------------------------
Run `bundle install` to install missing gems
/usr/bin/ruby2.5 /usr/bin/rspec --pattern ./spec/\*\*/\*_spec.rb --format documentation failed

Java系パッケージはCIが有効にできないので問い合わせ、Perl系パッケージは何故かautopkgtestでlxcなtestbed関連でfailureになるのでお預け。

autopkgtest [15:34:19]: test autodep8-perl: [-----------------------
bash: line 0: cd: /tmp/autopkgtest-lxc.5hqs7t01/downtmp/build.dc3/src: No such file or directory
autopkgtest [15:34:19]: test autodep8-perl: -----------------------]
Unexpected error:
Traceback (most recent call last):
  File "/usr/share/autopkgtest/lib/VirtSubproc.py", line 738, in mainloop
    command()
  File "/usr/share/autopkgtest/lib/VirtSubproc.py", line 667, in command
    r = f(c, ce)
  File "/usr/share/autopkgtest/lib/VirtSubproc.py", line 605, in cmd_copyup
    copyupdown(c, ce, True)
  File "/usr/share/autopkgtest/lib/VirtSubproc.py", line 490, in copyupdown
    copyupdown_internal(ce[0], c[1:], upp)
  File "/usr/share/autopkgtest/lib/VirtSubproc.py", line 515, in copyupdown_internal
    copyup_shareddir(sd[0], sd[1], dirsp, downtmp_host)
  File "/usr/share/autopkgtest/lib/VirtSubproc.py", line 429, in copyup_shareddir
    shutil.copy(tb, host)
  File "/usr/lib/python3.7/shutil.py", line 248, in copy
    copyfile(src, dst, follow_symlinks=follow_symlinks)
  File "/usr/lib/python3.7/shutil.py", line 120, in copyfile
    with open(src, 'rb') as fsrc:
FileNotFoundError: [Errno 2] No such file or directory: '/tmp/autopkgtest-lxc.5hqs7t01/downtmp/autodep8-perl-stdout'
autopkgtest [15:34:20]: ERROR: testbed failure: unexpected eof from the testbed