[pybsddb] 6.2.4 breaks pypy build inside virtualenv
Zhihao Yuan
zy at miator.net
Tue Sep 5 18:45:30 CEST 2017
On Tue, Sep 5, 2017 at 9:55 AM, Jesus Cea <jcea at jcea.es> wrote:
> On 04/09/17 05:05, Zhihao Yuan wrote:
>> problem with 6.2.4 -- this version doesn't build
>> in virtualenv -p pypy.
>
> Do a "pip install bsddb3==5.3.0", verify you get the same error, and
> then please file a bug report in PYPI.
>
I don't know what do you mean -- is there
anything special with 5.3.0? Do you know
what kind of change can result in the issue?
Also, unable to verify. bsddb3-5.3.0 builds
and installs with
python setup.py install --berkeley-db=/usr/include
in both python2 venv and pypy venv (thus
it doesn't install through pip on my machine,
libdb-5.3.so), while bsddb3-6.2.4 gives the
issue I posted before
library files in /usr/lib/x86_64-linux-gnu
library name is libdb-5.3
Detected Berkeley DB version 5.3 from db.h
running install
Traceback (most recent call last):
File "setup.py", line 40, in <module>
import setup2
File "/home/ubuntu/tmp/bsddb3-6.2.4/setup2.py", line 546, in <module>
'Programming Language :: Python :: 3.5',
File "/usr/lib/pypy/lib-python/2.7/distutils/core.py", line 151, in setup
dist.run_commands()
File "/usr/lib/pypy/lib-python/2.7/distutils/dist.py", line 953, in
run_commands
self.run_command(cmd)
File "/usr/lib/pypy/lib-python/2.7/distutils/dist.py", line 971, in
run_command
cmd_obj.ensure_finalized()
File "/usr/lib/pypy/lib-python/2.7/distutils/cmd.py", line 109, in
ensure_finalize d
self.finalize_options()
File "/home/ubuntu/tmp/venv2/site-packages/setuptools/command/install.py",
line 38 , in finalize_options
orig.install.finalize_options(self)
File "/usr/lib/pypy/lib-python/2.7/distutils/command/install.py",
line 328, in fin alize_options
(prefix, exec_prefix) = get_config_vars('prefix', 'exec_prefix')
File "/home/ubuntu/tmp/bsddb3-6.2.4/setup2.py", line 469, in get_config_vars
for k, v in list(sysconfig._config_vars.items()):
AttributeError: 'NoneType' object has no attribute 'items'
given
python setup.py install
in pypy venv.
--
Zhihao Yuan, ID lichray
The best way to predict the future is to invent it.
_______________________________________________
More information about the pybsddb
mailing list