Bug 6918 - Build breaks with krb5-client-1.7-6.1.i586
Build breaks with krb5-client-1.7-6.1.i586
Status: RESOLVED FIXED
Product: Samba 3.4
Classification: Unclassified
Component: Build environment
3.4.3
x86 Linux
: P3 normal
: ---
Assigned To: Björn Jacke
Samba QA Contact
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-11-23 04:19 UTC by Karolin Seeger
Modified: 2009-11-24 06:14 UTC (History)
0 users

See Also:


Attachments
Fix for the krb5_auth_con_set_req_cksumtype message (from master) (1.77 KB, patch)
2009-11-23 04:22 UTC, Karolin Seeger
gd: review+
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Karolin Seeger 2009-11-23 04:19:46 UTC
Build breaks on OpenSUSE 11.2.

user@host:/data/git/samba/v3-4-test/source3> ./autogen.sh && ./configure.developer --with-pam && make everything
[...]
Compiling libsmb/clikrb5.c
libsmb/clikrb5.c: In function ‘get_krb5_smb_session_key’:
libsmb/clikrb5.c:887: warning: ‘krb5_auth_con_getremotesubkey’ is deprecated (declared at /usr/include/krb5/krb5.h:2167)
libsmb/clikrb5.c:889: warning: ‘krb5_auth_con_getlocalsubkey’ is deprecated (declared at /usr/include/krb5/krb5.h:2162)
libsmb/clikrb5.c: In function ‘smb_krb5_kt_free_entry’:
libsmb/clikrb5.c:928: error: implicit declaration of function ‘krb5_kt_free_entry’
libsmb/clikrb5.c: In function ‘ads_krb5_get_fwd_ticket’:
libsmb/clikrb5.c:1913: error: implicit declaration of function ‘krb5_auth_con_set_req_cksumtype’
The following command failed:
gcc -g -g -Wall -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -DDEBUG_PASSWORD -DDEVELOPER -Wdeclaration-after-statement -Werror-implicit-function-declaration -I. -I/data/git/samba/v3-4-test/source3 -Iinclude -I./include  -I. -I. -I./../lib/replace -I./../lib/talloc -I./../lib/tevent -I./../lib/tdb/include -I./libaddns -I./librpc -I./.. -DHAVE_CONFIG_H  -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -Iinclude -I./include -I. -I. -I./../lib/replace -I./../lib/talloc -I./../lib/tevent -I./../lib/tdb/include -I./libaddns -I./librpc -I./.. -I./../lib/popt -DLDAP_DEPRECATED  -I/data/git/samba/v3-4-test/source3/lib -I.. -I../source4 -D_SAMBA_BUILD_=3 -D_SAMBA_BUILD_=3 -fPIC -c libsmb/clikrb5.c -o libsmb/clikrb5.o
make: *** [libsmb/clikrb5.o] Fehler 1
Comment 1 Karolin Seeger 2009-11-23 04:21:09 UTC
The krb5_auth_con_set_req_cksumtype message is already fixed with commit a6e4cb500b in master.

Comment 2 Karolin Seeger 2009-11-23 04:22:50 UTC
Created attachment 4978 [details]
Fix for the krb5_auth_con_set_req_cksumtype message (from master)
Comment 3 Karolin Seeger 2009-11-23 04:29:47 UTC
Remaining error messages:

user@host:/data/git/samba/v3-4-test/source3> ./autogen.sh &&
./configure.developer --with-pam && make everything
[...]
Compiling libsmb/clikrb5.c
libsmb/clikrb5.c: In function ‘get_krb5_smb_session_key’:
libsmb/clikrb5.c:887: warning: ‘krb5_auth_con_getremotesubkey’ is deprecated (declared at /usr/include/krb5/krb5.h:2167)
libsmb/clikrb5.c:889: warning: ‘krb5_auth_con_getlocalsubkey’ is deprecated (declared at /usr/include/krb5/krb5.h:2162)
libsmb/clikrb5.c: In function ‘smb_krb5_kt_free_entry’:
libsmb/clikrb5.c:928: error: implicit declaration of function ‘krb5_kt_free_entry’
The following command failed:
gcc -g -g -Wall -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -DDEBUG_PASSWORD -DDEVELOPER -Wdeclaration-after-statement -Werror-implicit-function-declaration -I. -I/data/git/samba/v3-4-test/source3 -Iinclude -I./include  -I. -I. -I./../lib/replace -I./../lib/talloc -I./../lib/tevent -I./../lib/tdb/include -I./libaddns -I./librpc -I./.. -DHAVE_CONFIG_H  -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -Iinclude -I./include -I. -I. -I./../lib/replace -I./../lib/talloc -I./../lib/tevent -I./../lib/tdb/include -I./libaddns -I./librpc -I./.. -I./../lib/popt -DLDAP_DEPRECATED  -I/data/git/samba/v3-4-test/source3/lib -I.. -I../source4 -D_SAMBA_BUILD_=3 -D_SAMBA_BUILD_=3 -fPIC -c libsmb/clikrb5.c -o libsmb/clikrb5.o
make: *** [libsmb/clikrb5.o] Fehler 1
Comment 4 Karolin Seeger 2009-11-23 04:37:25 UTC
(In reply to comment #2)
> Created an attachment (id=4978) [details]
> Fix for the krb5_auth_con_set_req_cksumtype message (from master)
> 

Pushed to v3-3-test and v3-4-test.
Comment 5 Guenther Deschner 2009-11-24 05:34:38 UTC
Remaining patch is b65ba0e26c781647e097f3f6fa279c7f3f7f4bd2 in master. Someone forgot to make sure this ends in the other branches :-(
Comment 6 Karolin Seeger 2009-11-24 06:14:54 UTC
Pushed to v3-3-test and v3-4-test.
Closing out bug report.

Thanks for investigating, Günther!