From andrew@areilly.bpa.nu  Mon Feb 11 03:02:46 2008
Return-Path: <andrew@areilly.bpa.nu>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 7AD2D16A418
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 11 Feb 2008 03:02:46 +0000 (UTC)
	(envelope-from andrew@areilly.bpa.nu)
Received: from omta01ps.mx.bigpond.com (omta01ps.mx.bigpond.com [144.140.82.153])
	by mx1.freebsd.org (Postfix) with ESMTP id 0892713C45D
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 11 Feb 2008 03:02:32 +0000 (UTC)
	(envelope-from andrew@areilly.bpa.nu)
Received: from oaamta03ps.mx.bigpond.com ([124.188.162.219])
          by omta01ps.mx.bigpond.com with ESMTP
          id <20080211030226.KZVY864.omta01ps.mx.bigpond.com@oaamta03ps.mx.bigpond.com>
          for <FreeBSD-gnats-submit@freebsd.org>;
          Mon, 11 Feb 2008 03:02:26 +0000
Received: from areilly.bpa.nu ([124.188.162.219])
          by oaamta03ps.mx.bigpond.com with ESMTP
          id <20080211030225.TYIL14070.oaamta03ps.mx.bigpond.com@areilly.bpa.nu>
          for <FreeBSD-gnats-submit@freebsd.org>;
          Mon, 11 Feb 2008 03:02:25 +0000
Received: (qmail 12185 invoked by uid 501); 11 Feb 2008 02:02:24 -0000
Message-Id: <20080211020224.12161.qmail@areilly.bpa.nu>
Date: 11 Feb 2008 02:02:24 -0000
From: Andrew Reilly <andrew@areilly.bpc-users.org>
Reply-To: Andrew Reilly <andrew@areilly.bpc-users.org>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: Portupgrade bumped version of libicui18n, stored old version in compat/pkg, but linker doesn't find it: no minor?
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         120517
>Category:       ports
>Synopsis:       ports-mgmt/Portupgrade bumped version of libicui18n, stored old version in compat/pkg, but linker doesn't find it: no minor?
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    sem
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Feb 11 03:10:00 UTC 2008
>Closed-Date:    Tue Jun 17 15:43:36 UTC 2008
>Last-Modified:  Tue Jun 17 15:43:36 UTC 2008
>Originator:     Andrew Reilly
>Release:        FreeBSD 7.0-PRERELEASE amd64
>Organization:
>Environment:
System: FreeBSD duncan.reilly.home 7.0-PRERELEASE FreeBSD 7.0-PRERELEASE #1: Sun Feb 10 11:34:27 EST 2008 root@duncan:/usr/obj/usr/src/sys/DUNCAN amd64


	Machine is an Athlon64-X2 with 3G RAM
>Description:
	Yesterday, after updating FreeBSD itself (as in uname
	above), I did my usual ports csup/portupgrade exercise.
	As usual, I portupgraded with --batch -akrR, but badness
	ensued, and many GNOME componenets broke with the
	following error message (or like it) in
	.xsession-errors:
	/libexec/ld-elf.so.1: Shared object "libicui18n.so.36"
	not found, required by "gconftool-2"

	Now, portupgrade is *supposed* to preserve shared
	libraries, and indeed /usr/local/lib/compat/pkg contains
	libicui18n.so.36.0, but it seems that the dynamic loader
	doesn't want to use that when asked for
	libicui18n.so.36, and I don't know why.  I thought that
	elf shared libraries didn't have minor numbers: what's
	with the .0 anyway?  I've just looked into
	lib/compat/pkg and it seems that there are quite a few
	libraries that have both two and three version
	components, although most just have one.

	The flip side of this situation is that the -r part of
	the portupgrade doesn't seem to have worked: there
	should not *be* any dependencies on libraries in
	lib/compat/pkg, because those dependencies are supposed
	to have been rebuilt against the new versions.  I'm
	currently running a portupgrade -r -f 'icu-*', and it's
	certainly building a *lot*, so hopefully that will do
	the job.  I think that it should have done the job
	already, though.
>How-To-Repeat:
	Have GNOME installed as of last week.  Upgrade ports
	tree to include the change to icu-3.8.1 from icu-3.6.0,
	and portupgrade --batch -akrR.
>Fix:

	Dunno if this is a problem with /libexec/ld-elf.so.1 or
	an incorrect library specification in the affected ports
	(gnome-terminal broke as well as gconftool-2: I'm
	guessing that most GNOME things would have broken, but
	I'm forcing a re-build now, so I'll never know) or a
	shortcoming of the portupgrade library backup process.
	I suspect that a fix could be applied in any of those
	places.  The work-around that I'm doing is to force the
	re-building of dependent ports.


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->sem 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Mon Feb 11 06:43:20 UTC 2008 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=120517 

From: "Vladimir Chukharev" <Vladimir.Chukharev@tut.fi>
To: bug-followup@freebsd.org
Cc:  
Subject: Re: ports/120517: ports-mgmt/Portupgrade bumped version of libicui18n, stored old version in compat/pkg, but linker doesn't find it: no minor?
Date: Tue, 12 Feb 2008 17:30:18 +0200

 I see the same (at least gdm and gnome-session do not work) on
 $ uname -a
 FreeBSD chu.me.tut.fi 6.3-STABLE FreeBSD 6.3-STABLE #3: Sun Feb  3 04:57:34 EET 2008     root@chu.me.tut.fi:/usr/obj/usr/src/sys/CHU  i386
 
 I needed to portdowngrade icu and forcily reinstall icu and then gdm with dependencies.
 
 Also, I can see icu upgrade making extra noise on questions... Perhaps, roll back to prev version?
 
 Best regards,
 V.Chukharev
State-Changed-From-To: open->feedback 
State-Changed-By: sem 
State-Changed-When: Tue Jun 17 10:45:21 UTC 2008 
State-Changed-Why:  
IIRC the bug was fixed. Ask submitter to confirm. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=120517 

From: Sergey Matveychuk <sem@FreeBSD.org>
To: bug-followup@FreeBSD.org, andrew@areilly.bpc-users.org
Cc: Vladimir.Chukharev@tut.fi
Subject: Re: ports/120517: ports-mgmt/Portupgrade bumped version of libicui18n,
 stored old version in compat/pkg, but linker doesn't find it: no minor?
Date: Tue, 17 Jun 2008 14:42:43 +0400

 The problem was a result of ldconfig rc-script change. Could you confirm 
 it works now?
 -- 
 Dixi.
 Sem.

From: "V.Chukharev" <chukharev@mail.ru>
To: "Sergey Matveychuk" <sem@freebsd.org>, bug-followup@freebsd.org,
	andrew@areilly.bpc-users.org
Cc:  
Subject: Re: ports/120517: ports-mgmt/Portupgrade bumped version of libicui18n, stored old version in compat/pkg, but linker doesn't find it: no minor?
Date: Tue, 17 Jun 2008 15:33:36 +0300

 On Tue, 17 Jun 2008 13:42:43 +0300, Sergey Matveychuk <sem@FreeBSD.org> wrote:
 
 > The problem was a result of ldconfig rc-script change. Could you confirm
 > it works now?
 
 I can confirm it works on 7.0-STABLE, but I have no 6.3 now.
 
 Best regards,
 -- 
 V. Chukharev
State-Changed-From-To: feedback->closed 
State-Changed-By: sem 
State-Changed-When: Tue Jun 17 15:43:35 UTC 2008 
State-Changed-Why:  
The problem was fixed. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=120517 
>Unformatted:
