[Reproducible-builds] Bug#833774: mopidy-podcast: FTBFS under some timezones (eg. GMT-14)

Chris Lamb lamby at debian.org
Mon Aug 8 15:25:18 UTC 2016


Source: mopidy-podcast
Version: 2.0.0-1
Severity: serious
Justification: fails to build from source
User: reproducible-builds at lists.alioth.debian.org
Usertags: ftbfs
X-Debbugs-Cc: reproducible-builds at lists.alioth.debian.org

Dear Maintainer,

mopidy-podcast fails to build from source in unstable/amd64 undersome timezones (eg. TZ="/usr/share/zoneinfo/Etc/GMT-14"):

  [..]

  E           AssertionError: /usr/share/zoneinfo/Etc/GMT-14
  
  ../../../mopidy_podcast/feeds.py:144: AssertionError
  _________________________________ test_tracks __________________________________
  
  rss = <mopidy_podcast.feeds.RssFeed object at 0x7f6ee0d58b50>
  tracks = [Track(album=Album(artists=[Artist(name='John Doe')], name=u'All About Everythi...ces', track_no=3, uri='podcast+http:...hn Doe')], name=u'All About Everythi...p://www.example.com/everything.xml#http://example.com/everything/Episode1.mp3')]
  
      def test_tracks(rss, tracks):
  >       assert list(rss.tracks(newest_first=True)) == tracks
  
  ../../../tests/test_rss.py:120: 
  _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
  ../../../mopidy_podcast/feeds.py:105: in tracks
      date=self.__date(item),
  _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
  
  cls = <class 'mopidy_podcast.feeds.RssFeed'>
  etree = <Element 'item' at 0x7f6ee0d77600>
  
      @classmethod
      def __date(cls, etree):
          text = etree.findtext('pubDate')
          try:
              timestamp = email.utils.mktime_tz(email.utils.parsedate_tz(text))
          except AttributeError:
              return None
          except TypeError:
              return None
          else:
              import os
  >           assert False, os.environ['TZ']
  E           AssertionError: /usr/share/zoneinfo/Etc/GMT-14
  
  ../../../mopidy_podcast/feeds.py:144: AssertionError
  ===================== 4 failed, 26 passed in 0.24 seconds ======================
  E: pybuild pybuild:274: test: plugin distutils failed with: exit code=1: cd /home/lamby/temp/cdt.20160808154113.NGQgPtQCw3/mopidy-podcast-2.0.0/.pybuild/pythonX.Y_2.7/build; python2.7 -m pytest {dir}/tests/
  dh_auto_test: pybuild --test -i python{version} -p 2.7 returned exit code 13
  debian/rules:11: recipe for target 'build' failed
  make: *** [build] Error 25

  [..]

The full build log is attached.


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby at debian.org / chris-lamb.co.uk
       `-
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mopidy-podcast.2.0.0-1.unstable.amd64.log.txt.gz
Type: application/octet-stream
Size: 3163 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/reproducible-builds/attachments/20160808/f3e8a7e2/attachment.obj>


More information about the Reproducible-builds mailing list