From owner-freebsd-emulation@freebsd.org Sun Dec 30 10:22:54 2018 Return-Path: Delivered-To: freebsd-emulation@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A5CFD142226B for ; Sun, 30 Dec 2018 10:22:54 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 362A68032C for ; Sun, 30 Dec 2018 10:22:54 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id ED94F142226A; Sun, 30 Dec 2018 10:22:53 +0000 (UTC) Delivered-To: emulation@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B2A151422268 for ; Sun, 30 Dec 2018 10:22:53 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [96.47.72.132]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "freefall.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 2F42D8032B for ; Sun, 30 Dec 2018 10:22:53 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by freefall.freebsd.org (Postfix) id 07B7B335F; Sun, 30 Dec 2018 10:22:53 +0000 (UTC) Delivered-To: vbox@localmail.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [96.47.72.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (Client CN "mx1.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by freefall.freebsd.org (Postfix) with ESMTPS id DCE70335E for ; Sun, 30 Dec 2018 10:22:52 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 85D238032A for ; Sun, 30 Dec 2018 10:22:52 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id CD8019DED for ; Sun, 30 Dec 2018 10:22:51 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id wBUAMpea052284 for ; Sun, 30 Dec 2018 10:22:51 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id wBUAMpFi052283 for vbox@FreeBSD.org; Sun, 30 Dec 2018 10:22:51 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: vbox@FreeBSD.org Subject: [Bug 232969] emulators/virtualbox-ose: link error while linking the RDP client Date: Sun, 30 Dec 2018 10:22:51 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: guru@unixarea.de X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: vbox@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-Rspamd-Queue-Id: 2F42D8032B X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.99 / 15.00]; local_wl_from(0.00)[freebsd.org]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; NEURAL_HAM_SHORT(-0.99)[-0.994,0]; ASN(0.00)[asn:11403, ipnet:96.47.64.0/20, country:US]; NEURAL_HAM_LONG(-1.00)[-1.000,0] X-Mailman-Approved-At: Mon, 31 Dec 2018 11:27:58 +0000 X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Dec 2018 10:22:54 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D232969 --- Comment #11 from Matthias Apitz --- I have had a look in the provided log file of the synth build; it says among other things: emulators___virtualbox-ose-2018-12-25.log: ... DEFAULT_VERSIONS+=3Dsamba=3D4.7 DEFAULT_VERSIONS+=3Dssl=3Dbase #DEFAULT_VERSIONS+=3Dssl=3Dopenssl ... Checking for ssl: found version OpenSSL 1.1.1a-freebsd 20 Nov 2018, OK. ... my log file says: virtualbox-ose-5.2.22_2.log-base: ... .if ${.CURDIR:M*/emulators/virtualbox-ose} DEFAULT_VERSIONS=3Dssl=3Dbase .endif ... Checking for ssl: found version OpenSSL 1.1.1a-freebsd 20 Nov 2018, OK. ... kBuild: Linking VBoxDTrace ld: error: undefined symbol: SSL_load_error_strings >>> referenced by tcp.c:314 (/wrkdirs/usr/ports/emulators/virtualbox-ose/wo= rk/VirtualBox-5.2.22/src/VBox/RDP/client-1.8.3/tcp.c:314) >>> /wrkdirs/usr/ports/emulators/virtualbox-ose/work/VirtualB= ox-5.2.22/out/freebsd.amd64/release/obj/rdesktop-vrdp/tcp.o:(tcp_tls_connec= t) a look into the compiled source has: # find * -exec grep -H SSL_load_error_strings {} \; src/VBox/RDP/client-1.8.3/tcp.c: SSL_load_error_strings(); src/VBox/Runtime/VBox/VBoxRTDeps.cpp: (PFNRT)SSL_load_error_strings, src/VBox/Runtime/r3/win/VBoxRT-openssl-pre-1.1.def: SSL_load_error_strin= gs src/VBox/RDP/client-1.8.3/tcp.c: ... /* Establish a SSL/TLS 1.0 connection */ RD_BOOL tcp_tls_connect(void) ^^^^^^^^^^^^^^^ { int err; long options; if (!g_ssl_initialized) { SSL_load_error_strings(); ^^^^^^^^^^^^^^^^^^^^^^^^^ SSL_library_init(); ^^^^^^^^^^^^^^^^^^^ g_ssl_initialized =3D True; } /* create process context */ if (g_ssl_ctx =3D=3D NULL) { ... a look into the SSL library in base shows: [root@jet ~]# uname -a FreeBSD jet 13.0-CURRENT FreeBSD 13.0-CURRENT r342378 GENERIC amd64 [root@jet ~]# strings /usr/lib/libssl.a | grep OpenSSL OpenSSL 1.1.1a-freebsd 20 Nov 2018 [root@jet ~]# nm /usr/lib/libssl.a | grep SSL_load_error_strings i.e. the missing symbol SSL_load_error_strings is not in my library in base= ;=20 I'm clueless how this can link in the system where it works; can the OP please check two things: 1. the resulting object file ..../tcp.o if this contains a reference to SSL_load_error_strings, and if not why? 2. the library /usr/lib/libssl.a if this contains the symbol SSL_load_error_strings, and if not how this can be resolved for tcp.o --=20 You are receiving this mail because: You are the assignee for the bug.=