package : gentoolkit-0.1.30: Problem : runinng gentool-total-coverage gives the following error: chutz@lion chutz $ gentool-total-coverage awk: /usr/share/gentoolkit/histogram.awk:14: } awk: /usr/share/gentoolkit/histogram.awk:14: ^ invalid char '' in expression xargs: egrep: terminated by signal 13 Solution: echo >> /usr/share/gentoolkit/histogram.awk Seems that the problem is the file lacking a newline at the end. gawk version installed is 3.1.3.
I don't see this error output. gentoolkit-0.1.30 gawk-3.1.3 Can you try remerging gentoolkit and see if the problem is still there? Also, please verify that you are in fact running gawk by doing: which awk Thanks.
I did reemerge gentoolkit a few times already. I did again right now. Yes, the problem is there again. chutz@lion chutz $ gentool-total-coverage awk: /usr/share/gentoolkit/histogram.awk:14: } awk: /usr/share/gentoolkit/histogram.awk:14: ^ invalid char '' in expression xargs: egrep: terminated by signal 13 chutz@lion chutz $ which awk /bin/awk chutz@lion chutz $ qpkg -f /bin/awk sys-apps/gawk *
I am just going over bugs I've reported. The problem still exists in gentoolkit-0.1.35 and gawk-3.1.3 /bin/gawk-3.1.3 -f /usr/share/gentoolkit/histogram.awk gawk-3.1.3: /usr/share/gentoolkit/histogram.awk:14: } gawk-3.1.3: /usr/share/gentoolkit/histogram.awk:14: ^ invalid char '' in expression As I mentioned in the very beginning, the problem is solved with a simple "echo >> /usr/share/gentoolkit/histogram.awk"
OK, more insight.... the bug only appears on the following systems: 2.4.23-yel-1 AMD Athlon(tm) Processor CFLAGS='-march=athlon -O3 -pipe' 2.4.23-x1 AMD Athlon(TM) XP 1800+ CFLAGS='-march=athlon-xp -O3 -pipe -fomit-frame-pointer' It does not appear on: 2.4.22-s3 Intel(R) Celeron(R) CPU 2.20GHz CFLAGS='-march=pentium4 -O3 -pipe -fomit-frame-pointer' 2.4.22-whi-2 Pentium III (Coppermine) CFLAGS='-march=pentium3 -O3 -pipe' Can some other athlon user possibly confirm this? This is with gawk-3.1.3 and gentoolkit-0.1.37 at the moment.
Since the script in question seems to have been retired, possibly the bug should be marked as.... what? "WONTFIX", "INVALID", "FIXED"? gawk still has the problem on certain machines but I doubt it will pop-up anytime soon.
file is no longer used