Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 25119 - app-admin/gentoolkit-0.1.30 has syntax errors in /usr/share/gentoolkit/histogram.awk
Summary: app-admin/gentoolkit-0.1.30 has syntax errors in /usr/share/gentoolkit/histog...
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Tools (show other bugs)
Hardware: All Linux
: High normal
Assignee: Portage Tools Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-07-23 07:33 UTC by Georgi Georgiev
Modified: 2004-08-02 19:54 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Georgi Georgiev 2003-07-23 07:33:52 UTC
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.
Comment 1 Mr. Bones. (RETIRED) gentoo-dev 2003-07-23 14:25:48 UTC
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.
Comment 2 Georgi Georgiev 2003-07-23 17:21:16 UTC
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 *
Comment 3 Georgi Georgiev 2003-11-19 06:36:33 UTC
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"
Comment 4 Georgi Georgiev 2003-12-17 21:40:58 UTC
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.
Comment 5 Georgi Georgiev 2004-07-28 00:06:44 UTC
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.
Comment 6 SpanKY gentoo-dev 2004-08-02 19:54:25 UTC
file is no longer used