From owner-freebsd-ports-bugs@freebsd.org Tue Apr 24 04:56:31 2018 Return-Path: Delivered-To: freebsd-ports-bugs@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 81449FBA6DC for ; Tue, 24 Apr 2018 04:56:31 +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 19D656FBC0 for ; Tue, 24 Apr 2018 04:56:31 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id CE6E5FBA6D9; Tue, 24 Apr 2018 04:56:30 +0000 (UTC) Delivered-To: ports-bugs@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 A9D0EFBA6D8 for ; Tue, 24 Apr 2018 04:56:30 +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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 44A136FBBB for ; Tue, 24 Apr 2018 04:56:30 +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 6349F13628 for ; Tue, 24 Apr 2018 04:56:29 +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 w3O4uT7g028851 for ; Tue, 24 Apr 2018 04:56:29 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w3O4uTho028850 for ports-bugs@FreeBSD.org; Tue, 24 Apr 2018 04:56:29 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: ports-bugs@FreeBSD.org Subject: [Bug 227734] net/openldap24-sasl-client 2.4.46 undefined BIO_ references with libressl Date: Tue, 24 Apr 2018 04:56:29 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new 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 Many People X-Bugzilla-Who: dewayne@heuristicsystems.com.au X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: delphij@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name Message-ID: 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-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Apr 2018 04:56:31 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D227734 Bug ID: 227734 Summary: net/openldap24-sasl-client 2.4.46 undefined BIO_ references with libressl Product: Ports & Packages Version: Latest Hardware: amd64 OS: Any Status: New Severity: Affects Many People Priority: --- Component: Individual Port(s) Assignee: delphij@FreeBSD.org Reporter: dewayne@heuristicsystems.com.au Assignee: delphij@FreeBSD.org Flags: maintainer-feedback?(delphij@FreeBSD.org) In an amd64 jail using libressl Result of=20 # make __MAKE_CONF=3D/dev/null -C /usr/ports/net/openldap24-sasl-client -DB= ATCH -DMAKE_JOBS_UNSAFE clean package ... /bin/sh ../../libtool --mode=3Dlink cc -O2 -pipe -fstack-protector -fno-strict-aliasing -Wl,-rpath,/usr/local/lib -fstack-protector -o apit= est apitest.o libldap.la ../../libraries/liblber/liblber.la ../../libraries/liblutil/liblutil.a -lsasl2 -lssl -lcrypto -L/usr/local/= lib cc -O2 -pipe -fstack-protector -fno-strict-aliasing -Wl,-rpath -Wl,/usr/local/lib -fstack-protector -o .libs/apitest apitest.o=20 ./.libs/libldap.so ../../libraries/liblber/.libs/liblber.so ../../libraries/liblutil/liblutil.a /usr/local/lib/libsasl2.so -L/usr/local= /lib -lssl -lcrypto -Wl,--rpath -Wl,/usr/local/lib ./.libs/libldap.so: undefined reference to `BIO_meth_set_gets' ./.libs/libldap.so: undefined reference to `BIO_meth_set_puts' ./.libs/libldap.so: undefined reference to `BIO_meth_free' ./.libs/libldap.so: undefined reference to `BIO_meth_set_destroy' ./.libs/libldap.so: undefined reference to `BIO_meth_set_write' ./.libs/libldap.so: undefined reference to `BIO_meth_set_read' ./.libs/libldap.so: undefined reference to `BIO_meth_new' ./.libs/libldap.so: undefined reference to `BIO_meth_set_create' ./.libs/libldap.so: undefined reference to `BIO_meth_set_ctrl' cc: error: linker command failed with exit code 1 (use -v to see invocation) *** Error code 1 Environment is: # openssl version ; echo ; cc -v ; echo ; ld -v; echo; uname -pvKU LibreSSL 2.6.4 FreeBSD clang version 6.0.0 (tags/RELEASE_600/final 326565) (based on LLVM 6.0.0) Target: x86_64-unknown-freebsd11.2 Thread model: posix InstalledDir: /usr/bin GNU ld (GNU Binutils) 2.30 FreeBSD 11.2-PRERELEASE r332843M amd64 1101515 1101515 So I reverted the jail's userland to an earlier version=20 FreeBSD 11.2-PRERELEASE r332843M amd64 1101515 1101509 to replace clang 6 with clang 5.0.1; as I thought there may be some issues = with clang6 on amd64 as there is with i386. The problem remains when built with clang 5.0.1. --- In an i386 jail using openssl: # make -C /usr/ports/net/openldap24-sasl-client -DBATCH -DMAKE_JOBS_UNSAFE clean package Successful # openssl version ; echo ; cc -v ; echo ; ld -v ; echo ; uname -pvKU OpenSSL 1.0.2o 27 Mar 2018 FreeBSD clang version 5.0.1 (tags/RELEASE_501/final 320880) (based on LLVM 5.0.1) Target: i386-unknown-freebsd11.1 Thread model: posix InstalledDir: /usr/bin GNU ld (GNU Binutils) 2.30 FreeBSD 11.2-PRERELEASE r332843M i386 1101515 1101509 In all cases # svnlite info /usr/ports ... Repository Root: https://svn.freebsd.org/ports Revision: 468164 Last Changed Rev: 468163 Last Changed Date: 2018-04-24 10:26:05 +1000 (Tue, 24 Apr 2018) PS I'm sure you're aware that the __MAKE_CONF=3D/dev/null removes /etc/make= .conf influence; and there are no option files :) --=20 You are receiving this mail because: You are the assignee for the bug.=