Emerge of libgweather fails because it cannot execute pygtk-codegen-2.0, which is in pygtk (as far as I can see). Currently it only depends on pygtk if the python USE flag is set. Reproducible: Always Steps to Reproduce: 1.remove pygtk 2.emerge libgweather with -python 3.
please attach relevant & necessary informations, build.log or config.log as appropriate and emerge --info, thanks. Looking at the ebuild and autotools of the package, pygtk-codegen should not be used unless USE="python".
*** Bug 280818 has been marked as a duplicate of this bug. ***
well I don't have python in my use flags. maybe those dependencies are needed even when USE="-python" or python use flag needs to be removed emerge --info: Portage 2.1.6.13 (default/linux/x86/10.0/desktop, gcc-4.3.3, glibc-2.10.1-r0, 2.6.30-gentoo-r4-v1 i686) ================================================================= System uname: Linux-2.6.30-gentoo-r4-v1-i686-Intel-R-_Core-TM-2_Duo_CPU_T7300_@_2.00GHz-with-gentoo-2.0.1 Timestamp of tree: Fri, 07 Aug 2009 11:30:01 +0000 app-shells/bash: 4.0_p28 dev-lang/python: 2.5.4-r3, 2.6.2-r1, 3.1 dev-python/pycrypto: 2.0.1-r8 dev-util/cmake: 2.6.4-r2 sys-apps/baselayout: 2.0.1 sys-apps/openrc: 0.4.3-r3 sys-apps/sandbox: 2.0 sys-devel/autoconf: 2.13, 2.63-r1 sys-devel/automake: 1.9.6-r2, 1.10.2, 1.11 sys-devel/binutils: 2.19.1-r1 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6a virtual/os-headers: 2.6.30-r1 ACCEPT_KEYWORDS="x86 ~x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=native -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-O2 -march=native -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="collision-protect distlocks fixpackages nodoc parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch userpriv usersync" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LANG="en_US.UTF-8" LC_ALL="en_US.UTF-8" LDFLAGS="-Wl,-O1" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" 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="/var/repositories/gentoo" PORTDIR_OVERLAY="/usr/local/portage/layman/enlightenment /usr/local/portage/layman/sunrise" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X aac acl acpi avahi berkdb bluetooth branding bzip2 cairo cdr cli consolekit cracklib crypt dbus dell dri dvd dvdr eds emboss encode evo fam firefox flac gdbm gif gpm gstreamer hal iconv ipv6 isdnlog jpeg laptop libnotify mad mikmod mmx mp3 mpeg mudflap musepack ncurses networkmanager nls nptl nptlonly ogg opengl openmp pam pcre pdf perl png policykit ppds pppd pulseaudio qt4 quicktime readline reflection sdl session spell spl sse sse2 ssl startup-notification svg sysfs tcpd theora tiff truetype unicode usb v4l2 vorbis win32codecs x264 x86 xml xorg xulrunner xv xvid xvmc 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 mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_default authn_file authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache 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 proxy proxy_http" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="intel vesa" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
please provide a build.log
Reopening this since I just ran into this when attempting to build 2.30. This is what happens: Making all in python make[2]: Entering directory `/var/tmp/portage/dev-libs/libgweather-2.30.0/work/libgweather-2.30.0/python' /bin/sh ../libtool --tag=CC --mode=compile armv7a-unknown-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I/usr/include/python2.6 -I/usr/include/python2.6 -pthread -I/usr/include/pygtk-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -DGTK_DISABLE_SINGLE_INCLUDES -Os -pipe -march=armv7-a -mfpu=vfp -mfloat-abi=softfp -DG_DISABLE_SINGLE_INCLUDES -MT gweathermodule.lo -MD -MP -MF .deps/gweathermodule.Tpo -c -o gweathermodule.lo gweathermodule.c libtool: compile: armv7a-unknown-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I/usr/include/python2.6 -I/usr/include/python2.6 -pthread -I/usr/include/pygtk-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -DGTK_DISABLE_SINGLE_INCLUDES -Os -pipe -march=armv7-a -mfpu=vfp -mfloat-abi=softfp -DG_DISABLE_SINGLE_INCLUDES -MT gweathermodule.lo -MD -MP -MF .deps/gweathermodule.Tpo -c gweathermodule.c -fPIC -DPIC -o .libs/gweathermodule.o mv -f .deps/gweathermodule.Tpo .deps/gweathermodule.Plo (cd .\ && pygobject-codegen-2.0 \ --register /gtk.defs \ --override gweather.override \ --prefix pygweather gweather.defs) > gen-gweather.c \ && cp gen-gweather.c gweather.c \ && rm -f gen-gweather.c Traceback (most recent call last): File "/usr/lib/python2.6/site-packages/gtk-2.0/codegen/codegen.py", line 1720, in <module> sys.exit(main(sys.argv)) File "/usr/lib/python2.6/site-packages/gtk-2.0/codegen/codegen.py", line 1678, in main p.startParsing() File "/usr/lib/python2.6/site-packages/gtk-2.0/codegen/scmexpr.py", line 113, in startParsing for statement in statements: File "/usr/lib/python2.6/site-packages/gtk-2.0/codegen/scmexpr.py", line 27, in parse fp = open(filename, 'r') IOError: [Errno 2] No such file or directory: '/gtk.defs' make[2]: *** [gweather.c] Error 1 make[2]: Leaving directory `/var/tmp/portage/dev-libs/libgweather-2.30.0/work/libgweather-2.30.0/python' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/dev-libs/libgweather-2.30.0/work/libgweather-2.30.0' make: *** [all] Error 2 * ERROR: dev-libs/libgweather-2.30.0 failed: * compile failure * * Call stack: * ebuild.sh, line 54: Called src_compile * environment, line 3077: Called gnome2_src_compile * environment, line 2424: Called die * The specific snippet of code: * emake || die "compile failure" * * If you need support, post the output of 'emerge --info =dev-libs/libgweather-2.30.0', * the complete build log and the output of 'emerge -pqv =dev-libs/libgweather-2.30.0'. * This ebuild is from an overlay named 'gnome': '/home/steev/overlays/gnome/' * The complete build log is located at '/var/tmp/portage/dev-libs/libgweather-2.30.0/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-libs/libgweather-2.30.0/temp/environment'. * S: '/var/tmp/portage/dev-libs/libgweather-2.30.0/work/libgweather-2.30.0' >>> Failed to emerge dev-libs/libgweather-2.30.0, Log file: >>> '/var/tmp/portage/dev-libs/libgweather-2.30.0/temp/build.log' Will upload the build.log in a sec. Calculating dependencies... done! [ebuild N ] dev-libs/libgweather-2.30.0 USE="-doc -python" 0 kB [1] Total: 1 package (1 new), Size of downloads: 0 kB Portage tree and overlays: [0] /usr/portage [1] /home/steev/overlays/gnome Portage 2.1.8.3 (default/linux/arm/10.0, gcc-4.4.3, glibc-2.11-r1, 2.6.31.12.3-ER1-efikamx armv7l) ================================================================= System uname: Linux-2.6.31.12.3-ER1-efikamx-armv7l-ARMv7_Processor_rev_1_-v7l-with-gentoo-2.0.1 Timestamp of tree: Sun, 04 Apr 2010 03:00:01 +0000 app-shells/bash: 4.1_p2-r1 dev-lang/python: 2.6.5-r1 sys-apps/baselayout: 2.0.1 sys-apps/openrc: 0.6.1-r1 sys-apps/sandbox: 2.2 sys-devel/autoconf: 2.65 sys-devel/automake: 1.9.6-r3, 1.10.3, 1.11.1 sys-devel/binutils: 2.20.1 sys-devel/gcc: 4.3.4, 4.4.3 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6b virtual/os-headers: 2.6.32 ACCEPT_KEYWORDS="arm ~arm" ACCEPT_LICENSE="* -@EULA" CBUILD="armv7a-unknown-linux-gnueabi" CFLAGS="-Os -pipe -march=armv7-a -mfpu=vfp -mfloat-abi=softfp" CHOST="armv7a-unknown-linux-gnueabi" CONFIG_PROTECT="/etc /usr/share/X11/xkb" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/sandbox.d /etc/terminfo" CXXFLAGS="-Os -pipe -march=armv7-a -mfpu=vfp -mfloat-abi=softfp" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch" GENTOO_MIRRORS="http://distfiles.gentoo.org" LDFLAGS="-Wl,-O1" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" 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" PORTDIR_OVERLAY="/home/steev/overlays/gnome /home/steev/overlays/efikamx /home/steev/overlays/misc" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X acl alsa arm avahi berkdb bzip2 cli cracklib crypt cxx dbus fortran gdbm gnutls gpm gtk iconv ipv6 jpeg libnl modules mudflap ncurses nls nptl nptlonly ogg openmp pam pcre perl png policykit pppd readline reflection session spl ssl startup-notification sysfs tcpd truetype unicode xcb xorg zlib" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul 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="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev imx" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Created attachment 226527 [details] Build log for libgweather-2.30.0
And after doing my research, this was patched once upon a time by mrprouet, and submitted upstream - Gnome bug #596660 - guess they just haven't bothered to apply the patch?
the patch is being applied downstream in 2.30
*** Bug 326891 has been marked as a duplicate of this bug. ***