Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 09 Oct 2016 19:56:33 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 213345] net/samba44: Port version 4.4.5 fails to build on FreeBSD-11.0
Message-ID:  <bug-213345-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D213345

            Bug ID: 213345
           Summary: net/samba44: Port version 4.4.5 fails to build on
                    FreeBSD-11.0
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: timur@FreeBSD.org
          Reporter: arabesc@bk.ru
             Flags: maintainer-feedback?(timur@FreeBSD.org)
          Assignee: timur@FreeBSD.org

Full log: https://pastebin.com/wD7YThd2

There are some errors:


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;
                ^
1 warning generated.
../source3/include/libsmb_internal.h:351:3: error: unknown type name
'smbc_notify_callback_fn'
                smbc_notify_callback_fn cb, void *private_data);
                ^
[2086/3430] Compiling source3/libsmb/libsmb_file.c
3 errors generated.
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: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.
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;
                ^
../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.
../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_da=
ta)
                               ^
../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.


And there are some weird warnings, like this:
[2067/3430] Compiling source4/torture/vfs/fruit.c
../source4/torture/vfs/fruit.c:2836:9: warning: address of array 'h1.data' =
will
always evaluate to 'true' [-Wpointer-bool-conversion]
        if (h1.data) {
        ~~  ~~~^~~~


samba43 has the same issues on FreeBSD-11.0 but it builds fine on FreeBSD-1=
0.3.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-213345-13>