Samba44-4.4.5 upgrade to 4.4.8 failure

Don Zavitz don at zavitz.ca
Thu Dec 29 23:23:00 UTC 2016


I've tried doing rmconfig and rebuilding with default port options, with 
failure. I also have tried building with these options...

===> The following configuration options are available for samba44-4.4.8:
      ACL_SUPPORT=on: File system ACL support
      ADS=off: Active Directory client support
      AD_DC=off: Active Directory Domain Controller support
      CUPS=off: CUPS printing system support
      DEBUG=on: Build with debugging support
      DEVELOPER=off: With development support
      DNSUPDATE=off: Dynamic DNS update (require ADS)
      DOCS=on: Build and/or install documentation
      EXP_MODULES=off: Experimental modules
      FAM=on: File Alteration Monitor support
      LDAP=off: LDAP client support
      MANPAGES=off: Build manpages from DOCBOOK templates
      PTHREADPOOL=on: Pthread pool
      QUOTAS=on: Disk quota support
      SYSLOG=on: Syslog logging support
      UTMP=on: UTMP accounting support
====> Options available for the radio DNS: you can only select none or 
one of them
      NSUPDATE=off: Use samba NSUPDATE utility for AD DC
      BIND99=off: Use bind99 as AD DC DNS server frontend
      BIND910=off: Use bind910 as AD DC DNS server frontend
====> Options available for the radio ZEROCONF: you can only select none 
or one of them
      AVAHI=off: Zeroconf support via Avahi
      MDNSRESPONDER=off: Zeroconf support via mDNSResponder



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;
                 ^
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/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/include/libsmb_internal.h:250:3: error: unknown type 
name../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);
         ^
'smbc_notify_fn'
                 smbc_notify_fn                  notify_fn;
                 ^
../source3/include/libsmb_internal.h:250:3:../source3/libsmb/libsmb_context.c 
error: unknown type name 'smbc_notify_fn'
                 smbc_notify_fn                  notify_fn;
                 ^
: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.
../source3/include/libsmb_internal.h:351:3: 
error../source3/include/libsmb_internal.h:351:3: error: unknown type 
name 'smbc_notify_callback_fn'
:                 smbc_notify_callback_fn cb, void *private_data);
                 ^
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_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_misc.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);
                 ^
3 errors generated.
In file included from ../source3/libsmb/libsmb_path.c:27:
../source3/include/libsmb_internal.h:249:17: error: unknown type name 
'smbc_splice_fn'
                 smbc_splice_fn                  splice_fn;
                 ^
3 errors generated.
../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/libsmb/libsmb_path.c:243:12: warning: implicit declaration of 
function 'smbc_getPort' is invalid in C99
       [-Wimplicit-function-declaration]
         *p_port = smbc_getPort(context);
                   ^
1 warning and 3 errors generated.
../source3/libsmb/libsmb_dir.c:2059:2: error: unknown type name 
'smbc_notify_callback_fn'
         smbc_notify_callback_fn cb;
         ^
In file included from ../source3/libsmb/libsmb_printjob.c:28:
../source3/include/libsmb_internal.h:249:17: error: unknown type name 
'smbc_splice_fn'
                 smbc_splice_fn                  splice_fn;
                 ^
../source3/libsmb/libsmb_dir.c:2070:2: error: unknown type name 
'smbc_notify_callback_fn'
         smbc_notify_callback_fn cb, void *private_data)
         ^
../source3/include/libsmb_internal.h:250:3: error: unknown type name 
'smbc_notify_fn'
                 smbc_notify_fn                  notify_fn;
                 ^
../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/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_dir.c:2197:11: error: unknown type name 
'smbc_notify_callback_fn'
                                smbc_notify_callback_fn cb, void 
*private_data)
                                ^
3 errors generated.
../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.
In file included from ../source3/libsmb/libsmb_server.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);
                 ^
../source3/libsmb/libsmb_server.c:439:6: warning: implicit declaration 
of function 'smbc_getOptionUseNTHash' is
       invalid in C99 [-Wimplicit-function-declaration]
         if (smbc_getOptionUseNTHash(context)) {
             ^
1 warning and 3 errors generated.
Waf: Leaving directory `/usr/ports/net/samba44/work/samba-4.4.8/bin'
Build failed:
  -> task failed (err #1):
     {task: cc libsmb_context.c -> libsmb_context_1.o}
  -> task failed (err #1):
     {task: cc libsmb_cache.c -> libsmb_cache_1.o}
  -> task failed (err #1):
     {task: cc libsmb_misc.c -> libsmb_misc_1.o}
  -> task failed (err #1):
     {task: cc libsmb_file.c -> libsmb_file_1.o}
  -> task failed (err #1):
     {task: cc libsmb_path.c -> libsmb_path_1.o}
  -> task failed (err #1):
     {task: cc libsmb_printjob.c -> libsmb_printjob_1.o}
  -> task failed (err #1):
     {task: cc libsmb_dir.c -> libsmb_dir_1.o}
  -> task failed (err #1):
     {task: cc libsmb_server.c -> libsmb_server_1.o}
   File "buildtools/bin/waf", line 76, in <module>
     Scripting.prepare(t, cwd, VERSION, wafdir)
   File 
"/usr/ports/net/samba44/work/samba-4.4.8/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: stopped in /usr/ports/net/samba44

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

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



More information about the freebsd-ports mailing list