Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Jul 2016 10:24:15 -0500
From:      Karl Denninger <karl@denninger.net>
To:        freebsd-ports@freebsd.org
Subject:   Re: Failure to build Samba43
Message-ID:  <914b9e22-7e80-4882-d6d3-de369861a0f2@denninger.net>
In-Reply-To: <SN2PR20MB0845AABC2AEF2E934066A67580340@SN2PR20MB0845.namprd20.prod.outlook.com>
References:  <8ed79773-08f1-cfcc-c493-33921b27093d@denninger.net> <SN2PR20MB0845AABC2AEF2E934066A67580340@SN2PR20MB0845.namprd20.prod.outlook.com>

next in thread | previous in thread | raw e-mail | index | archive | help
This is a cryptographically signed message in MIME format.

--------------ms050709000609050006090900
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: quoted-printable



On 7/16/2016 18:53, Gerard Seibert wrote:
> On Fri, 15 Jul 2016 08:27:54 -0500, Karl Denninger stated:
>
>> [3585/3876] Linking default/source3/client/smbclient
>> runner cc default/source3/client/client_162.o
>> default/source3/client/clitar_162.o
>> default/source3/client/dnsbrowse_162.o
>> default/libcli/smbreadline/smbreadline_1.o -o
>> /usr/ports/net/samba43/work/samba-4.3.11/bin/default/source3/client/sm=
bclient
>> -fstack-protector -pie -Wl,-z,relro,-z,now -lpthread -Wl,-no-undefined=

>> -Wl,--export-dynamic -Wl,--as-needed
>> -Wl,-rpath,/usr/ports/net/samba43/work/samba-4.3.11/bin/shared
>> -Wl,-rpath,/usr/ports/net/samba43/work/samba-4.3.11/bin/shared/private=

>> -Ldefault/libds/common -Ldefault/auth -Ldefault/source4/lib/socket
>> -Ldefault/libcli/nbt -Ldefault/lib/ldb-samba -Ldefault/nsswitch
>> -Ldefault/source4/auth/kerberos -Ldefault/source4/dsdb
>> -Ldefault/source4/libcli/ldap -Ldefault/source4/lib/events
>> -Ldefault/libcli/registry -Ldefault/lib/tdb_wrap
>> -Ldefault/source4/librpc -Ldefault/lib/param -Ldefault/auth/credential=
s
>> -Ldefault/nsswitch/libwbclient -Ldefault/auth/gensec
>> -Ldefault/lib/krb5_wrap -Ldefault/libcli/auth -Ldefault/libcli/cldap
>> -Ldefault/libcli/ldap -Ldefault/lib/addns
>> -Ldefault/source4/heimdal_build -Ldefault/lib -Ldefault/librpc
>> -Ldefault/libcli/smb -Ldefault/lib/dbwrap -Ldefault/lib/socket
>> -Ldefault/libcli/util -Ldefault/libcli/security -Ldefault/source3
>> -Ldefault/lib/replace -Ldefault/lib/util -L/usr/local/lib -Wl,-Bdynami=
c
>> -ltalloc-report-samba4 -ltevent-util -lreplace-samba4
>> -lmessages-dgm-samba4 -lsamba-security-samba4 -lerrors-samba4
>> -lsamba3-util-samba4 -lsys-rw-samba4 -lutil-tdb-samba4
>> -linterfaces-samba4 -lpopt-samba3-samba4 -lsamba-util
>> -lsocket-blocking-samba4 -lmessages-util-samba4 -llibsmb-samba4
>> -lmsrpc3-samba4 -lserver-id-db-samba4 -ldbwrap-samba4 -liov-buf-samba4=

>> -lsmbconf -lcli-smb-common-samba4 -lsamba-cluster-support-samba4
>> -ldcerpc-samba-samba4 -lndr-standard -lmsghdr-samba4
>> -lsamba-sockets-samba4 -lndr -lsamba-debug-samba4 -lutil-cmdline-samba=
4
>> -ltime-basic-samba4 -lutil-setid-samba4 -lgenrand-samba4 -lkrb5-samba4=

>> -laddns-samba4 -lgssapi-samba4 -lcli-ldap-common-samba4
>> -lcli-cldap-samba4 -lcliauth-samba4 -lkrb5samba-samba4 -lgse-samba4
>> -lgensec -lwbclient -lsamba-credentials -lndr-samba-samba4
>> -lsamba-hostconfig -lndr-nbt -ldcerpc-binding -lndr-samba4
>> -ltdb-wrap-samba4 -lsmbregistry-samba4 -lCHARSET3-samba4
>> -lutil-reg-samba4 -lsmb-transport-samba4 -lroken-samba4 -levents-samba=
4
>> -lsecrets3-samba4 -lheimbase-samba4 -lcom_err-samba4 -lasn1-samba4
>> -lhx509-samba4 -lhcrypto-samba4 -lwind-samba4 -lasn1util-samba4
>> -lcli-ldap-samba4 -lsamba-modules-samba4 -lsamdb -lauthkrb5-samba4
>> -lwinbind-client-samba4 -lsamdb-common-samba4 -lldbsamba-samba4
>> -lndr-krb5pac -lserver-role-samba4 -lsmbd-shim-samba4 -lcli-nbt-samba4=

>> -lnetif-samba4 -lauth-sam-reply-samba4 -lflag-mapping-samba4 -lutil -l=
z
>> -lgnutls -lldb -ltalloc -lldap -llber -liconv -lmd -lrt -lexecinfo
>> -lncurses -ltdb -lpopt -larchive -lcrypt -ltevent -lreadline
>> //usr/local/lib/libssl.so.8: undefined reference to
>> `BIO_dgram_sctp_msg_waiting'
>> //usr/local/lib/libssl.so.8: undefined reference to `BIO_dgram_is_sctp=
'
>> //usr/local/lib/libssl.so.8: undefined reference to
>> `BIO_dgram_sctp_wait_for_dry'
>> cc: error: linker command failed with exit code 1 (use -v to see
>> invocation) Waf: Leaving directory
>> `/usr/ports/net/samba43/work/samba-4.3.11/bin' Build failed:  -> task
>> failed (err #1):
>>        {task: cc_link
>> client_162.o,clitar_162.o,dnsbrowse_162.o,smbreadline_1.o -> smbclient=
}
>> =3D=3D=3D> Compilation failed unexpectedly. =20
>>
>> This is with the most-recent port openssl updates installed as well an=
d
>> DEFAULT_VERSIONS+=3Dssl=3Dopenssl
>> in /etc/make.conf
>>
> There is a bug report filed against this:
> https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D211140
>
>
No, that appears to be a different problem.

This looks like a problem in the OpenSSL port, actually, as BIO_ prefix
functions are inside OpenSSL itself.

I'm going to go after it from that perspective and see what I can figure
out... just was wondering if anyone else had insight on it, since
Samba43 now has an open audit (CVE vulnerability) against it.

--=20
Karl Denninger
karl@denninger.net <mailto:karl@denninger.net>
/The Market Ticker/
/[S/MIME encrypted email preferred]/

--------------ms050709000609050006090900
Content-Type: application/pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"
Content-Description: S/MIME Cryptographic Signature

MIAGCSqGSIb3DQEHAqCAMIACAQExDzANBglghkgBZQMEAgMFADCABgkqh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1ZGEgU3lzdGVtcyBMTEMgQ0ExIjAgBgkqhkiG
9w0BCQEWE0N1ZGEgU3lzdGVtcyBMTEMgQ0ECASkwDQYJKoZIhvcNAQEBBQAEggIAkp+fsTKy
m4XOr5VY0LBvcmiUTD85UZf0kqGWtjcA2wBEJIpyH7jCS+T2rsXgb7J9XY280ho671PbNE5t
+dVoV53uMrbUw3EwyIgnNZ81MTk/4bg6Pt8UC/E0W0tvaDM0B74jEQ3gxUNe9vFgaMuII2oQ
q7MVhiLUn1C658+BN3wR2XPuZ9BISgH7MS24SXzi8W3uywudIRxvSRvopQYAFDwPs9pkqFeu
n4oLqZoEebbet76IbleVA4VfXiGGJj5O/KHNWDjvYm3ESPTDH2MO/pAcZzmnmTtsckP1w5yS
oEJwjsjBri+PydY5ZsHdwnynKXwpQnBCIw+vVAVdbBrUGuymWidCaKM561CsnbHMkqHITjLb
78DKdhg2bXtaw92z8+Gbum6/92rFpnMzUA2+coFnhMK/UdydABVvTlW9hG74zUkeri0z0Mfa
63onTsUmjMevxTxmSXvhQpqXDIH62LbtqdUI7Ogbqq0+6EF9VFM2qR/SW0gg/HKz/FjT/M8T
vkBQnzbU+fTbXz7RCuOjMDRejIYXF9Lofg0ltC3//I9/l3f7Mnil6lkE20Z1gqAUcf1kIflc
Ax5SCWfiHh5yWsceCrFBY+SL717BCDS+NDl0doC8GjB2bXIAGEmmwJBt39r7mV29xy9zFqPC
WJqc+/gjPRrDoSSDSO7wfU3cRo4AAAAAAAA=
--------------ms050709000609050006090900--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?914b9e22-7e80-4882-d6d3-de369861a0f2>