Gentoo Archives: gentoo-alt

From: Michael Haubenwallner <michael.haubenwallner@×××××××.at>
To: gentoo-alt@l.g.o
Subject: Re: [gentoo-alt] AIX: libiconv issues still ?
Date: Fri, 20 Apr 2007 08:23:22
Message-Id: 1177057371.3473.4.camel@sapc154
In Reply to: Re: [gentoo-alt] AIX: libiconv issues still ? by Marshall McMullen
On Thu, 2007-04-19 at 12:25 -0500, Marshall McMullen wrote:
> Alright, with that patch applied, it didn't complain at the same spot, > but it still ultimately fails: > > * Not creating fake dynamic library for libiconv.so; > * making a symlink instead. > * Not creating fake dynamic library for libcharset.so; > * making a symlink instead. > * keeping aix runtime object '/usr/lib/libiconv.a(shr4.o)' in > '/home/mdmcmull/.overlay/usr/lib/libiconv.a' ... > [ ok ] > >>> Completed installing libiconv-1.11 into > /home/mdmcmull/.overlay/var/tmp/portage/dev-libs/libiconv-1.11/image/home/mdmcmull/.overlay/ > > ecompressdir: bzip2 -9 home/mdmcmull/.overlay/usr/share/man > making executable: home/mdmcmull/.overlay/lib/libcharset.so.1.0.0 > making executable: home/mdmcmull/.overlay/lib/libiconv.so.2.4.0 > > * QA Notice: Missing gen_usr_ldscript for libcharset.so > > * QA Notice: Missing gen_usr_ldscript for libiconv.so > > !!! ERROR: dev-libs/libiconv-1.11 failed. > Call stack: > misc-functions.sh, line 631: Called install_qa_check > misc-functions.sh, line 320: Called die > > !!! add those ldscripts > !!! If you need support, post the topmost build error, and the call > stack if relevant. > !!! A complete build log is located at > '/home/mdmcmull/.overlay/var/tmp/portage/dev-libs/libiconv-1.11/temp/build.log'. > > !!! install_qa_check failed; exiting.
You need to add the three lines found in the second patch in [1] to your /home/mdmcmull/.overlay/usr/lib/portage/bin/misc-functions.sh [1] http://thread.gmane.org/gmane.linux.gentoo.alt/2281 /haubi/
> > On 4/19/07, Marshall McMullen <marshall.mcmullen@×××××.com> wrote: > > never mind, I found the file to patch > > > > On 4/19/07, Marshall McMullen <marshall.mcmullen@×××××.com> wrote: > > > sorry for my ignorance, but what do I need to apply this patch to ? > > > > > > On 4/19/07, Michael Haubenwallner <michael.haubenwallner@×××××××.at> wrote: > > > > 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 ? > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > Marshall McMullen > > > marshall.mcmullen@×××××.com > > > mjmcmullen@×××××.net > > > mdmcmullen@××××××.com > > > > > > In France, there's a popular saying about Linux that essentially translates as: > > > "Linux? You can get a less powerful system, but it will cost you more." > > > > > > > > > -- > > Marshall McMullen > > marshall.mcmullen@×××××.com > > mjmcmullen@×××××.net > > mdmcmullen@××××××.com > > > > In France, there's a popular saying about Linux that essentially translates as: > > "Linux? You can get a less powerful system, but it will cost you more." > > > > > -- > Marshall McMullen > marshall.mcmullen@×××××.com > mjmcmullen@×××××.net > mdmcmullen@××××××.com > > In France, there's a popular saying about Linux that essentially translates as: > "Linux? You can get a less powerful system, but it will cost you more."
-- Salomon Automation GmbH - Friesachstrasse 15 - A-8114 Friesach bei Graz Sitz der Gesellschaft: Friesach bei Graz UID-NR:ATU28654300 - Firmenbuchnummer: 49324 K Firmenbuchgericht: Landesgericht für Zivilrechtssachen Graz -- gentoo-alt@g.o mailing list

Replies

Subject Author
Re: [gentoo-alt] AIX: libiconv issues still ? Marshall McMullen <marshall.mcmullen@×××××.com>