Summary: | gawk causing dev-libs/pth-2.0.3 fails to compile | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Roel Brook <Rainmaker526> |
Component: | [OLD] Unspecified | Assignee: | Bart Verwilst <bart> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | crypto+disabled, jean.brefort, langthang, leroutier, me, ppc, Rainmaker526, tiago |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
Full build log
pth-2.0.3-locale.diff |
Description
Roel Brook
2005-01-19 16:51:17 UTC
Created attachment 49001 [details]
Full build log
Same here. :( me too .. ;( the same Add ~ppc to the list of architectures where it does not compile. Wild guess, everyone who had trouble building this was using a non-default locale. That was affecting the awk script that generates the header file. The fix: LANG=C emake pth_p.h On my system this is not enough... may I suggest LC_ALL=C instead of LANG=C (or possibly with LANG=C I'm no expert in Languages issues :) with LC_ALL=C pth 2.0.3 compiles for me, otherwise it fails. the default setting on my system for LC_ALL is it_IT.utf8 Created attachment 49215 [details, diff]
pth-2.0.3-locale.diff
Fabio's fix works for me too, on amd64.
Here is the patch
Basesystem/vapier - FYI another locale gawk problem. Reporters with problems which verions of gawk were you using? Fabio, Simone - changed to LC_ALL=C LANG=C as you suggested. On my system: cova@kefk ~ $ gawk --version GNU Awk 3.1.4 I'm using GNU Awk 3.1.4 awk 3.1.4 too. actually, i dont think this is a gawk bug ... the pth package uses non-locale-portable character matching: [a-zA-Z_][a-zA-Z0-9_] [a-zA-Z] is known to be wrong ... it should use [:alpha:] since the order of some alphabets is such that 'a' is not the first letter and 'z' is not the last letter (see the estonian alphabet for a very good example of this) well, maybe it is a gawk bug (see #78227) ... however, my previous statement about gawk using [A-Z] still stands ... packages should never do that can you guys try gawk-3.1.4-r1 and see if that works w/out screwing with LC_ALL / LANG ? It works for me, thanks a lot. removed - LC_ALL from pth ebuild |