Pango had to be build because I made a emerge gnome but if fails When building pango I got the folowing error : (cd /var/tmp/portage/pango-1.0.4-r1/work/pango-1.0.4/pango; /bin/sh ../libtool --mode=relink gcc -mcpu=pentium3 -march=pentium3 -O3 -pipe -Wall -D_REENTRANT -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -o libpangoft2-1.0.la -rpath /var/tmp/portage/pango-1.0.4-r1/image//usr/lib -version-info 0:4:0 -Wl,--export-dynamic -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 pangoft2.lo pangoft2-fontmap.lo module-defs-ft2.lo mini-xft/libmini-xft.la opentype/libpango-ot.la libpango-1.0.la -lfreetype ) gcc -shared pangoft2.lo pangoft2-fontmap.lo module-defs-ft2.lo -Wl,--whole-archive mini-xft/.libs/libmini-xft.al opentype/.libs/libpango-ot.al -Wl,--no-whole-archive -L/usr/lib -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 mini-xft/.libs/libmini-xft.al opentype/.libs/libpango-ot.al -lpango-1.0 -lfreetype -Wl,--export-dynamic -Wl,-soname -Wl,libpangoft2-1.0.so.0 -o .libs/libpangoft2-1.0.so.0.0.4 /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lpango-1.0 collect2: ld returned 1 exit status libtool: install: error: relink `libpangoft2-1.0.la' with the above command before installing it make[3]: *** [install-libLTLIBRARIES] Error 1 I tried to "emerge libtool pango", the same ... my machine : Sony Vaio laptop, P3 450 192 MB of ram. /var/tmp is a nfs volume as well as /usr/portage/distfiles, these volumes are mounted from my fileserver.
Created attachment 4335 [details] Output of pango's build process
Does this problem still persist ? (also with pango-1.0.5) ?
Wow, we've got a very interesting case here ! After what you asked, I reinstalled my gentoo after a disk format... And again, I couldn't compile pango ... (yes pango 1.0.5). In my bug report I told you that my /var/tmp was a nfs volume mounted from my fileserver (I can't build X with /var/tmp on my disk, it takes too much space... so I use a nfs volume ...). I tried to unmount /var/tmp, so that pango compiles on my hard drive, and ... it worked !!! the sequence : emerge -u xfree gnome --> pango build fails... ldconfig emerge -u pango ---> pango build fails umount /var/tmp emerge -u pango ---> pango build ok ! I don't understand why this is like that... on my fileserver the directory for /var/tmp has the folowing nfs options : rw,no_root_squash that's all for pango. Maybe you should try to install pango from a nfs volume... the following is not important but who knows ... I remember that at my previous attempt to install gentoo and gnome, a compile failed (I don't remember which one), it was strange ... I looked at the script, and modified a path in a Makefile by adding a trailing "/" that is, something like -I/bla/blob/foo to -I/bla/blob/foo/ and then it compiled, that was the first time I suspected nfs... Arnaud
Weird indeed.. it must be NFS in some way. If you use MAKEOPTS"-j1" , does the problem go away ?
No further traffic. closing
I get the same error trying to emerge pango-1.2.0. I'm using Gentoo 1.2 on a diskless root-over-NFS system so the problem is surely related to NFS in some way. I've tried "export MAKEOPTS="j1"" and I get the same result. The only solution I can see is to avoid using NFS, which in my case means copying the root partition from the NFS server to a hard drive, insert it in the system, boot from it, emerge pango and then copy the partition back to the NFS server.