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=-4.0 required=3.0 tests=ALL_TRUSTED,AWL,BAYES_00, T_SCC_BODY_TEXT_LINE shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from localhost (dcvr.yhbt.net [127.0.0.1]) by dcvr.yhbt.net (Postfix) with ESMTP id 7FCAF1F4D7; Tue, 3 May 2022 11:37:09 +0000 (UTC) Date: Tue, 3 May 2022 11:37:09 +0000 From: Eric Wong To: Filipe Manana Cc: meta@public-inbox.org Subject: Re: Trouble running lei Message-ID: <20220503113709.GA6803@dcvr> References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: List-Id: Filipe Manana wrote: > Hello, > > I tried both 'master' branch and tag v1.8.0, I did the documented build steps: > > $ git clone https://public-inbox.org/public-inbox.git/ > $ cd public-inbox > > $ perl Makefile.PL > $ make > $ echo $? # success, prints 0 > > $ cd certs > $ /usr/bin/perl ./create-certs.perl > $ cd .. > $ make test > (...) Any messages about missing dependencies when running tests? (e.g. Xapian) Inline::C or Socket::Msghdr shouldn't be required with 1.8 on most arches... > All tests successful. > Files=157, Tests=6785, 491 wallclock secs ( 0.77 usr 0.13 sys + 39.65 > cusr 14.90 csys = 55.45 CPU) Fwiw, "make check" or "make check-run" can be a lot faster on SMP. > Result: PASS > > $ make symlink-install > > $HOME/bin is included in my $PATH, but when I run 'lei', I get an error: > > $ lei q -o ~/Mail/overlay -I https://lore.kernel.org/all -t > 'dfn:fs/btrfs/* AND rt:3.month.ago..' > Attempt to reload PublicInbox/LeiXSearch.pm aborted. Odd, "Attempt to reload %s aborted" coming from perl itself means it already tried and failed before. (man perldiag) Were there previous errors from other commands? Perhaps it's already running lei-daemon as an older version? "lei daemon-kill" should kill it and it'll restart on the next command, unless something else got wedged. I've been meaning to make the daemon stuff "worth it" w.r.t. automatic updates/flag/keyword sync (inotify/IDLE) but haven't gotten around to it, yet :x > Compilation failed in require at > /home/fdmanana/git/hub/public-inbox/lib/PublicInbox/LeiQuery.pm line > 74. > > This is on a Ubuntu 20.04.3 LTS distro. > I have it working on a Debian SID box without any problems (it was set > up several months ago). > > Any ideas about what's wrong? Probably daemon-kill will get rid of an old version that's already running (and verifying that it's actually dead).