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: AS3215 2.6.0.0/16 X-Spam-Status: No, score=-4.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by dcvr.yhbt.net (Postfix) with ESMTPS id 591AC1F4D7 for ; Tue, 3 May 2022 12:51:31 +0000 (UTC) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id D2B4A6165C for ; Tue, 3 May 2022 12:51:29 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3EA81C385A9 for ; Tue, 3 May 2022 12:51:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1651582289; bh=7XC/GS5hbqrTMzSMhdgmm1FDP4Up5l9ux1B501yaccs=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=plBuWm8Sbaw2kNw0GobYIqFPfAeTDJAXNXWgdBSepASUBsM8KTFTIM1wUZ2Ey0l2g reFjxC1sH9PzdL7Y9sIRJGfRDOcSfszdpgY4hLjXdtrPRJLWkpryQHQRYVW5tDyMxO IJgMS2JIXgZ6pmvoIJ4dqgcEkMzUN5DUqIENppJw7y6v7EU+JGPVIMHmHlqhEuTUaX /v/yX6gZNsv4Z3JO+/Php6J6kq5oiuM6NuQ0N3YYy2f6Bc/Y9WLItBhnsUvcbEZMN7 vSaiRqMVwzOgXFnn0aS9ryFgma2sE3HCwU8j39HY6aVSEYHKHQS+yxdquuKe5gV743 kugKtqUmXECIA== Received: by mail-qk1-f182.google.com with SMTP id 126so12473202qkm.4 for ; Tue, 03 May 2022 05:51:29 -0700 (PDT) X-Gm-Message-State: AOAM533qBXzbcEIq0tZ8LL4i4bmMca+UxZXl/p7e6s21Pea44FPaQDRf MB9JicORy2SL6HF8WOeRNupcPauhd717Z0S+ZiY= X-Google-Smtp-Source: ABdhPJzaoNP3v2lcWQyA/p+kTijfIrNZcUcYOr/62ual/aBYK209rUCzV1JVQX74hTpVtqP9JsxSBIp3iw1pmPCr1mg= X-Received: by 2002:a37:634b:0:b0:69f:e94a:237f with SMTP id x72-20020a37634b000000b0069fe94a237fmr5724512qkb.737.1651582288173; Tue, 03 May 2022 05:51:28 -0700 (PDT) MIME-Version: 1.0 References: <20220503113709.GA6803@dcvr> In-Reply-To: <20220503113709.GA6803@dcvr> From: Filipe Manana Date: Tue, 3 May 2022 13:50:52 +0100 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: Trouble running lei To: Eric Wong Cc: meta@public-inbox.org Content-Type: text/plain; charset="UTF-8" List-Id: On Tue, May 3, 2022 at 12:37 PM Eric Wong wrote: > > 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. Oh, I didn't know about it. Good to know. > > > 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. Ah, running "lei daemon-kill" fixed it. I don't know if I did something wrong before, but after running that, lei is now working fine. Thanks! > > 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).