[DRE-maint] Bug#666596: ruby-mechanize: FTBFS: ArgumentError: invalid value for port: "http"
Lucas Nussbaum
lucas at lucas-nussbaum.net
Sat Mar 31 19:53:08 UTC 2012
Source: ruby-mechanize
Version: 2.3-1
Severity: serious
Tags: wheezy sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20120331 qa-ftbfs
Justification: FTBFS on amd64
Hi,
During a rebuild of all packages in sid, your package failed to build on
amd64.
Relevant part:
> fakeroot debian/rules binary
> dh binary --buildsystem=ruby --with ruby
> dh_testroot -O--buildsystem=ruby
> dh_prep -O--buildsystem=ruby
> dh_installdirs -O--buildsystem=ruby
> dh_auto_install -O--buildsystem=ruby
> Entering dh_ruby --install
> install -d /«PKGBUILDDIR»/debian/ruby-mechanize/usr/lib/ruby/vendor_ruby
> install -D -m644 lib/mechanize/test_case.rb /«PKGBUILDDIR»/debian/ruby-mechanize/usr/lib/ruby/vendor_ruby/mechanize/test_case.rb
> install -D -m644 lib/mechanize/cookie.rb /«PKGBUILDDIR»/debian/ruby-mechanize/usr/lib/ruby/vendor_ruby/mechanize/cookie.rb
> install -D -m644 lib/mechanize/response_read_error.rb /«PKGBUILDDIR»/debian/ruby-mechanize/usr/lib/ruby/vendor_ruby/mechanize/response_read_error.rb
> install -D -m644 lib/mechanize/redirect_limit_reached_error.rb /«PKGBUILDDIR»/debian/ruby-mechanize/usr/lib/ruby/vendor_ruby/mechanize/redirect_limit_reached_error.rb
> install -D -m644 lib/mechanize/file_response.rb /«PKGBUILDDIR»/debian/ruby-mechanize/usr/lib/ruby/vendor_ruby/mechanize/file_response.rb
> install -D -m644 lib/mechanize/file_request.rb /«PKGBUILDDIR»/debian/ruby-mechanize/usr/lib/ruby/vendor_ruby/mechanize/file_request.rb
> install -D -m644 lib/mechanize/robots_disallowed_error.rb /«PKGBUILDDIR»/debian/ruby-mechanize/usr/lib/ruby/vendor_ruby/mechanize/robots_disallowed_error.rb
> install -D -m644 lib/mechanize/headers.rb /«PKGBUILDDIR»/debian/ruby-mechanize/usr/lib/ruby/vendor_ruby/mechanize/headers.rb
> install -D -m644 lib/mechanize/util.rb /«PKGBUILDDIR»/debian/ruby-mechanize/usr/lib/ruby/vendor_ruby/mechanize/util.rb
> install -D -m644 lib/mechanize/http.rb /«PKGBUILDDIR»/debian/ruby-mechanize/usr/lib/ruby/vendor_ruby/mechanize/http.rb
> install -D -m644 lib/mechanize/unauthorized_error.rb /«PKGBUILDDIR»/debian/ruby-mechanize/usr/lib/ruby/vendor_ruby/mechanize/unauthorized_error.rb
> install -D -m644 lib/mechanize/page/label.rb /«PKGBUILDDIR»/debian/ruby-mechanize/usr/lib/ruby/vendor_ruby/mechanize/page/label.rb
> install -D -m644 lib/mechanize/page/link.rb /«PKGBUILDDIR»/debian/ruby-mechanize/usr/lib/ruby/vendor_ruby/mechanize/page/link.rb
> install -D -m644 lib/mechanize/page/frame.rb /«PKGBUILDDIR»/debian/ruby-mechanize/usr/lib/ruby/vendor_ruby/mechanize/page/frame.rb
> install -D -m644 lib/mechanize/page/image.rb /«PKGBUILDDIR»/debian/ruby-mechanize/usr/lib/ruby/vendor_ruby/mechanize/page/image.rb
> install -D -m644 lib/mechanize/page/meta_refresh.rb /«PKGBUILDDIR»/debian/ruby-mechanize/usr/lib/ruby/vendor_ruby/mechanize/page/meta_refresh.rb
> install -D -m644 lib/mechanize/page/base.rb /«PKGBUILDDIR»/debian/ruby-mechanize/usr/lib/ruby/vendor_ruby/mechanize/page/base.rb
> install -D -m644 lib/mechanize/file.rb /«PKGBUILDDIR»/debian/ruby-mechanize/usr/lib/ruby/vendor_ruby/mechanize/file.rb
> install -D -m644 lib/mechanize/image.rb /«PKGBUILDDIR»/debian/ruby-mechanize/usr/lib/ruby/vendor_ruby/mechanize/image.rb
> install -D -m644 lib/mechanize/form/reset.rb /«PKGBUILDDIR»/debian/ruby-mechanize/usr/lib/ruby/vendor_ruby/mechanize/form/reset.rb
> install -D -m644 lib/mechanize/form/check_box.rb /«PKGBUILDDIR»/debian/ruby-mechanize/usr/lib/ruby/vendor_ruby/mechanize/form/check_box.rb
> install -D -m644 lib/mechanize/form/field.rb /«PKGBUILDDIR»/debian/ruby-mechanize/usr/lib/ruby/vendor_ruby/mechanize/form/field.rb
> install -D -m644 lib/mechanize/form/radio_button.rb /«PKGBUILDDIR»/debian/ruby-mechanize/usr/lib/ruby/vendor_ruby/mechanize/form/radio_button.rb
> install -D -m644 lib/mechanize/form/file_upload.rb /«PKGBUILDDIR»/debian/ruby-mechanize/usr/lib/ruby/vendor_ruby/mechanize/form/file_upload.rb
> install -D -m644 lib/mechanize/form/button.rb /«PKGBUILDDIR»/debian/ruby-mechanize/usr/lib/ruby/vendor_ruby/mechanize/form/button.rb
> install -D -m644 lib/mechanize/form/keygen.rb /«PKGBUILDDIR»/debian/ruby-mechanize/usr/lib/ruby/vendor_ruby/mechanize/form/keygen.rb
> install -D -m644 lib/mechanize/form/image_button.rb /«PKGBUILDDIR»/debian/ruby-mechanize/usr/lib/ruby/vendor_ruby/mechanize/form/image_button.rb
> install -D -m644 lib/mechanize/form/option.rb /«PKGBUILDDIR»/debian/ruby-mechanize/usr/lib/ruby/vendor_ruby/mechanize/form/option.rb
> install -D -m644 lib/mechanize/form/textarea.rb /«PKGBUILDDIR»/debian/ruby-mechanize/usr/lib/ruby/vendor_ruby/mechanize/form/textarea.rb
> install -D -m644 lib/mechanize/form/hidden.rb /«PKGBUILDDIR»/debian/ruby-mechanize/usr/lib/ruby/vendor_ruby/mechanize/form/hidden.rb
> install -D -m644 lib/mechanize/form/text.rb /«PKGBUILDDIR»/debian/ruby-mechanize/usr/lib/ruby/vendor_ruby/mechanize/form/text.rb
> install -D -m644 lib/mechanize/form/submit.rb /«PKGBUILDDIR»/debian/ruby-mechanize/usr/lib/ruby/vendor_ruby/mechanize/form/submit.rb
> install -D -m644 lib/mechanize/form/select_list.rb /«PKGBUILDDIR»/debian/ruby-mechanize/usr/lib/ruby/vendor_ruby/mechanize/form/select_list.rb
> install -D -m644 lib/mechanize/form/multi_select_list.rb /«PKGBUILDDIR»/debian/ruby-mechanize/usr/lib/ruby/vendor_ruby/mechanize/form/multi_select_list.rb
> install -D -m644 lib/mechanize/content_type_error.rb /«PKGBUILDDIR»/debian/ruby-mechanize/usr/lib/ruby/vendor_ruby/mechanize/content_type_error.rb
> install -D -m644 lib/mechanize/pluggable_parsers.rb /«PKGBUILDDIR»/debian/ruby-mechanize/usr/lib/ruby/vendor_ruby/mechanize/pluggable_parsers.rb
> install -D -m644 lib/mechanize/directory_saver.rb /«PKGBUILDDIR»/debian/ruby-mechanize/usr/lib/ruby/vendor_ruby/mechanize/directory_saver.rb
> install -D -m644 lib/mechanize/cookie_jar.rb /«PKGBUILDDIR»/debian/ruby-mechanize/usr/lib/ruby/vendor_ruby/mechanize/cookie_jar.rb
> install -D -m644 lib/mechanize/parser.rb /«PKGBUILDDIR»/debian/ruby-mechanize/usr/lib/ruby/vendor_ruby/mechanize/parser.rb
> install -D -m644 lib/mechanize/page.rb /«PKGBUILDDIR»/debian/ruby-mechanize/usr/lib/ruby/vendor_ruby/mechanize/page.rb
> install -D -m644 lib/mechanize/file_connection.rb /«PKGBUILDDIR»/debian/ruby-mechanize/usr/lib/ruby/vendor_ruby/mechanize/file_connection.rb
> install -D -m644 lib/mechanize/download.rb /«PKGBUILDDIR»/debian/ruby-mechanize/usr/lib/ruby/vendor_ruby/mechanize/download.rb
> install -D -m644 lib/mechanize/unsupported_scheme_error.rb /«PKGBUILDDIR»/debian/ruby-mechanize/usr/lib/ruby/vendor_ruby/mechanize/unsupported_scheme_error.rb
> install -D -m644 lib/mechanize/history.rb /«PKGBUILDDIR»/debian/ruby-mechanize/usr/lib/ruby/vendor_ruby/mechanize/history.rb
> install -D -m644 lib/mechanize/http/www_authenticate_parser.rb /«PKGBUILDDIR»/debian/ruby-mechanize/usr/lib/ruby/vendor_ruby/mechanize/http/www_authenticate_parser.rb
> install -D -m644 lib/mechanize/http/auth_challenge.rb /«PKGBUILDDIR»/debian/ruby-mechanize/usr/lib/ruby/vendor_ruby/mechanize/http/auth_challenge.rb
> install -D -m644 lib/mechanize/http/agent.rb /«PKGBUILDDIR»/debian/ruby-mechanize/usr/lib/ruby/vendor_ruby/mechanize/http/agent.rb
> install -D -m644 lib/mechanize/http/content_disposition_parser.rb /«PKGBUILDDIR»/debian/ruby-mechanize/usr/lib/ruby/vendor_ruby/mechanize/http/content_disposition_parser.rb
> install -D -m644 lib/mechanize/http/auth_realm.rb /«PKGBUILDDIR»/debian/ruby-mechanize/usr/lib/ruby/vendor_ruby/mechanize/http/auth_realm.rb
> install -D -m644 lib/mechanize/element_matcher.rb /«PKGBUILDDIR»/debian/ruby-mechanize/usr/lib/ruby/vendor_ruby/mechanize/element_matcher.rb
> install -D -m644 lib/mechanize/response_code_error.rb /«PKGBUILDDIR»/debian/ruby-mechanize/usr/lib/ruby/vendor_ruby/mechanize/response_code_error.rb
> install -D -m644 lib/mechanize/form.rb /«PKGBUILDDIR»/debian/ruby-mechanize/usr/lib/ruby/vendor_ruby/mechanize/form.rb
> install -D -m644 lib/mechanize/file_saver.rb /«PKGBUILDDIR»/debian/ruby-mechanize/usr/lib/ruby/vendor_ruby/mechanize/file_saver.rb
> install -D -m644 lib/mechanize/redirect_not_get_or_head_error.rb /«PKGBUILDDIR»/debian/ruby-mechanize/usr/lib/ruby/vendor_ruby/mechanize/redirect_not_get_or_head_error.rb
> install -D -m644 lib/mechanize/monkey_patch.rb /«PKGBUILDDIR»/debian/ruby-mechanize/usr/lib/ruby/vendor_ruby/mechanize/monkey_patch.rb
> install -D -m644 lib/mechanize.rb /«PKGBUILDDIR»/debian/ruby-mechanize/usr/lib/ruby/vendor_ruby/mechanize.rb
> /usr/bin/ruby1.8 -I/usr/lib/ruby/vendor_ruby /usr/lib/ruby/vendor_ruby/gem2deb/test_runner.rb
> ./debian/ruby-mechanize//usr/lib/ruby/vendor_ruby/mechanize/test_case.rb:24: warning: don't put space before argument parentheses
> Run options: --seed 42629
>
> # Running tests:
>
> ..............................................................................................................................................................................................................................................................................................................................E...................................................................................................................................................................................S...........................................................................................
>
> Finished tests in 2.097819s, 281.2445 tests/s, 899.5056 assertions/s.
>
> 1) Error:
> test_set_proxy_service_name(TestMechanizeHttpAgent):
> ArgumentError: invalid value for port: "http"
> ./debian/ruby-mechanize//usr/lib/ruby/vendor_ruby/mechanize/http/agent.rb:1107:in `set_proxy'
> ./test/test_mechanize_http_agent.rb:1402:in `test_set_proxy_service_name'
> /usr/lib/ruby/vendor_ruby/minitest/unit.rb:1036:in `run_test'
> /usr/lib/ruby/vendor_ruby/minitest/unit.rb:1036:in `run'
> /usr/lib/ruby/vendor_ruby/minitest/unit.rb:825:in `_run_suite'
> /usr/lib/ruby/vendor_ruby/minitest/unit.rb:818:in `map'
> /usr/lib/ruby/vendor_ruby/minitest/unit.rb:818:in `_run_suite'
> /usr/lib/ruby/vendor_ruby/minitest/unit.rb:805:in `_run_suites'
> /usr/lib/ruby/vendor_ruby/minitest/unit.rb:805:in `map'
> /usr/lib/ruby/vendor_ruby/minitest/unit.rb:805:in `_run_suites'
> /usr/lib/ruby/vendor_ruby/minitest/unit.rb:778:in `_run_anything'
> /usr/lib/ruby/vendor_ruby/minitest/unit.rb:947:in `run_tests'
> /usr/lib/ruby/vendor_ruby/minitest/unit.rb:934:in `send'
> /usr/lib/ruby/vendor_ruby/minitest/unit.rb:934:in `_run'
> /usr/lib/ruby/vendor_ruby/minitest/unit.rb:933:in `each'
> /usr/lib/ruby/vendor_ruby/minitest/unit.rb:933:in `_run'
> /usr/lib/ruby/vendor_ruby/minitest/unit.rb:922:in `run'
> /usr/lib/ruby/vendor_ruby/minitest/unit.rb:690:in `autorun'
> -e:1
>
> 590 tests, 1887 assertions, 0 failures, 1 errors, 1 skips
> ERROR: Test "ruby1.8" failed. Exiting.
> dh_auto_install: dh_ruby --install /«PKGBUILDDIR»/debian/tmp returned exit code 1
> make: *** [binary] Error 1
The full build log is available from:
http://people.debian.org/~lucas/logs/2012/03/31/ruby-mechanize_2.3-1_unstable.log
A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!
About the archive rebuild: The rebuild was done on about 50 AMD64 nodes
of the Grid'5000 platform, using a clean chroot. Internet was not
accessible from the build systems.
More information about the Pkg-ruby-extras-maintainers
mailing list