From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Mar 18 00:00:02 2014 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id BEBFB8E6 for ; Tue, 18 Mar 2014 00:00:02 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 976B4BC4 for ; Tue, 18 Mar 2014 00:00:02 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.8/8.14.8) with ESMTP id s2I002Od052609 for ; Tue, 18 Mar 2014 00:00:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s2I002Jq052608; Tue, 18 Mar 2014 00:00:02 GMT (envelope-from gnats) Resent-Date: Tue, 18 Mar 2014 00:00:02 GMT Resent-Message-Id: <201403180000.s2I002Jq052608@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Don Lewis Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 95E7A8C4 for ; Mon, 17 Mar 2014 23:58:45 +0000 (UTC) Received: from gw.catspoiler.org (gw.catspoiler.org [75.1.14.242]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 535DBBB2 for ; Mon, 17 Mar 2014 23:58:44 +0000 (UTC) Received: from mousie.catspoiler.org (mousie.catspoiler.org [192.168.101.2]) by gw.catspoiler.org (8.13.3/8.13.3) with ESMTP id s2HNwilW083125 for ; Mon, 17 Mar 2014 15:58:44 -0800 (PST) (envelope-from truckman@FreeBSD.org) Received: from mousie.catspoiler.org (localhost.catspoiler.org [127.0.0.1]) by mousie.catspoiler.org (8.14.7/8.14.7) with ESMTP id s2HNwinn041021 for ; Mon, 17 Mar 2014 16:58:44 -0700 (PDT) (envelope-from truckman@FreeBSD.org) Received: (from dl@localhost) by mousie.catspoiler.org (8.14.7/8.14.7/Submit) id s2HNwiZ8041020; Mon, 17 Mar 2014 16:58:44 -0700 (PDT) (envelope-from truckman@FreeBSD.org) Message-Id: <201403172358.s2HNwiZ8041020@mousie.catspoiler.org> Date: Mon, 17 Mar 2014 16:58:44 -0700 (PDT) From: Don Lewis To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/187685: removal of libfl.so may break other ports X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list Reply-To: Don Lewis List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Mar 2014 00:00:02 -0000 >Number: 187685 >Category: ports >Synopsis: removal of libfl.so may break other ports >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: doc-bug >Submitter-Id: current-users >Arrival-Date: Tue Mar 18 00:00:02 UTC 2014 >Closed-Date: >Last-Modified: >Originator: Don Lewis >Release: FreeBSD 11.0-CURRENT i386 >Organization: FreeBSD Project >Environment: System: FreeBSD scratch.catspoiler.org 11.0-CURRENT FreeBSD 11.0-CURRENT #72 r262892M: Fri Mar 7 14:21:49 PST 2014 dl@scratch.catspoiler.org:/usr/obj/usr/src/sys/GENERICSMB i386 flex-2.5.38_2 textproc/flex/Makefile r345345 This problem only affects ports build manually, with portupgrade, or with portmaster. Officially built ports or ports built locally with poudriere will not be affected because of their sanitary build environment. >Description: Revision r345345 of textproc/flex/Makefile gets rid of the shared library libfl.so.2 because of the problems it was causing (as noted by PR: ports/186790. This may break other ports that are linked to this shared library (or they may access an old copy of the library under /usr/local/lib/compat). On my machine the following ports were affected: 'binutils-2.24' (devel/binutils) 'teTeX-base-3.0_25' (print/teTeX-base) 'plotutils-2.6_3,1' (graphics/plotutils) Interestingly, non of these list flex as a dependency. It is likely that their configure scripts were finding the ports version of flex and adding -lfl to the linker command line. That should probably be fixed ... >How-To-Repeat: Install a version of textproc/flex older than r345345. Build and install devel/binutils. Update textproc/flex to a newer version. Run ldd on /usr/local/bin/ar. >Fix: Add a note to ports/UPDATING that suggests running "pkg check -B" after upgrading textproc/flex to find any other ports that might be referencing the removed shared library. If a copy of the shared library was stashed in compat, then it has to be deleted or moved out of the way before "pkg check" will detect the problem. Then rebuild any ports that still reference the shared library. >Release-Note: >Audit-Trail: >Unformatted: