Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 48327 - lufs-0.9.7-r1 Fails to Compile with cefs Enabled
Summary: lufs-0.9.7-r1 Fails to Compile with cefs Enabled
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Peter Johanson (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-04-19 08:35 UTC by Gregory Szorc
Modified: 2004-12-14 10:12 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gregory Szorc 2004-04-19 08:35:12 UTC
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)
Comment 1 Stefan Schweizer (RETIRED) gentoo-dev 2004-10-12 03:58:23 UTC
Can you please try if this is fixed by Bug 67212, comment if it works and add a dependency?
Comment 2 Stefan Schweizer (RETIRED) gentoo-dev 2004-12-14 10:12:35 UTC
CEFS is disabled by default in the new lufs. So I think it will compile for you, please reopen if it does not.