Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
dev-libs/gobject-introspection-0.6.14 fails to compile
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
gerardo
Apprentice
Apprentice


Joined: 05 Feb 2004
Posts: 228
Location: Belgium

PostPosted: Tue Jul 06, 2010 10:52 am    Post subject: dev-libs/gobject-introspection-0.6.14 fails to compile Reply with quote

After a Python upgrade (2.7 and 3.2) and when running python-updater, I got this error.
BTW, the introspection use-flag is disabled (don't know if it's related)

emerge log:
Code:
>>> Emerging (1 of 1) dev-libs/gobject-introspection-0.6.14
 * gobject-introspection-0.6.14.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...                                          [ ok ]
 * checking ebuild checksums ;-) ...                                                                             [ ok ]
 * checking auxfile checksums ;-) ...                                                                            [ ok ]
 * checking miscfile checksums ;-) ...                                                                           [ ok ]
 * CPV:  dev-libs/gobject-introspection-0.6.14
 * REPO: funtoo
 * USE:  amd64 elibc_glibc kernel_linux multilib userland_GNU
>>> Unpacking source...
>>> Unpacking gobject-introspection-0.6.14.tar.bz2 to /var/tmp/portage/dev-libs/gobject-introspection-0.6.14/work
>>> Source unpacked in /var/tmp/portage/dev-libs/gobject-introspection-0.6.14/work
>>> Preparing source in /var/tmp/portage/dev-libs/gobject-introspection-0.6.14/work/gobject-introspection-0.6.14 ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/dev-libs/gobject-introspection-0.6.14/work/gobject-introspection-0.6.14 ...
 * econf: updating gobject-introspection-0.6.14/config.guess with /usr/share/gnuconfig/config.guess
 * econf: updating gobject-introspection-0.6.14/config.sub with /usr/share/gnuconfig/config.sub
./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib64 --disable-tests
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking for Win32... no
checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes
checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of x86_64-pc-linux-gnu-gcc... gcc3
checking whether x86_64-pc-linux-gnu-gcc and cc understand -c and -o together... yes
checking for a sed that does not truncate output... /usr/lib64/portage/bin/ebuild-helpers/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by x86_64-pc-linux-gnu-gcc... /usr/x86_64-pc-linux-gnu/bin/ld
checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /usr/x86_64-pc-linux-gnu/bin/ld option to reload object files... -r
checking for x86_64-pc-linux-gnu-objdump... x86_64-pc-linux-gnu-objdump
checking how to recognize dependent libraries... pass_all
checking for x86_64-pc-linux-gnu-ar... x86_64-pc-linux-gnu-ar
checking for x86_64-pc-linux-gnu-strip... x86_64-pc-linux-gnu-strip
checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib
checking command to parse /usr/bin/nm -B output from x86_64-pc-linux-gnu-gcc object... ok
checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if x86_64-pc-linux-gnu-gcc supports -fno-rtti -fno-exceptions... no
checking for x86_64-pc-linux-gnu-gcc option to produce PIC... -fPIC -DPIC
checking if x86_64-pc-linux-gnu-gcc PIC flag -fPIC -DPIC works... yes
checking if x86_64-pc-linux-gnu-gcc static flag -static works... yes
checking if x86_64-pc-linux-gnu-gcc supports -c -o file.o... yes
checking if x86_64-pc-linux-gnu-gcc supports -c -o file.o... (cached) yes
checking whether the x86_64-pc-linux-gnu-gcc linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for x86_64-pc-linux-gnu-pkg-config... no
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for flex... flex
checking lex output file root... lex.yy
checking lex library... -lfl
checking whether yytext is a pointer... yes
checking for bison... bison -y
./configure: line 11241: GI_ENABLE_GCOV: command not found
checking for dlopen in -ldl... yes
checking for the suffix of shared libraries... .so
checking for GOBJECT... yes
checking for GTHREAD... yes
checking for GIO_UNIX... yes
checking for SCANNER... yes
checking for FFI... yes
checking size of time_t... 8
checking for GIREPO... yes
checking for gtkdoc-check... no
checking for gtkdoc-rebase... /usr/bin/gtkdoc-rebase
checking for gtkdoc-mkpdf... no
checking whether to build gtk-doc documentation... no
checking for ANSI C header files... (cached) yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for an ANSI C-conforming const... yes
checking for working strtod... yes
checking for memchr... yes
checking for strchr... yes
checking for strspn... yes
checking for strstr... yes
checking for strtol... yes
checking for strtoull... yes
checking for backtrace... yes
checking for backtrace_symbols... yes
checking whether Python support is requested... checking for a Python interpreter with version >= 2.5... python
checking for python... /usr/bin/python
checking for python version... 2.7
checking for python platform... linux2
checking for python script directory... ${prefix}/lib64/python2.7/site-packages
checking for python extension module directory... ${exec_prefix}/lib64/python2.7/site-packages
checking for headers required to compile python extensions... found
configure: creating ./config.status
config.status: creating Makefile
config.status: creating gir/Makefile
config.status: creating girepository/Makefile
config.status: creating giscanner/Makefile
config.status: creating giscanner/config.py
config.status: creating m4/Makefile
config.status: creating tools/Makefile
config.status: creating tests/Makefile
config.status: creating tests/invoke/Makefile
config.status: creating tests/offsets/Makefile
config.status: creating tests/scanner/Makefile
config.status: creating tests/repository/Makefile
config.status: creating examples/Makefile
config.status: creating docs/Makefile
config.status: creating docs/reference/Makefile
config.status: creating gobject-introspection-1.0.pc
config.status: creating gobject-introspection-no-export-1.0.pc
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
>>> Source configured.
>>> Compiling source in /var/tmp/portage/dev-libs/gobject-introspection-0.6.14/work/gobject-introspection-0.6.14 ...
make -j3
make  all-recursive
make[1]: Entering directory `/var/tmp/portage/dev-libs/gobject-introspection-0.6.14/work/gobject-introspection-0.6.14'
Making all in girepository
make[2]: Entering directory `/var/tmp/portage/dev-libs/gobject-introspection-0.6.14/work/gobject-introspection-0.6.14/girepository'
  CC     libgirepository_1_0_la-gdump.lo
  CC     libgirepository_1_0_la-gfield.lo
  CC     libgirepository_1_0_la-gibaseinfo.lo
  CC     libgirepository_1_0_la-gifunctioninfo.lo
  CC     libgirepository_1_0_la-ginfo.lo
  CC     libgirepository_1_0_la-ginvoke.lo
  CC     libgirepository_1_0_la-girepository.lo
  CC     libgirepository_1_0_la-girffi.lo
  CC     libgirepository_1_0_la-gitypelib.lo
  CC     libgirepository_parser_la-girmodule.lo
  CC     libgirepository_parser_la-girnode.lo
  CC     libgirepository_parser_la-giroffsets.lo
  CC     libgirepository_parser_la-girparser.lo
  CCLD   libgirepository-1.0.la
  CCLD   libgirepository-parser.la
make[2]: Leaving directory `/var/tmp/portage/dev-libs/gobject-introspection-0.6.14/work/gobject-introspection-0.6.14/girepository'
Making all in giscanner
make[2]: Entering directory `/var/tmp/portage/dev-libs/gobject-introspection-0.6.14/work/gobject-introspection-0.6.14/giscanner'
make  all-am
make[3]: Entering directory `/var/tmp/portage/dev-libs/gobject-introspection-0.6.14/work/gobject-introspection-0.6.14/giscanner'
  CC     libgiscanner_la-sourcescanner.lo
  CC     libgiscanner_la-scannerlexer.lo
  CC     libgiscanner_la-scannerparser.lo
  CC     _giscanner_la-giscannermodule.lo
  CCLD   libgiscanner.la
  CCLD   _giscanner.la
make[3]: Leaving directory `/var/tmp/portage/dev-libs/gobject-introspection-0.6.14/work/gobject-introspection-0.6.14/giscanner'
make[2]: Leaving directory `/var/tmp/portage/dev-libs/gobject-introspection-0.6.14/work/gobject-introspection-0.6.14/giscanner'
Making all in tools
make[2]: Entering directory `/var/tmp/portage/dev-libs/gobject-introspection-0.6.14/work/gobject-introspection-0.6.14/tools'
  CC     g_ir_generate-generate.o
  CC     g_ir_compiler-compiler.o
  GEN    g-ir-scanner
  CCLD   g-ir-compiler
  CCLD   g-ir-generate
make[2]: Leaving directory `/var/tmp/portage/dev-libs/gobject-introspection-0.6.14/work/gobject-introspection-0.6.14/tools'
Making all in gir
make[2]: Entering directory `/var/tmp/portage/dev-libs/gobject-introspection-0.6.14/work/gobject-introspection-0.6.14/gir'
  GISCAN GLib-2.0.gir
  GICOMP cairo-1.0.gir
  GICOMP fontconfig-2.0.gir
  GICOMP freetype2-2.0.gir
  GICOMP GL-1.0.gir
  GICOMP libxml2-2.0.gir
  GICOMP xft-2.0.gir
  GICOMP xlib-2.0.gir
  GICOMP xfixes-4.0.gir
  GICOMP xrandr-1.3.gir
Traceback (most recent call last):
  File "../tools/g-ir-scanner", line 38, in <module>
    sys.exit(scanner_main(sys.argv))
  File "/var/tmp/portage/dev-libs/gobject-introspection-0.6.14/work/gobject-introspection-0.6.14/giscanner/scannermain.py", line 248, in scanner_main
    from giscanner.girwriter import GIRWriter as Writer
  File "/var/tmp/portage/dev-libs/gobject-introspection-0.6.14/work/gobject-introspection-0.6.14/giscanner/girwriter.py", line 30, in <module>
    from .xmlwriter import XMLWriter
  File "/var/tmp/portage/dev-libs/gobject-introspection-0.6.14/work/gobject-introspection-0.6.14/giscanner/xmlwriter.py", line 70, in <module>
    with LibtoolImporter:
AttributeError: __exit__
make[2]: *** [GLib-2.0.gir] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/var/tmp/portage/dev-libs/gobject-introspection-0.6.14/work/gobject-introspection-0.6.14/gir'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/dev-libs/gobject-introspection-0.6.14/work/gobject-introspection-0.6.14'
make: *** [all] Error 2
 * ERROR: dev-libs/gobject-introspection-0.6.14 failed:
 *   compile failure
 *
 * Call stack:
 *     ebuild.sh, line   47:  Called src_compile
 *   environment, line 3625:  Called gnome2_src_compile
 *   environment, line 1841:  Called die
 * The specific snippet of code:
 *       emake || die "compile failure"
 *
 * If you need support, post the output of 'emerge --info =dev-libs/gobject-introspection-0.6.14',
 * the complete build log and the output of 'emerge -pqv =dev-libs/gobject-introspection-0.6.14'.
 * The complete build log is located at '/var/tmp/portage/dev-libs/gobject-introspection-0.6.14/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-libs/gobject-introspection-0.6.14/temp/environment'.
 * S: '/var/tmp/portage/dev-libs/gobject-introspection-0.6.14/work/gobject-introspection-0.6.14'


emerge --info
Code:
Portage 2.2_rc67-r2 (default/linux/amd64/2008.0/desktop, gcc-4.4.3, glibc-2.10.1-r1, 2.6.34-zen1 x86_64)
=================================================================
System uname: Linux-2.6.34-zen1-x86_64-Intel-R-_Core-TM-2_CPU_6600_@_2.40GHz-with-gentoo-2.1.6
Timestamp of tree: Tue, 06 Jul 2010 01:30:17 +0000
ccache version 2.4 [disabled]
app-shells/bash:     4.1_p7
dev-java/java-config: 2.1.11
dev-lang/python:     2.6.5-r2, 2.7_pre20100627, 3.2_pre20100627
dev-util/ccache:     2.4-r8
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 2.1.6
sys-apps/openrc:     0.6.0
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.13, 2.65-r1
sys-devel/automake:  1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1
sys-devel/gcc:       4.4.3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.10
virtual/os-headers:  2.6.32
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA Nero-EULA-US dlj-1.1 AdobeFlash-10.1 AdobeFlash-10 googleearth"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.tiscali.nl/ http://gentoo.virginmedia.com/ http://gentoo.mneisen.org/ http://de-mirror.org/distro/gentoo/"
LANG="nl_BE.UTF-8"
LC_ALL="nl_BE.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--sort-common -Wl,--as-needed"
LINGUAS="en en_GB nl"
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="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/sunrise /var/lib/layman/python /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="7zip X a52 aac acct acl acpi aften alac alsa amd64 amr amrnb applet artworkextra asf audacious audio bash-completion berkdb binary-drivers bluetooth branding bzip2 cairo cdda cddax cddb cdparanoia cdr clamav clamdtop cleartype cli consolekit corefonts cracklib crypt cups curl custom-cpuopts cxx dbus device-mapper dlna dri dts dvd dvdr dvdread emboss emerald encode esd exif extrafilters extras fam ffmpeg fftw firefox flac fontconfig foomaticdb fortran ftp gcdmaster gdbm gdu gif gimp glitz gnome gnome-keyring gnomecd gphoto2 gpm gstreamer gtk hddtemp iconv id3 id3tag imagemagick imap imlib inkjar ipc ipv6 java joystick jpeg jpeg2k lame lcdfilter lcms libnotify libsamplerate libsexy libwww lm_sensors logrotate lzma mad matroska mikmod mkfont mmx mmxext mng modules mp160 mp3 mp4 mpeg mplayer mudflap multilib musepack music nano-syntax nautilus ncurses nls notify nptl nptlonly nsplugin ntfs nvidia ogg openexr opengl openmp pam pango password pcre pda pdf perl plugins png policykit pop ppds pppd python python3 readline reflection reiser4 rtc rtf scanner sdl session smp sms sndfile sound spell spl sqlite sqlite3 sse sse2 sse3 ssl ssse3 startup-notification subtitles suid svg sysfs taglib tcpd threads tiff tk trayicon truetype twolame udev unicode unsupported upnp usb userlocales utils vdpau video vorbis wavpack wifi wma wmf wmp wxwidgets x264 xcb xcomposite xml xorg xosd xulrunner xv xvid xvmc zlib" ALSA_CARDS="hda-intel" 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" CAMERAS="samsung" ELIBC="glibc" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_GB nl" RUBY_TARGETS="ruby18" SANE_BACKENDS="pixma" 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, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS


I suppose this is the reason why udev (151 and 158) doesn't compile either... (one problem at the time)
_________________
Windoze : Plug and Pay...
Back to top
View user's profile Send private message
gerardo
Apprentice
Apprentice


Joined: 05 Feb 2004
Posts: 228
Location: Belgium

PostPosted: Tue Jul 13, 2010 6:42 pm    Post subject: Reply with quote

It's due to python 2.7: see bug 327759
_________________
Windoze : Plug and Pay...
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum