Source: freezegun
Version: 0.3.4-1
Severity: serious
Justification: fails to build from source

Dear Maintainer,

freezegun fails to build from source on unstable/amd64 under some
timezones (eg. TZ="/usr/share/zoneinfo/Etc/GMT-14"):

  [..]

  pyversions: missing debian/pyversions file, fall back to supported
  versions
  py3versions: no X-Python3-Version in control file, using supported
  versions
  for python in python2.7; do \
        $python /usr/bin/nosetests tests; \
  done
  .......F.....S................................................
  ======================================================================
  FAIL: tests.test_class_import.test_import_localtime
  ----------------------------------------------------------------------
  Traceback (most recent call last):
    File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in
    runTest
      self.test(*self.arg)
    File "/tmp/buildd/freezegun-0.3.4/freezegun/api.py", line 348, in
    wrapper
      result = func(*args, **kwargs)
    File "/tmp/buildd/freezegun-0.3.4/tests/test_class_import.py", line
    76, in test_import_localtime
      assert struct.tm_mday == 14
  AssertionError: 
      time.struct_time(tm_year=2012, tm_mon=1, tm_mday=15, tm_hour=2,
      tm_min=0, tm_sec=0, tm_wday=6, tm_yday=15, tm_isdst=-1) =
      fake_localtime_function()
      assert time.struct_time(tm_year=2012, tm_mon=1, tm_mday=15,
      tm_hour=2, tm_min=0, tm_sec=0, tm_wday=6, tm_yday=15,
      tm_isdst=-1).tm_year == 2012
      assert time.struct_time(tm_year=2012, tm_mon=1, tm_mday=15,
      tm_hour=2, tm_min=0, tm_sec=0, tm_wday=6, tm_yday=15,
      tm_isdst=-1).tm_mon == 1
  >>  assert time.struct_time(tm_year=2012, tm_mon=1, tm_mday=15, tm_hour=2, 
tm_min=0, tm_sec=0, tm_wday=6, tm_yday=15, tm_isdst=-1).tm_mday == 14
      
  
  Name            Stmts   Miss  Cover   Missing
  ---------------------------------------------
  freezegun           8      0   100%   
  freezegun.api     256     13    95%   19-20, 44, 56, 286, 296-298,
  318-320, 363-364, 379-381
  ---------------------------------------------
  TOTAL             264     13    95%   
  ----------------------------------------------------------------------
  Ran 62 tests in 3.362s
  
  FAILED (SKIP=1, failures=1)
  debian/rules:16: recipe for target 'override_dh_auto_test' failed
  make[1]: *** [override_dh_auto_test] Error 1
  make[1]: Leaving directory '/tmp/buildd/freezegun-0.3.4'
  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/freezegun_0.3.4-1.build2.log.gz


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      [email protected] / chris-lamb.co.uk
       `-
I: using fakeroot in build.
I: pbuilder: network access will be disabled during build
I: Current time: samedi 25 juillet 2015, 10:45:28 (UTC+1400)
I: pbuilder-time-stamp: 1437770728
I: Building the build Environment
I: extracting base tarball [/var/cache/pbuilder/unstable-reproducible-base.tgz]
I: creating local configuration
I: copying local configuration
I: mounting /proc filesystem
I: mounting /run/shm filesystem
I: mounting /dev/pts filesystem
I: Mounting /dev/shm
I: Mounting /sys
I: policy-rc.d already exists
I: Installing the build-deps
I: user script 
/var/cache/pbuilder/build//58774/tmp/hooks/D01_modify_environment starting
I: Changing hostname to test build reproducibility
I: user script 
/var/cache/pbuilder/build//58774/tmp/hooks/D01_modify_environment finished
 -> Attempting to satisfy build-dependencies
 -> Creating pbuilder-satisfydepends-dummy package
Package: pbuilder-satisfydepends-dummy
Version: 0.invalid.0
Architecture: amd64
Maintainer: Debian Pbuilder Team <[email protected]>
Description: Dummy package to satisfy dependencies with aptitude - created by 
pbuilder
 This package was created automatically by pbuilder to satisfy the
 build-dependencies of the package being currently built.
Depends: debhelper (>= 9~), dh-python, python-all (>= 2.6.6-3~), 
python-coverage, python-dateutil, python-nose, python-setuptools, python-sure, 
python3-all, python3-coverage, python3-dateutil, python3-nose, 
python3-setuptools, python3-sure
dpkg-deb: building package 'pbuilder-satisfydepends-dummy' in 
'/tmp/satisfydepends-aptitude/pbuilder-satisfydepends-dummy.deb'.
Selecting previously unselected package pbuilder-satisfydepends-dummy.
(Reading database ... 20236 files and directories currently installed.)
Preparing to unpack .../pbuilder-satisfydepends-dummy.deb ...
Unpacking pbuilder-satisfydepends-dummy (0.invalid.0) ...
dpkg: pbuilder-satisfydepends-dummy: dependency problems, but configuring 
anyway as you requested:
 pbuilder-satisfydepends-dummy depends on dh-python; however:
  Package dh-python is not installed.
 pbuilder-satisfydepends-dummy depends on python-all (>= 2.6.6-3~); however:
  Package python-all is not installed.
 pbuilder-satisfydepends-dummy depends on python-coverage; however:
  Package python-coverage is not installed.
 pbuilder-satisfydepends-dummy depends on python-dateutil; however:
  Package python-dateutil is not installed.
 pbuilder-satisfydepends-dummy depends on python-nose; however:
  Package python-nose is not installed.
 pbuilder-satisfydepends-dummy depends on python-setuptools; however:
  Package python-setuptools is not installed.
 pbuilder-satisfydepends-dummy depends on python-sure; however:
  Package python-sure is not installed.
 pbuilder-satisfydepends-dummy depends on python3-all; however:
  Package python3-all is not installed.
 pbuilder-satisfydepends-dummy depends on python3-coverage; ho
Setting up pbuilder-satisfydepends-dummy (0.invalid.0) ...
Reading package lists...
Building dependency tree...
Reading state information...
Initializing package states...
Writing extended state information...
Building tag database...
The following NEW packages will be installed:
  dh-python{a} libexpat1{a} libmpdec2{a} libpython-stdlib{a} 
  libpython2.7-minimal{a} libpython2.7-stdlib{a} libpython3-stdlib{a} 
  libpython3.4-minimal{a} libpython3.4-stdlib{a} libssl1.0.0{a} 
  mime-support{a} python{a} python-all{a} python-coverage{a} 
  python-dateutil{a} python-minimal{a} python-nose{a} 
  python-pkg-resources{a} python-rednose{a} python-setuptools{a} 
  python-six{a} python-sure{a} python-termstyle{a} python2.7{a} 
  python2.7-minimal{a} python3{a} python3-all{a} python3-coverage{a} 
  python3-dateutil{a} python3-minimal{a} python3-nose{a} 
  python3-pkg-resources{a} python3-rednose{a} python3-setuptools{a} 
  python3-six{a} python3-sure{a} python3-termstyle{a} python3.4{a} 
  python3.4-minimal{a} 
0 packages upgraded, 39 newly installed, 0 to remove and 0 not upgraded.
Need to get 10.9 MB of archives. After unpacking 47.7 MB will be used.
Writing extended state information...
Get: 1 http://ftp.de.debian.org/debian/ unstable/main libpython2.7-minimal 
amd64 2.7.10-3 [382 kB]
Get: 2 http://ftp.de.debian.org/debian/ unstable/main python2.7-minimal amd64 
2.7.10-3 [1'418 kB]
Get: 3 http://ftp.de.debian.org/debian/ unstable/main python-minimal amd64 
2.7.9-1 [40.3 kB]
Get: 4 http://ftp.de.debian.org/debian/ unstable/main mime-support all 3.58 
[36.0 kB]
Get: 5 http://ftp.de.debian.org/debian/ unstable/main libexpat1 amd64 
2.1.0-6+b3 [80.3 kB]
Get: 6 http://ftp.de.debian.org/debian/ unstable/main libssl1.0.0 amd64 
1.0.2d-1 [1'274 kB]
Get: 7 http://ftp.de.debian.org/debian/ unstable/main libpython2.7-stdlib amd64 
2.7.10-3 [1'854 kB]
Get: 8 http://ftp.de.debian.org/debian/ unstable/main python2.7 amd64 2.7.10-3 
[258 kB]
Get: 9 http://ftp.de.debian.org/debian/ unstable/main libpython-stdlib amd64 
2.7.9-1 [19.5 kB]
Get: 10 http://ftp.de.debian.org/debian/ unstable/main python amd64 2.7.9-1 
[151 kB]
Get: 11 http://ftp.de.debian.org/debian/ unstable/main libmpdec2 amd64 2.4.1-1 
[85.7 kB]
Get: 12 http://ftp.de.debian.org/debian/ unstable/main libpython3.4-minimal 
amd64 3.4.3-7 [495 kB]
Get: 13 http://ftp.de.debian.org/debian/ unstable/main libpython3.4-stdlib 
amd64 3.4.3-7 [2'057 kB]
Get: 14 http://ftp.de.debian.org/debian/ unstable/main python-pkg-resources all 
18.0.1-1 [73.1 kB]
Get: 15 http://ftp.de.debian.org/debian/ unstable/main python-termstyle all 
0.1.10-1 [5'134 B]
Get: 16 http://ftp.de.debian.org/debian/ unstable/main python-rednose all 
0.4.1-1 [7'332 B]
Get: 17 http://ftp.de.debian.org/debian/ unstable/main python-six all 1.9.0-3 
[13.6 kB]
Get: 18 http://ftp.de.debian.org/debian/ unstable/main python-nose all 1.3.6-1 
[132 kB]
Get: 19 http://ftp.de.debian.org/debian/ unstable/main python-sure all 1.2.5-4 
[16.2 kB]
Get: 20 http://ftp.de.debian.org/debian/ unstable/main python3.4-minimal amd64 
3.4.3-7 [1'400 kB]
Get: 21 http://ftp.de.debian.org/debian/ unstable/main python3-minimal amd64 
3.4.3-4 [34.7 kB]
Get: 22 http://ftp.de.debian.org/debian/ unstable/main python3.4 amd64 3.4.3-7 
[219 kB]
Get: 23 http://ftp.de.debian.org/debian/ unstable/main libpython3-stdlib amd64 
3.4.3-4 [18.1 kB]
Get: 24 http://ftp.de.debian.org/debian/ unstable/main dh-python all 2.20150719 
[70.2 kB]
Get: 25 http://ftp.de.debian.org/debian/ unstable/main python3 amd64 3.4.3-4 
[21.1 kB]
Get: 26 http://ftp.de.debian.org/debian/ unstable/main python3-pkg-resources 
all 18.0.1-1 [43.7 kB]
Get: 27 http://ftp.de.debian.org/debian/ unstable/main python3-termstyle all 
0.1.10-1 [4'974 B]
Get: 28 http://ftp.de.debian.org/debian/ unstable/main python3-rednose all 
0.4.1-1 [7'196 B]
Get: 29 http://ftp.de.debian.org/debian/ unstable/main python3-six all 1.9.0-3 
[13.7 kB]
Get: 30 http://ftp.de.debian.org/debian/ unstable/main python3-nose all 1.3.6-1 
[132 kB]
Get: 31 http://ftp.de.debian.org/debian/ unstable/main python3-sure all 1.2.5-4 
[16.1 kB]
Get: 32 http://ftp.de.debian.org/debian/ unstable/main python-all amd64 2.7.9-1 
[996 B]
Get: 33 http://ftp.de.debian.org/debian/ unstable/main python-coverage amd64 
3.7.1+dfsg.1-1+b1 [85.8 kB]
Get: 34 http://ftp.de.debian.org/debian/ unstable/main python-dateutil all 
2.2-2 [51.3 kB]
Get: 35 http://ftp.de.debian.org/debian/ unstable/main python-setuptools all 
18.0.1-1 [206 kB]
Get: 36 http://ftp.de.debian.org/debian/ unstable/main python3-all amd64 
3.4.3-4 [932 B]
Get: 37 http://ftp.de.debian.org/debian/ unstable/main python3-coverage amd64 
3.7.1+dfsg.1-1+b1 [84.2 kB]
Get: 38 http://ftp.de.debian.org/debian/ unstable/main python3-dateutil all 
2.2-2 [33.2 kB]
Get: 39 http://ftp.de.debian.org/debian/ unstable/main python3-setuptools all 
18.0.1-1 [92.5 kB]
Fetched 10.9 MB in 0s (17.2 MB/s)
debconf: delaying package configuration, since apt-utils is not installed
Selecting previously unselected package libpython2.7-minimal:amd64.
(Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 20236 files and directories currently installed.)
Preparing to unpack .../libpython2.7-minimal_2.7.10-3_amd64.deb ...
Unpacking libpython2.7-minimal:amd64 (2.7.10-3) ...
Selecting previously unselected package python2.7-minimal.
Preparing to unpack .../python2.7-minimal_2.7.10-3_amd64.deb ...
Unpacking python2.7-minimal (2.7.10-3) ...
Selecting previously unselected package python-minimal.
Preparing to unpack .../python-minimal_2.7.9-1_amd64.deb ...
Unpacking python-minimal (2.7.9-1) ...
Selecting previously unselected package mime-support.
Preparing to unpack .../mime-support_3.58_all.deb ...
Unpacking mime-support (3.58) ...
Selecting previously unselected package libexpat1:amd64.
Preparing to unpack .../libexpat1_2.1.0-6+b3_amd64.deb ...
Unpacking libexpat1:amd64 (2.1.0-6+b3) ...
Selecting previously unselected package libssl1.0.0:amd64.
Preparing to unpack .../libssl1.0.0_1.0.2d-1_amd64.deb ...
Unpacking libssl1.0.0:amd64 (1.0.2d-1) ...
Selecting previously unselected package libpython2.7-stdlib:amd64.
Preparing to unpack .../libpython2.7-stdlib_2.7.10-3_amd64.deb ...
Unpacking libpython2.7-stdlib:amd64 (2.7.10-3) ...
Selecting previously unselected package python2.7.
Preparing to unpack .../python2.7_2.7.10-3_amd64.deb ...
Unpacking python2.7 (2.7.10-3) ...
Selecting previously unselected package libpython-stdlib:amd64.
Preparing to unpack .../libpython-stdlib_2.7.9-1_amd64.deb ...
Unpacking libpython-stdlib:amd64 (2.7.9-1) ...
Processing triggers for man-db (2.7.0.2-5) ...
Setting up libpython2.7-minimal:amd64 (2.7.10-3) ...
Setting up python2.7-minimal (2.7.10-3) ...
Setting up python-minimal (2.7.9-1) ...
Selecting previously unselected package python.
(Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 21039 files and directories currently installed.)
Preparing to unpack .../python_2.7.9-1_amd64.deb ...
Unpacking python (2.7.9-1) ...
Selecting previously unselected package libmpdec2:amd64.
Preparing to unpack .../libmpdec2_2.4.1-1_amd64.deb ...
Unpacking libmpdec2:amd64 (2.4.1-1) ...
Selecting previously unselected package libpython3.4-minimal:amd64.
Preparing to unpack .../libpython3.4-minimal_3.4.3-7_amd64.deb ...
Unpacking libpython3.4-minimal:amd64 (3.4.3-7) ...
Selecting previously unselected package libpython3.4-stdlib:amd64.
Preparing to unpack .../libpython3.4-stdlib_3.4.3-7_amd64.deb ...
Unpacking libpython3.4-stdlib:amd64 (3.4.3-7) ...
Selecting previously unselected package python-pkg-resources.
Preparing to unpack .../python-pkg-resources_18.0.1-1_all.deb ...
Unpacking python-pkg-resources (18.0.1-1) ...
Selecting previously unselected package python-termstyle.
Preparing to unpack .../python-termstyle_0.1.10-1_all.deb ...
Unpacking python-termstyle (0.1.10-1) ...
Selecting previously unselected package python-rednose.
Preparing to unpack .../python-rednose_0.4.1-1_all.deb ...
Unpacking python-rednose (0.4.1-1) ...
Selecting previously unselected package python-six.
Preparing to unpack .../python-six_1.9.0-3_all.deb ...
Unpacking python-six (1.9.0-3) ...
Selecting previously unselected package python-nose.
Preparing to unpack .../python-nose_1.3.6-1_all.deb ...
Unpacking python-nose (1.3.6-1) ...
Selecting previously unselected package python-sure.
Preparing to unpack .../python-sure_1.2.5-4_all.deb ...
Unpacking python-sure (1.2.5-4) ...
Selecting previously unselected package python3.4-minimal.
Preparing to unpack .../python3.4-minimal_3.4.3-7_amd64.deb ...
Unpacking python3.4-minimal (3.4.3-7) ...
Selecting previously unselected package python3-minimal.
Preparing to unpack .../python3-minimal_3.4.3-4_amd64.deb ...
Unpacking python3-minimal (3.4.3-4) ...
Selecting previously unselected package python3.4.
Preparing to unpack .../python3.4_3.4.3-7_amd64.deb ...
Unpacking python3.4 (3.4.3-7) ...
Selecting previously unselected package libpython3-stdlib:amd64.
Preparing to unpack .../libpython3-stdlib_3.4.3-4_amd64.deb ...
Unpacking libpython3-stdlib:amd64 (3.4.3-4) ...
Selecting previously unselected package dh-python.
Preparing to unpack .../dh-python_2.20150719_all.deb ...
Unpacking dh-python (2.20150719) ...
Processing triggers for man-db (2.7.0.2-5) ...
Setting up libssl1.0.0:amd64 (1.0.2d-1) ...
Setting up libpython3.4-minimal:amd64 (3.4.3-7) ...
Setting up libexpat1:amd64 (2.1.0-6+b3) ...
Setting up python3.4-minimal (3.4.3-7) ...
Setting up python3-minimal (3.4.3-4) ...
Processing triggers for libc-bin (2.19-19) ...
Selecting previously unselected package python3.
(Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 22144 files and directories currently installed.)
Preparing to unpack .../python3_3.4.3-4_amd64.deb ...
Unpacking python3 (3.4.3-4) ...
Selecting previously unselected package python3-pkg-resources.
Preparing to unpack .../python3-pkg-resources_18.0.1-1_all.deb ...
Unpacking python3-pkg-resources (18.0.1-1) ...
Selecting previously unselected package python3-termstyle.
Preparing to unpack .../python3-termstyle_0.1.10-1_all.deb ...
Unpacking python3-termstyle (0.1.10-1) ...
Selecting previously unselected package python3-rednose.
Preparing to unpack .../python3-rednose_0.4.1-1_all.deb ...
Unpacking python3-rednose (0.4.1-1) ...
Selecting previously unselected package python3-six.
Preparing to unpack .../python3-six_1.9.0-3_all.deb ...
Unpacking python3-six (1.9.0-3) ...
Selecting previously unselected package python3-nose.
Preparing to unpack .../python3-nose_1.3.6-1_all.deb ...
Unpacking python3-nose (1.3.6-1) ...
Selecting previously unselected package python3-sure.
Preparing to unpack .../python3-sure_1.2.5-4_all.deb ...
Unpacking python3-sure (1.2.5-4) ...
Selecting previously unselected package python-all.
Preparing to unpack .../python-all_2.7.9-1_amd64.deb ...
Unpacking python-all (2.7.9-1) ...
Selecting previously unselected package python-coverage.
Preparing to unpack .../python-coverage_3.7.1+dfsg.1-1+b1_amd64.deb ...
Unpacking python-coverage (3.7.1+dfsg.1-1+b1) ...
Selecting previously unselected package python-dateutil.
Preparing to unpack .../python-dateutil_2.2-2_all.deb ...
Unpacking python-dateutil (2.2-2) ...
Selecting previously unselected package python-setuptools.
Preparing to unpack .../python-setuptools_18.0.1-1_all.deb ...
Unpacking python-setuptools (18.0.1-1) ...
Selecting previously unselected package python3-all.
Preparing to unpack .../python3-all_3.4.3-4_amd64.deb ...
Unpacking python3-all (3.4.3-4) ...
Selecting previously unselected package python3-coverage.
Preparing to unpack .../python3-coverage_3.7.1+dfsg.1-1+b1_amd64.deb ...
Unpacking python3-coverage (3.7.1+dfsg.1-1+b1) ...
Selecting previously unselected package python3-dateutil.
Preparing to unpack .../python3-dateutil_2.2-2_all.deb ...
Unpacking python3-dateutil (2.2-2) ...
Selecting previously unselected package python3-setuptools.
Preparing to unpack .../python3-setuptools_18.0.1-1_all.deb ...
Unpacking python3-setuptools (18.0.1-1) ...
Processing triggers for man-db (2.7.0.2-5) ...
Setting up mime-support (3.58) ...
Setting up libpython2.7-stdlib:amd64 (2.7.10-3) ...
Setting up python2.7 (2.7.10-3) ...
Setting up libpython-stdlib:amd64 (2.7.9-1) ...
Setting up python (2.7.9-1) ...
Setting up libmpdec2:amd64 (2.4.1-1) ...
Setting up libpython3.4-stdlib:amd64 (3.4.3-7) ...
Setting up python-pkg-resources (18.0.1-1) ...
Setting up python-termstyle (0.1.10-1) ...
Setting up python-rednose (0.4.1-1) ...
Setting up python-six (1.9.0-3) ...
Setting up python-nose (1.3.6-1) ...
Setting up python-sure (1.2.5-4) ...
Setting up python3.4 (3.4.3-7) ...
Setting up libpython3-stdlib:amd64 (3.4.3-4) ...
Setting up python-all (2.7.9-1) ...
Setting up python-coverage (3.7.1+dfsg.1-1+b1) ...
Setting up python-dateutil (2.2-2) ...
Setting up python-setuptools (18.0.1-1) ...
Setting up python3 (3.4.3-4) ...
Setting up python3-pkg-resources (18.0.1-1) ...
Setting up python3-termstyle (0.1.10-1) ...
Setting up python3-rednose (0.4.1-1) ...
Setting up python3-six (1.9.0-3) ...
Setting up python3-nose (1.3.6-1) ...
Setting up python3-sure (1.2.5-4) ...
Setting up python3-all (3.4.3-4) ...
Setting up python3-coverage (3.7.1+dfsg.1-1+b1) ...
Setting up python3-dateutil (2.2-2) ...
Setting up python3-setuptools (18.0.1-1) ...
Setting up dh-python (2.20150719) ...
Processing triggers for libc-bin (2.19-19) ...
Reading package lists...
Building dependency tree...
Reading state information...
Reading extended state information...
Initializing package states...
Writing extended state information...
Building tag database...
 -> Finished parsing the build-deps
Reading package lists...
Building dependency tree...
Reading state information...
fakeroot is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
I: Copying source file
I: copying [freezegun_0.3.4-1.dsc]
I: copying [./freezegun_0.3.4.orig.tar.gz]
I: copying [./freezegun_0.3.4-1.debian.tar.xz]
I: Extracting source
gpgv: keyblock resource `/tmp/buildd/.gnupg/trustedkeys.gpg': file open error
gpgv: Signature made lun 29 jun 2015 07:21:22 GMT-14 using RSA key ID F5177DAA
gpgv: Can't check signature: public key not found
dpkg-source: warning: failed to verify signature on ./freezegun_0.3.4-1.dsc
dpkg-source: info: extracting freezegun in freezegun-0.3.4
dpkg-source: info: unpacking freezegun_0.3.4.orig.tar.gz
dpkg-source: info: unpacking freezegun_0.3.4-1.debian.tar.xz
I: Building the package
W: no hooks of type A found -- ignoring
I: Running cd tmp/buildd/*/ && env 
PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" 
dpkg-buildpackage -us -uc  -b -rfakeroot
dpkg-buildpackage: source package freezegun
dpkg-buildpackage: source version 0.3.4-1
dpkg-buildpackage: source distribution unstable
dpkg-buildpackage: source changed by Federico Ceratto 
<[email protected]>
 dpkg-source --before-build freezegun-0.3.4
dpkg-buildpackage: host architecture amd64
 fakeroot debian/rules clean
dh clean --with python2,python3 --buildsystem=pybuild
   dh_testdir -O--buildsystem=pybuild
   dh_auto_clean -O--buildsystem=pybuild
        pybuild --clean -i python{version} -p 2.7 --dir .
I: pybuild base:170: python2.7 setup.py clean 
running clean
removing '/tmp/buildd/freezegun-0.3.4/.pybuild/pythonX.Y_2.7/build' (and 
everything under it)
'build/bdist.linux-x86_64' does not exist -- can't clean it
'build/scripts-2.7' does not exist -- can't clean it
        pybuild --clean -i python{version} -p 3.4 --dir .
I: pybuild base:170: python3.4 setup.py clean 
running clean
removing '/tmp/buildd/freezegun-0.3.4/.pybuild/pythonX.Y_3.4/build' (and 
everything under it)
'build/bdist.linux-x86_64' does not exist -- can't clean it
'build/scripts-3.4' does not exist -- can't clean it
        rm -rf .pybuild/
        find . -name \*.pyc -exec rm {} \;
   debian/rules override_dh_clean
make[1]: Entering directory '/tmp/buildd/freezegun-0.3.4'
dh_auto_clean
        pybuild --clean -i python{version} -p 2.7 --dir .
I: pybuild base:170: python2.7 setup.py clean 
running clean
removing '/tmp/buildd/freezegun-0.3.4/.pybuild/pythonX.Y_2.7/build' (and 
everything under it)
'build/bdist.linux-x86_64' does not exist -- can't clean it
'build/scripts-2.7' does not exist -- can't clean it
        pybuild --clean -i python{version} -p 3.4 --dir .
I: pybuild base:170: python3.4 setup.py clean 
running clean
removing '/tmp/buildd/freezegun-0.3.4/.pybuild/pythonX.Y_3.4/build' (and 
everything under it)
'build/bdist.linux-x86_64' does not exist -- can't clean it
'build/scripts-3.4' does not exist -- can't clean it
        rm -rf .pybuild/
        find . -name \*.pyc -exec rm {} \;
rm -rf *.egg-info build
make[1]: Leaving directory '/tmp/buildd/freezegun-0.3.4'
 debian/rules build
dh build --with python2,python3 --buildsystem=pybuild
   dh_testdir -O--buildsystem=pybuild
   dh_auto_configure -O--buildsystem=pybuild
        pybuild --configure -i python{version} -p 2.7 --dir .
I: pybuild base:170: python2.7 setup.py config 
running config
        pybuild --configure -i python{version} -p 3.4 --dir .
I: pybuild base:170: python3.4 setup.py config 
running config
   dh_auto_build -O--buildsystem=pybuild
        pybuild --build -i python{version} -p 2.7 --dir .
I: pybuild base:170: /usr/bin/python setup.py build 
running build
running build_py
creating /tmp/buildd/freezegun-0.3.4/.pybuild/pythonX.Y_2.7/build/freezegun
copying freezegun/api.py -> 
/tmp/buildd/freezegun-0.3.4/.pybuild/pythonX.Y_2.7/build/freezegun
copying freezegun/__init__.py -> 
/tmp/buildd/freezegun-0.3.4/.pybuild/pythonX.Y_2.7/build/freezegun
running egg_info
creating freezegun.egg-info
writing requirements to freezegun.egg-info/requires.txt
writing freezegun.egg-info/PKG-INFO
writing top-level names to freezegun.egg-info/top_level.txt
writing dependency_links to freezegun.egg-info/dependency_links.txt
writing manifest file 'freezegun.egg-info/SOURCES.txt'
reading manifest file 'freezegun.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'freezegun.egg-info/SOURCES.txt'
        pybuild --build -i python{version} -p 3.4 --dir .
I: pybuild base:170: /usr/bin/python3 setup.py build 
running build
running build_py
creating /tmp/buildd/freezegun-0.3.4/.pybuild/pythonX.Y_3.4/build/freezegun
copying freezegun/api.py -> 
/tmp/buildd/freezegun-0.3.4/.pybuild/pythonX.Y_3.4/build/freezegun
copying freezegun/__init__.py -> 
/tmp/buildd/freezegun-0.3.4/.pybuild/pythonX.Y_3.4/build/freezegun
running egg_info
writing dependency_links to freezegun.egg-info/dependency_links.txt
writing requirements to freezegun.egg-info/requires.txt
writing freezegun.egg-info/PKG-INFO
writing top-level names to freezegun.egg-info/top_level.txt
reading manifest file 'freezegun.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'freezegun.egg-info/SOURCES.txt'
   debian/rules override_dh_auto_test
make[1]: Entering directory '/tmp/buildd/freezegun-0.3.4'
pyversions: missing X(S)-Python-Version in control file, fall back to 
debian/pyversions
pyversions: missing debian/pyversions file, fall back to supported versions
py3versions: no X-Python3-Version in control file, using supported versions
for python in python2.7; do \
        $python /usr/bin/nosetests tests; \
done
.......F.....S................................................
======================================================================
FAIL: tests.test_class_import.test_import_localtime
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/tmp/buildd/freezegun-0.3.4/freezegun/api.py", line 348, in wrapper
    result = func(*args, **kwargs)
  File "/tmp/buildd/freezegun-0.3.4/tests/test_class_import.py", line 76, in 
test_import_localtime
    assert struct.tm_mday == 14
AssertionError: 
    time.struct_time(tm_year=2012, tm_mon=1, tm_mday=15, tm_hour=2, tm_min=0, 
tm_sec=0, tm_wday=6, tm_yday=15, tm_isdst=-1) = fake_localtime_function()
    assert time.struct_time(tm_year=2012, tm_mon=1, tm_mday=15, tm_hour=2, 
tm_min=0, tm_sec=0, tm_wday=6, tm_yday=15, tm_isdst=-1).tm_year == 2012
    assert time.struct_time(tm_year=2012, tm_mon=1, tm_mday=15, tm_hour=2, 
tm_min=0, tm_sec=0, tm_wday=6, tm_yday=15, tm_isdst=-1).tm_mon == 1
>>  assert time.struct_time(tm_year=2012, tm_mon=1, tm_mday=15, tm_hour=2, 
>> tm_min=0, tm_sec=0, tm_wday=6, tm_yday=15, tm_isdst=-1).tm_mday == 14
    

Name            Stmts   Miss  Cover   Missing
---------------------------------------------
freezegun           8      0   100%   
freezegun.api     256     13    95%   19-20, 44, 56, 286, 296-298, 318-320, 
363-364, 379-381
---------------------------------------------
TOTAL             264     13    95%   
----------------------------------------------------------------------
Ran 62 tests in 3.362s

FAILED (SKIP=1, failures=1)
debian/rules:16: recipe for target 'override_dh_auto_test' failed
make[1]: *** [override_dh_auto_test] Error 1
make[1]: Leaving directory '/tmp/buildd/freezegun-0.3.4'
debian/rules:12: recipe for target 'build' failed
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
E: Failed autobuilding of package
W: no hooks of type C found -- ignoring
I: unmounting /sys filesystem
I: unmounting /dev/shm filesystem
I: unmounting dev/pts filesystem
I: unmounting run/shm filesystem
I: unmounting proc filesystem
I: cleaning the build env 
I: removing directory /var/cache/pbuilder/build//58774 and its subdirectories

Reply via email to