Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 35151 - Samba emerge crashes during the first few compile steps with include errors
Summary: Samba emerge crashes during the first few compile steps with include errors
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High major
Assignee: Donny Davies (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-12-05 13:16 UTC by A. Eijkhoudt
Modified: 2004-02-14 22:19 UTC (History)
0 users

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 A. Eijkhoudt 2003-12-05 13:16:49 UTC
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.
Comment 1 Donny Davies (RETIRED) gentoo-dev 2004-02-14 22:19:12 UTC
filesystem corruption perhaps?  dont think theres a bug here!