From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: X-Spam-Status: No, score=-3.2 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from mail.toke.dk (mail.toke.dk [IPv6:2a0c:4d80:42:2001::664]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by dcvr.yhbt.net (Postfix) with ESMTPS id CF49C1F8C7 for ; Fri, 6 Aug 2021 20:51:25 +0000 (UTC) From: Toke =?utf-8?Q?H=C3=B8iland-J=C3=B8rgensen?= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=toke.dk; s=20161023; t=1628283079; bh=IWVb6tcVJgLROso3sKVyvaAm+RfJe59SbcZskua8S88=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=Y08crXX1n8SQY5ofPWoAiDPK9Wp3ky+Ib+rWDoekCpewWrsUTy87m1FKh2jZMKh1e 50IOO7EMYbvQIs/QOPBcmV/X3e0xfg0WzjgU79ULtDQaj0DkA5RgI4gs0R8tBbF9yq 2JSDGX7Uq6npODW7dzYm4PMJaGdLFZGp+UxrKRtlURz86JvfeXGCF20LoQ7enCBKuB zO7xP8EykLaX4pTfAswICcHBIX1l9A34ocSOa2yPSHOam1l+tmGyfuJn6IegexC4wp jNk/mHTPa4ve2FIyGz1+tOSFsn29PdtI9OnQetd/JHDqGtIRxz7s0PsYBvwFS8Bny+ joGr6ZYMY4cqw== To: Eric Wong Cc: meta@public-inbox.org Subject: Re: Updating index from public-inbox-mda fails on Perl 5.34 In-Reply-To: <20210806203618.GA25682@dcvr> References: <87pmuq64gw.fsf@toke.dk> <20210806203618.GA25682@dcvr> Date: Fri, 06 Aug 2021 22:51:18 +0200 X-Clacks-Overhead: GNU Terry Pratchett Message-ID: <87k0ky5mbd.fsf@toke.dk> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable List-Id: Eric Wong writes: > Toke H=C3=B8iland-J=C3=B8rgensen wrote: >> Issuing rollback() due to DESTROY without explicit disconnect() of DBD::= SQLite::db handle dbname=3D/var/lib/publicinbox/galene/public-inbox/xapian1= 5/over.sqlite3 at /usr/share/perl5/vendor_perl/PublicInbox/Import.pm line 1= 87. >> /var/lib/publicinbox/galene index failed: Can't call method "get_metadat= a" on an undefined value at /usr/share/perl5/vendor_perl/PublicInbox/Search= Idx.pm line 745. >>=20 >> Subsequently running the public-inbox-index command on the repository >> updates the index (and thus the web interface). >>=20 >> Any idea what might be the issue here? I'm running public-inbox v1.6.1 >> and the archive is in v1 format. It worked previously, and I *think* the >> failure started after the system Perl installation was upgraded from >> v5.32 to v5.34 (I'm running this on Arch Linux). >>=20 >> Any ideas? > > Is Xapian enabled and working for that inbox? > (Or are you using indexlevel=3Dbasic which doesn't use Xapian?). > > I wonder if upgrading 5.32 =3D> 5.34 left your Xapian bindings behind > in 5.32... Bingo! That was indeed the issue; I'm building the required packages myself, and simply forgot to rebuild the Perl libraries after the upgrade. Should have thought of that; thanks! But how did public-inbox-index work, then? Is that not using the Xapian bindings as well? > In any case, there probably ought to be a better error message in > public-inbox indicating such a failure. Heh, yeah, that would be nice :) -Toke