It gets trouble on the step "/usr/bin/g-ir-scanner -v ..." Reproducible: Always Steps to Reproduce: 1. enable introspection USE flags, and 2. emerge -1v =net-libs/telepathy-glib-0.15.5-r1 3. Actual Results: failed on step "/usr/bin/g-ir-scanner -v". Expected Results: No that error.
Created attachment 289689 [details] build.log.gz
Portage 2.2.0_alpha64-r1 (default/linux/amd64/10.0, gcc-4.5.3, glibc-2.13-r4, 3.0.4-gentoo x86_64) ================================================================= System uname: Linux-3.0.4-gentoo-x86_64-Intel-R-_Core-TM-_i3_CPU_M_350_@_2.27GHz-with-gentoo-2.1 Timestamp of tree: Wed, 12 Oct 2011 14:30:01 +0000 app-shells/bash: 4.2_p10 dev-java/java-config: 2.1.11-r3 dev-lang/python: 2.7.2-r3, 3.2.2 dev-util/cmake: 2.8.5-r2 dev-util/pkgconfig: 0.26 sys-apps/baselayout: 2.1 sys-apps/openrc: 0.9.3-r1 sys-apps/sandbox: 2.5 sys-devel/autoconf: 2.13, 2.68 sys-devel/automake: 1.9.6-r3, 1.11.1-r1 sys-devel/binutils: 2.21.1-r1 sys-devel/gcc: 4.5.3-r1 sys-devel/gcc-config: 1.4.1-r1 sys-devel/libtool: 2.4-r1 sys-devel/make: 3.82-r3 sys-kernel/linux-headers: 2.6.39 (virtual/os-headers) sys-libs/glibc: 2.13-r4 Repositories: gentoo enlightenment gentoo-zh gnome hardened-dev kde multilib proaudio qting-edge science sunrise x11 xemacs Installed sets: @kde, @kdebase-4.7, @kdelibs-4.7, @koffice ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="* -@EULA dlj-1.1 AdobeFlash-10 AdobeFlash-10.1 DOOM3" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -mtune=native -pipe -march=native" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/openvpn/easy-rsa" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-O2 -mtune=native -pipe -march=native" DISTDIR="/opt/distfiles/" EMERGE_DEFAULT_OPTS="--autounmask=n --load-average=2" FEATURES="assume-digests binpkg-logs compress-build-logs distlocks ebuild-locks fixlafiles fixpackages metadata-transfer news parallel-fetch preserve-libs protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch" FFLAGS="" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="C" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LINGUAS="en en_GB en_US zh zh_CN zh_HK zh_TW" 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="/mnt/stuff/layman/enlightenment /mnt/stuff/layman/gentoo-zh /mnt/stuff/layman/gnome /mnt/stuff/layman/hardened-development /mnt/stuff/layman/kde /mnt/stuff/layman/multilib /mnt/stuff/layman/pro-audio /mnt/stuff/layman/qting-edge /mnt/stuff/layman/science /mnt/stuff/layman/sunrise /mnt/stuff/layman/x11 /mnt/stuff/layman/xemacs" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="PyQt X a52 aac aalib accessibility acl acpi ada agg alsa amd64 amr apache2 apm arpack audiofile avahi berkdb bittorrent branding bzip2 cairo calendar cdio chm cjk cli clisp consolekit cracklib crypt cscope cue cups custom-optimization cvs cvsgraph cxx dbus devkit dirac djvu doxygen dri ebook edje encode enscript espeak exif expat faac faad fbcon ffmpeg fftw flac fluidsynth fortran frei0r ftp gallium gd gdbm gif git glitz glpk gmp gnat gnutls gpm graphite gsm gstreamer hardened hvm iconv icu imlib iproute2 ipv6 joystick jpeg jpeg2k lame lastfmradio latex lcms libmms libnotify libsamplerate lzma lzo mad midi mikmod mjpeg mmx mng mod_python modperl modplug modules mp3 mpeg mplayer mudflap multilib multimedia musepack mysql ncurses nepomuk network nls nptl nptlonly nsplugin nvidia odbc ogg openal opengl openmp openvg pam pcre perl pipe plugin_stardict png poliykit polkitqt portaudio ppp pppd private-headers pulseaudio pvr pygments python qt4 quicktime readline realtime redeyes ree18 rtmp ruby savedconfig schroedinger sdl semantic-desktop session socks5 speex spell sql sqlite sse sse2 sse4 ssl ssse3 subversion svg synaptics sysfs tcpd theora threads tiff trace truetype unicode usb v4l vaapi vdpau vhosts vorbis vpx x264 xanim xattr xcb xcomposite xetex xine xinerama xml xorg xv xvid xvmc xz zh zh_CN zh_TW 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" CALLIGRA_FEATURES="kexi words flow plan stage tables krita karbon braindump" 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 evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_GB en_US zh zh_CN zh_HK zh_TW" MULTILIB_ABIS="amd64 x86" PHP_TARGETS="php5-3" QEMU_SOFTMMU_TARGETS="i386 ppc64 x86_64" QEMU_USER_TARGETS="i386 ppc64 x86_64" RUBY_TARGETS="ruby18 ree18" USERLAND="GNU" VIDEO_CARDS="v4l2 fbdev intel nouveau nvidia vesa" XTABLES_ADDONS="cui gfw zhang" multilib_abi="amd64 x86" Unset: CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
/usr/bin/g-ir-scanner has an argument --c-include="telepathy-glib/telepathy-glib.h", however there is no telepathy-glib/telepathy-glib.h in /var/tmp/portage/net-libs/telepathy-glib-0.15.5-r1/work/telepathy-glib-0.15.5/telepathy-glib, but is telepathy-glib.h.
What versions of glib and gobject-introspection are you using? (telepathy-glib-0.15.5-r1 builds fine here with glib-2.30.0 and gobject-introspection-1.30.0)
(In reply to comment #4) > What versions of glib and gobject-introspection are you using? > (telepathy-glib-0.15.5-r1 builds fine here with glib-2.30.0 and > gobject-introspection-1.30.0) the same glib here, USE FLAGS for glib is: multilib_abi_amd64 multilib_abi_x86 static-libs xattr -debug -doc -fam -selinux -systemtap -test. PS. Portage multilib is activated here.
dev-libs/gobject-introspection-1.30.0 used here.
weird! telepathy-glib builds fine from original source with same configuration that emerge does.
Please try with telepathy-glib-0.15.9 (I added it to the overlay a few minutes ago).
The same result for telepathy-glib-0.15.9.
This error could happen if the CC or cc environment variable is defined to something strange. * Have you manually defined the CC or cc environment variables somewhere? * Are you using distcc, icecream, or some other distributed compiler setup? * Are you using ccache or some other compiler cache setup?
No, I don't. I use gcc only. It's really weird. I have been spending two weeks on switching to portage-multilib. Though there are many packages broken for some USEs, they are fixed eventually, and now left these packages. I will look into this issue later. Thanks for your help.
I ran 'make -j4' in /var/tmp/portage/net-libs/telepathy-glib-0.15.9/work/telepathy-glib-0.15.9 just after ebuild failed and it continued to build and it was compiled fine! I am confused that why it can't be built by ebuild in my laptop? is it an ebuild issue? I have checked root's env's but nothing suspicious found.
This error happens to net-libs/rest-0.7.10 too, I think it an ebuild issue or as you mention an env issue :-(
I guess this happen just in the phrase emake: 1. ebuild telepathy-glib-0.15.9.ebuild configure 2. do following step respectively: a. ebuild telepathy-glib-0.15.9.ebuild compile # results in error as above b. go to ${S} and do 'make -j4' # fine and then ebuild telepathy-glib-0.15.9.ebuild merge # package installs fine
(In reply to comment #14) > I guess this happen just in the phrase emake: > 1. ebuild telepathy-glib-0.15.9.ebuild configure > 2. do following step respectively: > a. ebuild telepathy-glib-0.15.9.ebuild compile > # results in error as above > b. go to ${S} and do 'make -j4' > # fine and then > ebuild telepathy-glib-0.15.9.ebuild merge > # package installs fine sorry, phrase -> phase
introspection has problems with crosscompilation and, then, with portage-multilib *** This bug has been marked as a duplicate of bug 365413 ***