Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 41609 - pygtk-2.0.0-r1 won't compile
Summary: pygtk-2.0.0-r1 won't compile
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-14 17:52 UTC by R Jason Valentine
Modified: 2004-03-03 14:39 UTC (History)
2 users (show)

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


Attachments
strace of emerge pygtk (emerge.pygtk.strace.txt,466.53 KB, text/plain)
2004-02-14 17:55 UTC, R Jason Valentine
Details
Output from emerge pygtk 2>&1 | tee emerge.txt (emerge.txt,104.44 KB, text/plain)
2004-02-14 18:03 UTC, R Jason Valentine
Details

Note You need to log in before you can comment on or make changes to this bug.
Description R Jason Valentine 2004-02-14 17:52:30 UTC
I'm using 32 bit gentoo on an amd64 with the 2.6 kernel series and I cannot get pygtk-2.0.0-r1 to compile.




Reproducible: Always
Steps to Reproduce:
1. emerge pygtk


Actual Results:  
!!! ERROR: dev-python/pygtk-2.0.0-r1 failed.
!!! Function src_compile, Line 37, Exitcode 2
!!! (no error message)


Expected Results:  
Compiled

bash-2.05b# emerge info
Portage 2.0.50-r1 (default-x86-2004.0, gcc-3.3.2, glibc-2.3.3_pre20040207-r0,
2.6.3-rc2-gentoo)
=================================================================
System uname: 2.6.3-rc2-gentoo i686 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System version 1.4.3.13
distcc 2.12.1 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
Autoconf: sys-devel/autoconf-2.59
Automake: sys-devel/automake-1.8.2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=athlon-xp -msse2 -msse -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.2/share/config /usr/kde/3/share/config /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -msse2 -msse -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="ftp://gentoo.ccccom.com http://mirror.tucdemonic.org/gentoo/
http://open-systems.ufl.edu/mirrors/gentoo ftp://mirrors.tds.net/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 aalib acpi alsa apache2 apm arts avi berkdb bonobo cdr crypt cups dga dvd
dvdr encode esd flac foomaticdb gdbm gif gnome gphoto2 gpm gstreamer gtk gtk2
gtkhtml imagemagick imlib java jpeg kde libg++ libwww mad mikmod mmx motif
mozilla mpeg mysql ncurses nls oggvorbis opengl oss pam pdflib perl png python
qt quicktime readline samba scanner sdl slang speex spell sse sse2 ssl svga tcpd
truetype usb x86 xml2 xmms xv zlib"
Comment 1 R Jason Valentine 2004-02-14 17:55:33 UTC
Created attachment 25628 [details]
strace of emerge pygtk
Comment 2 R Jason Valentine 2004-02-14 18:03:25 UTC
Created attachment 25629 [details]
Output from emerge pygtk 2>&1 | tee emerge.txt

Here is the console output.
Comment 3 Alastair Tse (RETIRED) gentoo-dev 2004-02-15 03:01:56 UTC
sorry, but the strace is useless, please don't attach that unless we ask for it. however, the log is much more useful:

grep: /usr/lib/opengl/nvidia/libGL.la: No such file or directory
/bin/sed: can't read /usr/lib/opengl/nvidia/libGL.la: No such file or directory
libtool: link: `/usr/lib/opengl/nvidia/libGL.la' is not a valid libtool archive

make sure that none of your /usr/lib/*.la have references to that directory. you may have to run opengl-update and re-emerge things like gtkglext or gtkglarea.
Comment 4 John Hobbs 2004-02-21 22:05:46 UTC
libGL.la isnt in /usr/lib/opengl/nvidia. Its in /usr/lib/opengl/nvidia/lib
Comment 5 Alastair Tse (RETIRED) gentoo-dev 2004-02-28 15:31:30 UTC
spyderous, another opengl-update problem here? not sure why we are suddenly seeing so many of these.
Comment 6 Alastair Tse (RETIRED) gentoo-dev 2004-02-28 16:00:55 UTC
what version of opengl-update are you using?
Comment 7 Donnie Berkholz (RETIRED) gentoo-dev 2004-02-28 17:06:37 UTC
Andrew, you were fixing the nvidia libtool archive issue. Did you?
Comment 8 Andrew Bevitt 2004-03-01 04:08:48 UTC
Yes I did commit the fixes that should have resolved the libdir issue.

These fixes are in both nvidia-glx-5332-r1 and nvidia-glx-5336-r1, but the problem is that another package would probably have been built before we caught / fixed the libGL.la issue -- and its dependency_libs variable has the wrong path.

<To the reporter>
Please make sure you are running one of the above nvidia-glx versions and then remerge x11-libs/gtkglarea, once that is complete try and recompile pygtk. If that does not resolve the issue can you please run this and post the output of
 : grep nvidia\/lib /usr/lib/*

Comment 9 SpanKY gentoo-dev 2004-03-03 14:39:25 UTC
ok, you got an old and busted .la file somewhere, do this to fix it:
delete all the links (if you made any) /usr/lib/opengl/nvidia/
opengl-update nvidia
for f in `grep -l '/usr/lib/opengl/nvidia/libGL' /usr/lib/*.la` ; do
    qpkg -f ${f}
done
then re-emerge all the packages that are listed