X-Recipient: archive-cygwin@delorie.com
X-Original-To: cygwin@cygwin.com
Delivered-To: cygwin@cygwin.com
DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org B01893858435
Authentication-Results: sourceware.org;
 dmarc=none (p=none dis=none) header.from=harkless.org
Authentication-Results: sourceware.org; spf=none smtp.mailfrom=harkless.org
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048;
 t=1630167329; bh=V2X1cTWdEZsFD6EXQnHYlJlIRLvnDaDYn8jxUM/PHP0=;
 h=Date:From:To:Subject:References:From:Subject:Reply-To;
 b=Dk6YhFC9CeJTPu2Ixj4KRM9mF5sB6wnNjAnIOTxaSE3L5NlQUi4zyyGy1LdAZzix9w0NPTVxKUj7afXSX2P7BCM4OszquD6H9bGqVowDABAL9AvulwpL18zmrs5vIJRi9KEh4qyUFuEcKLP204Dg+8g7nk49D+bsCHbbcqA/dmRm/whBcBN8ETItez9SlfiJvn5S3N1ToQ4/cORWN4QV533cvSkKSsOKgyswjSJgjxF4bCKtntvbO9bnTq8WhmnJTVM1LQP7YU0dBXMpVwHorfuGfGcQQf1p2nrPObxUfOICaLv118S8UHaEotZWLpTrJk50LZEzyWJLRjIvmYZYew==
X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048;
 t=1630167329; bh=sj8ksMuF7HqvIE5xLb8mihg7ccJDwlG5jAPj5WxGSpK=;
 h=X-Sonic-MF:Date:From:To:Subject:From:Subject;
 b=A6M5Gm3tjFWIDt1Z/dd+IIhc6vVb7g8IL7hFvVE8MtKT9Ec2Uty5bdNJ5Wn3cisnvJM3fgrkRVngoMJ1RYPvnOPKiPCtWlc1JoqU02bt7OAZeAEM+WsHPn3NhAvIwo5htVZvckzBoOqmGtE2HwIks3u3Z3+AwSvsDy/0UPB7x4xSy4HGW/aGcI/K44xUqMvNbDuPSsY69TK0LiYGfd3F5etayUqErre7PTn1NU6Eez4EsDSpwI++BRE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iLAQX_qkxrNt3Ij9SBUNvAy0
 wKojgk5O4BcfRUiLUQbrJTyYmWHfa_e8VGbldG5.Gtn4ajBiCBpSSR1n1LwTHRJSPv707kjPuf7T
 D0qRigptDeiavqfH_3fgRl3nnaF8ko5BtZYzwpzn1vTv9Dz4JJS23tpRSrBS8kt6EC885zQsab3X
 7eL.2jJuovLY.4YJOWpuveYRKPNihr2.GRVTbPYAHMm9XWi4gw3y6KGRGFE71_6gDiv.61Q1lDsj
 EENOe1iqDpiQWIhQnh50J5ix81sjl_cUjpQ--
X-Sonic-MF: <cygwin-list21@harkless.org>
Date: Sat, 28 Aug 2021 16:15:25 +0000 (UTC)
From: Dan Harkless <cygwin-list21@harkless.org>
To: "cygwin@cygwin.com" <cygwin@cygwin.com>
Message-ID: <986736274.144968.1630167325057@mail.yahoo.com>
Subject: updatedb broken as of findutils 4.8.0-1 due to bigram.exe no longer
 being provided
MIME-Version: 1.0
References: <986736274.144968.1630167325057.ref@mail.yahoo.com>
X-Mailer: WebService/1.1.18924 YMailNorrin
X-Spam-Status: No, score=2.3 required=5.0 tests=BAYES_40, DKIM_SIGNED,
 DKIM_VALID, HTML_MESSAGE, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, SPF_HELO_NONE,
 SPF_NONE, TXREP autolearn=ham autolearn_force=no version=3.4.4
X-Spam-Level: **
X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on
 server2.sourceware.org
X-Content-Filtered-By: Mailman/MimeDel 2.1.29
X-BeenThere: cygwin@cygwin.com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-request@cygwin.com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
 <mailto:cygwin-request@cygwin.com?subject=subscribe>
Content-Type: text/plain; charset="utf-8"
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie.com@cygwin.com>
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 17SGFvnH021361

Howdy.  Quick bug to report that I was surprised not to be able to find prior discussion of.  My nightly updatedb job stopped working after 2021-08-03, but I'd been too busy to do much troubleshooting until today.
Looks like it's because in findutils 4.8.0-1, the bigram.exe program is no longer provided, but the /usr/bin/updatedb script (still) depends on it being there:
    [...]
    + for binary in $find $frcode $bigram $code     + checkbinary /usr/libexec/frcode 
    + test -x /usr/libexec/frcode 
    + : ok 
    + for binary in $find $frcode $bigram $code 
    + checkbinary /usr/libexec/bigram 
    + test -x /usr/libexec/bigram 
    + eval echo 'updatedb needs to be able to execute /usr/libexec/bigram, but cannot.' 
    ++ echo updatedb needs to be able to execute /usr/libexec/bigram, but cannot. 
    updatedb needs to be able to execute /usr/libexec/bigram, but cannot. 
    + exit 1 

Reverting to findutils 4.6.0-1 brings back bigram, and updatedb works again. Looking at the 4.6.0 updatedb script, it seems computation of bigrams is an essential step in creating the filename DB (with no bigram man page, I was at first misinterpreting it as "big-ram.exe", rather than "bi-gram.exe").
I thought perhaps bigram.exe had been moved to a different package, but https://cygwin.com/cgi-bin2/package-grep.cgi?grep=bigram.exe&arch=x86_64 finds it only in findutils 4.5.12-1 and 4.6.0-1.
I highly depend on the ability to do quick filename greps across all drives, so hopefully the findutils package will be repaired so that updatedb works again.  In the meantime I'll manually keep findutils unupdated on Cygwin32 and Cygwin64 on my various systems.

Thanks, as always, for maintaining the lifeline to UNIX-esque sanity on Windows that is Cygwin!
--Dan Harkless


-- 
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

