Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 361733 - dev-python/pygobject-2.26.0-r1 should depend on >=dev-libs/glib-2.24:2
Summary: dev-python/pygobject-2.26.0-r1 should depend on >=dev-libs/glib-2.24:2
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-03 01:52 UTC by David Badia
Modified: 2011-04-03 14:01 UTC (History)
1 user (show)

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


Attachments
/tmp/vartmp/portage/dev-python/pygobject-2.26.0-r1/temp/build.log (build.log,30.83 KB, text/plain)
2011-04-03 01:54 UTC, David Badia
Details

Note You need to log in before you can comment on or make changes to this bug.
Description David Badia 2011-04-03 01:52:37 UTC
emerge dev-python/pygobject-2.26.0-r1 fails with (full log attached)

gio.c: In function 'pygio_add_constants':
gio.c:19796: error: 'G_TYPE_CONVERTER_FLAGS' undeclared (first use in this function)
gio.c:19796: error: (Each undeclared identifier is reported only once
gio.c:19796: error: for each function it appears in.)
gio.c:19797: error: 'G_TYPE_CONVERTER_RESULT' undeclared (first use in this function)
gio.c:19825: error: 'G_TYPE_ZLIB_COMPRESSOR_FORMAT' undeclared (first use in this function)
make[2]: *** [_gio_la-gio.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/tmp/vartmp/portage/dev-python/pygobject-2.26.0-r1/work/pygobject-2.26.0-2.6/gio'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/vartmp/portage/dev-python/pygobject-2.26.0-r1/work/pygobject-2.26.0-2.6'
make: *** [all] Error 2
 * ERROR: dev-python/pygobject-2.26.0-r1 failed:
 *   Building failed with CPython 2.6 in python_default_function() function
 * 
 * Call stack:
 *     ebuild.sh, line   54:  Called src_compile
 *   environment, line 5656:  Called python_execute_function '-d' '-s'
 *   environment, line 4186:  Called die
 * The specific snippet of code:
 *                       die "${failure_message}";
 * 
 * If you need support, post the output of 'emerge --info =dev-python/pygobject-2.26.0-r1',
 * the complete build log and the output of 'emerge -pqv =dev-python/pygobject-2.26.0-r1'.
 * The complete build log is located at '/tmp/vartmp/portage/dev-python/pygobject-2.26.0-r1/temp/build.log'.
 * The ebuild environment file is located at '/tmp/vartmp/portage/dev-python/pygobject-2.26.0-r1/temp/environment'.
 * S: '/tmp/vartmp/portage/dev-python/pygobject-2.26.0-r1/work/pygobject-2.26.0'


Reproducible: Always

Steps to Reproduce:
1. emerge dev-python/pygobject-2.26.0-r1 

Actual Results:  
io.c: In function 'pygio_add_constants':
gio.c:19796: error: 'G_TYPE_CONVERTER_FLAGS' undeclared (first use in this function)
gio.c:19796: error: (Each undeclared identifier is reported only once
gio.c:19796: error: for each function it appears in.)
gio.c:19797: error: 'G_TYPE_CONVERTER_RESULT' undeclared (first use in this function)
gio.c:19825: error: 'G_TYPE_ZLIB_COMPRESSOR_FORMAT' undeclared (first use in this function)
make[2]: *** [_gio_la-gio.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/tmp/vartmp/portage/dev-python/pygobject-2.26.0-r1/work/pygobject-2.26.0-2.6/gio'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/vartmp/portage/dev-python/pygobject-2.26.0-r1/work/pygobject-2.26.0-2.6'
make: *** [all] Error 2
 * ERROR: dev-python/pygobject-2.26.0-r1 failed:
 *   Building failed with CPython 2.6 in python_default_function() function
 * 
 * Call stack:
 *     ebuild.sh, line   54:  Called src_compile
 *   environment, line 5656:  Called python_execute_function '-d' '-s'
 *   environment, line 4186:  Called die
 * The specific snippet of code:
 *                       die "${failure_message}";
 * 
 * If you need support, post the output of 'emerge --info =dev-python/pygobject-2.26.0-r1',
 * the complete build log and the output of 'emerge -pqv =dev-python/pygobject-2.26.0-r1'.
 * The complete build log is located at '/tmp/vartmp/portage/dev-python/pygobject-2.26.0-r1/temp/build.log'.
 * The ebuild environment file is located at '/tmp/vartmp/portage/dev-python/pygobject-2.26.0-r1/temp/environment'.
 * S: '/tmp/vartmp/portage/dev-python/pygobject-2.26.0-r1/work/pygobject-2.26.0'


Expected Results:  
emerge should complete without error or fail due to missing deps

Portage 2.1.8.3 (default/linux/amd64/10.0, gcc-4.3.4, glibc-2.9_p20081201-r2, 2.6.37.2 x86_64)
=================================================================
System uname: Linux-2.6.37.2-x86_64-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_5600+-with-gentoo-1.12.13
Timestamp of tree: Sat, 02 Apr 2011 03:00:01 +0000
distcc 3.1 x86_64-pc-linux-gnu [disabled]
app-shells/bash:     4.0_p28
dev-java/java-config: 2.1.9-r1
dev-lang/python:     2.6.2-r1
dev-util/cmake:      2.6.4-r3
sys-apps/baselayout: 1.12.13
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.63-r1
sys-devel/automake:  1.6.3-r1, 1.9.6-r2, 1.10.2, 1.11.1
sys-devel/binutils:  2.18-r3
sys-devel/gcc:       4.3.4
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
sys-devel/make:      3.81
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=athlon64 -O2 -pipe"
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://www.gtlib.gatech ftp://ftp.ussg.iu.edu/pub/linux/gentoo ftp://ftp.ndlug.nd.edu/pub/gentoo/ http://mirror.phy.olemiss.edu/mirror/gentoo  ftp://ftp.ndlug.nd.edu/pub/gentoo/ http://mirror.phy.olemiss.edu/mirror/gentoo "
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j4"
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="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnowext X a52 aac acl acpi alsa amd64 berkdb bzip2 caps cdparanoia cleartype cli cracklib crypt cups cxx dbus dri dvb dvd dvdread encode ffmpeg flac foomaticdb fortran gdbm gphoto2 gpm iconv ieee1394 ipv6 java jpeg lirc lm_sensors mad mjpeg mmx modules mp3 mudflap multilib mysql ncurses nls nptl nptlonly ogg oggvorbis opengl openmp pam pcre perl posix ppds pppd python qt3 qt3support qt4 quicktime readline samba session sockets sql sse sse2 ssl svg sysfs tcpd threads truetype unicode usb v4l vcd vorbis webkit xine xml xmms xorg xosd xv xvid xvmc zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci 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_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid 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" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIRC_DEVICES="mceusb" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 David Badia 2011-04-03 01:54:55 UTC
Created attachment 268267 [details]
/tmp/vartmp/portage/dev-python/pygobject-2.26.0-r1/temp/build.log
Comment 2 Rafał Mużyło 2011-04-03 03:39:47 UTC
Check if those defines are available in /usr/include/glib-2.0/gio/gioenumtypes.h
If not, then probably glib requirement in the ebuild is too low.
Comment 3 David Badia 2011-04-03 11:03:17 UTC
You're right, I don't see them in there.  Sounds like I need to upgrade glib

Thanks!
Comment 4 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2011-04-03 14:01:04 UTC
Fixed.