Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Jul 2019 01:19:44 +0200
From:      "Timur I. Bakeyev" <timur@freebsd.org>
To:        Piotr Kubaj <pkubaj@anongoth.pl>
Cc:        Antoine Brodin <antoine@freebsd.org>, ports-committers <ports-committers@freebsd.org>,  svn-ports-all <svn-ports-all@freebsd.org>, svn-ports-head <svn-ports-head@freebsd.org>
Subject:   Re: svn commit: r505764 - in head/net/samba48: . files
Message-ID:  <CALdFvJEm6ZGjkT4GMB6nsYvfALMmi2AxgpBFVY7UaBLP_RQuFg@mail.gmail.com>
In-Reply-To: <20190703194100.GC16913@ThinkPad-X200.g.anongoth.pl>
References:  <201907031652.x63GqolG081167@repo.freebsd.org> <CAALwa8nVvr9GD3_-GZp7FNr4AR-2SJWfOsv%2BqVoiRDfHR9H62Q@mail.gmail.com> <20190703194100.GC16913@ThinkPad-X200.g.anongoth.pl>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi, Peter!

On Wed, 3 Jul 2019 at 21:41, Piotr Kubaj <pkubaj@anongoth.pl> wrote:

> It also breaks build with GCC, which makes many ports to be skipped:
> [3549/3938] Linking default/source4/lib/registry/regshell
> runner gcc8 default/source4/lib/registry/tools/regshell_14.o
> default/source4/lib/cmdline/popt_common_5.o
> default/libcli/smbreadline/smbreadline_1.o
> default/source4/lib/cmdline/popt_credentials_6.o
> default/source4/lib/registry/tools/common_6.o -o
> /wrkdirs/usr/ports/net/samba48/work/samba-4.8.12/bin/default/source4/lib/registry/regshell
> -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc8
> -L/usr/local/lib/gcc8 -L/usr/local/lib -pie -Wl,-z,relro,-z,now -lpthread
> -Wl,-no-undefined -Wl,--export-dynamic -Wl,--as-needed -fstack-protector
> -Ldefault/nsswitch -Ldefault/source4/cluster -Ldefault/source4/libcli/ldap
> -Ldefault/source3 -Ldefault/nsswitch/libwbclient
> -Ldefault/source4/lib/messaging -Ldefault/libcli/smb
> -Ldefault/source4/lib/socket -Ldefault/libcli/cldap
> -Ldefault/source4/lib/http -Ldefault/auth/gensec -Ldefault/source4/libcli
> -Ldefault/libcli/nbt -Ldefault/lib/addns -Ldefault/lib/socket
> -Ldefault/auth -Ldefault/libcli/registry -Ldefault/source4/librpc
> -Ldefault/source4/lib/events -Ldefault/libcli/util -Ldefault/libcli/auth
> -Ldefault/lib -Ldefault/libcli/ldap -Ldefault/libds/common -Ldefault/librpc
> -Ldefault/lib/krb5_wrap -Ldefault/source4/auth/kerberos
> -Ldefault/lib/dbwrap -Ldefault/lib/tdb_wrap -Ldefault/libcli/security
> -Ldefault/lib/ldb-samba -Ldefault/lib/param -Ldefault/source4/lib/registry
> -Ldefault/auth/credentials -Ldefault/source4/heimdal_build
> -Ldefault/source4/dsdb -Ldefault/lib/util -Ldefault/source4/lib/cmdline
> -Wl,-Bdynamic -lcmdline-credentials-samba4 -lsamba-util
> -lsamdb-common-samba4 -lcom_err-samba4 -lgssapi-samba4 -lsamba-credentials
> -lregistry-samba4 -lsamba-hostconfig -lldbsamba-samba4
> -lsamba-security-samba4 -ltdb-wrap-samba4 -lutil-tdb-samba4
> -ldbwrap-samba4 -lauthkrb5-samba4 -lkrb5samba-samba4 -lndr
> -ltime-basic-samba4 -lsocket-blocking-samba4 -lutil-setid-samba4
> -lsamba-debug-samba4 -lgenrand-samba4 -lflag-mapping-samba4
> -lcli-ldap-common-samba4 -lndr-samba-samba4 -lsamba-sockets-samba4
> -lcliauth-samba4 -lroken-samba4 -lkrb5-samba4 -lasn1-samba4
> -lhcrypto-samba4 -lwind-samba4 -lsamba-errors -levents-samba4 -ldcerpc
> -lutil-reg-samba4 -ldcerpc-samba-samba4 -lserver-role-samba4 -ltevent-util
> -lndr-krb5pac -lndr-nbt -lcommon-auth-samba4 -lsys-rw-samba4
> -lasn1util-samba4 -lndr-standard -liov-buf-samba4 -linterfaces-samba4
> -lheimbase-samba4 -lhx509-samba4 -laddns-samba4 -lcli-nbt-samba4
> -lsmbclient-raw-samba4 -ldcerpc-binding -lgensec-samba4 -lhttp-samba4
> -lcli-cldap-samba4 -lnetif-samba4 -lcli-smb-common-samba4
> -lMESSAGING-SEND-samba4 -lserver-id-db-samba4 -lwbclient
> -lsamba-modules-samba4 -lsamdb -ltalloc-report-samba4 -lmessages-dgm-samba4
> -lCHARSET3-samba4 -lsmbconf -lsamba-cluster-support-samba4
> -lsamba3-util-samba4 -lmessages-util-samba4 -lcli-ldap-samba4
> -lsmb-transport-samba4 -lcluster-samba4 -lwinbind-client-samba4
> -lmsghdr-samba4 -lsmbd-shim-samba4 -llber -lldap -lcrypt -lrt -lmd -liconv
> -lgnutls -ljansson -lz -lutil -lexecinfo -lncurses -ltdb -ltalloc -lpopt
> -ltevent -lreadline
> /usr/local/bin/ld: default/source3/libsamba-cluster-support-samba4.so:
> undefined reference to `lp__ctdbd_socket'
> collect2: error: ld returned 1 exit status
> /usr/local/bin/ld: default/source3/libsamba-cluster-support-samba4.so:
> undefined reference to `lp__ctdbd_socket'
> collect2: error: ld returned 1 exit status
>
> Right, I didn't test that on GCC, but the line:

/usr/local/bin/ld: default/source3/libsamba-cluster-support-samba4.so:
undefined reference to `lp__ctdbd_socket'

makes me think that you don't use default flags and enabled cluster
support. Well, I have doubts that you really need that enabled in the first
place. At least I didn't hear about any
successful setups of the Samba cluster on FreeBSD.

With regards,
Timur.



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