When compiling mail-filter/simscan-1.4.0-r2, the build fails with message: i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -march=athlon-xp -O3 -pipe -fomit- frame-pointer -mmmx -msse -msse2 -m3dnow -Wall -c simscanmk.c In function 'open', inlined from 'make_cdb' at simscanmk.c:379: /usr/include/bits/fcntl2.h:51: error: call to '__open_missing_mode' declared wit h attribute error: open with O_CREAT in second argument needs 3 arguments In function 'open', inlined from 'make_version_cdb' at simscanmk.c:133: /usr/include/bits/fcntl2.h:51: error: call to '__open_missing_mode' declared wit h attribute error: open with O_CREAT in second argument needs 3 arguments make[2]: *** [simscanmk.o] Error 1 make[2]: Leaving directory `/var/tmp/portage/mail-filter/simscan-1.4.0-r2/work/s imscan-1.4.0' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/mail-filter/simscan-1.4.0-r2/work/s imscan-1.4.0' make: *** [all] Error 2
please attach emerge --info output
*** This bug has been marked as a duplicate of bug 273170 ***