Skip to content

Instantly share code, notes, and snippets.

@kozo2
Created October 27, 2013 07:47
Show Gist options
  • Save kozo2/7178924 to your computer and use it in GitHub Desktop.
Save kozo2/7178924 to your computer and use it in GitHub Desktop.
77th kansaidebian meeting, wheezy (not sid)
sudo aptitude install git-buildpackage
git-pbuilder create
gbp-clone git://anonscm.debian.org/pkg-ruby-extras/ruby-bio.git
cd ruby-bio
sudo apt-get build-dep ruby-bio
git-buildpackage --git-ignore-new --git-biulder='git-pbuilder'
中略
...............................................................................
...............................................................................
...............................................................................
...............................................................................
...............................................................................
...............................................................................
...............................................................................
...............................................................................
...............................................................................
...............................................................................
...............................................................................
...............................................................................
...............................................................................
...............................................................................
...............................................................................
...............................................................................
...............................................................................
.................................................F
===============================================================================
Failure:
Error: libxml-ruby library is not present. Please install libxml-ruby library. It is needed for Bio::PhyloXML module. Unit test for PhyloXML will not be performed.
<nil> is not true.
test_libxml(Bio::TestPhyloXMLWriter_Check_LibXML)
/tmp/buildd/ruby-bio-1.4.3.0001/test/unit/bio/db/test_phyloxml_writer.rb:31:in `test_libxml'
28: module Bio
29: class TestPhyloXMLWriter_Check_LibXML < Test::Unit::TestCase
30: def test_libxml
=> 31: assert(defined?(LibXML),
32: "Error: libxml-ruby library is not present. Please install libxml-ruby library. It is needed for Bio::PhyloXML module. Unit test for PhyloXML will not be performed.")
33: end
34: end #class TestPhyloXMLWriter_Check_LibXML
===============================================================================
F
===============================================================================
Failure:
Error: libxml-ruby library is not present. Please install libxml-ruby library. It is needed for Bio::PhyloXML module. Unit test for PhyloXML will not be performed.
<nil> is not true.
test_libxml(Bio::TestPhyloXML_Check_LibXML)
/tmp/buildd/ruby-bio-1.4.3.0001/test/unit/bio/db/test_phyloxml.rb:29:in `test_libxml'
26: module Bio
27: class TestPhyloXML_Check_LibXML < Test::Unit::TestCase
28: def test_libxml
=> 29: assert(defined?(LibXML),
30: "Error: libxml-ruby library is not present. Please install libxml-ruby library. It is needed for Bio::PhyloXML module. Unit test for PhyloXML will not be performed.")
31: end
32: end #class TestPhyloXML_LibXMLCheck
===============================================================================
...............................................................................
...............................................................................
...............................................................................
...............................................................................
...............................................................................
..................................................................O
===============================================================================
test randomly failing skipped [test_randomize_equiprobability(Bio::TestSequenceCommon::TestSequenceCommonRandomizeChi2)]
/tmp/buildd/ruby-bio-1.4.3.0001/test/unit/bio/sequence/test_common.rb:324:in `test_randomize_equiprobability'
===============================================================================
O
===============================================================================
test randomly failing skipped [test_randomize_with_hash_equiprobability(Bio::TestSequenceCommon::TestSequenceCommonRandomizeChi2)]
/tmp/buildd/ruby-bio-1.4.3.0001/test/unit/bio/sequence/test_common.rb:330:in `test_randomize_with_hash_equiprobability'
===============================================================================
...............................................................................
...............................................................................
...............................................................................
...............................................................................
...............................................................................
...............................................................................
...............................................................................
...............................................................................
...............................................................................
.............................................
Finished in 11.808701154 seconds.
3482 tests, 20761 assertions, 2 failures, 0 errors, 0 pendings, 2 omissions, 0 notifications
99.9425% passed
294.87 tests/s, 1758.11 assertions/s
ERROR: Test "ruby2.0" failed. Exiting.
dh_auto_install: dh_ruby --install /tmp/buildd/ruby-bio-1.4.3.0001/debian/ruby-bio returned exit code 1
make[1]: *** [override_dh_auto_install] Error 1
make[1]: Leaving directory `/tmp/buildd/ruby-bio-1.4.3.0001'
make: *** [binary] Error 2
dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit status 2
E: Failed autobuilding of package
I: unmounting dev/pts filesystem
I: unmounting proc filesystem
-> Cleaning COW directory
forking: rm -rf /var/cache/pbuilder/build//cow.10027
gbp:error: Couldn't run 'git-pbuilder': git-pbuilder returned 1
vagrant@debian-7:~/ooo/ruby-bio$
@kozo2
Copy link
Author

kozo2 commented Oct 27, 2013

  • @uwabami さんによるとこのErrorはlibxmlがruby2.0をsupportしたものでないことによるものとのこと
  • おそらくwheezy環境であればErrorは出ないものと思われるが DIST="wheezy" git-pbuilder create していないのでsidのpbuilder環境ができている

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment