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: Michael Haubenwallner <michael.haubenwallner@...>
Subject: Re: AIX: libiconv issues still ?
Date: Thu, 19 Apr 2007 09:11:56 +0200
On Thu, 2007-04-19 at 08:03 +0200, Michael Haubenwallner wrote:
> On Wed, 2007-04-18 at 16:09 -0500, Marshall McMullen wrote:
> > Here the info you asked for:
> > 
> > > Which permission does that directory have ?
> > 
> > $ ls -l /usr | grep lib
> > dr-xr-xr-x  38 bin     bin       9728 Nov  3 17:49 lib
> > lrwxrwxrwx   1 root    printq      12 Aug 16  2003 lpd -> /usr/lib/lpd
> > 
> > $ ls -l /usr/lib/libiconv.a
> > -r--r--r-- 1 bin bin 374809 Nov  3 17:44 /usr/lib/libiconv.a
> > 
> > $ ar -x /usr/lib/libiconv.a shr4.o
> > ar: Permission denied
> > ar: 0707-113 The fopen system call failed on file shr4.o.
> 
> Hmm, when ar cannot open shr4.o, how can it be there afterwards ?

Thinking of it, maybe you did that twice, and shr4.o already existed, so
this one ar-error is between screen and keyboard ?

Maybe attached patch for eclass/toolchain-funcs.eclass can help you...

/haubi/

> What are the permissions of your current directory ?
> Maybe try this and have (or give me) a look at 'ar.truss.out':
> $ truss -o ar.truss.out -f ar -x /usr/lib/libiconv.a shr4.o
> 
> > 
> > > Which permission does shr4.o have ?
> > 
> > $ ls -la shr4.o
> > -r--r--r-- 1 mdmcmull staff 111273 Apr 18 16:03 shr4.o
> > 
> > > What is your umask set to ?
> > 
> > $ umask
> > 022
> > 
> > > $ strip -e shr4.o
> > 
> > $ strip -e shr4.o
> > strip: shr4.o -- 0654-400 Cannot open file.
> >         Permission denied
> > 
> > So, doing a "chmod 777 shr4.o", I can then do:
> > 
> > $ strip -e shr4.o
> > $ echo $?
> > 0
> > 
> > ... Does this help ?
> > 

Attachment:
aixkeep-chmod.patch (Text Data)
Replies:
Re: AIX: libiconv issues still ?
-- Marshall McMullen
References:
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 ?
-- 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: AIX: libiconv issues still ?
Next by date:
Re: [prefix][solaris] shell problem in portage/configure


Updated Aug 26, 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.