emerging ncurses gives me an error: ./MKhashsize.sh: line 38: unexpected EOF while looking for matching ``' ./MKhashsize.sh: line 42: syntax error: unexpected end of file Reproducible: Always Steps to Reproduce: 1. emerge -v ncurses Actual Results: completely fails to compile Expected Results: should compile and install
the solution i have found to override the bug is to enclose in quotes the line that causes the problem at /var/tmp/portage/sys-libs/ncurses-5.6-r2/work/ncurses-5.6/MKhashsize.sh: TABSIZE="`grep -v '^[ #]' $CAPS | grep -v "^$" | grep -v "^capalias"| grep -v "^infoalias" | wc -l`" instead of: TABSIZE=`grep -v '^[ #]' $CAPS | grep -v "^$" | grep -v "^capalias"| grep -v "^infoalias" | wc -l` but i guess this should be fixed a better way
Compiles just fine here; reopen with full emerge.log and emerge --info output.
Created attachment 143048 [details] ncurses emerge log
Created attachment 143050 [details] emerge --info
(In reply to comment #2) > Compiles just fine here; reopen with full emerge.log and emerge --info output. just uploaded them
Uh, what kind of whacky shell is your /bin/sh pointing to?
(In reply to comment #6) > Uh, what kind of whacky shell is your /bin/sh pointing to? #ls -l /in/sh /bin/sh -> bash
your bash is broken then please post your /bin/bash as an attachment
(In reply to comment #8) > your bash is broken then yeap. you're right. remerging bash solved the problem