[pypy-issue] [issue1638] FreeBSD: "shell 1" step fails due to sqlite3 not found

Tobias Oberstein tracker at bugs.pypy.org
Sun Nov 17 17:10:57 CET 2013


New submission from Tobias Oberstein <tobias.oberstein at gmail.com>:

The build step "shell 1" which I assume is there to compress a successfully
translated PyPy fails on FreeBSD.

http://buildbot.pypy.org/builders/pypy-c-jit-freebsd-9-x86-64/builds/6/steps/shell_1/logs/stdio

The reason is that the buildstep wants to testsome cffi/sqlite3 thing (I dont
know why this is needed for compress, but anyway) which fails, since headers and
libs are in different locations on FreeBSD:

/usr/local/include
/usr/local/lib

At least the cffi/sqlite3 thingy can be built by doing:

vi /home/bbslave_pypy/work/pypy-c-jit-freebsd-9-x86-64/build/lib_pypy/_sqlite3.py

_lib = _ffi.verify("""
#include <sqlite3.h>
""", libraries=['sqlite3'], include_dirs=['/usr/local/include'],
library_dirs=['/usr/local/lib']
)

The test then succeeds:

/home/bbslave_pypy/work/pypy-c-jit-freebsd-9-x86-64/build/pypy/goal/pypy-c -c
"import _sqlite3"

I'm not sure where the best location to fix standard include/lib paths would be.

----------
assignedto: oberstet
messages: 6345
nosy: oberstet, pypy-issue
priority: bug
status: unread
title: FreeBSD: "shell 1" step fails due to sqlite3 not found

________________________________________
PyPy bug tracker <tracker at bugs.pypy.org>
<https://bugs.pypy.org/issue1638>
________________________________________


More information about the pypy-issue mailing list