gentoo-alt  

Re: [gentoo-alt] AIX: libiconv issues still ?

Michael Haubenwallner
Wed, 18 Apr 2007 14:00:28 -0700

On Wed, 2007-04-18 at 14:56 -0500, Marshall McMullen wrote:
> This may have already been addressed, and if so I apologize, but I
> didn't see any resolution on this.
> 
> I tried emerging libiconv on AIX 5.2, and get:
> 
>  * 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' ...
> strip: shr4.o -- 0654-400 Cannot open file.
>         Permission denied

This is strange:
Try these commands somewhere
inside /home/mdmcmull/.overlay/var/tmp/portage:

$ ar -x /usr/lib/libiconv.a shr4.o
$ ls -l shr4.o
Which permission does shr4.o have ?
Which permission does that directory have ?
What is your umask set to ?
$ strip -e shr4.o

>                                                                      [
> !! ]
> >>> 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.

That portage-patch[1] seems to be not yet in portage.
Grobian, is it because it is too much a hack (but keeps diffs small) ?
[1] http://thread.gmane.org/gmane.linux.gentoo.alt/2281

/haubi/

-- 
[EMAIL PROTECTED] mailing list