Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Apr 2020 08:12:28 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 245661] net/samba411 build failed
Message-ID:  <bug-245661-7788@https.bugs.freebsd.org/bugzilla/>

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

            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@FreeBSD.org
          Reporter: nick.rozhkov@gmail.com
          Assignee: timur@FreeBSD.org
             Flags: maintainer-feedback?(timur@FreeBSD.org)

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

OPTIONS_FILE_SET+=3DADS
OPTIONS_FILE_SET+=3DAD_DC
OPTIONS_FILE_SET+=3DAESNI
OPTIONS_FILE_SET+=3DCUPS
OPTIONS_FILE_SET+=3DDEVELOPER
OPTIONS_FILE_SET+=3DDOCS
OPTIONS_FILE_SET+=3DFAM
OPTIONS_FILE_SET+=3DLDAP
OPTIONS_FILE_SET+=3DNTVFS
OPTIONS_FILE_SET+=3DPROFILE
OPTIONS_FILE_SET+=3DSYSLOG
OPTIONS_FILE_SET+=3DGSSAPI_BUILTIN
OPTIONS_FILE_SET+=3DAVAHI
OPTIONS_FILE_SET+=3DNSUPDATE

Build error message
[3300/4130] Compiling source4/torture/local/nss_tests.c
runner ['cc', '-D_SAMBA_BUILD_=3D4', '-DHAVE_CONFIG_H=3D1', '-O2', '-pipe',
'-march=3Dnative', '-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=3D1', '-D_XOPEN_SOURCE_EXTENDED=3D1', '-DHAVE_CONFIG=
_H=3D1',
'-DDEVELOPER', '-DDEBUG_PASSWORD', '-fPIC', '-D__STDC_WANT_LIB_EXT1__=3D1',
'-D_REENTRANT', '-DDEVELOPER', '-DDEBUG_PASSWORD', '-fstack-protector-stron=
g',
'-g', '-Wall', '-Wshadow', '-Wmissing-prototypes',
'-Wmissing-field-initializers', '-Wformat-zero-length', '-Wcast-align',
'-Wcast-qual', '-fno-common', '-Werror=3Daddress', '-Werror=3Dstrict-protot=
ypes',
'-Wstrict-prototypes', '-Werror=3Dwrite-strings', '-Wwrite-strings',
'-Werror-implicit-function-declaration', '-Werror=3Dpointer-arith',
'-Wpointer-arith', '-Werror=3Ddeclaration-after-statement',
'-Wdeclaration-after-statement', '-Werror=3Dreturn-type', '-Wreturn-type',
'-Werror=3Duninitialized', '-Wuninitialized', '-Wimplicit-fallthrough',
'-Werror=3Dstrict-overflow', '-Wstrict-overflow=3D2', '-Wformat=3D2',
'-Wno-format-y2k', '-Wno-format-zero-length', '-Werror=3Dformat-security',
'-Wformat-security', '-Werror=3Dformat', '-DSTATIC_TORTURE_LOCAL_MODULES=3D=
NULL',
'-DSTATIC_TORTURE_LOCAL_MODULES_PROTO=3Dextern void
__TORTURE_LOCAL_dummy_module_proto(void)', '-Isource4/torture/local',
'-I../../source4/torture/local', '-Iinclude/public', '-I../../include/publi=
c',
'-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/inclu=
de',
'-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../../dynconf=
ig',
'-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/kr=
b5',
'-Isource4/heimdal/lib/gssapi/mech', '-I../../source4/heimdal/lib/gssapi/me=
ch',
'-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/add=
ns',
'-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/inclu=
de',
'-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/lo=
cal/nss_tests.c.1.o',
'-DLIBICONV_PLUG', '-isystem', '/usr/local/include']
../../source4/torture/ldb/ldb.c:1361:45: warning: format string is not a st=
ring
literal [-Wformat-nonliteral]
                        comment =3D 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@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.

--=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-245661-7788>