From owner-freebsd-gnome@FreeBSD.ORG Wed Jul 16 11:33:44 2014 Return-Path: Delivered-To: gnome@FreeBSD.org 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 3EADAB85 for ; Wed, 16 Jul 2014 11:33:44 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 252932D34 for ; Wed, 16 Jul 2014 11:33:44 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.8/8.14.8) with ESMTP id s6GBXi4g064473 for ; Wed, 16 Jul 2014 11:33:44 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: gnome@FreeBSD.org Subject: [Bug 191611] databases/evolution-data-server fails to link when rebuilding because requisite library (sqlite, Berkeley DB) changed and its /usr/local has become unusable Date: Wed, 16 Jul 2014 11:33:43 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports Tree X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: tijl@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: gnome@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.isobsolete attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Jul 2014 11:33:44 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=191611 Tijl Coosemans changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #144423|0 |1 is obsolete| | --- Comment #15 from Tijl Coosemans --- Created attachment 144725 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=144725&action=edit proposed patch The problem is that when you link an executable with libA, while libA depends on libB, ld(1) will also check libB for unresolved symbols, but it searches for libB in paths provided by -rpath-link, -rpath and -L flags first before asking libA where it thinks it can find libB. I consider this a bug in ld(1). It should check the libA runpath first, but frankly it should not check indirect dependencies at all. The attached patch adds -Wl,--allow-shlib-undefined to LDFLAGS so ld(1) stops complaining. -- You are receiving this mail because: You are the assignee for the bug.