>>> Unpacking source... >>> Unpacking watchfolder-0.3.3.tar.gz to /var/tmp/portage/app-admin/watchfolder-0.3.3/work * Applying 0.3.3-64bit.patch ...  [ ok ] >>> Source unpacked in /var/tmp/portage/app-admin/watchfolder-0.3.3/work >>> Compiling source in /var/tmp/portage/app-admin/watchfolder-0.3.3/work/watchd-0.3.3 ... make -j10 CC=x86_64-pc-linux-gnu-gcc x86_64-pc-linux-gnu-gcc -O2 -pipe -c -o chain.o chain.c chain.c: In function 'addelement': chain.c:52: warning: incompatible implicit declaration of built-in function 'memcpy' x86_64-pc-linux-gnu-gcc -O2 -pipe -c -o inifile.o inifile.c inifile.c: In function 'ini_open': inifile.c:66: warning: incompatible implicit declaration of built-in function 'strdup' inifile.c:69: warning: incompatible implicit declaration of built-in function 'strcpy' inifile.c: In function 'ini_nextgrp': inifile.c:90: warning: incompatible implicit declaration of built-in function 'strcpy' inifile.c:101: warning: incompatible implicit declaration of built-in function 'strncpy' inifile.c:93: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result inifile.c: In function 'ini_rewind': inifile.c:120: warning: incompatible implicit declaration of built-in function 'strcpy' inifile.c: In function 'ini_nextline': inifile.c:139: warning: incompatible implicit declaration of built-in function 'strcpy' inifile.c:148: warning: incompatible implicit declaration of built-in function 'strdup' inifile.c:157: warning: incompatible implicit declaration of built-in function 'strncpy' inifile.c:143: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result inifile.c: In function 'ini_grp2s': inifile.c:170: warning: incompatible implicit declaration of built-in function 'strdup' inifile.c:173: warning: incompatible implicit declaration of built-in function 'strlen' inifile.c:178: warning: incompatible implicit declaration of built-in function 'strrchr' inifile.c: In function 'ini_trim': inifile.c:194: warning: incompatible implicit declaration of built-in function 'strlen' inifile.c: In function 'ini_classify': inifile.c:209: warning: incompatible implicit declaration of built-in function 'strlen' x86_64-pc-linux-gnu-gcc -O2 -pipe -c -o filedb.o filedb.c filedb.c: In function 'strcomp': filedb.c:29: warning: incompatible implicit declaration of built-in function 'strlen' filedb.c: In function 'addfile': filedb.c:57: warning: incompatible implicit declaration of built-in function 'strdup' filedb.c: In function 'removefile': filedb.c:115: warning: incompatible implicit declaration of built-in function 'free' filedb.c: In function 'killfilechain': filedb.c:154: warning: incompatible implicit declaration of built-in function 'free' x86_64-pc-linux-gnu-gcc -Wl,-O1 -O2 -pipe -o watchd watchd.c inifile.o chain.o filedb.o watchd.c: In function 'finalize_logfd': watchd.c:679: warning: ignoring return value of 'write', declared with attribute warn_unused_result watchd.c:684: warning: ignoring return value of 'write', declared with attribute warn_unused_result watchd.c: In function 'processfile': watchd.c:771: warning: format '%d' expects type 'int', but argument 4 has type '__time_t' watchd.c:771: warning: format '%d' expects type 'int', but argument 5 has type '__suseconds_t' watchd.c:778: warning: ignoring return value of 'chown', declared with attribute warn_unused_result In function 'open', inlined from 'finalize_logfd' at watchd.c:674: /usr/include/bits/fcntl2.h:51: error: call to '__open_missing_mode' declared with attribute error: open with O_CREAT in second argument needs 3 arguments make: *** [all] Error 1 * * ERROR: app-admin/watchfolder-0.3.3 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 2506: Called die * The specific snippet of code: * emake CC="$(tc-getCC)" || die "emake failed" * The die message: * emake failed * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/log/portage/app-admin:watchfolder-0.3.3:20090220-125552.log'. * The ebuild environment file is located at '/var/tmp/portage/app-admin/watchfolder-0.3.3/temp/environment'. * This ebuild used the following eclasses from overlays: * /usr/local/toolchain-overlay/eclass/toolchain-funcs.eclass *