[PKG-Openstack-devel] Bug#795681: python-oslo.i18n: FTBFS under some locales (eg. fr_CH.UTF-8)

Chris Lamb lamby at debian.org
Sun Aug 16 09:22:20 UTC 2015


Source: python-oslo.i18n
Version: 1.5.0-2
Severity: serious
Justification: fails to build from source

Dear Maintainer,

python-oslo.i18n fails to build from source on unstable/amd64 under
some locales (eg. LANG=fr_CH.UTF-8):

  [..]
  
  ======================================================================
  FAIL:
  oslo_i18n.tests.test_fixture.PrefixLazyTranslationTest.test_default
  oslo_i18n.tests.test_fixture.PrefixLazyTranslationTest.test_default
  ----------------------------------------------------------------------
  _StringException: Traceback (most recent call last):
    File "oslo_i18n/tests/test_fixture.py", line 103, in test_default
      self.assertEqual(expected_msg, _translate.translate(msg1))
    File "/usr/lib/python2.7/dist-packages/testtools/testcase.py", line
    338, in assertEqual
      self.assertThat(observed, matcher, message)
    File "/usr/lib/python2.7/dist-packages/testtools/testcase.py", line
    423, in assertThat
      raise mismatch_error
  MismatchError: 'oslo.i18n/en_US: fake msg1' != u'oslo.i18n/fr_CH: fake
  msg1'
  Traceback (most recent call last):
  _StringException: Empty attachments:
    stderr
    stdout
  
  Traceback (most recent call last):
    File "oslo_i18n/tests/test_fixture.py", line 103, in test_default
      self.assertEqual(expected_msg, _translate.translate(msg1))
    File "/usr/lib/python2.7/dist-packages/testtools/testcase.py", line
    338, in assertEqual
      self.assertThat(observed, matcher, message)
    File "/usr/lib/python2.7/dist-packages/testtools/testcase.py", line
    423, in assertThat
      raise mismatch_error
  MismatchError: 'oslo.i18n/en_US: fake msg1' != u'oslo.i18n/fr_CH: fake
  msg1'
  
  Traceback (most recent call last):
  _StringException: Empty attachments:
    stderr
    stdout
  
  Traceback (most recent call last):
    File "oslo_i18n/tests/test_fixture.py", line 103, in test_default
      self.assertEqual(expected_msg, _translate.translate(msg1))
    File "/usr/lib/python2.7/dist-packages/testtools/testcase.py", line
    338, in assertEqual
      self.assertThat(observed, matcher, message)
    File "/usr/lib/python2.7/dist-packages/testtools/testcase.py", line
    423, in assertThat
      raise mismatch_error
  MismatchError: 'oslo.i18n/en_US: fake msg1' != u'oslo.i18n/fr_CH: fake
  msg1'
  
  
  ======================================================================
  FAIL:
  oslo_i18n.tests.test_fixture.PrefixLazyTranslationTest.test_extra_lang
  oslo_i18n.tests.test_fixture.PrefixLazyTranslationTest.test_extra_lang
  ----------------------------------------------------------------------
  _StringException: Traceback (most recent call last):
    File "oslo_i18n/tests/test_fixture.py", line 121, in test_extra_lang
      self.assertEqual(expected_msg_en_US, _translate.translate(msg1))
    File "/usr/lib/python2.7/dist-packages/testtools/testcase.py", line
    338, in assertEqual
      self.assertThat(observed, matcher, message)
    File "/usr/lib/python2.7/dist-packages/testtools/testcase.py", line
    423, in assertThat
      raise mismatch_error
  MismatchError: 'oslo.i18n/en_US: fake msg1' != u'oslo.i18n/fr_CH: fake
  msg1'
  Traceback (most recent call last):
  _StringException: Empty attachments:
    stderr
    stdout
  
  Traceback (most recent call last):
    File "oslo_i18n/tests/test_fixture.py", line 121, in test_extra_lang
      self.assertEqual(expected_msg_en_US, _translate.translate(msg1))
    File "/usr/lib/python2.7/dist-packages/testtools/testcase.py", line
    338, in assertEqual
      self.assertThat(observed, matcher, message)
    File "/usr/lib/python2.7/dist-packages/testtools/testcase.py", line
    423, in assertThat
      raise mismatch_error
  MismatchError: 'oslo.i18n/en_US: fake msg1' != u'oslo.i18n/fr_CH: fake
  msg1'
  
  Traceback (most recent call last):
  _StringException: Empty attachments:
    stderr
    stdout
  
  Traceback (most recent call last):
    File "oslo_i18n/tests/test_fixture.py", line 121, in test_extra_lang
      self.assertEqual(expected_msg_en_US, _translate.translate(msg1))
    File "/usr/lib/python2.7/dist-packages/testtools/testcase.py", line
    338, in assertEqual
      self.assertThat(observed, matcher, message)
    File "/usr/lib/python2.7/dist-packages/testtools/testcase.py", line
    423, in assertThat
      raise mismatch_error
  MismatchError: 'oslo.i18n/en_US: fake msg1' != u'oslo.i18n/fr_CH: fake
  msg1'
  
  
  ======================================================================
  FAIL: process-returncode
  process-returncode
  ----------------------------------------------------------------------
  _StringException: returncode 1
  
  
  ----------------------------------------------------------------------
  Ran 70 tests in 1.701s
  
  FAILED (failures=3)
  debian/rules:26: recipe for target 'override_dh_auto_test' failed
  make[1]: *** [override_dh_auto_test] Error 1
  make[1]: Leaving directory '/tmp/buildd/python-oslo.i18n-1.5.0'
  debian/rules:12: recipe for target 'build' failed
  make: *** [build] Error 2
  dpkg-buildpackage: error: debian/rules build gave error exit status 2

  [..]

The full build log is attached or can be viewed here:

  https://reproducible.debian.net/logs/unstable/amd64/python-oslo.i18n_1.5.0-2.build2.log.gz


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby at debian.org / chris-lamb.co.uk
       `-
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: python-oslo.i18n.1.5.0-2.unstable.amd64.log.txt
URL: <http://lists.alioth.debian.org/pipermail/openstack-devel/attachments/20150816/73950782/attachment-0001.txt>


More information about the Openstack-devel mailing list