GNU bug report logs -
#64773
grep 3.11 -r on 100000+ files fails with "Operation not supported"
Previous Next
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 64773 in the body.
You can then email your comments to 64773 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-grep <at> gnu.org
:
bug#64773
; Package
grep
.
(Fri, 21 Jul 2023 17:11:01 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Santiago Ruano Rincón <santiagorr <at> riseup.net>
:
New bug report received and forwarded. Copy sent to
bug-grep <at> gnu.org
.
(Fri, 21 Jul 2023 17:11:01 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
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ó:
> Control: severity -1 grave
> Control: tags -1 - moreinfo
> Control: retitle -1 grep -r on 100000+ files fails with "Operation not supported"
>
> On 2023-07-20 23:43:45 -0300, Santiago Ruano Rincón wrote:
> > El 21/07/23 a las 04:06, Vincent Lefevre escribió:
> > > 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
> > > >
> > > > cventin:~/Mail> grep -r xxxyyyzzz oldarc
> > > > grep: oldarc/cur: Operation not supported
> > >
> > > And no such issue with grep from the upstream git.
> >
> > How are you compiling it?
>
> $ ./bootstrap
> $ ./configure --prefix=$HOME/opt/grep
> $ make
> $ make install
>
> > My intuition is this comes from gnulib.
>
> 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.
>
> > But a reproducer is needed to confirm.
> >
> > 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.
>
> One needs at least 100000 files in the directory (99999 is not enough).
> With 100000 empty files:
>
> $ 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
[signature.asc (application/pgp-signature, inline)]
Reply sent
to
Paul Eggert <eggert <at> cs.ucla.edu>
:
You have taken responsibility.
(Fri, 21 Jul 2023 23:38:01 GMT)
Full text and
rfc822 format available.
Notification sent
to
Santiago Ruano Rincón <santiagorr <at> riseup.net>
:
bug acknowledged by developer.
(Fri, 21 Jul 2023 23:38:01 GMT)
Full text and
rfc822 format available.
Message #10 received at 64773-done <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
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.
[0001-dirfd-Fix-bogus-override-regression-2023-04-26.patch (text/x-patch, attachment)]
Information forwarded
to
bug-grep <at> gnu.org
:
bug#64773
; Package
grep
.
(Sat, 22 Jul 2023 00:46:02 GMT)
Full text and
rfc822 format available.
Message #13 received at 64773 <at> debbugs.gnu.org (full text, mbox):
On Fri, Jul 21, 2023 at 4:38 PM Paul Eggert <eggert <at> cs.ucla.edu> wrote:
> 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.
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=v3.11-12-gd1c3fbe
Information forwarded
to
bug-grep <at> gnu.org
:
bug#64773
; Package
grep
.
(Sat, 22 Jul 2023 00:46:02 GMT)
Full text and
rfc822 format available.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Sat, 19 Aug 2023 11:24:10 GMT)
Full text and
rfc822 format available.
This bug report was last modified 1 year and 236 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.