There is an updated pull request by cultab against master on the void-packages repository https://github.com/cultab/void-packages megasdk https://github.com/void-linux/void-packages/pull/39733 MEGAcmd: update to 1.5.1 I am trying to update `MEGAcmd` to `1.5.1` and `MEGAsdk` to `3.9.11d` (as per the version submoduled in MEGAcmd's repo). But am I getting a very peculiar issue with the ./configure script. ``` configure: line 22309: syntax error near unexpected token `cat' configure: line 22309: `cat >confcache <<\_ACEOF' ``` It doesn't really seem like there is a syntax error there. It runs just fine when manually run outside of the chroot. So I tried the following: - using `chroot-bash` outside the chroot to run `./configure` and replicated the issue. - using `bash` outside the chroot to run `./configure` and replicated the issue. - using `zsh` inside the chroot (by redefining `do_configure` to use `zsh`) which bypasses the issue but creates another issue. - using `sh` outside the chroot works as expected. _I don't think using another shell is a real solution._ I don't really know how to continue so I'm making a **broken draft pull request** to ask for help. What could bash be doing differently so as to cause this issue? Maybe I messed something up when porting `autotools.patch` to the new version of `MEGAcmd`? A patch file from https://github.com/void-linux/void-packages/pull/39733.patch is attached