Using n-install (https://github.com/mklement0/n-install) $ n lts curl: (23) Failed writing received data to disk/application Error: failed to download version index (https://nodejs.org/dist/index.tab) This is just doing: $ curl --silent --compressed --location --fail --show-error --progress-bar https://nodejs.org/dist/index.tab > /dev/null # (redirected to /dev/null by me for less noise) curl: (23) Failed writing received data to disk/application Reproducible: Always
Fedora backported https://src.fedoraproject.org/rpms/curl/blob/rawhide/f/0002-curl-8.7.1-fix-chunked-POST-via-callback.patch as well for another issue (https://github.com/curl/curl/issues/13229, https://github.com/curl/curl/pull/13257). We may as well chuck that in too.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6c9477001d99393a7fc4f610d0ef25a4fef0ce60 commit 6c9477001d99393a7fc4f610d0ef25a4fef0ce60 Author: Matt Jolly <kangie@gentoo.org> AuthorDate: 2024-04-20 03:51:05 +0000 Commit: Matt Jolly <kangie@gentoo.org> CommitDate: 2024-04-20 04:04:42 +0000 net-misc/curl: add 8.7.1-r2 Closes: https://bugs.gentoo.org/930194 Signed-off-by: Matt Jolly <kangie@gentoo.org> .../{curl-8.7.1-r1.ebuild => curl-8.7.1-r2.ebuild} | 0 net-misc/curl/files/curl-8.7.1-chunked-post.patch | 57 ++++++++ .../files/curl-8.7.1-fix-compress-option.patch | 153 +++++++++++++++++++++ 3 files changed, 210 insertions(+)
tt_1 points out on IRC that the commit doesn't add the patches to PATCHES, so they're unused.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aea447687a18665d4926d3cd69959a3c54bf8674 commit aea447687a18665d4926d3cd69959a3c54bf8674 Author: Sam James <sam@gentoo.org> AuthorDate: 2024-04-20 11:59:29 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2024-04-20 12:00:10 +0000 net-misc/curl: fix applied patches 6c9477001d99393a7fc4f610d0ef25a4fef0ce60 forgot to add the patches to PATCHES. While fixing that, let's restore -r1 as stable and add a fixed -r2 as -r3 with the patches included in ~arch. Closes: https://bugs.gentoo.org/930194 Fixes: 6c9477001d99393a7fc4f610d0ef25a4fef0ce60 Signed-off-by: Sam James <sam@gentoo.org> .../{curl-8.7.1-r2.ebuild => curl-8.7.1-r1.ebuild} | 0 net-misc/curl/curl-8.7.1-r3.ebuild | 368 +++++++++++++++++++++ 2 files changed, 368 insertions(+)