[Freeipa-devel] Build failure in ipa_sam

William Brown william at firstyear.id.au
Thu Jun 28 09:59:15 UTC 2012


On 28/06/12 18:43, Alexander Bokovoy wrote:
> 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.

Is that the repo at:

[ipa-devel]
name=IPA development $releasever - $basearch
baseurl=http://jdennis.fedorapeople.org/ipa-devel/fedora/$releasever/$basearch/os/
enabled=0
gpgcheck=0


> 
> 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.
> 

I know it's not HEAD - I updated it yesterday. I will fetch this in a
little while to test.

-- 
Sincerely,

William Brown

pgp.mit.edu
http://pgp.mit.edu:11371/pks/lookup?op=vindex&search=0x3C0AC6DAB2F928A2



-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 945 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20120628/25b1df0e/attachment.sig>


More information about the Freeipa-devel mailing list