Bug 146843 - gcompris-7.4-r1: failure in configure
Bug#: 146843 Product:  Gentoo Linux Version: 2006.0 Platform: x86
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: games@gentoo.org Reported By: ulm@gentoo.org
Component: Games
URL: 
Summary: gcompris-7.4-r1: failure in configure
Keywords:  
Status Whiteboard: 
Opened: 2006-09-08 08:28 0000
Description:   Opened: 2006-09-08 08:28 0000
games-kids/gcompris-7.4-r1 fails in configure with the following error message:

checking wether we build with SQLITE (if not profile will be disabled)... yes
checking whether /usr/bin/python2.4 version >= 2.2... yes
checking for  version... 2.4
checking for  platform... linux2
checking for  script directory... ${prefix}/lib/python2.4/site-packages
checking for  extension module directory...
${exec_prefix}/lib/python2.4/site-packages
checking for headers required to compile python extensions... found
checking for PYGTK... yes
checking for python module gtk... yes
checking for python module gnome.canvas... no
configure: error: *** pygtk installed but not visible from python 

!!! Please attach the following file when filing a report to bugs.gentoo.org:
!!! /var/tmp/portage/gcompris-7.4-r1/work/gcompris-7.4/config.log

!!! ERROR: games-kids/gcompris-7.4-r1 failed.
Call stack:
  ebuild.sh, line 1546:   Called dyn_compile
  ebuild.sh, line 937:   Called src_compile
  gcompris-7.4-r1.ebuild, line 50:   Called econf
'--disable-dependency-tracking' '--with-python=/usr/bin/python2.4'
'--enable-sqlite'
  ebuild.sh, line 540:   Called die

!!! econf failed
!!! If you need support, post the topmost build error, and the call stack if
relevant.

# emerge --info
Portage 2.1.1_rc1-r7 (default-linux/x86/2006.0, gcc-3.4.6, glibc-2.4-r3,
2.6.17-gentoo-r7 i686)
=================================================================
System uname: 2.6.17-gentoo-r7 i686 Intel(R) Pentium(R) M processor 1.73GHz
Gentoo Base System version 1.12.4
Last Sync: Fri, 08 Sep 2006 06:30:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632)
[disabled]
app-admin/eselect-compiler: [Not Present]
dev-lang/python:     2.4.3-r3
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17
ACCEPT_KEYWORDS="x86 ~x86"AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium-m -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib/fax /usr/share/X11/xkb
/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/spool/fax/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf
/etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-march=pentium-m -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://mirrors.sec.informatik.tu-darmstadt.de/gentoo
http://gentoo.osuosl.org http://gentoo.inode.at"
LINGUAS=""
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress
--force --whole-file --delete --delete-after --stats --timeout=180
--exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/overlays/a1 /usr/local/overlays/ulm"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X Xaw3d aalib acpi alsa amr apache2 asf avi berkdb bitmap-fonts bzip2
cairo caps cdparanoia cdr cli clisp crypt directfb dlloader dri dvd eds
elibc_glibc emacs emacs-w3 emboss encode exif expat fam fbcon ffmpeg firefox
foomaticdb fortran gcj gdbm gif glut gnome gpm gstreamer gtk gtk2 gtkhtml guile
idea ieee1394 imap imlib input_devices_keyboard input_devices_mouse
input_devices_synaptics ipv6 irda isdnlog java jpeg kernel_linux libcaca libg++
libwww logrotate mad mikmod mmx mng motif mp3 mpeg ncurses nls nocd nptl
nptlonly nsplugin offensive ogg opengl oss pcmcia pcre pdflib perl png postgres
pppd python qt3 qt4 quicktime readline recode reflection sdl seamonkey session
skey sox spell spl sse sse2 ssl tcpd tetex tiff truetype truetype-fonts
type1-fonts udev userland_GNU userlocales video_cards_i810 video_cards_vga
vorbis wifi win32codecs wxwindows xml xmms xorg xv zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS,
PORTAGE_RSYNC_EXTRA_OPTS


Maybe it is also worth noting that the emerge was done from a console tty.

------- Comment #1 From Ulrich Müller 2006-09-08 08:30:03 0000 -------
Created an attachment (id=96391) [details]
config.log

Attaching config.log as suggested in the error message:
!!! Please attach the following file when filing a report to bugs.gentoo.org:
!!! /var/tmp/portage/gcompris-7.4-r1/work/gcompris-7.4/config.log

------- Comment #2 From Pacho Ramos 2006-09-19 05:45:56 0000 -------
I have the same problem

------- Comment #3 From Tristan Heaven 2006-09-19 06:33:12 0000 -------
from configure.in:

with gnome-python >= 2.10 gnome.canvas is obsolete. use gnomecanvas 
gnomecanvas not supported yet in gcompris

------- Comment #4 From Ulrich Müller 2006-10-13 01:15:14 0000 -------
(In reply to comment #3)
> gnomecanvas not supported yet in gcompris

So what is the solution or workaround for the time being? Mask gcompris-7.4*?

------- Comment #5 From Karl Tomlinson 2006-10-16 15:27:24 0000 -------
See comments 8 and 9 in Bug #130675 to work around the pygtk configure issue.

------- Comment #6 From Pacho Ramos 2006-10-19 12:18:06 0000 -------
Same problem in 8.1 version

------- Comment #7 From Tupone Alfredo 2006-10-30 14:34:43 0000 -------
Had to remove the check on gnome.canvas as the import of it require an X
connection.
Fix is now in portage.
Thanks for report.