Python38 port missing USES=sqlite

Kubilay Kocak koobs at FreeBSD.org
Wed Jan 22 05:48:49 UTC 2020


On 22/01/2020 3:46 pm, Darin Luckie wrote:
> Oversight or intentional?
> ====> Compressing man pages (compress-man)
> ====> Running Q/A tests (stage-qa)
> Error: /usr/local/lib/python3.8/lib-dynload/_sqlite3.so is linked to
> /usr/local
> /lib/libsqlite3.so.0 from databases/sqlite3 but it is not declared as a
> depende
> ncy
> Warning: you need USES+=sqlite
> readelf: Not an ELF file.
> Warning:
> /usr/ports/lang/python38/work/stage/usr/local/lib/libpython3.8.so.1.0-
> gdb.py doesn't have a SONAME.
> Warning: pkg(8) will not register it as being provided by the port.
> Warning: If another port depend on it, pkg will not be able to know
> where it comes from.
> Warning: It is directly in /usr/local/lib, it is probably used by other
> ports.
> ===>>> Creating a backup package for old version python38-3.8.1
> Creating package for python38-3.8.1
> 

Hi Darin,

The sqlite module is packaged separately as databases/py-sqlite3, and is 
not built/installed when building lang/python* ports.

Python ports should not build/link against sqlite, even if it is installed.

Was this the case on your system? ie: was databases/sqlite3 installed 
(unrelated to Python), when the lang/python38 port build took place?

If so, this would be a bug "lang/python38: Links against sqlite3 if it 
is installed, before/without installing databases/py-sqlite3"

./koobs


More information about the freebsd-python mailing list