Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Jan 2020 16:48:35 +1100
From:      Kubilay Kocak <koobs@FreeBSD.org>
To:        Darin Luckie <darin@technotic.ca>
Cc:        python <python@FreeBSD.org>
Subject:   Re: Python38 port missing USES=sqlite
Message-ID:  <8b64deb5-8bd1-d9b0-f13c-2fb2778da742@FreeBSD.org>
In-Reply-To: <fb8c0d7aaf1c4ac6489d793fd8c17fcd@technotic.ca>
References:  <fb8c0d7aaf1c4ac6489d793fd8c17fcd@technotic.ca>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?8b64deb5-8bd1-d9b0-f13c-2fb2778da742>