From owner-freebsd-ports-bugs@freebsd.org Fri Oct 5 12:48:28 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 C48A210AB0DD for ; Fri, 5 Oct 2018 12:48:28 +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 5EDD87F9B5 for ; Fri, 5 Oct 2018 12:48:28 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 2009010AB0DC; Fri, 5 Oct 2018 12:48:28 +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 D7BB710AB0DB for ; Fri, 5 Oct 2018 12:48:27 +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 7298D7F9B2 for ; Fri, 5 Oct 2018 12:48:27 +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 B691E20191 for ; Fri, 5 Oct 2018 12:48:26 +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 w95CmQPo038616 for ; Fri, 5 Oct 2018 12:48:26 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w95CmQRn038612 for ports-bugs@FreeBSD.org; Fri, 5 Oct 2018 12:48:26 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 231979] security/gnutls: broken dependency on libdl.so from libgnutls.so Date: Fri, 05 Oct 2018 12:48:26 +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: dan-freebsd@berrange.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: tijl@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.27 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Oct 2018 12:48:29 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D231979 Bug ID: 231979 Summary: security/gnutls: broken dependency on libdl.so from libgnutls.so Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Many People Priority: --- Component: Individual Port(s) Assignee: tijl@FreeBSD.org Reporter: dan-freebsd@berrange.com Flags: maintainer-feedback?(tijl@FreeBSD.org) Assignee: tijl@FreeBSD.org My FreeBSD 11 guest gets nightly port updates and the new gnutls update pul= led in today appears seriously broken, in that libgnutls.so gained an ELF linker dependency on libdl.so but the later does not exist. IIUC there is no libdl.so needed for FreeBSD hosts, so the dep looks bogus Note ld reports "not found" against libdl $ ldd /usr/local/lib/libgnutls.so=20=20=20=20=20=20=20=20=20=20 /usr/local/lib/libgnutls.so: libz.so.6 =3D> /lib/libz.so.6 (0x801375000) libp11-kit.so.0 =3D> /usr/local/lib/libp11-kit.so.0 (0x80158e000) libunistring.so.2 =3D> /usr/local/lib/libunistring.so.2 (0x8018af00= 0) libdl.so.1 =3D> not found (0) libtasn1.so.6 =3D> /usr/local/lib/libtasn1.so.6 (0x801c60000) libnettle.so.6 =3D> /usr/local/lib/libnettle.so.6 (0x801e74000) libhogweed.so.4 =3D> /usr/local/lib/libhogweed.so.4 (0x8020ac000) libgmp.so.10 =3D> /usr/local/lib/libgmp.so.10 (0x8022e1000) libintl.so.8 =3D> /usr/local/lib/libintl.so.8 (0x802561000) libidn2.so.0 =3D> /usr/local/lib/libidn2.so.0 (0x80276c000) libc.so.7 =3D> /lib/libc.so.7 (0x800824000) libffi.so.6 =3D> /usr/local/lib/libffi.so.6 (0x80298a000) libthr.so.3 =3D> /lib/libthr.so.3 (0x802b91000) This breaks ability to build against gnutls $ cat demo.c #include int main(int argc, char **argv) { gnutls_global_init();} $ clang -I /usr/local/include -o demo -L/usr/local/lib -lgnutls demo.c /usr/bin/ld: warning: libdl.so.1, needed by /usr/local/lib/libgnutls.so, not found (try using -rpath or -rpath-link) The breaks apps using gnutls $ vim Shared object "libdl.so.1" not found, required by "vim" $ certtool=20 Shared object "libdl.so.1" not found, required by "certtool" Here is the installed port info: $ pkg info gnutls gnutls-3.5.19 Name : gnutls Version : 3.5.19 Installed on : Fri Oct 5 00:04:41 2018 UTC Origin : security/gnutls Architecture : FreeBSD:11:amd64 Prefix : /usr/local Categories : security net Licenses : GPLv3, LGPL21 Maintainer : tijl@FreeBSD.org WWW : http://www.gnutls.org/ Comment : GNU Transport Layer Security library Options : DANE : off DOCS : on EXAMPLES : on IDN : on NLS : on P11KIT : on TPM : on ZLIB : on Shared Libs required: libunistring.so.2 libintl.so.8 libgmp.so.10 libp11-kit.so.0 libidn2.so.0 libhogweed.so.4 libnettle.so.6 libtasn1.so.6 Shared Libs provided: libgnutlsxx.so.28 libgnutls.so.30 Annotations : FreeBSD_version: 1102000 cpe : cpe:2.3:a:gnu:gnutls:3.5.19:::::freebsd11:x64 repo_type : binary repository : FreeBSD Flat size : 6.94MiB As a note, the FreeBSD 10 build of gnutls 3.5.19 is working normally and doesn't have this libdl.so dependancy. Only the FreeBSD 11 build appears affected. --=20 You are receiving this mail because: You are the assignee for the bug.=