[Bug 245661] net/samba411 build failed

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Apr 16 08:12:29 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=245661

            Bug ID: 245661
           Summary: net/samba411 build failed
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: timur at FreeBSD.org
          Reporter: nick.rozhkov at gmail.com
          Assignee: timur at FreeBSD.org
             Flags: maintainer-feedback?(timur at FreeBSD.org)

System version - FreeBSD 12.1-p2
Port build options for samba

OPTIONS_FILE_SET+=ADS
OPTIONS_FILE_SET+=AD_DC
OPTIONS_FILE_SET+=AESNI
OPTIONS_FILE_SET+=CUPS
OPTIONS_FILE_SET+=DEVELOPER
OPTIONS_FILE_SET+=DOCS
OPTIONS_FILE_SET+=FAM
OPTIONS_FILE_SET+=LDAP
OPTIONS_FILE_SET+=NTVFS
OPTIONS_FILE_SET+=PROFILE
OPTIONS_FILE_SET+=SYSLOG
OPTIONS_FILE_SET+=GSSAPI_BUILTIN
OPTIONS_FILE_SET+=AVAHI
OPTIONS_FILE_SET+=NSUPDATE

Build error message
[3300/4130] Compiling source4/torture/local/nss_tests.c
runner ['cc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-O2', '-pipe',
'-march=native', '-DLIBICONV_PLUG', '-fno-color-diagnostics',
'-fstack-protector-strong', '-DLDAP_DEPRECATED', '-isystem',
'/usr/local/include', '-fno-strict-aliasing', '-fno-omit-frame-pointer',
'-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-DHAVE_CONFIG_H=1',
'-DDEVELOPER', '-DDEBUG_PASSWORD', '-fPIC', '-D__STDC_WANT_LIB_EXT1__=1',
'-D_REENTRANT', '-DDEVELOPER', '-DDEBUG_PASSWORD', '-fstack-protector-strong',
'-g', '-Wall', '-Wshadow', '-Wmissing-prototypes',
'-Wmissing-field-initializers', '-Wformat-zero-length', '-Wcast-align',
'-Wcast-qual', '-fno-common', '-Werror=address', '-Werror=strict-prototypes',
'-Wstrict-prototypes', '-Werror=write-strings', '-Wwrite-strings',
'-Werror-implicit-function-declaration', '-Werror=pointer-arith',
'-Wpointer-arith', '-Werror=declaration-after-statement',
'-Wdeclaration-after-statement', '-Werror=return-type', '-Wreturn-type',
'-Werror=uninitialized', '-Wuninitialized', '-Wimplicit-fallthrough',
'-Werror=strict-overflow', '-Wstrict-overflow=2', '-Wformat=2',
'-Wno-format-y2k', '-Wno-format-zero-length', '-Werror=format-security',
'-Wformat-security', '-Werror=format', '-DSTATIC_TORTURE_LOCAL_MODULES=NULL',
'-DSTATIC_TORTURE_LOCAL_MODULES_PROTO=extern void
__TORTURE_LOCAL_dummy_module_proto(void)', '-Isource4/torture/local',
'-I../../source4/torture/local', '-Iinclude/public', '-I../../include/public',
'-Isource4', '-I../../source4', '-Ilib', '-I../../lib', '-Isource4/lib',
'-I../../source4/lib', '-Isource4/include', '-I../../source4/include',
'-Iinclude', '-I../../include', '-Ilib/replace', '-I../../lib/replace', '-I.',
'-I../..', '-Isource4/auth/kerberos', '-I../../source4/auth/kerberos',
'-Ilib/util/charset', '-I../../lib/util/charset', '-Isource4/torture',
'-I../../source4/torture', '-Ilibrpc', '-I../../librpc', '-Isource4/cluster',
'-I../../source4/cluster', '-Ilib/torture', '-I../../lib/torture',
'-Ilib/socket', '-I../../lib/socket', '-Ilib/ldb/include',
'-I../../lib/ldb/include', '-Ilib/ldb', '-I../../lib/ldb', '-Ilib/krb5_wrap',
'-I../../lib/krb5_wrap', '-Isource4/lib/http', '-I../../source4/lib/http',
'-Isource3', '-I../../source3', '-Isource3/include', '-I../../source3/include',
'-Isource3/lib', '-I../../source3/lib', '-Isource4/heimdal/lib/com_err',
'-I../../source4/heimdal/lib/com_err', '-Isource4/heimdal/lib/krb5',
'-I../../source4/heimdal/lib/krb5', '-Isource4/heimdal/lib/gssapi',
'-I../../source4/heimdal/lib/gssapi', '-Isource4/heimdal_build',
'-I../../source4/heimdal_build', '-Ibin/default/source4/heimdal/lib/asn1',
'-Isource4/heimdal/lib/asn1', '-Isource3/usr/local/include',
'-I../../source3/usr/local/include', '-Isource4/lib/registry',
'-I../../source4/lib/registry', '-Ilib/param', '-I../../lib/param',
'-Ilibcli/auth', '-I../../libcli/auth', '-Isource4/auth/ntlm',
'-I../../source4/auth/ntlm', '-Ilibcli/netlogon', '-I../../libcli/netlogon',
'-Isource4/heimdal/base', '-I../../source4/heimdal/base',
'-Isource4/heimdal/include', '-I../../source4/heimdal/include',
'-Isource4/lib/events', '-I../../source4/lib/events', '-Iauth/credentials',
'-I../../auth/credentials', '-Ithird_party/aesni-intel',
'-I../../third_party/aesni-intel', '-Insswitch/libwbclient',
'-I../../nsswitch/libwbclient', '-Isource4/lib/messaging',
'-I../../source4/lib/messaging', '-Ilib/async_req', '-I../../lib/async_req',
'-Isource4/lib/samba3', '-I../../source4/lib/samba3', '-Isource4/libcli',
'-I../../source4/libcli', '-Isource4/param', '-I../../source4/param',
'-Isource4/lib/stream', '-I../../source4/lib/stream', '-Isource4/lib/socket',
'-I../../source4/lib/socket', '-Iauth/gensec', '-I../../auth/gensec',
'-Ilib/smbconf', '-I../../lib/smbconf', '-Ilibds/common',
'-I../../libds/common', '-Isource4/dsdb', '-I../../source4/dsdb',
'-Isource4/heimdal/lib/hx509', '-I../../source4/heimdal/lib/hx509',
'-Ilib/ldb-samba', '-I../../lib/ldb-samba', '-Idynconfig', '-I../../dynconfig',
'-Iauth/ntlmssp', '-I../../auth/ntlmssp', '-Isource4/auth',
'-I../../source4/auth', '-Ilib/crypto', '-I../../lib/crypto',
'-Ilibcli/drsuapi', '-I../../libcli/drsuapi',
'-Isource4/heimdal/lib/gssapi/gssapi',
'-I../../source4/heimdal/lib/gssapi/gssapi',
'-Isource4/heimdal/lib/gssapi/spnego',
'-I../../source4/heimdal/lib/gssapi/spnego',
'-Isource4/heimdal/lib/gssapi/krb5', '-I../../source4/heimdal/lib/gssapi/krb5',
'-Isource4/heimdal/lib/gssapi/mech', '-I../../source4/heimdal/lib/gssapi/mech',
'-Isource4/librpc', '-I../../source4/librpc', '-Ilibcli/util',
'-I../../libcli/util', '-Isource4/heimdal/lib/asn1',
'-I../../source4/heimdal/lib/asn1', '-Isource4/lib/cmdline',
'-I../../source4/lib/cmdline', '-Isource4/heimdal/lib/roken',
'-I../../source4/heimdal/lib/roken', '-Ilibcli/nbt', '-I../../libcli/nbt',
'-Ilibcli/registry', '-I../../libcli/registry', '-Ilib/compression',
'-I../../lib/compression', '-Ilibcli/smb', '-I../../libcli/smb', '-Ilib/addns',
'-I../../lib/addns', '-Ipython', '-I../../python',
'-Isource4/heimdal/lib/hcrypto', '-I../../source4/heimdal/lib/hcrypto',
'-Isource4/heimdal/lib', '-I../../source4/heimdal/lib', '-Iauth',
'-I../../auth', '-Isource4/libcli/ldap', '-I../../source4/libcli/ldap',
'-Isource4/libcli/wbclient', '-I../../source4/libcli/wbclient',
'-Ilibcli/ldap', '-I../../libcli/ldap', '-Isource4/heimdal/lib/wind',
'-I../../source4/heimdal/lib/wind', '-Ilib/tsocket', '-I../../lib/tsocket',
'-Insswitch', '-I../../nsswitch', '-Ilibcli/dns', '-I../../libcli/dns',
'-Ilibcli/cldap', '-I../../libcli/cldap', '-Ilibcli/security',
'-I../../libcli/security', '-Ilib/dbwrap', '-I../../lib/dbwrap',
'-Iauth/kerberos', '-I../../auth/kerberos',
'-Isource3/param/usr/local/include', '-I../../source3/param/usr/local/include',
'-Isource3/param', '-I../../source3/param', '-Isource4/libcli/smb2',
'-I../../source4/libcli/smb2', '-Ilib/tdr', '-I../../lib/tdr',
'-Isource4/auth/gensec', '-I../../source4/auth/gensec',
'-Isource4/heimdal/lib/hcrypto/libtommath',
'-I../../source4/heimdal/lib/hcrypto/libtommath', '-Ilibcli/lsarpc',
'-I../../libcli/lsarpc', '-Isource3/librpc/usr/local/include',
'-I../../source3/librpc/usr/local/include', '-Isource3/librpc',
'-I../../source3/librpc', '-Isource3/rpc_server/usr/local/include',
'-I../../source3/rpc_server/usr/local/include', '-Isource3/rpc_server',
'-I../../source3/rpc_server', '-Isource4/lib/tls', '-I../../source4/lib/tls',
'-Ilib/pthreadpool', '-I../../lib/pthreadpool', '-Ilib/audit_logging',
'-I../../lib/audit_logging', '-I../../../../../../../local/include',
'-I../../../../../../../local/include/p11-kit-1',
'../../source4/torture/local/nss_tests.c', '-c',
'-o/usr/ports/net/samba411/work/samba-4.11.7/bin/default/source4/torture/local/nss_tests.c.1.o',
'-DLIBICONV_PLUG', '-isystem', '/usr/local/include']
../../source4/torture/ldb/ldb.c:1361:45: warning: format string is not a string
literal [-Wformat-nonliteral]
                        comment = talloc_asprintf(bin_copy.data, comment_fmt,
                                                                 ^~~~~~~~~~~
../../source4/torture/ldb/ldb.c:1607:44: error: format specifies type 'long'
but the argument has type 'clock_t' (aka 'int') [-Werror,-Wformat]
        printf("\n%d pack runs took: %ldms\n", i, diff);
                                     ~~~          ^~~~
                                     %d
../../source4/torture/ldb/ldb.c:1620:44: error: format specifies type 'long'
but the argument has type 'clock_t' (aka 'int') [-Werror,-Wformat]
        printf("%d unpack runs took: %ldms\n", i, diff);
                                     ~~~          ^~~~
                                     %d
1 warning and 2 errors generated.

ldb build info
pkg info ldb20
ldb20-2.0.9
Name           : ldb20
Version        : 2.0.9
Installed on   : Wed Apr 15 23:57:45 2020 EEST
Origin         : databases/ldb20
Architecture   : FreeBSD:12:amd64
Prefix         : /usr/local
Categories     : databases
Licenses       : GPLv3
Maintainer     : timur at FreeBSD.org
WWW            : http://ldb.samba.org/
Comment        : LDAP-like embedded database
Options        :
        DEBUG          : off
        MANPAGES       : off
        PYTHON3        : on
Shared Libs required:
        libtdb.so.1
        libtevent.so.0
        libintl.so.8
        libpopt.so.0
        libldap-2.4.so.2
        libtalloc.so.2
        liblmdb.so.0
        liblber-2.4.so.2
        libpython3.7m.so.1.0
Shared Libs provided:
        libldb-cmdline.so
        libldb-mdb-int.so
        libldb.so.2
        libldb-tdb-err-map.so
        libpyldb-util.so.2
        libldb-tdb-int.so
        libldb-key-value.so
Annotations    :
        FreeBSD_version: 1201000
Flat size      : 1.18MiB
Description    :
ldb is a LDAP-like embedded database.

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


More information about the freebsd-ports-bugs mailing list