lufs chokes during the compilation of filesystems/cefs complaining about undeclared variable "INFOFILE." According to config.h, INFOFILE is defined in the RAPI library. I tried emerging librapi2 but the compilation still wouldn't work. I eventually solved the problem by changing the ebuild file to not enable cefs during configure. I am running a ~x86 system. I tried lowering CFLAGS, but that had no effect. Reproducible: Always Steps to Reproduce: 1. Try to build lufs 2. 3. Actual Results: Error as described in details section. Making all in cefs make[3]: Entering directory `/var/tmp/portage/lufs-0.9.7-r1/work/lufs-0.9.7/filesystems/cefs' Making all in asyncd make[4]: Entering directory `/var/tmp/portage/lufs-0.9.7-r1/work/lufs-0.9.7/filesystems/cefs/asyncd' if gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I.. -DUSE_SYSLOG -O2 -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -MT asyncd.o -MD -MP -MF ".deps/asyncd.Tpo" \ -c -o asyncd.o `test -f 'asyncd.c' || echo './'`asyncd.c; \ then mv -f ".deps/asyncd.Tpo" ".deps/asyncd.Po"; \ else rm -f ".deps/asyncd.Tpo"; exit 1; \ fi if gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I.. -DUSE_SYSLOG -O2 -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -MT debug.o -MD -MP -MF ".deps/debug.Tpo" \ -c -o debug.o `test -f 'debug.c' || echo './'`debug.c; \ then mv -f ".deps/debug.Tpo" ".deps/debug.Po"; \ else rm -f ".deps/debug.Tpo"; exit 1; \ fi if gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I.. -DUSE_SYSLOG -O2 -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -MT socket.o -MD -MP -MF ".deps/socket.Tpo" \ -c -o socket.o `test -f 'socket.c' || echo './'`socket.c; \ then mv -f ".deps/socket.Tpo" ".deps/socket.Po"; \ else rm -f ".deps/socket.Tpo"; exit 1; \ fi In file included from socket.c:29: /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.3/include/varargs.h:4:2: #error "GCC no longer implements <varargs.h>." /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.3/include/varargs.h:5:2: #error "Revise your code to use <stdarg.h>." asyncd.c: In function `compute_password': asyncd.c:84: warning: implicit declaration of function `log_debug' asyncd.c: In function `removeinfo': asyncd.c:121: error: `INFOFILE' undeclared (first use in this function) asyncd.c:121: error: (Each undeclared identifier is reported only once asyncd.c:121: error: for each function it appears in.) asyncd.c: In function `saveinfo': asyncd.c:152: error: `INFOFILE' undeclared (first use in this function) make[4]: *** [asyncd.o] Error 1 make[4]: *** Waiting for unfinished jobs.... socket.c: In function `SockPrintf': socket.c:98: error: syntax error before "va_dcl" socket.c:107: error: syntax error before "va_start" socket.c:140: error: syntax error before "if" socket.c:169: error: syntax error before "if" make[4]: *** [socket.o] Error 1 make[4]: Leaving directory `/var/tmp/portage/lufs-0.9.7-r1/work/lufs-0.9.7/filesystems/cefs/asyncd' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/var/tmp/portage/lufs-0.9.7-r1/work/lufs-0.9.7/filesystems/cefs' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/lufs-0.9.7-r1/work/lufs-0.9.7/filesystems' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/lufs-0.9.7-r1/work/lufs-0.9.7' make: *** [all] Error 2 !!! ERROR: sys-fs/lufs-0.9.7-r1 failed. !!! Function src_compile, Line 40, Exitcode 2 !!! (no error message)
Can you please try if this is fixed by Bug 67212, comment if it works and add a dependency?
CEFS is disabled by default in the new lufs. So I think it will compile for you, please reopen if it does not.