Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-alt
Navigation:
Lists: gentoo-alt: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-alt@g.o
From: Fabian Groffen <grobian@g.o>
Subject: Re: AIX: libiconv issues still ?
Date: Fri, 4 May 2007 22:05:29 +0200
On 23-04-2007 10:43:06 +0200, Michael Haubenwallner wrote:
> On Fri, 2007-04-20 at 17:53 +0200, Fabian Groffen wrote:
> > On 20-04-2007 10:43:56 -0500, Marshall McMullen wrote:
> > > WOO HOO , that worked! You ROCK Haubi !
> > 
> > So wait, hold on.  Where do I have to apply which patch now?
> > 
> 
> to portage (bin/misc-functions.sh), the attached one.

> --- bin/misc-functions.sh.orig	2007-04-04 17:49:18.003057000 +0200
> +++ bin/misc-functions.sh	2007-04-04 17:58:24.466904000 +0200
> @@ -312,6 +312,9 @@
>  	abort="no"
>  	for a in "${ED}"usr/lib*/*.a ; do
>  		s=${a%.a}.so
> +		if [[ -L ${s} ]] ; then
> +			s=${D}$(readlink "${s}") || s=${a%.a}.so

What's the || for?  (A trail of previous && || usage?)

> +		fi
>  		if [[ ! -e ${s} ]] ; then
>  			s=${s%usr/*}${s##*/usr/}
>  			if [[ -e ${s} ]] ; then

I think this patch isn't safe.  What if a relative link is given?

Apparently an invalid symlink makes -e (existence test) fail?


-- 
Fabian Groffen
Gentoo on a different level

-- 
gentoo-alt@g.o mailing list


Replies:
Re: AIX: libiconv issues still ?
-- Michael Haubenwallner
References:
Re: AIX: libiconv issues still ?
-- Marshall McMullen
Re: AIX: libiconv issues still ?
-- Michael Haubenwallner
Re: AIX: libiconv issues still ?
-- Michael Haubenwallner
Re: AIX: libiconv issues still ?
-- Marshall McMullen
Re: AIX: libiconv issues still ?
-- Marshall McMullen
Re: AIX: libiconv issues still ?
-- Marshall McMullen
Re: AIX: libiconv issues still ?
-- Michael Haubenwallner
Re: AIX: libiconv issues still ?
-- Marshall McMullen
Re: AIX: libiconv issues still ?
-- Fabian Groffen
Re: AIX: libiconv issues still ?
-- Michael Haubenwallner
Navigation:
Lists: gentoo-alt: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: AIX: libiconv issues still ?
Next by thread:
Re: AIX: libiconv issues still ?
Previous by date:
Re: Re: AIX: gettext fails
Next by date:
Re: Re: [prefix][linux] openssl-0.9.8e does not work


Updated Jun 17, 2009

Summary: Archive of the gentoo-alt mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.