[Reproducible-builds] Bug#796521: pyrfc3339: FTBFS: SyntaxError: invalid token

Chris Lamb lamby at debian.org
Sat Aug 22 10:12:51 UTC 2015


Source: pyrfc3339
Version: 0.2-2
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,

pyrfc3339 fails to build from source in unstable/amd64:

  [..]

  ----------------------------------------------------------------------
  File
  "/tmp/buildd/pyrfc3339-0.2/.pybuild/pythonX.Y_3.4/build/pyrfc3339/generator.py",
  line 33, in pyrfc3339.generator.generate
  Failed example:
      generate(datetime(2009,01,01,12,59,59,0), accept_naive=True)
  Exception raised:
      Traceback (most recent call last):
        File "/usr/lib/python3.4/doctest.py", line 1318, in __run
          compileflags, 1), test.globs)
        File "<doctest pyrfc3339.generator.generate[7]>", line 1
          generate(datetime(2009,01,01,12,59,59,0), accept_naive=True)
                                  ^
      SyntaxError: invalid token
  ----------------------------------------------------------------------
  File
  "/tmp/buildd/pyrfc3339-0.2/.pybuild/pythonX.Y_3.4/build/pyrfc3339/generator.py",
  line 40, in pyrfc3339.generator.generate
  Failed example:
      generate(datetime(2009,01,01,12,59,59,0), accept_naive=True,
      utc=False)
  Expected:
      Traceback (most recent call last):
      ...
      ValueError: cannot generate a local timestamp from a naive
      datetime
  Got:
      Traceback (most recent call last):
        File "/usr/lib/python3.4/doctest.py", line 1318, in __run
          compileflags, 1), test.globs)
        File "<doctest pyrfc3339.generator.generate[8]>", line 1
          generate(datetime(2009,01,01,12,59,59,0), accept_naive=True,
          utc=False)
                                  ^
      SyntaxError: invalid token
  
  
  ----------------------------------------------------------------------
  Ran 1166 tests in 0.891s
  
  FAILED (failures=1)
  E: pybuild pybuild:262: test: plugin distutils failed with: exit
  code=1: cd /tmp/buildd/pyrfc3339-0.2/.pybuild/pythonX.Y_3.4/build;
  python3.4 -m nose --with-doctest 
  dh_auto_test: pybuild --test --test-nose -i python{version} -p 3.4
  --dir . returned exit code 13
  debian/rules:7: recipe for target 'build' failed
  make: *** [build] Error 25
  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/pyrfc3339_0.2-2.build1.log.gz


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby at debian.org / chris-lamb.co.uk
       `-
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: pyrfc3339.0.2-2.unstable.amd64.log.txt
URL: <http://lists.alioth.debian.org/pipermail/reproducible-builds/attachments/20150822/745d10a3/attachment.txt>


More information about the Reproducible-builds mailing list