New submission from Serhiy Storchaka:

After updating outdated workspace to current sources I got following error:

$ make
Traceback (most recent call last):
  File "./setup.py", line 26, in <module>
    sysconfig.get_config_vars()['CFLAGS'] = cflags + ' ' + py_cflags_nodist
TypeError: Can't convert 'NoneType' object to str implicitly
make: *** [sharedmods] Error 1

`make distclean` doesn't help.

Here is a patch which fixes symptoms but may be right solution should change 
something other.

----------
components: Build
files: setup_py_cflags_nodist.diff
keywords: patch
messages: 233966
nosy: serhiy.storchaka
priority: normal
severity: normal
status: open
title: TypeError in ./setup.py
type: compile error
versions: Python 3.5
Added file: http://bugs.python.org/file37695/setup_py_cflags_nodist.diff

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue23233>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to