On my machine running gcc version 2.95.3 20010315 (release) I get the following message when compiling attr: In file included from attr_copy_fd.c:37: ../include/error_context.h:23: badly punctuated parameter list in `#define' make[1]: *** [attr_copy_fd.lo] Error 1 make: *** [default] Error 2 compiling manually works fine with just "configure && make", and the file "error_context.h" is not created. I changed the error_context.h file in the portage temp directory in line 20 from # define error(ctx, args ...) do { \ to # define error(ctx, args...) do { \ and compiling worked again. (seen in the same file of attr-2.4.1) The error_context.h file is created only when applying the attr_copy.diff patch it seems.
could you please check if attr-2.4.1.ebuild and attr-2.4.7-r1.ebuild compile under gcc 2.95.3 or exhibit the same error? (2.4.7 has this in the ebuild '>=sys-devel/gcc-3*' so you may have to remove that to check it).
whops, my fault :-) no, attr-2.4.1 does not complain about the same error, and that's the version I finally installed on my system. to be able to do this I changed it from ~x86 to x86 in order to make it available unmasked and stable. all higher versions collided with gcc-3.x requirement, so I couldn't use ACCEPT_KEYWORDS ...
ok, i've moved 2.4.1 and 2.4.7-r1 to stable on x86. thanks.