From unknown Mon Aug 18 11:32:59 2025 X-Loop: help-debbugs@gnu.org Subject: bug#64773: grep 3.11 -r on 100000+ files fails with "Operation not supported" Resent-From: Santiago Ruano =?UTF-8?Q?Rinc=C3=B3n?= Original-Sender: "Debbugs-submit" Resent-CC: bug-grep@gnu.org Resent-Date: Fri, 21 Jul 2023 17:11:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 64773 X-GNU-PR-Package: grep X-GNU-PR-Keywords: To: vincent@vinc17.net, 1041588@bugs.debian.org, 64773@debbugs.gnu.org X-Debbugs-Original-To: Vincent Lefevre , 1041588@bugs.debian.org, bug-grep@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.168995944630933 (code B ref -1); Fri, 21 Jul 2023 17:11:01 +0000 Received: (at submit) by debbugs.gnu.org; 21 Jul 2023 17:10:46 +0000 Received: from localhost ([127.0.0.1]:34792 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qMteQ-00082r-64 for submit@debbugs.gnu.org; Fri, 21 Jul 2023 13:10:46 -0400 Received: from lists.gnu.org ([2001:470:142::17]:46058) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qMteN-00082a-BQ for submit@debbugs.gnu.org; Fri, 21 Jul 2023 13:10:45 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qMteG-00044H-1N for bug-grep@gnu.org; Fri, 21 Jul 2023 13:10:36 -0400 Received: from mx0.riseup.net ([198.252.153.6]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qMteD-0003d5-M5 for bug-grep@gnu.org; Fri, 21 Jul 2023 13:10:35 -0400 Received: from fews02-sea.riseup.net (fews02-sea-pn.riseup.net [10.0.1.112]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mail.riseup.net", Issuer "R3" (not verified)) by mx0.riseup.net (Postfix) with ESMTPS id 4R6wzj2fB8z9tMZ; Fri, 21 Jul 2023 17:10:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1689959425; bh=3WaAGdfrKvyewWKGG9kZSii9EEPZPCDYokRC+REpesM=; h=Date:From:To:Subject:References:In-Reply-To:From; b=Lgc9GpCG/cBZJZrdk0j1c3w3S3hh1xslmXN/FaGDi1pKbBBoEzbEN6GolhiVrKNwc YT6ayw+7m5/nIsf7lAdFKhXzdMWUdCmcLu8RjiDoSRAfbDXEE+n5tFQC/HNfOf64JK +0sDq0elxEMvBhe6LaJLSvKLgEEHTqC6mgiB0haY= X-Riseup-User-ID: 7963E64A7CDEABB42DAAF8772FCB079C2A203EA54BCC6E2C46D4B55DBD2C2AB8 Received: from [127.0.0.1] (localhost [127.0.0.1]) by fews02-sea.riseup.net (Postfix) with ESMTPSA id 4R6wzh0KMSzFpgy; Fri, 21 Jul 2023 17:10:23 +0000 (UTC) Date: Fri, 21 Jul 2023 14:10:07 -0300 From: Santiago Ruano =?UTF-8?Q?Rinc=C3=B3n?= Message-ID: References: <20230721013012.GA81450@cventin.lip.ens-lyon.fr> <20230721013012.GA81450@cventin.lip.ens-lyon.fr> <20230721020651.GS2940@zira.vinc17.org> <20230721013012.GA81450@cventin.lip.ens-lyon.fr> <20230721083954.GU2940@zira.vinc17.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="In399+b6uT0awv0d" Content-Disposition: inline In-Reply-To: <20230721083954.GU2940@zira.vinc17.org> Received-SPF: pass client-ip=198.252.153.6; envelope-from=santiagorr@riseup.net; helo=mx0.riseup.net X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --In399+b6uT0awv0d Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Dear grep developers, I am forwarding this gnulib bug that affects grep 3.11. Full bug report can be found at https://bugs.debian.org/1041588 El 21/07/23 a las 10:39, Vincent Lefevre escribi=F3: > Control: severity -1 grave > Control: tags -1 - moreinfo > Control: retitle -1 grep -r on 100000+ files fails with "Operation not su= pported" >=20 > On 2023-07-20 23:43:45 -0300, Santiago Ruano Rinc=F3n wrote: > > El 21/07/23 a las 04:06, Vincent Lefevre escribi=F3: > > > On 2023-07-21 03:30:12 +0200, Vincent Lefevre wrote: > > > > There is a major regression in grep 3.11-1: I now get an error > > > >=20 > > > > cventin:~/Mail> grep -r xxxyyyzzz oldarc > > > > grep: oldarc/cur: Operation not supported > > >=20 > > > And no such issue with grep from the upstream git. > >=20 > > How are you compiling it? >=20 > $ ./bootstrap > $ ./configure --prefix=3D$HOME/opt/grep > $ make > $ make install >=20 > > My intuition is this comes from gnulib. >=20 > Yes, as in my next message, I said that the error disappeared > with the commit that updated gnulib (and did nothing else). Indeed. Our mails crossed. >=20 > > But a reproducer is needed to confirm. > >=20 > > Tagging with moreinfo, and downgrading the severity since I cannot > > reproduce it myself: > [...] > > Please, feel free to bump the severity back again if you are able to > > find out a way to reproduce it. >=20 > One needs at least 100000 files in the directory (99999 is not enough). > With 100000 empty files: >=20 > $ mkdir test-dir && for i in `seq 100000` ; do : > test-dir/$i ; done > $ grep -r x test-dir > grep: test-dir: Operation not supported Thank you, Vincent. I confirm with 99999 files grep works as expected. Cheers, -- Santiago --In399+b6uT0awv0d Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRZVjztY8b+Ty43oH1itBCJKh26HQUCZLq77wAKCRBitBCJKh26 HV9wAP9QytJf6XKW5VF7ORm9eBgh1G7g8XlHvFvu3u1KyeXU9AD/XlYPdfbXT9Cl T/Uv4Q8vEnEv0R9ILe2y3HIibHfNUQk= =yuPO -----END PGP SIGNATURE----- --In399+b6uT0awv0d-- From unknown Mon Aug 18 11:32:59 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Santiago Ruano =?UTF-8?Q?Rinc=C3=B3n?= Subject: bug#64773: closed (Re: bug#64773: grep 3.11 -r on 100000+ files fails with "Operation not supported") Message-ID: References: <4da7080f-f47f-d376-c2e8-982277d192e7@cs.ucla.edu> X-Gnu-PR-Message: they-closed 64773 X-Gnu-PR-Package: grep Reply-To: 64773@debbugs.gnu.org Date: Fri, 21 Jul 2023 23:38:01 +0000 Content-Type: multipart/mixed; boundary="----------=_1689982681-4871-1" This is a multi-part message in MIME format... ------------=_1689982681-4871-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #64773: grep 3.11 -r on 100000+ files fails with "Operation not supported" which was filed against the grep package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 64773@debbugs.gnu.org. --=20 64773: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D64773 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1689982681-4871-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 64773-done) by debbugs.gnu.org; 21 Jul 2023 23:37:32 +0000 Received: from localhost ([127.0.0.1]:35003 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qMzgi-0001Fu-AY for submit@debbugs.gnu.org; Fri, 21 Jul 2023 19:37:32 -0400 Received: from mail.cs.ucla.edu ([131.179.128.66]:59944) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qMzgf-0001FY-J8 for 64773-done@debbugs.gnu.org; Fri, 21 Jul 2023 19:37:31 -0400 Received: from localhost (localhost [127.0.0.1]) by mail.cs.ucla.edu (Postfix) with ESMTP id 3B7DE3C011BD6; Fri, 21 Jul 2023 16:37:23 -0700 (PDT) Received: from mail.cs.ucla.edu ([127.0.0.1]) by localhost (mail.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id b8ox1OBCuFJw; Fri, 21 Jul 2023 16:37:22 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by mail.cs.ucla.edu (Postfix) with ESMTP id D07893C011BDB; Fri, 21 Jul 2023 16:37:22 -0700 (PDT) DKIM-Filter: OpenDKIM Filter v2.10.3 mail.cs.ucla.edu D07893C011BDB DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cs.ucla.edu; s=9D0B346E-2AEB-11ED-9476-E14B719DCE6C; t=1689982642; bh=bK6/rPwBcks2jofvnUHOjdBdeeOqv8yJFTSYPgY7eKg=; h=Message-ID:Date:MIME-Version:To:From; b=cHZU8mTMOjzcx4hijrCl9SErG6NlLsRk3GeYBVFzQThlCLi8pND/VsaQm4sTLtYH7 aAD7FMfMbrgAE5KXVVe544Q9HywKcFo2cWWLUnKiL+srS1TSL6bMqOqdzqjiCpTG4t zHujHE3UkMNlZUM2lNdw+EsrmLXIG0La8eJrGvGUc52/FzkJZI9sEEk3rHU9QrqEnu I2Ubz+W1fTcwom4MmUYQqwwtAbY7sq0d4lhxwmrnvQwwqyVNoeZ4sidZTaSy6h1jP+ jIMD0GONFbYO0RPz3eMSSJZ41G2HlsqaovJcSWD4ETBu4wzdCr/DpTjr3UzIlJJrD+ xnO/GSVh9xTKg== X-Virus-Scanned: amavisd-new at mail.cs.ucla.edu Received: from mail.cs.ucla.edu ([127.0.0.1]) by localhost (mail.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id OlMFUb6EBPi1; Fri, 21 Jul 2023 16:37:22 -0700 (PDT) Received: from [192.168.1.9] (cpe-172-91-119-151.socal.res.rr.com [172.91.119.151]) by mail.cs.ucla.edu (Postfix) with ESMTPSA id 9D40D3C011BD6; Fri, 21 Jul 2023 16:37:22 -0700 (PDT) Content-Type: multipart/mixed; boundary="------------8dIyp44jasCG0aiTLJV40xf1" Message-ID: <4da7080f-f47f-d376-c2e8-982277d192e7@cs.ucla.edu> Date: Fri, 21 Jul 2023 16:37:22 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 Subject: Re: bug#64773: grep 3.11 -r on 100000+ files fails with "Operation not supported" Content-Language: en-US To: =?UTF-8?Q?Santiago_Ruano_Rinc=c3=b3n?= , vincent@vinc17.net, 1041588@bugs.debian.org, 64773-done@debbugs.gnu.org References: <20230721013012.GA81450@cventin.lip.ens-lyon.fr> <20230721013012.GA81450@cventin.lip.ens-lyon.fr> <20230721020651.GS2940@zira.vinc17.org> <20230721013012.GA81450@cventin.lip.ens-lyon.fr> <20230721083954.GU2940@zira.vinc17.org> From: Paul Eggert Organization: UCLA Computer Science Department In-Reply-To: X-Spam-Score: -0.1 (/) X-Debbugs-Envelope-To: 64773-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.1 (-) This is a multi-part message in MIME format. --------------8dIyp44jasCG0aiTLJV40xf1 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit To fix just this bug (as opposed to the other Gnulib-related bugs that may be lurking) try applying the attached Gnulib patch to a grep 3.11 tarball. Closing the debbugs.gnu.org bug report, as the bug has been fixed upstream. --------------8dIyp44jasCG0aiTLJV40xf1 Content-Type: text/x-patch; charset=UTF-8; name="0001-dirfd-Fix-bogus-override-regression-2023-04-26.patch" Content-Disposition: attachment; filename*0="0001-dirfd-Fix-bogus-override-regression-2023-04-26.patch" Content-Transfer-Encoding: base64 RnJvbSBkNGQ4YWJiMzllYjAyYzU1NWYwNjJiMWY4M2ZmY2ZhYzk5OWM1ODJmIE1vbiBTZXAg MTcgMDA6MDA6MDAgMjAwMQpGcm9tOiBCcnVubyBIYWlibGUgPGJydW5vQGNsaXNwLm9yZz4K RGF0ZTogRnJpLCA1IE1heSAyMDIzIDEyOjAyOjQ5ICswMjAwClN1YmplY3Q6IFtQQVRDSF0g ZGlyZmQ6IEZpeCBib2d1cyBvdmVycmlkZSAocmVncmVzc2lvbiAyMDIzLTA0LTI2KS4KClJl cG9ydGVkIGJ5IEJqYXJuaSBJbmdpIEdpc2xhc29uIDxiamFybmlpZ0BzaW1uZXQuaXM+IGlu CjxodHRwczovL2xpc3RzLmdudS5vcmcvYXJjaGl2ZS9odG1sL2J1Zy1nbnVsaWIvMjAyMy0w NS9tc2cwMDA0MC5odG1sPi4KCiogbTQvZGlyZmQubTQgKGdsX0ZVTkNfRElSRkQpOiBGaXgg bWlzdGFrZSBpbiBsYXN0IGNoYW5nZS4KLS0tCiBDaGFuZ2VMb2cgICB8IDcgKysrKysrKwog bTQvZGlyZmQubTQgfCA2ICstLS0tLQogMiBmaWxlcyBjaGFuZ2VkLCA4IGluc2VydGlvbnMo KyksIDUgZGVsZXRpb25zKC0pCgpkaWZmIC0tZ2l0IGEvQ2hhbmdlTG9nIGIvQ2hhbmdlTG9n CmluZGV4IGFhZmZlMTJmYzEuLjVmMDFhNTI1MzUgMTAwNjQ0Ci0tLSBhL0NoYW5nZUxvZwor KysgYi9DaGFuZ2VMb2cKQEAgLTEsMyArMSwxMCBAQAorMjAyMy0wNS0wNSAgQnJ1bm8gSGFp YmxlICA8YnJ1bm9AY2xpc3Aub3JnPgorCisJZGlyZmQ6IEZpeCBib2d1cyBvdmVycmlkZSAo cmVncmVzc2lvbiAyMDIzLTA0LTI2KS4KKwlSZXBvcnRlZCBieSBCamFybmkgSW5naSBHaXNs YXNvbiA8Ymphcm5paWdAc2ltbmV0LmlzPiBpbgorCTxodHRwczovL2xpc3RzLmdudS5vcmcv YXJjaGl2ZS9odG1sL2J1Zy1nbnVsaWIvMjAyMy0wNS9tc2cwMDA0MC5odG1sPi4KKwkqIG00 L2RpcmZkLm00IChnbF9GVU5DX0RJUkZEKTogRml4IG1pc3Rha2UgaW4gbGFzdCBjaGFuZ2Uu CisKIDIwMjMtMDUtMDQgIEJydW5vIEhhaWJsZSAgPGJydW5vQGNsaXNwLm9yZz4KIAogCWMz MnN3aWR0aDogQWRkIHRlc3RzLgpkaWZmIC0tZ2l0IGEvbTQvZGlyZmQubTQgYi9tNC9kaXJm ZC5tNAppbmRleCBkMWVlMmM3ZjYxLi43OTY4YjEyODdjIDEwMDY0NAotLS0gYS9tNC9kaXJm ZC5tNAorKysgYi9tNC9kaXJmZC5tNApAQCAtMSw0ICsxLDQgQEAKLSMgc2VyaWFsIDI3ICAg LSotIEF1dG9jb25mIC0qLQorIyBzZXJpYWwgMjggICAtKi0gQXV0b2NvbmYgLSotCiAKIGRu bCBGaW5kIG91dCBob3cgdG8gZ2V0IHRoZSBmaWxlIGRlc2NyaXB0b3IgYXNzb2NpYXRlZCB3 aXRoIGFuIG9wZW4gRElSKi4KIApAQCAtNDAsMTAgKzQwLDYgQEAgQUNfREVGVU4oW2dsX0ZV TkNfRElSRkRdLAogICAgIEhBVkVfRElSRkQ9MAogICBlbHNlCiAgICAgSEFWRV9ESVJGRD0x Ci0gICAgZG5sIFJlcGxhY2Ugb25seSBpZiB0aGUgc3lzdGVtIGRlY2xhcmVzIGRpcmZkIGFs cmVhZHkuCi0gICAgaWYgdGVzdCAkYWNfY3ZfaGF2ZV9kZWNsX2RpcmZkID0geWVzOyB0aGVu Ci0gICAgICBSRVBMQUNFX0RJUkZEPTEKLSAgICBmaQogICAgIGRubCBSZXBsYWNlIGRpcmZk KCkgb24gbmF0aXZlIFdpbmRvd3MsIHRvIHN1cHBvcnQgZmRvcGVuZGlyKCkuCiAgICAgQUNf UkVRVUlSRShbZ2xfRElSRU5UX0RJUl0pCiAgICAgaWYgdGVzdCAkRElSX0hBU19GRF9NRU1C RVIgPSAwOyB0aGVuCi0tIAoyLjM5LjIKCg== --------------8dIyp44jasCG0aiTLJV40xf1-- ------------=_1689982681-4871-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 21 Jul 2023 17:10:46 +0000 Received: from localhost ([127.0.0.1]:34792 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qMteQ-00082r-64 for submit@debbugs.gnu.org; Fri, 21 Jul 2023 13:10:46 -0400 Received: from lists.gnu.org ([2001:470:142::17]:46058) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qMteN-00082a-BQ for submit@debbugs.gnu.org; Fri, 21 Jul 2023 13:10:45 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qMteG-00044H-1N for bug-grep@gnu.org; Fri, 21 Jul 2023 13:10:36 -0400 Received: from mx0.riseup.net ([198.252.153.6]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qMteD-0003d5-M5 for bug-grep@gnu.org; Fri, 21 Jul 2023 13:10:35 -0400 Received: from fews02-sea.riseup.net (fews02-sea-pn.riseup.net [10.0.1.112]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mail.riseup.net", Issuer "R3" (not verified)) by mx0.riseup.net (Postfix) with ESMTPS id 4R6wzj2fB8z9tMZ; Fri, 21 Jul 2023 17:10:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1689959425; bh=3WaAGdfrKvyewWKGG9kZSii9EEPZPCDYokRC+REpesM=; h=Date:From:To:Subject:References:In-Reply-To:From; b=Lgc9GpCG/cBZJZrdk0j1c3w3S3hh1xslmXN/FaGDi1pKbBBoEzbEN6GolhiVrKNwc YT6ayw+7m5/nIsf7lAdFKhXzdMWUdCmcLu8RjiDoSRAfbDXEE+n5tFQC/HNfOf64JK +0sDq0elxEMvBhe6LaJLSvKLgEEHTqC6mgiB0haY= X-Riseup-User-ID: 7963E64A7CDEABB42DAAF8772FCB079C2A203EA54BCC6E2C46D4B55DBD2C2AB8 Received: from [127.0.0.1] (localhost [127.0.0.1]) by fews02-sea.riseup.net (Postfix) with ESMTPSA id 4R6wzh0KMSzFpgy; Fri, 21 Jul 2023 17:10:23 +0000 (UTC) Date: Fri, 21 Jul 2023 14:10:07 -0300 From: Santiago Ruano =?iso-8859-1?Q?Rinc=F3n?= To: Vincent Lefevre , 1041588@bugs.debian.org, bug-grep@gnu.org Subject: grep 3.11 -r on 100000+ files fails with "Operation not supported" Message-ID: References: <20230721013012.GA81450@cventin.lip.ens-lyon.fr> <20230721013012.GA81450@cventin.lip.ens-lyon.fr> <20230721020651.GS2940@zira.vinc17.org> <20230721013012.GA81450@cventin.lip.ens-lyon.fr> <20230721083954.GU2940@zira.vinc17.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="In399+b6uT0awv0d" Content-Disposition: inline In-Reply-To: <20230721083954.GU2940@zira.vinc17.org> Received-SPF: pass client-ip=198.252.153.6; envelope-from=santiagorr@riseup.net; helo=mx0.riseup.net X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --In399+b6uT0awv0d Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Dear grep developers, I am forwarding this gnulib bug that affects grep 3.11. Full bug report can be found at https://bugs.debian.org/1041588 El 21/07/23 a las 10:39, Vincent Lefevre escribi=F3: > Control: severity -1 grave > Control: tags -1 - moreinfo > Control: retitle -1 grep -r on 100000+ files fails with "Operation not su= pported" >=20 > On 2023-07-20 23:43:45 -0300, Santiago Ruano Rinc=F3n wrote: > > El 21/07/23 a las 04:06, Vincent Lefevre escribi=F3: > > > On 2023-07-21 03:30:12 +0200, Vincent Lefevre wrote: > > > > There is a major regression in grep 3.11-1: I now get an error > > > >=20 > > > > cventin:~/Mail> grep -r xxxyyyzzz oldarc > > > > grep: oldarc/cur: Operation not supported > > >=20 > > > And no such issue with grep from the upstream git. > >=20 > > How are you compiling it? >=20 > $ ./bootstrap > $ ./configure --prefix=3D$HOME/opt/grep > $ make > $ make install >=20 > > My intuition is this comes from gnulib. >=20 > Yes, as in my next message, I said that the error disappeared > with the commit that updated gnulib (and did nothing else). Indeed. Our mails crossed. >=20 > > But a reproducer is needed to confirm. > >=20 > > Tagging with moreinfo, and downgrading the severity since I cannot > > reproduce it myself: > [...] > > Please, feel free to bump the severity back again if you are able to > > find out a way to reproduce it. >=20 > One needs at least 100000 files in the directory (99999 is not enough). > With 100000 empty files: >=20 > $ mkdir test-dir && for i in `seq 100000` ; do : > test-dir/$i ; done > $ grep -r x test-dir > grep: test-dir: Operation not supported Thank you, Vincent. I confirm with 99999 files grep works as expected. Cheers, -- Santiago --In399+b6uT0awv0d Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRZVjztY8b+Ty43oH1itBCJKh26HQUCZLq77wAKCRBitBCJKh26 HV9wAP9QytJf6XKW5VF7ORm9eBgh1G7g8XlHvFvu3u1KyeXU9AD/XlYPdfbXT9Cl T/Uv4Q8vEnEv0R9ILe2y3HIibHfNUQk= =yuPO -----END PGP SIGNATURE----- --In399+b6uT0awv0d-- ------------=_1689982681-4871-1-- From unknown Mon Aug 18 11:32:59 2025 X-Loop: help-debbugs@gnu.org Subject: bug#64773: grep 3.11 -r on 100000+ files fails with "Operation not supported" Resent-From: Jim Meyering Original-Sender: "Debbugs-submit" Resent-CC: bug-grep@gnu.org Resent-Date: Sat, 22 Jul 2023 00:46:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 64773 X-GNU-PR-Package: grep X-GNU-PR-Keywords: To: 64773@debbugs.gnu.org, eggert@cs.ucla.edu, santiagorr@riseup.net Cc: 64773-done@debbugs.gnu.org, vincent@vinc17.net, 1041588@bugs.debian.org Received: via spool by 64773-submit@debbugs.gnu.org id=B64773.168998675212131 (code B ref 64773); Sat, 22 Jul 2023 00:46:02 +0000 Received: (at 64773) by debbugs.gnu.org; 22 Jul 2023 00:45:52 +0000 Received: from localhost ([127.0.0.1]:35067 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qN0km-00039V-Gb for submit@debbugs.gnu.org; Fri, 21 Jul 2023 20:45:52 -0400 Received: from mail-lf1-f41.google.com ([209.85.167.41]:58521) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qN0kh-000398-Rc; Fri, 21 Jul 2023 20:45:47 -0400 Received: by mail-lf1-f41.google.com with SMTP id 2adb3069b0e04-4fb761efa7aso4145601e87.0; Fri, 21 Jul 2023 17:45:43 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689986737; x=1690591537; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=/i+qOJYnDywO995xRDzbPoCW0fkNFNDpCYDob19Blcw=; b=YKQJNxGe5m3qivuO9c1ZsMRUko8caXO/CJ5keVXxIE3VHTUXSn9TuYceBfukwTnTjB rUroVZC/qKb9i8JhOqUI1Ez5JMIquts/51jFq3w4FfMS3Qrm7A73511+e7F2v9dThfct Etetu/XGIls245uXhvdNq4xC0rsZYZRHkEoze9B281SOFI+vbEE6J1HpZhCmZnMwVqwT R9HxbbVYLC0Vi54Grs0oxnUn0Tx4OLVlCGoUigmdksak6QT37go293X2a/FrAa1xmn4V ymcZ5Er+fgJCkfeZfQ10UXTV3SoOwOeWbD26Bg8S0FCV/8Dz6WZZhs8QFXTBJDvK6D6I SS8w== X-Gm-Message-State: ABy/qLY1QZEzEQov96s16HTVTOMrsQftSp7VTmZ4Q/9OSEaaDJPgAeWQ 1H1/t9VT0wlCmxaYHhEUXtY8U6cJSQpwxQ2v2Fl3kp9j8pQ= X-Google-Smtp-Source: APBJJlGDBA6Rrn94twtbgco0X4wgQ94Qz4BZ0OOzc3om24/f5o7AEv23KpnFK4BIZbcizs7h+jqZdqsP+28LvkqqLuc= X-Received: by 2002:a05:6512:6d1:b0:4fd:b7fb:c9fa with SMTP id u17-20020a05651206d100b004fdb7fbc9famr2540505lff.42.1689986736436; Fri, 21 Jul 2023 17:45:36 -0700 (PDT) MIME-Version: 1.0 References: <20230721020651.GS2940@zira.vinc17.org> <20230721013012.GA81450@cventin.lip.ens-lyon.fr> <20230721083954.GU2940@zira.vinc17.org> <4da7080f-f47f-d376-c2e8-982277d192e7@cs.ucla.edu> In-Reply-To: <4da7080f-f47f-d376-c2e8-982277d192e7@cs.ucla.edu> From: Jim Meyering Date: Fri, 21 Jul 2023 17:45:24 -0700 Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.5 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.5 (/) On Fri, Jul 21, 2023 at 4:38=E2=80=AFPM Paul Eggert wr= ote: > To fix just this bug (as opposed to the other Gnulib-related bugs that > may be lurking) try applying the attached Gnulib patch to a grep 3.11 > tarball. > > Closing the debbugs.gnu.org bug report, as the bug has been fixed upstrea= m. Thanks for reporting that. I've just pushed the following, adding a NEWS entry for the 3.11 bug and a = test. https://git.savannah.gnu.org/cgit/grep.git/commit/?id=3Dv3.11-12-gd1c3fbe