build fail if /bin/sh is not bash (dash for me). Please replace "#!/bin/sh" with "#!/bin/bash"
Can't reproduce: I downloaded 1.17.2, replaced #!/bin/sh with #!/bin/dash in gen_build_files.sh, then ran make defconfig make and build succeeded. Can you describe your problems in more details?
Created attachment 2551 [details] build log Here the make output of vanilla sources.
This log does not help me in isolating the problem. Can you unpack 1.17.2 is two different directories, run "make defconfig" in one tree, then replace "#!/bin/sh" with "#!/bin/bash" in gen_build_files.sh in the other tree, run "make defconfig" in this second tree, then post the output of diff -urN tree1 tree2?
here is diff: http://people.oh14.de/andrej/diff.gz
Looks like a bug in your /bin/sh. Please run /bin/sh and type exactly the following at the shell prompt: echo " test" | { IFS='' read -r REPLY; echo "|$REPLY|"; } What do you see?
Seems to be a bug in dash. It is fixed in git repository (not released yet). Arch use vanilla version of dash, so there is the problem. Ubuntu patched it bit earlier. For archlinux users there is now dash-git package in aur.
dash vanilla sources seems to be crap. git version of dash brake other things too. Ubuntu version (dash-ubuntu in aur for archlinux) seems to be a better choices, or keep bash as /bin/sh. Sorry for bothering you with bugs in dash.