On Thu, 28 Jun 2012, William Brown wrote:
Making all in ipa-sam
make[4]: Entering directory
`/home/william/development/freeipa/rpmbuild/BUILD/freeipa-2.99.0GIT8ce7330/daemons/ipa-sam'
/bin/sh ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.
-I.. -I. -I. -I/usr/include/samba-4.0 -DPREFIX=\""/usr"\"
-DBINDIR=\""/usr/bin"\" -DLIBDIR=\""/usr/lib64"\"
-DLIBEXECDIR=\""/usr/libexec"\" -DDATADIR=\""/usr/share"\"
-DLDAPIDIR=\""/var/run"\" -DHAVE_LDAP -I ../../util  -Wall -Wshadow
-Wstrict-prototypes -Wpointer-arith -Wcast-align
-Werror-implicit-function-declaration  -DWITH_OPENLDAP
-I/usr/include/nspr4 -I/usr/include/nss3 -DUSE_OPENLDAP
-DHAVE_IMMEDIATE_STRUCTURES=1 -I/usr/include/samba-4.0
-DHAVE_IMMEDIATE_STRUCTURES=1 -D_GNU_SOURCE=1 -I/usr/include/samba-4.0
  -I/usr/include/nspr4 -I/usr/include/nss3  -Wall -Wshadow
-Wstrict-prototypes -Wpointer-arith -Wcast-align
-Werror-implicit-function-declaration  -O2 -g -pipe -Wall
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
--param=ssp-buffer-size=4  -m64 -mtune=generic -MT ipa_sam.lo -MD -MP
-MF .deps/ipa_sam.Tpo -c -o ipa_sam.lo ipa_sam.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I. -I.
-I/usr/include/samba-4.0 -DPREFIX=\"/usr\" -DBINDIR=\"/usr/bin\"
-DLIBDIR=\"/usr/lib64\" -DLIBEXECDIR=\"/usr/libexec\"
-DDATADIR=\"/usr/share\" -DLDAPIDIR=\"/var/run\" -DHAVE_LDAP -I
../../util -Wall -Wshadow -Wstrict-prototypes -Wpointer-arith
-Wcast-align -Werror-implicit-function-declaration -DWITH_OPENLDAP
-I/usr/include/nspr4 -I/usr/include/nss3 -DUSE_OPENLDAP
-DHAVE_IMMEDIATE_STRUCTURES=1 -I/usr/include/samba-4.0
-DHAVE_IMMEDIATE_STRUCTURES=1 -D_GNU_SOURCE=1 -I/usr/include/samba-4.0
-I/usr/include/nspr4 -I/usr/include/nss3 -Wall -Wshadow
-Wstrict-prototypes -Wpointer-arith -Wcast-align
-Werror-implicit-function-declaration -O2 -g -pipe -Wall
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
--param=ssp-buffer-size=4 -m64 -mtune=generic -MT ipa_sam.lo -MD -MP -MF
.deps/ipa_sam.Tpo -c ipa_sam.c  -fPIC -DPIC -o .libs/ipa_sam.o
ipa_sam.c:510:17: warning: 'struct unixid' declared inside parameter
list [enabled by default]
Missing 'struct unixid' means you don't have newer samba4 packages.

ipa_sam.c:510:17: warning: its scope is only this definition or
declaration, which is probably not what you want [enabled by default]
ipa_sam.c: In function 'ldapsam_sid_to_id':
ipa_sam.c:583:3: error: implicit declaration of function
'unixid_from_gid' [-Werror=implicit-function-declaration]
ipa_sam.c:598:2: error: implicit declaration of function
'unixid_from_uid' [-Werror=implicit-function-declaration]
ipa_sam.c: In function 'set_krb_princ':
ipa_sam.c:1456:8: warning: unused variable 'inp' [-Wunused-variable]
ipa_sam.c: In function 'ldap_sasl_interact':
ipa_sam.c:3100:18: warning: unused variable 'krberr' [-Wunused-variable]
ipa_sam.c:3099:8: warning: unused variable 'outname' [-Wunused-variable]
ipa_sam.c:3098:15: warning: unused variable 'krbctx' [-Wunused-variable]
ipa_sam.c: At top level:
ipa_sam.c:3126:1: warning: function declaration isn't a prototype
[-Wstrict-prototypes]
ipa_sam.c:3127:1: warning: function declaration isn't a prototype
[-Wstrict-prototypes]
ipa_sam.c: In function 'bind_callback':
ipa_sam.c:3131:18: warning: variable 'rc' set but not used
[-Wunused-but-set-variable]
ipa_sam.c: In function 'pdb_init_ipasam':
ipa_sam.c:3355:27: warning: assignment from incompatible pointer type
[enabled by default]
cc1: some warnings being treated as errors
make[4]: *** [ipa_sam.lo] Error 1
make[4]: Leaving directory
`/home/william/development/freeipa/rpmbuild/BUILD/freeipa-2.99.0GIT8ce7330/daemons/ipa-sam'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory
`/home/william/development/freeipa/rpmbuild/BUILD/freeipa-2.99.0GIT8ce7330/daemons'
make[2]: *** [all] Error 2
make[2]: Leaving directory
`/home/william/development/freeipa/rpmbuild/BUILD/freeipa-2.99.0GIT8ce7330/daemons'
make[1]: *** [all] Error 1
make[1]: Leaving directory
`/home/william/development/freeipa/rpmbuild/BUILD/freeipa-2.99.0GIT8ce7330'
error: Bad exit status from /var/tmp/rpm-tmp.tskROb (%build)


RPM build errors:
   Bad exit status from /var/tmp/rpm-tmp.tskROb (%build)
make: *** [rpms] Error 1


Git master (Not my feature branches)
Make sure you have at least samba4 beta1 packages installed as required by the
freeipa.spec.in file. I have samba4-devel-4.0.0-124beta1.fc17.x86_64 from 
ipa-devel
repo.

Also 8ce7330 is not git master HEAD:
$ git log --oneline 8ce733..HEAD
ac6afd3 Add configure check for C Unit-Test framework check
dc3491e Filter groups in the PAC
65ad261 Add sidgen postop and task
6356747 Add error condition handling to the SASL bind callback in ipasam
761cb71 Support requests for DOMAIN$ account for trusted domains in ipasam 
module
db4c946 Defer adding ipa-cifs-delegation-targets until the Updates phase.

--
/ Alexander Bokovoy

_______________________________________________
Freeipa-devel mailing list
Freeipa-devel@redhat.com
https://www.redhat.com/mailman/listinfo/freeipa-devel

Reply via email to