Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 379641 - dev-libs/libindicate-0.4.4-r2[introspection] fails to emerge in install phase
Summary: dev-libs/libindicate-0.4.4-r2[introspection] fails to emerge in install phase
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-18 01:49 UTC by Bartosz Brachaczek
Modified: 2011-09-15 18:43 UTC (History)
5 users (show)

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


Attachments
build.log (build.log,38.42 KB, text/plain)
2011-08-18 01:49 UTC, Bartosz Brachaczek
Details
build.log (build.log,39.66 KB, text/plain)
2011-08-22 23:33 UTC, yermandu
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Bartosz Brachaczek 2011-08-18 01:49:02 UTC
Created attachment 283709 [details]
build.log

dev-libs/libindicate-0.4.4-r2[introspection] fails to emerge in install phase. I ran into this problem after system update after introspection was unmasked system-wise. With USE=-introspection it emerges successfully (but dependencies are unsatisfied then as I have other packages installed with USE=introspection).

Attaching build log with MAKEOPTS=-j1.

FWIW, this is output of $ eix -c --installed-without-use introspection:
[I] dev-libs/libgee (0.6.1@07.08.2011): GObject-based interfaces and classes for commonly used data structures.
[I] net-im/telepathy-logger (0.2.10@07.08.2011): Telepathy Logger is a session daemon that should be activated whenever telepathy is being used.
[I] net-wireless/gnome-bluetooth (2.32.0(2)@21.07.2011): Fork of bluez-gnome focused on integration with GNOME
[I] sys-fs/udev (171-r1@20.07.2011): Linux dynamic and persistent device naming support (aka userspace devfs)
Found 4 matches.

# emerge --info
Portage 2.1.10.11 (default/linux/amd64/10.0/desktop/kde, gcc-4.5.3, glibc-2.13-r4, 3.0.1-gentoo x86_64)
=================================================================
System uname: Linux-3.0.1-gentoo-x86_64-Intel-R-_Core-TM-_i3-2310M_CPU_@_2.10GHz-with-gentoo-2.0.3
Timestamp of tree: Thu, 18 Aug 2011 00:15:01 +0000
ccache version 3.1.5 [disabled]
app-shells/bash:          4.2_p10
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.2-r2, 3.2-r2
dev-util/ccache:          3.1.5
dev-util/cmake:           2.8.5-r2
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.0.3
sys-apps/openrc:          0.8.3-r1
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.9.6-r3, 1.10.3, 1.11.1-r1
sys-devel/binutils:       2.21.1
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-r1
sys-kernel/linux-headers: 2.6.39 (virtual/os-headers)
sys-libs/glibc:           2.13-r4
Repositories: gentoo x11 roslin qting-edge flameeyes-overlay local
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=native -ftracer -g0 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/themes/oxygen-gtk/gtk-2.0 /var/lib/hsqldb"
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/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -march=native -ftracer -g0 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles fixpackages metadata-transfer news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS=" http://gentoo.mirror.pw.edu.pl http://www.ibiblio.org/pub/Linux/distributions/gentoo http://distfiles.gentoo.org"
LANG="pl_PL.utf8"
LC_ALL="pl_PL.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu -Wl,--sort-common"
LINGUAS="pl en en_US"
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="/var/lib/layman/x11 /var/lib/layman/roslin /var/lib/layman/qting-edge /var/lib/layman/flameeyes-overlay /usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac acpi akonadi alsa amd64 avahi avx bash-completion berkdb bluetooth branding bzip2 cairo cdda cdr cli consolekit crypt cups cxx dbus declarative development dri dts dvd dvdr emboss encode exif fam ffmpeg fftw firefox flac fontconfig fortran gdbm gdu gif git glib gmp gpm gstreamer iconv icu idn ios ipod ipv6 jpeg jpeg2k kde kipi lame lcms libnotify lzma lzo mad mercurial mmap mmx mng modules mp3 mp4 mpeg mudflap multilib ncurses networkmanager nls nptl nptlonly ogg openexr opengl openmp pam pango pch pcre pdf perl phonon plasma png policykit ppds pppd private-headers python qt3support qt4 quicktime readline samba schroedinger sdl semantic-desktop session smp sndfile spell sse sse2 sse3 sse4_1 sse4_2 ssl ssse3 startup-notification subversion svg sysfs tcpd theora threads threadsafe tiff truetype udev unicode urandom usb v4l2 vaapi vcd vim-syntax vorbis vpx wifi wmf x264 xcb xcomposite xml xorg xscreensaver 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 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="braindump flow karbon kexi kpresenter krita tables words" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" FOO2ZJS_DEVICES="hp1020" 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="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="pl en en_US" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="i965 intel" 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, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Justin Lecher (RETIRED) gentoo-dev 2011-08-20 10:39:49 UTC
+  20 Aug 2011; Justin Lecher <jlec@gentoo.org> libindicate-0.4.4-r2.ebuild,
+  metadata.xml:
+  Fix for failed detection of vapigen with USE=introspection, #379641
+
Comment 2 yermandu 2011-08-22 23:33:10 UTC
I resync right now and here continues issue

/var/tmp/portage/dev-libs/libindicate-0.4.4-r2/image//usr/include/libindicate-0.2/libindicate'
library=Indicate-0.2 \
	--pkg glib-2.0 \
	--pkg Dbusmenu-Glib-0.2 \
	--vapidir=../src \
	Indicate-0.2.gir
test -z "/usr/lib64" || /bin/mkdir -p "/var/tmp/portage/dev-libs/libindicate-0.4.4-r2/image//usr/lib64"
/bin/sh: --pkg: comando não encontrado
make[3]: [Indicate-0.2.vapi] Erro 127 (ignorado)
test -z "/usr/share/vala/vapi" || /bin/mkdir -p "/var/tmp/portage/dev-libs/libindicate-0.4.4-r2/image//usr/share/vala/vapi"
 /usr/bin/install -c -m 644 Indicate-0.2.typelib '/var/tmp/portage/dev-libs/libindicate-0.4.4-r2/image//usr/lib64/girepository-1.0'
Comment 3 yermandu 2011-08-22 23:33:56 UTC
Created attachment 284273 [details]
build.log
Comment 4 Bartosz Brachaczek 2011-08-23 00:30:26 UTC
(In reply to comment #2)

Strange. I can confirm that this bug is definitely fixed for me. Try running emerge --sync once again (it happened to me at least once that a mirror from which I was syncing was totally out of date (a couple of days)). If it doesn't help, I believe it's a different bug, so you should file a new one.
Comment 5 Maciej S. Szmigiero 2011-09-15 15:20:46 UTC
I have the same problem.

From libindicate-0.4.4/libindicate/Makefile.am it seems that introspection
support in this packege unconditionally requires vapi-gen:

if HAVE_INTROSPECTION

vapidir = $(datadir)/vala/vapi
vapi_DATA = Indicate-0.2.vapi

Indicate-0.2.vapi: Indicate-0.2.gir Makefile.am
        $(VALA_API_GEN) --library=Indicate-0.2 \
                --pkg glib-2.0 \
                --pkg Dbusmenu-Glib-0.2 \
                --vapidir=$(top_builddir)/src \
                $<

CLEANFILES += $(vapi_DATA)

endif

If there is no vapi-gen installed then $(VALA_API_GEN) is an empty string.
Which results in "command not found" message during compile phase,
then install error on Indicate-0.2.vapi file during install phase.
This prevents the package from installing successfully.

With USE=-introspection everything is fine.
Comment 6 Bartosz Brachaczek 2011-09-15 18:43:47 UTC
(In reply to comment #5)

I believe your problem is a different (though related) bug that should be reported separately.