From owner-freebsd-apache@FreeBSD.ORG Fri Jun 13 10:58:54 2014 Return-Path: Delivered-To: freebsd-apache@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 7A8C3E1C; Fri, 13 Jun 2014 10:58:54 +0000 (UTC) Received: from mailrelay008.isp.belgacom.be (mailrelay008.isp.belgacom.be [195.238.6.174]) by mx1.freebsd.org (Postfix) with ESMTP id E0B572CF4; Fri, 13 Jun 2014 10:58:53 +0000 (UTC) X-Belgacom-Dynamic: yes X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AqEGABjYmlNR8m3d/2dsb2JhbABbgw1Sw14BgQMXdYQDAQEFJxMcIxALGAklDyoeBohZAQjSExMEjhpCB4RBAQOaNZNVgz47L4ED Received: from 221.109-242-81.adsl-dyn.isp.belgacom.be (HELO kalimero.tijl.coosemans.org) ([81.242.109.221]) by relay.skynet.be with ESMTP; 13 Jun 2014 12:58:45 +0200 Received: from kalimero.tijl.coosemans.org (kalimero.tijl.coosemans.org [127.0.0.1]) by kalimero.tijl.coosemans.org (8.14.9/8.14.9) with ESMTP id s5DAwiRJ006679; Fri, 13 Jun 2014 12:58:44 +0200 (CEST) (envelope-from tijl@FreeBSD.org) Date: Fri, 13 Jun 2014 12:58:44 +0200 From: Tijl Coosemans To: Jan Henrik Sylvester Subject: Re: devel/apr1 new libaprutil-1 links old libapr-1 Message-ID: <20140613125844.332bd831@kalimero.tijl.coosemans.org> In-Reply-To: <539AD116.2010402@janh.de> References: <539AD116.2010402@janh.de> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: apache-list freebsd X-BeenThere: freebsd-apache@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Support of apache-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Jun 2014 10:58:54 -0000 On Fri, 13 Jun 2014 12:23:18 +0200 Jan Henrik Sylvester wrote: > After upgrading devel/apr1 yesterday using portmaster, I now have the > new libaprutil-1 linking the old libapr-1: > > # cd /usr/local/lib/ > # ls -l libapr*-1.so.* > lrwxr-xr-x 1 root wheel 17 Jun 12 14:20 libapr-1.so.0 -> > libapr-1.so.0.5.1 > -rwxr-xr-x 1 root wheel 198008 Jun 12 14:20 libapr-1.so.0.5.1 > lrwxr-xr-x 1 root wheel 21 Jun 12 14:20 libaprutil-1.so.0 -> > libaprutil-1.so.0.5.3 > -rwxr-xr-x 1 root wheel 153280 Jun 12 14:20 libaprutil-1.so.0.5.3 > # readelf -d libaprutil-1.so.0 | grep libapr-1 > 0x0000000000000001 (NEEDED) Shared library: [libapr-1.so.5] > > This is obviously not correct and causes editors/openoffice-4 to fail. > > Forcibly deleting devel/apr1 and reinstalling it solves the problem: > > 0x0000000000000001 (NEEDED) Shared library: [libapr-1.so.0] > > If this is required, it is missing from UPDATING. Otherwise, devel/apr1 > needs to be fixed not to link against its older self (and another > PORTREVISION is due). I figured out the true cause of this and submitted a patch in https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=190941 but this patch has some negative side effects and needs to be reworked. So for now it's probably best to add an UPDATING entry similar to the 20140322 entry.