Bug#906625: ruby-globalid: FTBFS in buster/sid (failing tests)

2018-12-07 Thread 李健秋
Package: ruby-globalid
Followup-For: Bug #906625

Hi,

Thanks for reporting this.

If you check thed ftbfs message carefully. You'd find it fails on
different tests with the one reported previously, and it mentioned
it's rails 5 related.

I am currently working on rails 5 transition:
  
https://salsa.debian.org/ruby-team/rails/wikis/Transition-to-Rails-5.2-for-Debian-Buster

This package builds fine with rails 5.2 in experimental.

Due to rails 5 is awaiting for transition and currently available
in `experimental`. Maybe we should open another bug or retitle this
one to match it's currently status better.

Thanks,
-Andrew



Bug#906625: ruby-globalid: FTBFS in buster/sid (failing tests)

2018-08-18 Thread Santiago Vila
Package: src:ruby-globalid
Version: 0.3.6-1
Severity: serious
Tags: ftbfs

Dear maintainer:

I tried to build this package in buster but it failed:


[...]
 debian/rules build-indep
dh build-indep --buildsystem=ruby --with ruby
   dh_update_autotools_config -i -O--buildsystem=ruby
   dh_auto_configure -i -O--buildsystem=ruby
dh_ruby --configure
   dh_auto_build -i -O--buildsystem=ruby
dh_ruby --build
   dh_ruby --build
   dh_auto_test -i -O--buildsystem=ruby
dh_ruby --test
 fakeroot debian/rules binary-indep
dh binary-indep --buildsystem=ruby --with ruby
   dh_testroot -i -O--buildsystem=ruby
   dh_prep -i -O--buildsystem=ruby

[... snipped ...]

GlobalLocatorTest#test_by_SGID_with_only:_restriction_by_multiple_types = 0.00 
s = .
GlobalLocatorTest#test_by_many_SGIDs_of_mixed_classes = 0.00 s = .
GlobalLocatorTest#test_by_GID = 0.00 s = .
GlobalLocatorTest#test_by_many_SGIDs_of_one_class = 0.00 s = .
GlobalLocatorTest#test_by_many_with_one_record_missing_not_leading_to_a_raise_when_ignoring_missing
 = 0.00 s = .
GlobalLocatorTest#test_by_SGID_with_only:_restriction_with_match = 0.00 s = .
GlobalLocatorTest#test_by_GID_with_only:_restriction_by_multiple_types_w/module 
= 0.00 s = .
GlobalLocatorTest#test_by_invalid_purpose_returns_nil = 0.00 s = .
GlobalLocatorTest#test_by_non-SGID_returns_nil = 0.00 s = .
GlobalLocatorTest#test_app_locator_is_case_insensitive = 0.00 s = .
GlobalLocatorTest#test_by_SGID = 0.00 s = .
GlobalLocatorTest#test_by_many_GIDs_of_one_class = 0.00 s = .
GlobalLocatorTest#test_by_GID_string = 0.00 s = .
GlobalLocatorTest#test_by_many_SGIDs_with_only:_restriction_to_match_subclass = 
0.00 s = .
GlobalLocatorTest#test_by_GID_with_only:_restriction_with_match = 0.00 s = .
GlobalLocatorTest#test_by_GID_with_only:_restriction_by_module = 0.00 s = .
GlobalLocatorTest#test_by_GID_with_only:_restriction_with_no_match = 0.00 s = .
GlobalLocatorTest#test_by_SGID_with_only:_restriction_by_module = 0.00 s = .
GlobalLocatorTest#test_by_GID_with_only:_restriction_by_multiple_types = 0.00 s 
= .
GlobalLocatorTest#test_by_many_GIDs_with_only:_restriction_to_match_subclass = 
0.00 s = .
GlobalLocatorTest#test_by_GID_with_only:_restriction_with_match_subclass = 0.00 
s = .
GlobalLocatorTest#test_locator_name_cannot_have_underscore = 0.00 s = .
GlobalLocatorTest#test_by_many_SGID_strings_with_for:_restriction_to_match_purpose
 = 0.00 s = .
SignedGlobalIDPurposeTest#test_parse_returns_nil_when_purpose_mismatch = 0.00 s 
= .
SignedGlobalIDPurposeTest#test_sign_with_purpose_when_:for_is_provided = 0.00 s 
= .
SignedGlobalIDPurposeTest#test_create_accepts_a_:for = 0.00 s = .
SignedGlobalIDPurposeTest#test_sign_with_default_purpose_when_no_:for_is_provided
 = 0.00 s = .
SignedGlobalIDPurposeTest#test_equal_only_with_same_purpose = 0.00 s = .
SignedGlobalIDPurposeTest#test_new_accepts_a_:for = 0.00 s = .
GlobalIDTest#test_invalid_app_name = 0.00 s = .
GlobalIDTest#test_value_equality = 0.00 s = .
RailtieTest#test_GlobalID.app_for_Blog::Application_defaults_to_blog = 
RailtieTest#test_SignedGlobalID.verifier_defaults_to_nil_when_secret_token_is_not_present
 = Minitest::Runnable#marshal_dump is deprecated. You might be violating 
internals. From 
/usr/lib/ruby/vendor_ruby/active_support/testing/isolation.rb:46:in `dump'
Minitest::Runnable#marshal_dump is deprecated. You might be violating 
internals. From 
/usr/lib/ruby/vendor_ruby/active_support/testing/isolation.rb:46:in `dump'
# terminated with exception (report_on_exception is true):
/usr/lib/ruby/vendor_ruby/minitest.rb:961:in `run_one_method': RailtieTest#run 
_must_ return a Result (RuntimeError)
from /usr/lib/ruby/vendor_ruby/minitest/parallel.rb:33:in `block (2 
levels) in start'
/usr/lib/ruby/vendor_ruby/minitest.rb:961:in `run_one_method': RailtieTest#run 
_must_ return a Result (RuntimeError)
from /usr/lib/ruby/vendor_ruby/minitest/parallel.rb:33:in `block (2 
levels) in start'
rake aborted!
Command failed with status (1): [ruby -w -I"test"  
"/usr/lib/ruby/vendor_ruby/rake/rake_test_loader.rb" 
"test/cases/global_id_test.rb" "test/cases/global_identification_test.rb" 
"test/cases/global_locator_test.rb" "test/cases/railtie_test.rb" 
"test/cases/signed_global_id_test.rb" "test/cases/uri_gid_test.rb" -v]

Tasks: TOP => default
(See full trace by running task with --trace)
ERROR: Test "ruby2.5" failed. Exiting.
dh_auto_install: dh_ruby --install /<>/debian/ruby-globalid 
returned exit code 1
make: *** [debian/rules:6: binary-indep] Error 1
dpkg-buildpackage: error: fakeroot debian/rules binary-indep subprocess 
returned exit status 2


The build was made with "dpkg-buildpackage -A" in my autobuilder.
Most probably, it also fails here in reproducible builds:

https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/ruby-globalid.html

where you