[PKG-Openstack-devel] Bug#849388: factory-boy: FTBFS: ImportError: The ``fake-factory`` package is now called ``Faker``.

Chris Lamb lamby at debian.org
Mon Dec 26 15:24:07 UTC 2016


Source: factory-boy
Version: 2.7.0-2
Severity: serious
Justification: fails to build from source
User: reproducible-builds at lists.alioth.debian.org
Usertags: ftbfs
X-Debbugs-Cc: reproducible-bugs at lists.alioth.debian.org

Dear Maintainer,

factory-boy fails to build from source in unstable/amd64:

  […]

  running build_ext
  «BUILDDIR»/tests/djapp/models.py:77: RemovedInDjango20Warning: on_delete will be a required arg for OneToOneField in Django 2.0. Set it to models.CASCADE on models and in existing migrations if you want to maintain the current default behavior. See https://docs.djangoproject.com/en/1.10/ref/models/fields/#django.db.models.ForeignKey.on_delete
    pointed = models.OneToOneField(PointedModel, related_name='pointer', null=True)
  Traceback (most recent call last):
    File "setup.py", line 75, in <module>
      test_loader=test_loader,
    File "/usr/lib/python2.7/distutils/core.py", line 151, in setup
      dist.run_commands()
    File "/usr/lib/python2.7/distutils/dist.py", line 953, in run_commands
      self.run_command(cmd)
    File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
      cmd_obj.run()
    File "/usr/lib/python2.7/dist-packages/setuptools/command/test.py", line 210, in run
      self.run_tests()
    File "/usr/lib/python2.7/dist-packages/setuptools/command/test.py", line 233, in run_tests
      **exit_kwarg
    File "/usr/lib/python2.7/unittest/main.py", line 94, in __init__
      self.parseArgs(argv)
    File "/usr/lib/python2.7/unittest/main.py", line 149, in parseArgs
      self.createTests()
    File "/usr/lib/python2.7/unittest/main.py", line 158, in createTests
      self.module)
    File "/usr/lib/python2.7/unittest/loader.py", line 130, in loadTestsFromNames
      suites = [self.loadTestsFromName(name, module) for name in names]
    File "/usr/lib/python2.7/unittest/loader.py", line 91, in loadTestsFromName
      module = __import__('.'.join(parts_copy))
    File "«BUILDDIR»/tests/__init__.py", line 5, in <module>
      from .test_django import *
    File "«BUILDDIR»/tests/test_django.py", line 65, in <module>
      import factory
    File "«BUILDDIR»/factory/__init__.py", line 46, in <module>
      from .faker import Faker
    File "«BUILDDIR»/factory/faker.py", line 41, in <module>
      import faker
    File "«BUILDDIR»/.eggs/fake_factory-9999.9.9-py2.7.egg/faker/__init__.py", line 7, in <module>
  ImportError: The ``fake-factory`` package is now called ``Faker``.
  
  Please update your requirements.
  
  debian/rules:33: recipe for target 'override_dh_auto_test' failed
  make[1]: *** [override_dh_auto_test] Error 1
  make[1]: Leaving directory '«BUILDDIR»'
  debian/rules:12: recipe for target 'build' failed
  make: *** [build] Error 2
  dpkg-buildpackage: error: debian/rules build gave error exit status 2
 
Also:
 
  **************************************************************************************
  ** Detected network access during build                                             **
  **************************************************************************************
  
   00:00:00.000000 IP eb678b0cc605.52598 > OpenWrt.lan.domain: 39159+ A? pypi.python.org. (33)
   00:00:00.000064 IP eb678b0cc605.52598 > OpenWrt.lan.domain: 9458+ AAAA? pypi.python.org. (33)
   00:00:00.024580 IP OpenWrt.lan.domain > eb678b0cc605.52598: 39159 2/0/0 CNAME prod.python.map.fastly.net., A 151.101.16.223 (89)
   00:00:00.029711 IP OpenWrt.lan.domain > eb678b0cc605.52598: 9458 2/0/0 CNAME prod.python.map.fastly.net., AAAA 2a04:4e42:f::223 (101)
   00:00:00.030346 IP eb678b0cc605.33966 > 151.101.16.223.https: Flags [S], seq 2865356014, win 29200, options [mss 1460,sackOK,TS val 142235382 ecr 0,nop,wscale 7], length 0
   00:00:00.042793 IP 151.101.16.223.https > eb678b0cc605.33966: Flags [S.], seq 1723407403, ack 2865356015, win 28560, options [mss 1440,sackOK,TS val 919720016 ecr 142235382,nop,wscale 9], length 0
   00:00:00.042853 IP eb678b0cc605.33966 > 151.101.16.223.https: Flags [.], ack 1, win 229, options [nop,nop,TS val 142235385 ecr 919720016], length 0
   00:00:00.054056 IP eb678b0cc605.33966 > 151.101.16.223.https: Flags [P.], seq 1:239, ack 1, win 229, options [nop,nop,TS val 142235388 ecr 919720016], length 238
   00:00:00.067705 IP 151.101.16.223.https > eb678b0cc605.33966: Flags [.], seq 1:1429, ack 239, win 58, options [nop,nop,TS val 919720023 ecr 142235388], length 1428
   00:00:00.067776 IP eb678b0cc605.33966 > 151.101.16.223.https: Flags [.], ack 1429, win 251, options [nop,nop,TS val 142235391 ecr 919720023], length 0
   00:00:00.070555 IP 151.101.16.223.https > eb678b0cc605.33966: Flags [.], seq 1429:2857, ack 239, win 58, options [nop,nop,TS val 919720023 ecr 142235388], length 1428
   00:00:00.070641 IP eb678b0cc605.33966 > 151.101.16.223.https: Flags [.], ack 2857, win 273, options [nop,nop,TS val 142235392 ecr 919720023], length 0
   00:00:00.071052 IP 151.101.16.223.https > eb678b0cc605.33966: Flags [P.], seq 2857:3784, ack 239, win 58, options [nop,nop,TS val 919720023 ecr 142235388], length 927
   00:00:00.071119 IP eb678b0cc605.33966 > 151.101.16.223.https: Flags [.], ack 3784, win 296, options [nop,nop,TS val 142235392 ecr 919720023], length 0
   00:00:00.073084 IP eb678b0cc605.33966 > 151.101.16.223.https: Flags [P.], seq 239:365, ack 3784, win 296, options [nop,nop,TS val 142235393 ecr 919720023], length 126
   00:00:00.103623 IP 151.101.16.223.https > eb678b0cc605.33966: Flags [P.], seq 3784:4010, ack 365, win 58, options [nop,nop,TS val 919720032 ecr 142235393], length 226
   00:00:00.104248 IP eb678b0cc605.33966 > 151.101.16.223.https: Flags [P.], seq 365:550, ack 4010, win 318, options [nop,nop,TS val 142235401 ecr 919720032], length 185
   00:00:00.117302 IP 151.101.16.223.https > eb678b0cc605.33966: Flags [.], seq 4010:5438, ack 550, win 60, options [nop,nop,TS val 919720035 ecr 142235401], length 1428
   00:00:00.119274 IP 151.101.16.223.https > eb678b0cc605.33966: Flags [P.], seq 5438:6798, ack 550, win 60, options [nop,nop,TS val 919720035 ecr 142235401], length 1360
   00:00:00.119344 IP eb678b0cc605.33966 > 151.101.16.223.https: Flags [.], ack 6798, win 362, options [nop,nop,TS val 142235404 ecr 919720035], length 0
   00:00:00.119726 IP 151.101.16.223.https > eb678b0cc605.33966: Flags [.], seq 6798:8226, ack 550, win 60, options [nop,nop,TS val 919720035 ecr 142235401], length 1428
   00:00:00.120734 IP 151.101.16.223.https > eb678b0cc605.33966: Flags [P.], seq 8226:9586, ack 550, win 60, options [nop,nop,TS val 919720035 ecr 142235401], length 1360
   00:00:00.120745 IP 151.101.16.223.https > eb678b0cc605.33966: Flags [.], seq 9586:11014, ack 550, win 60, options [nop,nop,TS val 919720035 ecr 142235401], length 1428
   00:00:00.120751 IP 151.101.16.223.https > eb678b0cc605.33966: Flags [.], seq 11014:12442, ack 550, win 60, options [nop,nop,TS val 919720035 ecr 142235401], length 1428
   00:00:00.120758 IP 151.101.16.223.https > eb678b0cc605.33966: Flags [FP.], seq 12442:12547, ack 550, win 60, options [nop,nop,TS val 919720035 ecr 142235401], length 105
   00:00:00.120805 IP eb678b0cc605.33966 > 151.101.16.223.https: Flags [.], ack 9586, win 407, options [nop,nop,TS val 142235405 ecr 919720035], length 0
   00:00:00.120848 IP eb678b0cc605.33966 > 151.101.16.223.https: Flags [.], ack 12442, win 452, options [nop,nop,TS val 142235405 ecr 919720035], length 0
   00:00:00.121036 IP eb678b0cc605.33966 > 151.101.16.223.https: Flags [R.], seq 550, ack 12548, win 452, options [nop,nop,TS val 142235405 ecr 919720035], length 0
   00:00:00.157472 IP eb678b0cc605.50356 > OpenWrt.lan.domain: 36673+ A? pypi.python.org. (33)
   00:00:00.157524 IP eb678b0cc605.50356 > OpenWrt.lan.domain: 13732+ AAAA? pypi.python.org. (33)
   00:00:00.159293 IP OpenWrt.lan.domain > eb678b0cc605.50356: 36673 2/0/0 CNAME prod.python.map.fastly.net., A 151.101.16.223 (89)
   00:00:00.159894 IP OpenWrt.lan.domain > eb678b0cc605.50356: 13732 2/0/0 CNAME prod.python.map.fastly.net., AAAA 2a04:4e42:f::223 (101)
   00:00:00.160097 IP eb678b0cc605.33968 > 151.101.16.223.https: Flags [S], seq 1483459486, win 29200, options [mss 1460,sackOK,TS val 142235415 ecr 0,nop,wscale 7], length 0
   00:00:00.172933 IP 151.101.16.223.https > eb678b0cc605.33968: Flags [S.], seq 3499386813, ack 1483459487, win 28560, options [mss 1440,sackOK,TS val 960320652 ecr 142235415,nop,wscale 9], length 0
   00:00:00.172988 IP eb678b0cc605.33968 > 151.101.16.223.https: Flags [.], ack 1, win 229, options [nop,nop,TS val 142235418 ecr 960320652], length 0
   00:00:00.183664 IP eb678b0cc605.33968 > 151.101.16.223.https: Flags [P.], seq 1:239, ack 1, win 229, options [nop,nop,TS val 142235420 ecr 960320652], length 238

  […]

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: factory-boy.2.7.0-2.unstable.amd64.log.txt.gz
Type: application/octet-stream
Size: 8500 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/openstack-devel/attachments/20161226/fa76778d/attachment.obj>


More information about the Openstack-devel mailing list