Bug 5493 - makerpm build fails on fedora 9
Summary: makerpm build fails on fedora 9
Alias: None
Product: Samba 3.2
Classification: Unclassified
Component: Build environment (show other bugs)
Version: 3.2.0
Hardware: x64 Linux
: P3 normal
Target Milestone: ---
Assignee: Samba Bugzilla Account
QA Contact: Samba QA Contact
Depends on:
Reported: 2008-05-28 01:23 UTC by Adrian Sender
Modified: 2008-05-29 01:01 UTC (History)
0 users

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Adrian Sender 2008-05-28 01:23:50 UTC

gcc -I. -I/usr/src/redhat/BUILD/samba-3.0.25/source  -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE  -I/usr/src/redhat/BUILD/samba-3.0.25/source/iniparser/src -Iinclude -I./include  -I. -I. -I./lib/replace -I./lib/talloc -I./lib/tdb/include -I./libaddns -I./librpc -DHAVE_CONFIG_H  -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DLDAP_DEPRECATED   -I/usr/include/include -I/usr/src/redhat/BUILD/samba-3.0.25/source/lib -D_SAMBA_BUILD_=3 -fPIC -c smbd/oplock_linux.c -o smbd/oplock_linux.o
Compiling smbd/notify_internal.c
make: *** [smbd/oplock_linux.o] Error 1
make: *** Waiting for unfinished jobs....
Comment 1 Adrian Sender 2008-05-29 01:01:50 UTC
<obnox>  you should unistall libcap-devel
<sendro> how do you know that?
<obnox> because i have seen (and discussed that) message "smbd/oplock_linux.c:37: error: conflicting types for ‘capget’.  /usr/include/sys/capability.h:110: error: previous declaration  of ‘capset’ was here"
<obnox> there is going to be a fix for that in the next releases
<obnox> (at least 3.2.X)