Bruno Haible <bruno <at> clisp.org> writes: > > sed: can't find label for jump to `est-strsignal.c/d' > > Finished. > > Hmm. I thought I fixed this code already (around lines 3567..3575 of > gnulib-tool). Can you, after line 3571, make a backup copy of the files > "$tmp"/ignore-removed and "$tmp"/sed-ignore-removed, and show their contents?
It took me a while, but I finally managed to reproduce this one. Here's the formula I finally got to work: reset gnulib to current gnulib.git reset m4 branch-1.6 to current m4.git gnulib-tool --update reset gnulib to f74d4, then apply patch to gnulib-tool reset m4 branch-1.6 to eeddcc^ gnulib-tool --update at which point, ignore-removed contains: test-freadptr.c test-freadptr.sh test-freadptr2.c test-freadptr2.sh test-freadseek.c test-freadseek.sh test-memchr2.c and sed-ignore-removed contains: /^test-freadptr.c/d /^test-freadptr.sh/d /^test-freadptr2.c/d /^test-freadptr2.sh/d /^test-freadseek.c/d /^test-freadseek.sh/d /^test-memchr2.c/d /^/test-freadptr.c/d /^/test-freadptr.sh/d /^/test-freadptr2.c/d /^/test-freadptr2.sh/d /^/test-freadseek.c/d /^/test-freadseek.sh/d /^/test-memchr2.c/d Hmm. Duplicated lines in sed-ignore-removed, with the second half treated as matching the expression /^/ and performing the t operation to the label est- freadptr.c/d. Hope that helps; I haven't looked closely into what gnulib-tool is doing at this point. -- Eric Blake