frosted FTBFS ImportError: No module named builtins
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
frosted (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
frosted currently fails to build on Wily Werewolf with the following error message:
=======
platform linux2 -- Python 2.7.10 -- py-1.4.29 -- pytest-2.7.0
rootdir: /«PKGBUILDDIR», inifile:
collected 0 items / 9 errors
=======
__________________ ERROR collecting frosted/
frosted/
from frosted.api import check_path, check_recursive
frosted/api.py:30: in <module>
from frosted import checker, settings
frosted/
import builtins
E ImportError: No module named builtins
________________ ERROR collecting frosted/
frosted/
from .utils import flakes
frosted/
from frosted import checker
frosted/
import builtins
E ImportError: No module named builtins
_____________ ERROR collecting frosted/
frosted/
from .utils import flakes
frosted/
from frosted import checker
frosted/
import builtins
E ImportError: No module named builtins
________________ ERROR collecting frosted/
frosted/
from .utils import flakes
frosted/
from frosted import checker
frosted/
import builtins
E ImportError: No module named builtins
__________________ ERROR collecting frosted/
frosted/
from frosted.api import _noqa_lines, _re_noqa, check
frosted/api.py:30: in <module>
from frosted import checker, settings
frosted/
import builtins
E ImportError: No module named builtins
_________________ ERROR collecting frosted/
frosted/
from .utils import flakes
frosted/
from frosted import checker
frosted/
import builtins
E ImportError: No module named builtins
_ ERROR collecting frosted/
frosted/
from .utils import flakes
frosted/
from frosted import checker
frosted/
import builtins
E ImportError: No module named builtins
_________________ ERROR collecting frosted/
frosted/
from frosted.api import iter_source_code
frosted/api.py:30: in <module>
from frosted import checker, settings
frosted/
import builtins
E ImportError: No module named builtins
____________ ERROR collecting frosted/
frosted/
from frosted import checker
frosted/
import builtins
E ImportError: No module named builtins
=======
E: pybuild pybuild:256: test: plugin distutils failed with: exit code=1: python2.7 setup.py test
dh_auto_test: pybuild --test -i python{version} -p 2.7 --dir . returned exit code 13
make: *** [build] Error 13
debian/rules:6: recipe for target 'build' failed
dpkg-buildpackage: error: debian/rules build gave error exit status 2
I've investigated this a bit and found the following:
Firstly, I'm able to reproduce the issue on my Wily vm.
I am unable to reproduce it on a Debian Sid vm, so it looks like an Ubuntu-only issue.
When running python on Sid, I was able to import "builtins", but it failed on Ubuntu.
I found that the builtins module imported on Sid resided in `/usr/lib/
I notice that this source package has an Ubuntu-delta, but it don't quite see how that would affect this issue.
Though I did see something interesting. In Debian, the python-pies binary depends on python-
So Debian will pull it in as a dependency when building, but on Ubuntu it will be missing resulting in the error above.
I am not sure what has caused this difference though.
[1] https:/
[2] https:/
[3] https:/
[4] http://
summary: |
- FTBFS ImportError: No module named builtins + frosted FTBFS ImportError: No module named builtins |
Looks like this was removed alongside python-pies. It is currently not in any supported releases of Ubuntu or Debian, so closing.