Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 232913 - media-gfx/comix-3.6.4-r1 failed to compile (at the very beginning) due to python or PyGTK ?
Summary: media-gfx/comix-3.6.4-r1 failed to compile (at the very beginning) due to pyt...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Marcelo Goes (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-07-25 11:51 UTC by Guillaume Ramelet
Modified: 2008-08-18 16:24 UTC (History)
1 user (show)

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 Guillaume Ramelet 2008-07-25 11:51:25 UTC
when compiling comix, it failed with the following message :


Reproducible: Always

Steps to Reproduce:
1. emerge -v --oneshot comix
2.
3.

Actual Results:  
[root@gentoo2 - 13:47:07 - ~] # emerge -v --oneshot comix

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] media-gfx/comix-3.6.4-r1  USE="rar -debug -doc" 0 kB

Total: 1 package (1 reinstall), Size of downloads: 0 kB

>>> Verifying ebuild Manifests...

>>> Emerging (1 of 1) media-gfx/comix-3.6.4-r1 to /
 * comix-3.6.4.tar.gz RMD160 SHA1 SHA256 size ;-) ...                                                              [ ok ]
 * checking ebuild checksums ;-) ...                                                                               [ ok ]
 * checking auxfile checksums ;-) ...                                                                              [ ok ]
 * checking miscfile checksums ;-) ...                                                                             [ ok ]
 * checking comix-3.6.4.tar.gz ;-) ...                                                                             [ ok ]
>>> Unpacking source...
>>> Unpacking comix-3.6.4.tar.gz to /var/tmp/portage/media-gfx/comix-3.6.4-r1/work
 * Applying comix-3.6.4-command-argument-closure.patch ...                                                         [ ok ]
 * Applying comix-3.6.4-tmpfile.patch ...                                                                          [ ok ]
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/media-gfx/comix-3.6.4-r1/work/comix-3.6.4 ...
 * Nothing to be compiled.
>>> Source compiled.
>>> Test phase [not enabled]: media-gfx/comix-3.6.4-r1

>>> Install comix-3.6.4-r1 into /var/tmp/portage/media-gfx/comix-3.6.4-r1/image/ category media-gfx
 *
 * ERROR: media-gfx/comix-3.6.4-r1 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_install
 *             environment, line 2575:  Called die
 * The specific snippet of code:
 *       python install.py install --no-mime --installdir "${D}"usr > /dev/null || die;
 *  The die message:
 *   (no error message)
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/media-gfx/comix-3.6.4-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-gfx/comix-3.6.4-r1/temp/environment'.
 *

 * Messages for package media-gfx/comix-3.6.4-r1:

 *
 * ERROR: media-gfx/comix-3.6.4-r1 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_install
 *             environment, line 2575:  Called die
 * The specific snippet of code:
 *       python install.py install --no-mime --installdir "${D}"usr > /dev/null || die;
 *  The die message:
 *   (no error message)
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/media-gfx/comix-3.6.4-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-gfx/comix-3.6.4-r1/temp/environment'.
 *


Expected Results:  
compiled fine

[root@gentoo2 - 13:48:28 - ~] # eix -s ^python$
[I] dev-lang/python
     Available versions:
        (2.3)   [M]2.3.5-r2 [M]2.3.5-r3 [M]~2.3.6 [M]2.3.6-r3 [M]2.3.6-r6
        (2.4)   2.4.4-r5 2.4.4-r6 2.4.4-r13
        (2.5)   2.5.2-r5
        {+cxx +threads berkdb bootstrap build doc elibc_uclibc examples gdbm ipv6 ncurses nocxx nothreads readline sqlite ssl tk ucs2 wininst}
     Installed versions:  2.5.2-r5(2.5)(20:57:34 07/17/08)(berkdb gdbm ipv6 ncurses readline ssl threads -bootstrap -build -doc -elibc_uclibc -examples -sqlite -tk -ucs2 -wininst)
     Homepage:            http://www.python.org/
     Description:         Python is an interpreted, interactive, object-oriented programming language.

[root@gentoo2 - 13:49:28 - ~] # eix -s ^pygtk$
[I] dev-python/pygtk
     Available versions:  (2)  2.10.6 2.12.0 ~2.12.0-r1 ~2.12.1 ~2.12.1-r2
        {X doc examples opengl}
     Installed versions:  2.12.0(2)(18:54:07 07/21/08)(opengl -doc -examples)
     Homepage:            http://www.pygtk.org/
     Description:         GTK+2 bindings for Python

Comix was previously installed and worked :
[root@gentoo2 - 13:49:39 - ~] # eix -s ^comix$
[I] media-gfx/comix
     Available versions:  3.6.4-r1 {debug doc rar}
     Installed versions:  3.6.4-r1(08:42:02 05/26/08)(rar -debug -doc)
     Homepage:            http://comix.sourceforge.net
     Description:         A GTK image viewer specifically designed to handle comic books.


[root@gentoo2 - 13:50:00 - ~] # emerge --info
Portage 2.1.4.4 (default/linux/x86/2008.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.25-gentoo-r6 i686)
=================================================================
System uname: 2.6.25-gentoo-r6 i686 Intel(R) Core(TM)2 Quad CPU Q9450 @ 2.66GHz
Timestamp of tree: Fri, 25 Jul 2008 11:00:01 +0000
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     2.5.2-r5
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.2.5
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r2
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=nocona -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -march=nocona -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://213.186.33.37/gentoo-distfiles/ ftp://213.186.33.38/gentoo-distfiles/ http://213.186.33.37/gentoo-distfiles/"
LC_ALL="C"
LDFLAGS="-Wl,-O1"
LINGUAS="en fr"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acl acpi alsa arts avahi bash-completion berkdb bluetooth branding bzip2 cairo cdr cli cracklib crypt cups daap dbus dri dvd dvdr dvdread emboss encode esd evo exif fam ffmpeg firefox flac fortran gdbm gif gpm gstreamer gtk hal iconv ipod ipv6 isdnlog jpeg kde kerberos ldap libnotify mad matroska midi mikmod mmx mp3 mp4 mpeg mudflap ncurses nls nptl nptlonly ogg opengl openmp pam pcre pdf perl png ppds pppd python qt3 qt3support qt4 quicktime readline reflection sdl session spell spl sse sse2 ssl startup-notification svg tcpd tiff truetype unicode vorbis win32codecs x86 xml xorg xv zeroconf zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en fr" USERLAND="GNU" VIDEO_CARDS="nvidia nv"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY


and something very important, when I launch comix from a commandline, here is the message in the console :
[gui@gentoo2 - 13:40:45 - ~] $ comix
PyGTK version 2.8.0 or higher is required to run Comix.
No version of PyGTK was found on your system.

However, rebuilding PyGTK doesn't help.
Comment 1 Carsten Lohrke (RETIRED) gentoo-dev 2008-07-25 13:36:51 UTC
As hinted in red letters, "Gentoo Bugzilla" is not the correct product to file bugs regarding ebuilds. Please use "New -> Gentoo Linux -> Component: Ebuilds" or New -> Gentoo Security for security issues in future.
Comment 2 Carsten Lohrke (RETIRED) gentoo-dev 2008-07-25 13:39:27 UTC
This isn't an issue of having missed to run python-updater after updating to Python 2.5 by chance?
Comment 3 Guillaume Ramelet 2008-07-25 15:51:32 UTC
Unfortunately it is a recent install of Gentoo and it has only used python 2.5.
I tried to execute python-updater, which said something like no previous version detected (I have to run it again to quote the exact message)

(sorry for the wrong product selection, not quite awake this morning)
Comment 4 Markus Meier gentoo-dev 2008-08-16 13:43:09 UTC
(In reply to comment #0)
> and something very important, when I launch comix from a commandline, here is
> the message in the console :
> [gui@gentoo2 - 13:40:45 - ~] $ comix
> PyGTK version 2.8.0 or higher is required to run Comix.
> No version of PyGTK was found on your system.
> 
> However, rebuilding PyGTK doesn't help.
> 

please re-run
# python-updater -o 2.4
or just python-updater
As the ebuild depends on pygtk-2.8 and is not able to find it, I assume something is broken on your system.
Comment 5 Guillaume Ramelet 2008-08-18 16:24:15 UTC
(back from vacations)
thank you very much, indeed "python-updater -o 2.4" worked