From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <joro@8bytes.org>
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net
X-Spam-Level: 
X-Spam-ASN: AS6724 81.169.128.0/17
X-Spam-Status: No, score=-3.0 required=3.0 tests=BAYES_00,SPF_HELO_PASS,
	SPF_PASS shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2
Received: from theia.8bytes.org (8bytes.org [81.169.241.247])
	(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 06CA61F9F4
	for <meta@public-inbox.org>; Fri, 19 Nov 2021 21:46:36 +0000 (UTC)
Received: by theia.8bytes.org (Postfix, from userid 1000)
	id 1DE73686; Fri, 19 Nov 2021 22:46:33 +0100 (CET)
Date: Fri, 19 Nov 2021 22:46:25 +0100
From: =?iso-8859-1?Q?J=F6rg_R=F6del?= <joro@8bytes.org>
To: Eric Wong <e@80x24.org>
Cc: meta@public-inbox.org
Subject: Re: 'make test' failures while packaging for openSUSE
Message-ID: <YZgbMSUTSayOijaz@8bytes.org>
References: <YZebmAxlFJy4lqAw@8bytes.org>
 <20211119185411.M766819@dcvr>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <20211119185411.M766819@dcvr>
List-Id: <meta.public-inbox.org>

Hi Eric,

thanks a lot for your help!

On Fri, Nov 19, 2021 at 06:54:11PM +0000, Eric Wong wrote:
> Can you provide a more verbose dump of just t/lei-mirror.t?
> 
>    make && prove -bvw t/lei-mirror.t
> 
> No rush, though, probably going to be busy the next few days.
> This may be related, but lei will fail completely unless
> Inline::C or Socket::MsgHdr are available:

Turned out this was the issue. I ran the prove command and found in the
output that either Inline::C or Socket::MsgHdr are missing. Added
Sochet::MsgHdr and now the tests complete without failures.

> > [   59s] Issuing rollback() due to DESTROY without explicit disconnect() of DBD::SQLite::db handle dbname=/home/abuild/rpmbuild/BUILD/public-inbox-1.7.0/t/data-gen/reindex-time-range.v1-master/public-inbox/xapian15/over.sqlite3 at /home/abuild/rpmbuild/BUILD/public-inbox-1.7.0/blib/lib/PublicInbox/Import.pm line 194.
> > [   59s] /home/abuild/rpmbuild/BUILD/public-inbox-1.7.0/t/data-gen/reindex-time-range.v1-master index failed: Modification of a read-only value attempted at /home/abuild/rpmbuild/BUILD/public-inbox-1.7.0/blib/lib/PublicInbox/SearchIdx.pm line 900, <$r> line 1.
> > [   59s] 
> > [   60s] t/reindex-time-range.t ....... ok
> 
> That message is still perplexing to me; and I can't reproduce it
> consistently...

I havn't checked whether I see it in all of the 'make test' runs, but at
least it appears pretty frequently here. Let me know if I can help with
tracking that down.

Regards,

	Joerg