Samba 4.3

The Doctor doctor at doctor.nl2k.ab.ca
Wed Mar 22 22:30:04 UTC 2017


On Wed, Mar 22, 2017 at 01:58:58PM -0700, Jack L. wrote:
> I'm seeing
> 
> [2278/3479] Compiling source3/libsmb/libsmb_file.c
> runner cc -O2 -pipe -march=penryn -fno-omit-frame-pointer
> -DLIBICONV_PLUG -fno-color-diagnostics -fstack-protector
> -fno-strict-aliasing -fPIC -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS
> -DSTATIC_smbclient_MODULES=NULL
> -DSTATIC_smbclient_MODULES_PROTO=extern void
> __smbclient_dummy_module_proto(void) -MD -I/usr/local/include
> -DLIBICONV_PLUG -Idefault/source3/libsmb -I../source3/libsmb
> -Idefault/source3 -I../source3 -Idefault/source3/include
> -I../source3/include -Idefault/source3/lib -I../source3/lib
> -Idefault/source4/heimdal/lib/com_err -I../source4/heimdal/lib/com_err
> -Idefault/source4/heimdal/lib/krb5 -I../source4/heimdal/lib/krb5
> -Idefault/source4/heimdal/lib/gssapi -I../source4/heimdal/lib/gssapi
> -Idefault/source4/heimdal_build -I../source4/heimdal_build
> -Idefault/bin/default/source4/heimdal/lib/asn1
> -Idefault/source4/heimdal/lib/asn1 -Idefault
> -I../../../../../../../../local/include -Idefault/include/public
> -I../include/public -Idefault/source4 -I../source4 -Idefault/lib
> -I../lib -Idefault/source4/lib -I../source4/lib
> -Idefault/source4/include -I../source4/include -Idefault/include
> -I../include -Idefault/lib/replace -I../lib/replace -Idefault -I..
> -Idefault/source4/heimdal/lib/roken -I../source4/heimdal/lib/roken
> -Idefault/source4/heimdal/include -I../source4/heimdal/include
> -Idefault/source4/heimdal/lib/hcrypto/libtommath
> -I../source4/heimdal/lib/hcrypto/libtommath -Idefault/libcli/ldap
> -I../libcli/ldap -Idefault/librpc -I../librpc -Idefault/lib/param
> -I../lib/param -Idefault/source4/dsdb -I../source4/dsdb
> -Idefault/source4/librpc -I../source4/librpc -Idefault/libcli/auth
> -I../libcli/auth -Idefault/lib/addns -I../lib/addns
> -Idefault/auth/gensec -I../auth/gensec -Idefault/auth/credentials
> -I../auth/credentials -Idefault/lib/krb5_wrap -I../lib/krb5_wrap
> -Idefault/source4/heimdal/base -I../source4/heimdal/base
> -Idefault/source4/lib/socket -I../source4/lib/socket
> -Idefault/libcli/registry -I../libcli/registry
> -Idefault/source4/lib/http -I../source4/lib/http -Idefault/libcli/util
> -I../libcli/util -Idefault/source4/auth/kerberos
> -I../source4/auth/kerberos -Idefault/source4/param -I../source4/param
> -Idefault/lib/socket -I../lib/socket -Idefault/lib/util/charset
> -I../lib/util/charset -Idefault/source4/lib/events
> -I../source4/lib/events -Idefault/source3/lib/poll_funcs
> -I../source3/lib/poll_funcs -Idefault/lib/async_req -I../lib/async_req
> -Idefault/source4/auth/gensec -I../source4/auth/gensec
> -Idefault/lib/ldb-samba -I../lib/ldb-samba
> -Idefault/nsswitch/libwbclient -I../nsswitch/libwbclient
> -Idefault/source4/heimdal/lib/asn1 -I../source4/heimdal/lib/asn1
> -Idefault/libcli/nbt -I../libcli/nbt
> -Idefault/source4/heimdal/lib/gssapi/gssapi
> -I../source4/heimdal/lib/gssapi/gssapi
> -Idefault/source4/heimdal/lib/gssapi/spnego
> -I../source4/heimdal/lib/gssapi/spnego
> -Idefault/source4/heimdal/lib/gssapi/krb5
> -I../source4/heimdal/lib/gssapi/krb5
> -Idefault/source4/heimdal/lib/gssapi/mech
> -I../source4/heimdal/lib/gssapi/mech -Idefault/source4/auth
> -I../source4/auth -Idefault/source4/heimdal/lib/hx509
> -I../source4/heimdal/lib/hx509 -Idefault/lib/dbwrap -I../lib/dbwrap
> -Idefault/source3/lib/pthreadpool -I../source3/lib/pthreadpool
> -Idefault/libcli/netlogon -I../libcli/netlogon
> -Idefault/libcli/security -I../libcli/security -Idefault/nsswitch
> -I../nsswitch -Idefault/libcli/drsuapi -I../libcli/drsuapi
> -Idefault/lib/tsocket -I../lib/tsocket
> -Idefault/source4/heimdal/lib/wind -I../source4/heimdal/lib/wind
> -Idefault/source4/lib/tls -I../source4/lib/tls -Idefault/libds/common
> -I../libds/common -Idefault/source4/heimdal/lib/hcrypto
> -I../source4/heimdal/lib/hcrypto -Idefault/source4/heimdal/lib
> -I../source4/heimdal/lib -Idefault/source3/librpc -I../source3/librpc
> -Idefault/auth/ntlmssp -I../auth/ntlmssp -Idefault/auth/kerberos
> -I../auth/kerberos -Idefault/auth -I../auth -Idefault/libcli/cldap
> -I../libcli/cldap -Idefault/source4/libcli -I../source4/libcli
> -Idefault/libcli/smb -I../libcli/smb -Idefault/libcli/lsarpc
> -I../libcli/lsarpc -Idefault/source4/libcli/ldap
> -I../source4/libcli/ldap -Idefault/dynconfig -I../dynconfig
> -Idefault/source3/param -I../source3/param -Idefault/lib/compression
> -I../lib/compression -Idefault/source4/lib/stream
> -I../source4/lib/stream -Idefault/source3/lib/unix_msg
> -I../source3/lib/unix_msg -Idefault/lib/crypto -I../lib/crypto
> -Idefault/lib/smbconf -I../lib/smbconf -I/usr/local/include
> -D_SAMBA_BUILD_=4 -DHAVE_CONFIG_H=1 -D_GNU_SOURCE=1
> -D_XOPEN_SOURCE_EXTENDED=1 ../source3/libsmb/libsmb_file.c -c -o
> default/source3/libsmb/libsmb_file_1.o
> In file included from ../source3/libsmb/libsmb_cache.c:26:
> ../source3/include/libsmb_internal.h:249:17: error: unknown type name
> 'smbc_splice_fn'
>                 smbc_splice_fn                  splice_fn;
>                 ^
> ../source3/include/libsmb_internal.h:250:3: error: unknown type name
> 'smbc_notify_fn'
>                 smbc_notify_fn                  notify_fn;
>                 ^
> ../source3/include/libsmb_internal.h:351:3: error: unknown type name
> 'smbc_notify_callback_fn'
>                 smbc_notify_callback_fn cb, void *private_data);
>                 ^
> 3 errors generated.
> In file included from ../source3/libsmb/libsmb_dir.c:29:
> ../source3/include/libsmb_internal.h:249:17: error: unknown type name
> 'smbc_splice_fn'
>                 smbc_splice_fn                  splice_fn;
>                 ^
> ../source3/include/libsmb_internal.h:250:3: error: unknown type name
> 'smbc_notify_fn'
>                 smbc_notify_fn                  notify_fn;
>                 ^
> ../source3/include/libsmb_internal.h:351:3: error: unknown type name
> 'smbc_notify_callback_fn'
>                 smbc_notify_callback_fn cb, void *private_data);
>                 ^
> In file included from ../source3/libsmb/libsmb_file.c:28:
> ../source3/include/libsmb_internal.h:249:17: error: unknown type name
> 'smbc_splice_fn'
>                 smbc_splice_fn                  splice_fn;
>                 ^
> In file included from ../source3/libsmb/libsmb_context.c:28:
> ../source3/include/libsmb_internal.h:249:17: error: unknown type name
> 'smbc_splice_fn'
>                 smbc_splice_fn                  splice_fn;
>                 ^
> ../source3/include/libsmb_internal.h:250:3: error: unknown type name
> 'smbc_notify_fn'
>                 smbc_notify_fn                  notify_fn;
>                 ^
> ../source3/include/libsmb_internal.h:250:3: error: unknown type name
> 'smbc_notify_fn'
>                 smbc_notify_fn                  notify_fn;
>                 ^
> ../source3/include/libsmb_internal.h:351:3: error: unknown type name
> 'smbc_notify_callback_fn'
>                 smbc_notify_callback_fn cb, void *private_data);
>                 ^
> ../source3/include/libsmb_internal.h:351:3: error: unknown type name
> 'smbc_notify_callback_fn'
>                 smbc_notify_callback_fn cb, void *private_data);
>                 ^
> ../source3/libsmb/libsmb_context.c:170:9: warning: implicit
> declaration of function 'smbc_setPort' is invalid in C99
>       [-Wimplicit-function-declaration]
>         smbc_setPort(context, 0);
>         ^
> ../source3/libsmb/libsmb_context.c:197:9: warning: implicit
> declaration of function 'smbc_setFunctionSplice' is
>       invalid in C99 [-Wimplicit-function-declaration]
>         smbc_setFunctionSplice(context, SMBC_splice_ctx);
>         ^
> ../source3/libsmb/libsmb_context.c:217:9: warning: implicit
> declaration of function 'smbc_setFunctionNotify' is
>       invalid in C99 [-Wimplicit-function-declaration]
>         smbc_setFunctionNotify(context, SMBC_notify_ctx);
>         ^
> 3 warnings and 3 errors generated.
> 3 errors generated.
> ../source3/libsmb/libsmb_dir.c:2059:2: error: unknown type name
> 'smbc_notify_callback_fn'
>         smbc_notify_callback_fn cb;
>         ^
> ../source3/libsmb/libsmb_dir.c:2070:2: error: unknown type name
> 'smbc_notify_callback_fn'
>         smbc_notify_callback_fn cb, void *private_data)
>         ^
> ../source3/libsmb/libsmb_dir.c:2130:45: error: array has incomplete
> element type 'struct smbc_notify_callback_action'
>                 struct smbc_notify_callback_action actions[num_changes];
>                                                           ^
> ../source3/libsmb/libsmb_dir.c:2130:10: note: forward declaration of
> 'struct smbc_notify_callback_action'
>                 struct smbc_notify_callback_action actions[num_changes];
>                        ^
> ../source3/libsmb/libsmb_dir.c:2197:11: error: unknown type name
> 'smbc_notify_callback_fn'
>                                smbc_notify_callback_fn cb, void *private_data)
>                                ^
> ../source3/libsmb/libsmb_dir.c:2227:3: error: unknown type name
> 'smbc_notify_callback_fn'
>                 smbc_notify_callback_fn cb, void *private_data)
>                 ^
> 8 errors generated.
> Waf: Leaving directory `/usr/obj/usr/ports/net/samba43/work/samba-4.3.13/bin'
> Build failed:
>  -> task failed (err #1):
>         {task: cc libsmb_cache.c -> libsmb_cache_1.o}
>  -> task failed (err #1):
>         {task: cc libsmb_context.c -> libsmb_context_1.o}
>  -> task failed (err #1):
>         {task: cc libsmb_file.c -> libsmb_file_1.o}
>  -> task failed (err #1):
>         {task: cc libsmb_dir.c -> libsmb_dir_1.o}
> ===> Compilation failed unexpectedly.
> 
> 
> with
> 
> 
> # This file is auto-generated by 'make config'.
> # Options for samba43-4.3.13_2
> _OPTIONS_READ=samba43-4.3.13_2
> _FILE_COMPLETE_OPTIONS_LIST=ACL_SUPPORT ADS AD_DC AIO_SUPPORT CUPS
> DEBUG DEVELOPER DNSUPDATE DOCS EXP_MODULES FAM LDAP MANPAGES
> PAM_SMBPASS PTHREADPOOL QUOTAS SYSLOG UTMP NSUPDATE BIND99 BIND910
> AVAHI MDNSRESPONDER
> OPTIONS_FILE_SET+=ACL_SUPPORT
> OPTIONS_FILE_UNSET+=ADS
> OPTIONS_FILE_UNSET+=AD_DC
> OPTIONS_FILE_SET+=AIO_SUPPORT
> OPTIONS_FILE_UNSET+=CUPS
> OPTIONS_FILE_UNSET+=DEBUG
> OPTIONS_FILE_UNSET+=DEVELOPER
> OPTIONS_FILE_UNSET+=DNSUPDATE
> OPTIONS_FILE_UNSET+=DOCS
> OPTIONS_FILE_UNSET+=EXP_MODULES
> OPTIONS_FILE_SET+=FAM
> OPTIONS_FILE_UNSET+=LDAP
> OPTIONS_FILE_UNSET+=MANPAGES
> OPTIONS_FILE_UNSET+=PAM_SMBPASS
> OPTIONS_FILE_SET+=PTHREADPOOL
> OPTIONS_FILE_UNSET+=QUOTAS
> OPTIONS_FILE_UNSET+=SYSLOG
> OPTIONS_FILE_SET+=UTMP
> OPTIONS_FILE_UNSET+=NSUPDATE
> OPTIONS_FILE_UNSET+=BIND99
> OPTIONS_FILE_UNSET+=BIND910
> OPTIONS_FILE_UNSET+=AVAHI
> OPTIONS_FILE_UNSET+=MDNSRESPONDER
> 
> On Wed, Mar 22, 2017 at 1:40 PM, The Doctor <doctor at doctor.nl2k.ab.ca> wrote:
> > All right anyone seeing a failure in compilation
> > due to a GSSAPI call?

And I get 

...

In file included from ../lib/addns/dnssock.c:26:
In file included from ../lib/addns/dns.h:31:
In file included from ../lib/replace/system/gssapi.h:47:
../source4/heimdal/lib/gssapi/gssapi/gssapi_spnego.h:41:1: error: unknown type
      name 'GSSAPI_CPP_START'
      GSSAPI_CPP_START
      ^
      ../source4/heimdal/lib/gssapi/gssapi/gssapi_spnego.h:49:1: error: expected
	    identifier or '('
	    extern GSSAPI_LIB_VARIABLE gss_OID_desc __gss_spnego_mechanism_oid_desc;
	    ^
	    ../source4/heimdal/lib/gssapi/gssapi/gssapi_spnego.h:53:1: error: unknown type
		  name 'GSSAPI_CPP_END'
		  GSSAPI_CPP_END
		  ^
		  In file included from ../lib/addns/dnssock.c:26:
		  In file included from ../lib/addns/dns.h:41:
		  /usr/include/fcntl.h:271:1: error: expected identifier or '('
		  struct flock {
		  ^
		  In file included from ../lib/addns/dnsgss.c:25:
		  In file included from ../lib/addns/dns.h:31:
		  In file included from ../lib/replace/system/gssapi.h:47:
		  ../source4/heimdal/lib/gssapi/gssapi/gssapi_spnego.h:41:1: error: unknown type
			name 'GSSAPI_CPP_START'
			GSSAPI_CPP_START
			^
			../source4/heimdal/lib/gssapi/gssapi/gssapi_spnego.h:49:1: error: expected
			      identifier or '('
			      extern GSSAPI_LIB_VARIABLE gss_OID_desc __gss_spnego_mechanism_oid_desc;
			      ^
			      4 errors generated.
			      ../source4/heimdal/lib/gssapi/gssapi/gssapi_spnego.h:53:1: error: unknown type
				    name 'GSSAPI_CPP_END'
				    GSSAPI_CPP_END
				    ^
				    In file included from ../lib/addns/dnsgss.c:25:
				    In file included from ../lib/addns/dns.h:41:
				    /usr/include/fcntl.h:271:1: error: expected identifier or '('
				    struct flock {
				    ^
				    4 errors generated.
				    In file included from ../lib/addns/dnsmarshall.c:23:
				    In file included from ../lib/addns/dns.h:31:
				    In file included from ../lib/replace/system/gssapi.h:47:
				    ../source4/heimdal/lib/gssapi/gssapi/gssapi_spnego.h:41:1: error: unknown type
					  name 'GSSAPI_CPP_START'
					  GSSAPI_CPP_START
					  ^
					  ../source4/heimdal/lib/gssapi/gssapi/gssapi_spnego.h:49:1: error: expected
						identifier or '('
						extern GSSAPI_LIB_VARIABLE gss_OID_desc __gss_spnego_mechanism_oid_desc;
						^
						In file included from ../lib/addns/dnsutils.c:29:
						In file included from ../lib/addns/dns.h:31:
						In file included from ../lib/replace/system/gssapi.h:47:
						../source4/heimdal/lib/gssapi/gssapi/gssapi_spnego.h:41:1: error: unknown type
						      name 'GSSAPI_CPP_START'
						      GSSAPI_CPP_START
						      ^
						      ../source4/heimdal/lib/gssapi/gssapi/gssapi_spnego.h:49:1: error: expected
							    identifier or '('
							    extern GSSAPI_LIB_VARIABLE gss_OID_desc __gss_spnego_mechanism_oid_desc;
							    ^
							    ../source4/heimdal/lib/gssapi/gssapi/gssapi_spnego.h:53:1: error: unknown type
								  name 'GSSAPI_CPP_END'
								  GSSAPI_CPP_END
								  ^
								  In file included from ../lib/addns/dnsmarshall.c:23:
								  In file included from ../lib/addns/dns.h:41:
								  /usr/include/fcntl.h:271:1: error: expected identifier or '('
								  struct flock {
								  ^
								  ../source4/heimdal/lib/gssapi/gssapi/gssapi_spnego.h:53:1: error: unknown type
									name 'GSSAPI_CPP_END'
									GSSAPI_CPP_END
									^
									In file included from ../lib/addns/dnsutils.c:29:
									In file included from ../lib/addns/dns.h:41:
									/usr/include/fcntl.h:271:1: error: expected identifier or '('
									struct flock {
									^
									4 errors generated.
									4 errors generated.
									In file included from ../lib/addns/error.c:23:
									In file included from ../lib/addns/dns.h:31:
									In file included from ../lib/replace/system/gssapi.h:47:
									../source4/heimdal/lib/gssapi/gssapi/gssapi_spnego.h:41:1: error: unknown type
									      name 'GSSAPI_CPP_START'
									      GSSAPI_CPP_START
									      ^
									      ../source4/heimdal/lib/gssapi/gssapi/gssapi_spnego.h:49:1: error: expected
										    identifier or '('
										    extern GSSAPI_LIB_VARIABLE gss_OID_desc __gss_spnego_mechanism_oid_desc;
										    ^
										    ../source4/heimdal/lib/gssapi/gssapi/gssapi_spnego.h:53:1: error: unknown type
											  name 'GSSAPI_CPP_END'
											  GSSAPI_CPP_END
											  ^
											  In file included from ../lib/addns/error.c:23:
											  In file included from ../lib/addns/dns.h:41:
											  /usr/include/fcntl.h:271:1: error: expected identifier or '('
											  struct flock {
											  ^
											  4 errors generated.
											  Waf: Leaving directory `/usr/ports/net/samba43/work/samba-4.3.13/bin'
											  Build failed:
											   -> task failed (err #1):
												   {task: cc dnsrecord.c -> dnsrecord_1.o}
												    -> task failed (err #1):
													    {task: cc dnssock.c -> dnssock_1.o}
													     -> task failed (err #1):
														     {task: cc dnsgss.c -> dnsgss_1.o}
														      -> task failed (err #1):
															      {task: cc dnsutils.c -> dnsutils_1.o}
															       -> task failed (err #1):
																       {task: cc dnsmarshall.c -> dnsmarshall_1.o}
																	-> task failed (err #1):
																		{task: cc error.c -> error_1.o}
																		  File "buildtools/bin/waf", line 76, in <module>
																			  Scripting.prepare(t, cwd, VERSION, wafdir)
																			    File "/usr/ports/net/samba43/work/samba-4.3.13/third_party/waf/wafadmin/Scripting.py", line 147, in prepare
																				    error(str(e))
																				    ===> Compilation failed unexpectedly.
																				    Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
																				    the maintainer.
																				    *** Error code 1

																				    Stop.
																				    make[1]: stopped in /usr/ports/net/samba43
																				    *** Error code 1

																				    Stop.
																				    make: stopped in /usr/ports/net/samba43

																				    ===>>> make build failed for net/samba43
																				    ===>>> Aborting update

																				    ===>>> Update for net/samba43 failed
																				    ===>>> Aborting update


																				    ===>>> You can restart from the point of failure with this command line:
																					   portmaster <flags> net/samba43

																					   This command has been saved to /tmp/portmasterfail.txt


> > --
> > Member - Liberal International This is doctor@@nl2k.ab.ca Ici doctor@@nl2k.ab.ca
> > Yahweh, Queen & country!Never Satan President Republic!Beware AntiChrist rising!
> > http://www.fullyfollow.me/rootnl2k  Look at Psalms 14 and 53 on Atheism
> > God is dead! Yahweh lives! Jesus his only begotten Son is the Risen Saviour!!
> > _______________________________________________
> > freebsd-ports at freebsd.org mailing list
> > https://lists.freebsd.org/mailman/listinfo/freebsd-ports
> > To unsubscribe, send any mail to "freebsd-ports-unsubscribe at freebsd.org"
> _______________________________________________
> freebsd-ports at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscribe at freebsd.org"

-- 
Member - Liberal International This is doctor@@nl2k.ab.ca Ici doctor@@nl2k.ab.ca
Yahweh, Queen & country!Never Satan President Republic!Beware AntiChrist rising!
http://www.fullyfollow.me/rootnl2k  Look at Psalms 14 and 53 on Atheism
God is dead! Yahweh lives! Jesus his only begotten Son is the Risen Saviour!!


More information about the freebsd-ports mailing list