Updated from git. Now on first run I get this: --- >>> readline 8.1 Extracting gzip -d -c /home/stas/src/fdpp-buildroot/buildroot/dl/readline/readline-8.1.tar.gz | tar --strip-components=1 -C /home/stas/src/fdpp-buildroot/buildroot/output/build/readline-8.1 -xf - >>> readline 8.1 Patching Applying 0000-curses-link.patch using patch: patching file support/shobj-conf Applying 0001-curses-link.patch using patch: patching file support/shobj-conf Reversed (or previously applied) patch detected! Skipping patch. 1 out of 1 hunk ignored -- saving rejects to file support/shobj-conf.rej make[1]: *** [package/pkg-generic.mk:227: /home/stas/src/fdpp-buildroot/buildroot/output/build/readline-8.1/.stamp_patched] Ошибка 1 --- And on a second run: --- >>> readline 8.1 Patching Applying 0000-curses-link.patch using patch: Error: duplicate filename '0000-curses-link.patch' Conflicting files are: already applied: /home/stas/src/fdpp-buildroot/buildroot/package/readline/0000-curses-link.patch to be applied : /home/stas/src/fdpp-buildroot/buildroot/package/readline/0000-curses-link.patch make[1]: *** [package/pkg-generic.mk:227: /home/stas/src/fdpp-buildroot/buildroot/output/build/readline-8.1/.stamp_patched] Ошибка 1 --- Not sure why it insist on applying the same patch twice. Some parallel build problems?
I assume that you have an issue on your local repository after updating from git. Indeed, 0000-curses-link.patch has been renumbered to 0001-curses-link.patch with https://git.buildroot.net/buildroot/commit/package/readline?id=575c60ff9aaaa03662555ae9353ad4e441e7fc6f. So, I would advise to delete 0000-curses-link.patch from your local git repository.
Applying 0000-curses-link.patch using patch: patching file support/shobj-conf Applying 0001-curses-link.patch using patch: --- OK, I haven't noticed the names are different: 0000-curses-link.patch 0001-curses-link.patch So there are indeed 2 similar patches under different names. Please remove one.
Seems 0000-curses-link.patch is already removed, but for me - just set as untracked. Strange...