I was trying to install uget today, but I seem to be getting this confusing error since my curl is at 7.85.0-r2, which causes the entire build to fail. Upon inspection of the error, it seems not to be finding the `let` command in the configure script. Reproducible: Always
Created attachment 813154 [details] www-client/uget-2.2.1-r1/work/uget-2.2.1/config.log
Created attachment 813157 [details] emerge -1v uget
Created attachment 813160 [details] www-client/uget-2.2.1-r1/work/uget-2.2.1/configure
Please include emerge --info and re upload the build.log as it seems to have HTML entity characters in it CCing Arsen in case related to our recent changes but unlikely. Not able to check right this second
Created attachment 813163 [details] emerge --info uget
Created attachment 813166 [details] emerge -1v uget
Ah, I think it's a bashism. Does it work if you change /bin/sh to bash temporarily?
> Does it work if you change /bin/sh to bash temporarily? How would I go about doing that?
> How would I go about doing that? So ajak helped me figure it out in IRC. Turns out, it was a bashism. Once I switched back to bash from dash, it did emerge correctly.
I'll leave this open if there's a need to correct the bashism; otherwise, this can be closed.
(In reply to Randall from comment #10) > I'll leave this open if there's a need to correct the bashism; otherwise, > this can be closed. It's a legitimate bug and it's a good find :)
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5638c9b9103b86ad8264feff2b7edecd6e7d6c7f commit 5638c9b9103b86ad8264feff2b7edecd6e7d6c7f Author: Sam James <sam@gentoo.org> AuthorDate: 2023-04-07 05:12:33 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2023-04-07 05:12:33 +0000 www-client/uget: drop broken curl version check This check can't handle curl >= 8 or non-bash /bin/sh. Closes: https://bugs.gentoo.org/872080 Signed-off-by: Sam James <sam@gentoo.org> .../uget/files/uget-2.2.3-broken-curl-check.patch | 17 +++++++++++++++++ www-client/uget/uget-2.2.3.ebuild | 1 + www-client/uget/uget-9999.ebuild | 1 + 3 files changed, 19 insertions(+)