Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 49502 - Pango 1.4 wont compile on Pentium 4
Summary: Pango 1.4 wont compile on Pentium 4
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-04-30 07:58 UTC by Florian Engelhardt
Modified: 2004-05-24 07:10 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Florian Engelhardt 2004-04-30 07:58:18 UTC
When trying to emerge pango with emerge pango or as a dependency while trying to emerge gtk+, it  failed. After i emerge pango 1.2.5-r1 and then after that reemerge pango 1.4 it worked 

Reproducible: Always
Steps to Reproduce:
1. emerge pango
2.
3.

Actual Results:  
Does only compile on Pentium 4 CPU if there is allready a pango version installed

Expected Results:  
Compile cleanly

If you first compile pango-1.2.5-r1 and after that pango-1.4 than it works, but
without first emerging pango-1.2.5-r1 (or maybe also other versions) you are not
able to compile pango-1.4.
I
Comment 1 Florian Engelhardt 2004-04-30 07:58:18 UTC
When trying to emerge pango with emerge pango or as a dependency while trying to emerge gtk+, it  failed. After i emerge pango 1.2.5-r1 and then after that reemerge pango 1.4 it worked 

Reproducible: Always
Steps to Reproduce:
1. emerge pango
2.
3.

Actual Results:  
Does only compile on Pentium 4 CPU if there is allready a pango version installed

Expected Results:  
Compile cleanly

If you first compile pango-1.2.5-r1 and after that pango-1.4 than it works, but
without first emerging pango-1.2.5-r1 (or maybe also other versions) you are not
able to compile pango-1.4.
I´m sorry, that i can not provide you with an error message from the compiler
becouse its a production system and i have not time to wait, but he sayd
something like: you need to relink file xyz with the same command before
installing it
Comment 2 Jeff 2004-04-30 09:23:25 UTC
I had exactly the same problem.  On a 'fresh' system, after emerging xfree, I was unable to emerge pango-1.4.0 (during an emerge xfce).

Trying emerge -v pango resulted in (sorry this is a different computer and I'm going by memory):
/some/path/ld: cannot find -lpango-1.0

Doing:
emerge -v =x11-libs/pango-1.2.5-r1
woked fine, and then
emerge -v pango
worked!  Seems that pango-1.4.0 has a dependency on a currently installed pango?  perhaps it is looking somewhere other than /var/tmp/portage/pangoXXX to find the needed libs, and if pango is not yet on the system it fails?

By the way, I too am using a Pentium4 w/hyperthreading MAKEOPTS="-j3" -> it could be a problem of parallel biulds depending on each other.
Comment 3 Eric Brown 2004-04-30 10:59:01 UTC
if you guys could post the actual errors from the failed emerges that would probably help a lot.
Comment 4 foser (RETIRED) gentoo-dev 2004-04-30 16:20:55 UTC
yeah, basic stuff like 'emerge info' and the like. Please read the bugreport form carefully.
Comment 5 foser (RETIRED) gentoo-dev 2004-05-10 05:32:40 UTC
waiting
Comment 6 Ryan Finnie 2004-05-13 01:12:58 UTC
Hopefully this should be enough to re-open.  Same deal with me, P4 (mobile) use, fresh install, trying to get gtk+ installed and pango-1.4.0 is failing.  Here's the last lines:
 /bin/sh ../libtool --mode=install /bin/install -c  libpangoft2-1.0.la /var/tmp/portage/pango-1.4.0/image//usr/lib/libpangoft2-1.0.la
libtool: install: warning: relinking `libpangoft2-1.0.la'
(cd /var/tmp/portage/pango-1.4.0/work/pango-1.4.0/pango; /bin/sh ../libtool  --mode=relink gcc -O2 -march=i686 -fomit-frame-pointer -Wall -o libpangoft2-1.0.la -rpath /var/tmp/portage/pango-1.4.0/image//usr/lib -version-info 399:1:399 pangofc-font.lo pangofc-fontmap.lo pangoft2.lo pangoft2-fontmap.lo module-defs-fc.lo opentype/libpango-ot.la libpango-1.0.la -lfontconfig -lfreetype -lz -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 )
gcc -shared  .libs/pangofc-font.o .libs/pangofc-fontmap.o .libs/pangoft2.o .libs/pangoft2-fontmap.o .libs/module-defs-fc.o -Wl,--whole-archive opentype/.libs/libpango-ot.a -Wl,--no-whole-archive  -L/usr/lib -lpango-1.0 -lfontconfig -lfreetype -lz -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0  -march=i686 -Wl,-soname -Wl,libpangoft2-1.0.so.0 -o .libs/libpangoft2-1.0.so.0.399.1
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.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[4]: *** [install-libLTLIBRARIES] Error 1
make[4]: Leaving directory `/var/tmp/portage/pango-1.4.0/work/pango-1.4.0/pango'
make[3]: *** [install-am] Error 2
make[3]: Leaving directory `/var/tmp/portage/pango-1.4.0/work/pango-1.4.0/pango'
make[2]: *** [install-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/pango-1.4.0/work/pango-1.4.0/pango'
make[1]: *** [install] Error 2
make[1]: Leaving directory `/var/tmp/portage/pango-1.4.0/work/pango-1.4.0/pango'
make: *** [install-recursive] Error 1

!!! ERROR: x11-libs/pango-1.4.0 failed.
!!! Function einstall, Line 388, Exitcode 2
!!! einstall failed

emerge info:
Portage 2.0.50-r6 (default-x86-2004.0, gcc-3.3.2, glibc-2.3.2-r9, 2.4.26)
=================================================================
System uname: 2.4.26 i686 Genuine Intel(R) CPU 2.30GHz
Gentoo Base System version 1.4.10
Autoconf: sys-devel/autoconf-2.58-r1
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=i686 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=i686 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X apm arts avi berkdb crypt cups encode foomaticdb gdbm gif gpm gtk gtk2 imlib jpeg libg++ libwww mad mikmod motif mpeg ncurses nls oggvorbis opengl oss pam pdflib perl png python qt quicktime readline sdl slang spell ssl svga tcpd truetype x86 xml2 xmms xv zlib"
Comment 7 Jeff 2004-05-24 06:56:04 UTC
Yes the above error is exactly (at least by my memory) what I got.

MAKEOPTS="-j3", and slightly different USE variables are the only environment differences that I have compared with Ryan Finnie.
Comment 8 Yi Quang (RETIRED) gentoo-dev 2004-05-24 07:10:46 UTC
MAKEOPTS="-j1" should fix these errors.