Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 89519
Alias:
Product:
Component:
Status: RESOLVED
Resolution: DUPLICATE of bug 76791
Assigned To: Gentoo Linux Gnome Desktop Team <gnome@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Francesco Lamonica <alienpenguin@gmail.com>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
config.log the output of the failing configure script text/plain Francesco Lamonica 2005-04-18 06:02 0000 59.38 KB Details
config.log Real config.log text/plain Francesco Lamonica 2005-04-19 01:37 0000 65.46 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 89519 depends on: Show dependency tree
Bug 89519 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2005-04-18 06:01 0000
I got the followin error:
checking for python... /usr/bin/python
checking if Python version >= 1.5.2... okay
checking local Python configuration... checking for  script directory... /usr/lib/python2.3/site-packages
checking for  extension module directory... /usr/lib/python2.3/site-packages
looks good
checking for python module gtk... no
configure: error: could not find pygtk module

!!! Please attach the config.log to your bug report:
!!! /var/tmp/portage/dia-0.94-r1/work/dia-0.94/config.log

!!! ERROR: app-office/dia-0.94-r1 failed.
!!! Function econf, Line 485, Exitcode 0
!!! econf failed


seems that pygtk is missing (see the attached config.log) but i have it installed:

root@Sandstorm:~/tmp/dia-0.94# emerge -p pygtk

These are the packages that I would merge, in order:

Calculating dependencies  ...done!
[ebuild   R   ] dev-python/pygtk-2.4.1


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




Portage 2.0.51.19 (default-linux/amd64/2005.0, gcc-3.4.3,
glibc-2.3.4.20041102-r1, 2.6.11-gentoo-r6 x86_64)
=================================================================
System uname: 2.6.11-gentoo-r6 x86_64 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.4-r1 [2.3.4 (#1, Feb  7 2005, 17:02:32)]
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.4-r1
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.5, 1.8.5-r3, 1.6.3, 1.7.9-r1, 1.4_p6, 1.9.4
sys-devel/binutils:  2.15.92.0.2-r7
sys-devel/libtool:   1.5.14
virtual/os-headers:  2.6.8.1-r4
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CFLAGS="-march=k8 -O2 -pipe -fweb -ftracers"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env
/usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/
/usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/
/usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=k8 -O2 -pipe -fweb -ftracers"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig candy ccache distlocks sandbox strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
LINGUAS="en it"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X acpi alsa arts avi berkdb bitmap-fonts cdr crypt cscope cups curl
dvd dvdr encode esd fam flac font-server foomaticdb fortran gdbm gif gpm gtk
gtk2 imagemagick imlib jp2 jpeg kde libwww lzw lzw-tiff mad matroska mboxmikmod
motif mp3 mpeg ncurses nls ogg oggvorbis opengl oss pam pcre perl png python qt
readline samba sdl spell sqlite ssl tcpd tetex theora tiff truetype
truetype-fonts type1-fonts usb userlocales vorbis xml2 xmms xpm xprint xrandr xv
xvid zlib linguas_en linguas_it"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY

------- Comment #1 From Francesco Lamonica 2005-04-18 06:02:47 0000 -------
Created an attachment (id=56568) [details]
the output of the failing configure script

------- Comment #2 From Francesco Lamonica 2005-04-18 06:04:51 0000 -------
sorry i meant dia 0.94-r1 not 0.94.1

------- Comment #3 From Leonardo Boshell (RETIRED) 2005-04-18 16:58:40 0000 -------
Hi,

Are you sure the config.log file you attached is from your /var/tmp/portage/dia-0.94-r1/work/dia-0.94 directory?

Also, are you sure your python extensions (such as pygtk) are working correctly? If you have updated python on your system, some things may have broken. Try running /usr/sbin/python-updater, and then try to emerge dia again.

------- Comment #4 From Martin Mokrejš 2005-04-19 01:05:28 0000 -------
I have similar problem when updating dia through "ssh -X -Y root@host"
connection (I can start remote X11 apps and pygtk is installed):

checking for math.h... yes
checking for isinf in -lm... yes
checking if C compiler accepts -Wall... yes
checking if C compiler accepts -Wunused... yes
checking if C compiler accepts -Wmissing-prototypes... yes
checking if C compiler accepts -Wmissing-declarations... yes
checking if C compiler accepts -finline-functions... yes
checking if C compiler accepts -fstrict-aliasing... yes
checking for db2html... no
checking for python... /usr/bin/python
checking if Python version >= 1.5.2... okay
checking local Python configuration... checking for  script directory...
/usr/lib/python2.3/site-packages
checking for  extension module directory... /usr/lib/python2.3/site-packages
looks good
checking for python module gtk... X11 connection rejected because of wrong
authentication.
no
configure: error: could not find pygtk module

!!! Please attach the config.log to your bug report:
!!! /var/tmp/portage/dia-0.94-r1/work/dia-0.94/config.log

!!! ERROR: app-office/dia-0.94-r1 failed.
!!! Function econf, Line 485, Exitcode 0



The logfile contains a note about application "-c"!:

configure:25133: checking for python
configure:25151: found /usr/bin/python
configure:25163: result: /usr/bin/python
configure:25176: checking if Python version >= 1.5.2
configure:25195: result: okay
configure:25204: checking local Python configuration
configure:25235: checking for  script directory
configure:25243: result: /usr/lib/python2.3/site-packages
configure:25253: checking for  extension module directory
configure:25261: result: /usr/lib/python2.3/site-packages
configure:25270: result: looks good
configure:25275: checking for python module gtk
The application '-c' lost its connection to the display localhost:11.0;
most likely the X server was shut down or you killed/destroyed
the application.
configure:25304: result: no
configure:25306: error: could not find pygtk module

------- Comment #5 From Francesco Lamonica 2005-04-19 01:35:07 0000 -------
Hi Leonardo, you are right... the config.log was from another dia configure...
now i attached the correct one (see below).

As for the python installation... i dont really know as i dont use python for
development; but here is the output from python-updater...

root@Sandstorm:~# python-updater
 * Can't determine any previous Python version(s).
root@Sandstorm:~# emerge -p python

These are the packages that I would merge, in order:

Calculating dependencies  ...done!
[ebuild   R   ] dev-lang/python-2.3.4-r1

------- Comment #6 From Francesco Lamonica 2005-04-19 01:37:03 0000 -------
Created an attachment (id=56639) [details]
Real config.log

------- Comment #7 From Francesco Lamonica 2005-04-19 02:38:34 0000 -------
as suggested by someone i tried to re-emerge python

here are the last lines from: emerge --deep python

....
Compiling /usr/lib/python2.3/site-packages/libxslt.py ...                                                    [ ok ]
 * Byte compiling python modules for python-2.3 .....                                                        [ ok ]

 *
 * If you have just upgraded from python-2.2.x you will need to run:
 *
 * /usr/sbin/python-updater
 *
 * This will automatically rebuild all the python dependent modules
 * to run with python-2.3.
 *
 * Python 2.2 is still installed and can be accessed via /usr/bin/python2.2.
 * Portage-2.0.49-r8 and below will continue to use python-2.2.x, so
 * think twice about uninstalling it, otherwise your system will break.
 *
>>> Regenerating /etc/ld.so.cache...
 * Caching service dependencies...
>>> dev-lang/python-2.3.4-r1 merged.

>>> clean: No packages selected for removal.

>>> Auto-cleaning packages ...

>>> No outdated packages were found on your system.


 * GNU info directory index is up-to-date.

root@Sandstorm:~# python-updater
 * Can't determine any previous Python version(s).

------- Comment #8 From Francesco Lamonica 2005-04-19 02:40:39 0000 -------
sorry for multiple posts... but i forgot to add that i havent got python 2.2
installed (at least i dont think so) and certainly i haven't got the
/usr/bin/python2.2 as the ebuild said.

------- Comment #9 From Francesco Lamonica 2005-04-19 04:03:53 0000 -------
i tried to re-emerge pygtk too and here is what i got as a result:

--- !empty dir /usr/bin
--- !empty dir /usr
 * Cleaning orphaned Python bytecode from /usr/share/pygtk/2.0/codegen ..
 * Cleaning orphaned Python bytecode from /usr/lib/python2.3/site-packages ..
 * Cleaning orphaned Python bytecode from /usr/lib64/python2.3/site-packages ..
 * Unable to establish /usr/lib64/python2.3/site-packages/pygtk.py symlink
 * Unable to establish /usr/lib64/python2.3/site-packages/pygtk.pth symlink
>>> original instance of package unmerged safely.
 * Byte compiling python modules for python-2.3 .....                                                        [ ok ]
 * Unable to establish /usr/lib64/python2.3/site-packages/pygtk.py symlink
 * Unable to establish /usr/lib64/python2.3/site-packages/pygtk.pth symlink
>>> Regenerating /etc/ld.so.cache...
 * Caching service dependencies...
>>> dev-python/pygtk-2.4.1 merged.

could the missing symlinks be an issue?

------- Comment #10 From Leonardo Boshell (RETIRED) 2005-05-02 03:21:53 0000 -------
Hello,

Francesco:
It seems like your problem is with python itself, you're right. Most likely this is a manifestation of bug #76791.

Martin:
Your problem is not related to this particular bug. You should see bug #88614.

I will close this as a dup of bug #76791 unless someone finds out the cause for Francesco's problem is different.

------- Comment #11 From Leonardo Boshell (RETIRED) 2005-05-09 09:29:17 0000 -------

*** This bug has been marked as a duplicate of 76791 ***

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug