From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jelle Licht Subject: bug#27257: python-apsw bundles a version of SQLite Date: Mon, 5 Jun 2017 18:32:10 +0200 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="001a1140a96679f4ef0551390b33" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:49870) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dHuwC-0006Th-40 for bug-guix@gnu.org; Mon, 05 Jun 2017 12:33:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dHuwA-0003ka-VU for bug-guix@gnu.org; Mon, 05 Jun 2017 12:33:04 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:55281) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dHuwA-0003kH-S9 for bug-guix@gnu.org; Mon, 05 Jun 2017 12:33:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dHuwA-0003Xb-Ik for bug-guix@gnu.org; Mon, 05 Jun 2017 12:33:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: Received: from eggs.gnu.org ([2001:4830:134:3::10]:49507) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dHuvV-0005oN-4m for bug-guix@gnu.org; Mon, 05 Jun 2017 12:32:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dHuvT-0002qF-Vd for bug-guix@gnu.org; Mon, 05 Jun 2017 12:32:21 -0400 Received: from mail.fsfe.org ([2001:aa8:ffed::3:102]:51190) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dHuvT-0002m3-DC for bug-guix@gnu.org; Mon, 05 Jun 2017 12:32:19 -0400 Received: from localhost (localhost [127.0.0.1]) by mail.fsfe.org (Postfix) with ESMTP id 6B94363BD13 for ; Mon, 5 Jun 2017 18:32:17 +0200 (CEST) Received: from mail.fsfe.org ([127.0.0.1]) by localhost (cavendish.fsfeurope.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 3JvdMkFXs7K6 for ; Mon, 5 Jun 2017 18:32:17 +0200 (CEST) Received: by mail-it0-f47.google.com with SMTP id m47so67362590iti.1 for ; Mon, 05 Jun 2017 09:32:16 -0700 (PDT) List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: 27257@debbugs.gnu.org --001a1140a96679f4ef0551390b33 Content-Type: text/plain; charset="UTF-8" The version of python-apsw (and of course python2-apsw) come with a bundled copy of SQLite. The bundled version seems to be a special single-source-file version [1]. I have tried deleting the bundled copy in a new phase, and this allows python-apsw to build with the system SQLite libraries instead (someone prematurely added sqlite as an input already, it was just never used). This leads to a new problem, where that one of the VFS tests uses about 14 gigs of memory, and seems to hang as well. I am not sure if this is indicative of any real issues when using python-apsw, and as such I am not confident that just deleting the bundled copy of SQLite will help us, as it might lead to an unusable package. Some possible directions on resolving this issue: - Debug the multiple thousand lines of test code to see exactly where/how the test fails when using the system SQLite library - Package the right version of the SQLite amalgation [1] that is now bundled, although the amalgation should be functionally equivalent to the normal SQLite version. Thanks, Jelle [1]: https://www.sqlite.org/amalgamation.html --001a1140a96679f4ef0551390b33 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
The version of python-apsw (and of course p= ython2-apsw) come with a bundled copy of SQLite.
The bundled versi= on seems to be a special single-source-file version [1].

I hav= e tried deleting the bundled copy in a new phase, and this allows python-ap= sw to build with the system SQLite libraries instead (someone prematurely a= dded sqlite as an input already, it was just never used).

This leads to a new problem, where that one of the VFS tests uses about 1= 4 gigs of memory, and seems to hang as well. I am not sure if this is indic= ative of any real issues when using python-apsw, and as such I am not confi= dent that just deleting the bundled copy of SQLite will help us, as it migh= t lead to an unusable package.

Some possible directions o= n resolving this issue:
- Debug the multiple thousand lines of test code= to see exactly where/how the test fails when using the system SQLite libra= ry
- Package the right version of the SQLite amalgation [1] t= hat is now bundled, although the amalgation should be functionally equivale= nt to the normal SQLite version.

--001a1140a96679f4ef0551390b33--