dev-java/rxtx-2.2_pre2 fails to build with USE fld. Reproducible: Always Steps to Reproduce: 1. emerge dev-java/rxt Actual Results: the ebuild failes with error: src/lfd/lockdaemon.c: In function ‘main’: src/lfd/lockdaemon.c:829:2: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] write( 0, str, strlen(str) ); Expected Results: it should compile. GENTOO_VM=icedtea-bin-7 CLASSPATH="" JAVA_HOME="/opt/icedtea-bin-7.2.5.5" JAVACFLAGS="-source 1.4 -target 1.4" COMPILER=""
Created attachment 404392 [details] emerge info
Created attachment 404394 [details] build log
Created attachment 404396 [details] emerge --info (as plain text)
Created attachment 404398 [details] environment
The flag is lfd, not fld, and that part of the output is not the actual error but yes, it fails for me too.
Created attachment 425746 [details, diff] workaround to compile ebuild. the error reported in teh ebuild log is: src/lfd/lockdaemon.c: In function ‘check_group_uucp’: src/lfd/lockdaemon.c:473:14: error: ‘NGROUPS_MAX’ undeclared (first use in this function) gid_t list[ NGROUPS_MAX ]; in the attachment, a workaround patch, sufficient to compile the ebuild.
Fixed in 2.2_pre2-r1. The correct fix was to include limits.h. I'll close this when stable.
ok. but now we have a 2.2_pre2 version with not tilde KEYWORDS which does not compile and a 2.2_pre2-r1 with tilde KEYWORDS which does.
(In reply to Marco Clocchiatti from comment #8) > ok. > but now we have a 2.2_pre2 version with not tilde KEYWORDS which does not > compile and a 2.2_pre2-r1 with tilde KEYWORDS which does. Right, that's how things work. You can't just mark things stable straight away except in exceptional circumstances like security. I must admit that I find this policy odd at times but I don't make the rules.
fixed in 2.2_pre2-r1