[DRE-maint] Bug#907433: ruby-ffaker: FTBFS (TestLoremFR fails)

Santiago Vila sanvila at debian.org
Mon Aug 27 23:38:21 BST 2018


Package: src:ruby-ffaker
Version: 2.8.1-1
Severity: serious
Tags: ftbfs

Dear maintainer:

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

--------------------------------------------------------------------------------
[...]
 debian/rules build-indep
LC_ALL=C.UTF-8 dh build-indep --buildsystem=ruby --with ruby
   dh_update_autotools_config -i -O--buildsystem=ruby
   dh_autoreconf -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
   create-stamp debian/debhelper-build-stamp
 fakeroot debian/rules binary-indep
LC_ALL=C.UTF-8 dh binary-indep --buildsystem=ruby --with ruby

[ ... ]

===============================================================================
Failure: test_phrase(TestLoremFR):
  </\A[ -.àâéèêîôùûa-z]+\z/i> was expected to be =~
  <"À maintes prémâchées lui.">.
/<<PKGBUILDDIR>>/test/test_lorem_fr.rb:24:in `test_phrase'
     21:   end
     22: 
     23:   def test_phrase
  => 24:     assert_match(/\A[ -.àâéèêîôùûa-z]+\z/i, FFaker::LoremFR.phrase)
     25:   end
     26: 
     27:   def test_paragraphsLoremFR
===============================================================================

[ ... ]

Finished in 0.705650289 seconds.
-------------------------------------------------------------------------------
1550 tests, 12557 assertions, 1 failures, 0 errors, 0 pendings, 0 omissions, 0 notifications
99.9355% passed
-------------------------------------------------------------------------------
2196.56 tests/s, 17794.93 assertions/s
rake aborted!
Command failed with status (1): [ruby -w -I"test"  "/usr/lib/ruby/vendor_ruby/rake/rake_test_loader.rb" "test/test_address.rb" "test/test_address_au.rb" "test/test_address_br.rb" "test/test_address_ca.rb" "test/test_address_ch.rb" "test/test_address_ch_de.rb" "test/test_address_ch_fr.rb" "test/test_address_ch_it.rb" "test/test_address_da.rb" "test/test_address_de.rb" "test/test_address_fi.rb" "test/test_address_fr.rb" "test/test_address_gr.rb" "test/test_address_id.rb" "test/test_address_in.rb" "test/test_address_ja.rb" "test/test_address_kr.rb" "test/test_address_mx.rb" "test/test_address_nl.rb" "test/test_address_pl.rb" "test/test_address_ru.rb" "test/test_address_se.rb" "test/test_address_sn.rb" "test/test_address_ua.rb" "test/test_address_uk.rb" "test/test_address_us.rb" "test/test_airline.rb" "test/test_animal.rb" "test/test_array_utils.rb" "test/test_avatar.rb" "test/test_aws.rb" "test/test_bacon_ipsum.rb" "test/test_book.rb" "test/test_boolean.rb" "test/test_cheesy_lingo.rb" "test/test_color.rb" "test/test_color_ua.rb" "test/test_company.rb" "test/test_company_cn.rb" "test/test_company_it.rb" "test/test_company_se.rb" "test/test_conference.rb" "test/test_course_mathematiques.rb" "test/test_course_philosophie.rb" "test/test_currency.rb" "test/test_dizzle_ipsum.rb" "test/test_education.rb" "test/test_faker.rb" "test/test_filesystem.rb" "test/test_food.rb" "test/test_gender.rb" "test/test_gender_br.rb" "test/test_gender_cn.rb" "test/test_gender_id.rb" "test/test_gender_kr.rb" "test/test_geolocation.rb" "test/test_guid.rb" "test/test_healthcare_ipsum.rb" "test/test_hipster_ipsum.rb" "test/test_html_ipsum.rb" "test/test_identification.rb" "test/test_identification_br.rb" "test/test_identification_co.rb" "test/test_identification_es.rb" "test/test_identification_es_cl.rb" "test/test_identification_es_mx.rb" "test/test_identification_kr.rb" "test/test_internet.rb" "test/test_internet_se.rb" "test/test_job.rb" "test/test_job_br.rb" "test/test_job_cn.rb" "test/test_job_fr.rb" "test/test_job_ja.rb" "test/test_job_kr.rb" "test/test_job_vn.rb" "test/test_locale.rb" "test/test_lorem.rb" "test/test_lorem_ar.rb" "test/test_lorem_cn.rb" "test/test_lorem_fr.rb" "test/test_lorem_ja.rb" "test/test_lorem_kr.rb" "test/test_lorem_ru.rb" "test/test_lorem_ua.rb" "test/test_module_utils.rb" "test/test_movie.rb" "test/test_music.rb" "test/test_name.rb" "test/test_name_ar.rb" "test/test_name_br.rb" "test/test_name_cn.rb" "test/test_name_cs.rb" "test/test_name_da.rb" "test/test_name_de.rb" "test/test_name_fr.rb" "test/test_name_ga.rb" "test/test_name_gr.rb" "test/test_name_id.rb" "test/test_name_it.rb" "test/test_name_ja.rb" "test/test_name_kh.rb" "test/test_name_kr.rb" "test/test_name_mx.rb" "test/test_name_nb.rb" "test/test_name_nl.rb" "test/test_name_ph.rb" "test/test_name_pl.rb" "test/test_name_ru.rb" "test/test_name_se.rb" "test/test_name_sn.rb" "test/test_name_th.rb" "test/test_name_th_en.rb" "test/test_name_ua.rb" "test/test_name_vn.rb" "test/test_nato_alphabet.rb" "test/test_phone_number.rb" "test/test_phone_number_au.rb" "test/test_phone_number_br.rb" "test/test_phone_number_cu.rb" "test/test_phone_number_da.rb" "test/test_phone_number_de.rb" "test/test_phone_number_fr.rb" "test/test_phone_number_id.rb" "test/test_phone_number_kr.rb" "test/test_phone_number_mx.rb" "test/test_phone_number_nl.rb" "test/test_phone_number_se.rb" "test/test_phone_number_sg.rb" "test/test_phone_number_sn.rb" "test/test_products.rb" "test/test_skill.rb" "test/test_sports.rb" "test/test_ssn.rb" "test/test_ssn_mx.rb" "test/test_ssn_se.rb" "test/test_string.rb" "test/test_time.rb" "test/test_tweet.rb" "test/test_unique_utils.rb" "test/test_units.rb" "test/test_units_english.rb" "test/test_units_metric.rb" "test/test_vehicle.rb" "test/test_venue.rb" "test/test_youtube.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 /<<PKGBUILDDIR>>/debian/ruby-ffaker returned exit code 1
make: *** [debian/rules:8: binary-indep] Error 1
dpkg-buildpackage: error: fakeroot debian/rules binary-indep subprocess returned exit status 2
--------------------------------------------------------------------------------

The build was made in my autobuilder with "dpkg-buildpackage -A"
but there are also build failures here:

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

where you can get a full build log if you need it.

If this is really a bug in one of the build-depends, please use reassign and affects,
so that this is still visible in the BTS web page for this package.

Thanks.



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