Using FLAGS = -march=pentium4 -O3 -pipe -fomit-frame-pointer -ffast-math - fforce-addr -fprefetch-loop-arrays -falign-functions=32 -mfpmath=sse,387 -msse - msse2 -I/usr/include/mysql -march=pentium4 -pipe -fomit-frame-pointer -ffast- math -fforce-addr -fprefetch-loop-arrays -falign-functions=32 -mfpmath=sse,387 - msse -msse2 -DHAVE_ERRNO_AS_DEFINE=1 -DUSE_OLD_FUNCTIONS -Iinclude - I./include -I./ubiqx -I./smbwrapper -I. -D_LARGEFILE64_SOURCE - D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -I. LIBS = -lcrypt -lresolv -lnsl -ldl LDSHFLAGS = -shared -Wl,-rpath,/usr/lib LDFLAGS = -Wl,-rpath,/usr/lib Generating smbd/build_options.c Building include/proto.h creating ./include/proto.h gawk: script/mkproto.awk:103: (FILENAME=nmbd/asyncdns.c FNR=354) fatal: cannot open file `nmbd/nbd_become_lmb.c' for reading (No such file or directory) Building include/wrepld_proto.h creating ./include/wrepld_proto.h Building include/build_env.h creating ./nsswitch/winbindd_proto.h creating ./web/swat_proto.h creating ./client/client_proto.h creating ./utils/net_proto.h Compiling dynconfig.c In file included from include/includes.h:896, from dynconfig.c:21: include/proto.h:1:1: unterminated #ifndef make: *** [dynconfig.o] Error 1 !!! ERROR: net-fs/samba-3.0.0-r1 failed. !!! Function src_compile, Line 160, Exitcode 2 !!! SAMBA pieces Reproducible: Always Steps to Reproduce: 1. Any combination of CFLAGS causes this error 2. Just emerge net-fs/samba/samba-3.0.0-r1.ebuild 3. Actual Results: Crash above Expected Results: Emerge properly, duh. Tried multiple combinations of CFLAGS; even the most conservative fail to work.
filesystem corruption perhaps? dont think theres a bug here!