[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Patch 2.7.6 and deep-directories failed test
From: |
Andreas Grünbacher |
Subject: |
Re: Patch 2.7.6 and deep-directories failed test |
Date: |
Thu, 7 Jan 2021 22:57:35 +0100 |
Am Do., 7. Jan. 2021 um 22:42 Uhr schrieb Jeffrey Walton <noloader@gmail.com>:
> On Thu, Jan 7, 2021 at 4:39 PM Andreas Grünbacher <agruen@gnu.org> wrote:
> > Am Do., 7. Jan. 2021 um 22:24 Uhr schrieb Jeffrey Walton
> > <noloader@gmail.com>:
> > > On Thu, Jan 7, 2021 at 4:09 PM Andreas Grünbacher <agruen@gnu.org> wrote:
> > > > Am Do., 7. Jan. 2021 um 20:40 Uhr schrieb Jeffrey Walton
> > > > <noloader@gmail.com>:
> > > > > Hi Everyone,
> > > > >
> > > > > I'm testing Patch 2.7.6 on Ubuntu 18.05, x86_64 fully patched. Patch
> > > > > is failing one self test:
> > > > >
> > > > > # TOTAL: 44
> > > > > # PASS: 41
> > > > > # SKIP: 0
> > > > > # XFAIL: 2
> > > > > # FAIL: 1
> > > > > # XPASS: 0
> > > > > # ERROR: 0
> > > > >
> > > > > And:
> > > > >
> > > > > $ cat patch-2.7.6/tests/deep-directories.log
> > > > > [26] patch -p1 < ab.diff || echo Status: $? -- FAILED
> > > > > --- expected
> > > > > +++ got
> > > > > @@ -1 +1,2 @@
> > > > > -patching file 1/2/3/4/5/6/7/8/9/foo
> > > > > +/home/jwalton/Build-Scripts/patch-2.7.6/src/patch: **** Can't create
> > > > > temporary file 1/2/3/4/5/6/7/8/9/foo.oV1sAfd : Too many open files
> > > > > +Status: 2
> > > > > 1 tests (0 passed, 1 failed)
> > > > > FAIL deep-directories (exit status: 1)
> > > > >
> > > > > If deep-directories can fail, it seems like it should be an XFAIL,
> > > > > not a FAIL.
> > > >
> > > > The test shouldn't fail, but I also don't think this is a known defect
> > > > in patch 2.7.6, and the bug doesn't trigger here for me, either.
> > > >
> > > > What do you get with the latest code from patch's git repository?
> > >
> > > I was able to bootstrap and configure, but make failed:
> > >
> > > ...
> > > /usr/bin/cc -DHAVE_CONFIG_H -I. -I..
> > > -I/home/jwalton/ok2delete/include -DNDEBUG -g2 -O2 -march=native
> > > -fPIC -pthread -MT parse-datetime.o -MD -MP -MF
> > > .deps/parse-datetime.Tpo -c -o parse-datetime.o parse-datetime.c
> > > parse-datetime.tab.c:646:10: fatal error: parse-datetime.tab.h: No
> > > such file or directory
> > > compilation terminated.
> > > Makefile:1731: recipe for target 'parse-datetime.o' failed
> > > make[3]: *** [parse-datetime.o] Error 1
> > > make[3]: *** Waiting for unfinished jobs....
> > > mv -f .deps/opendirat.Tpo .deps/opendirat.Po
> > > mv -f .deps/gl_linked_list.Tpo .deps/gl_linked_list.Po
> > > mv -f .deps/progname.Tpo .deps/progname.Po
> > > mv -f .deps/hash.Tpo .deps/hash.Po
> > > mv -f .deps/nstrftime.Tpo .deps/nstrftime.Po
> > > make[3]: Leaving directory '/home/jwalton/Build-Scripts/patch-master/lib'
> > > Makefile:1514: recipe for target 'all' failed
> >
> > That again doesn't reproduce for me (on Fedora 32). Did you try a
> > fresh checkout of the patch git repository? Are you possibly on a
> > different version of gnulib (should be
> > 48e8cffee6a67859119e7df9dc53c8f775daba89)?
>
> :)
>
> I believe Gnulib is the tip of master. I did not do anything special
> with Gnulib. Bootstrap fetched Gnulib for me.
If the bootstrap script did the gnulib checkout for you, you should
end up with the matching version of gnulib.
Andreas
Re: Patch 2.7.6 and deep-directories failed test, Jeffrey Walton, 2021/01/07