Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 438682 - app-emulation/vboxgtk-0.8.0-r1 - XPCOM attribute missing in VBox 4.2.0
Summary: app-emulation/vboxgtk-0.8.0-r1 - XPCOM attribute missing in VBox 4.2.0
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Julian Ospald
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-10-17 08:40 UTC by manwe
Modified: 2012-10-26 22:03 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description manwe 2012-10-17 08:40:54 UTC
$ vboxgtk
Traceback (most recent call last):
  File "/usr/bin/vboxgtk", line 93, in <module>
    import vboxgtk
  File "/usr/lib64/python2.7/site-packages/vboxgtk/__init__.py", line 46, in <module>
    from iface import main
  File "/usr/lib64/python2.7/site-packages/vboxgtk/iface.py", line 29, in <module>
    from gi.repository import Gtk
ImportError: No module named gi.repository


Reproducible: Always

Steps to Reproduce:
1. emerge vboxgtk
2. run vboxgtk



$ emerge --info
Portage 2.1.11.26 (default/linux/amd64/10.0, gcc-4.6.3, glibc-2.15-r3, 3.6.0-gentoo-yeve-v9 x86_64)
=================================================================
System uname: Linux-3.6.0-gentoo-yeve-v9-x86_64-Intel-R-_Core-TM-2_Quad_CPU_Q6600_@_2.40GHz-with-gentoo-2.2
Timestamp of tree: Sun, 14 Oct 2012 18:45:01 +0000
app-shells/bash:          4.2_p37
dev-java/java-config:     2.1.12
dev-lang/python:          2.7.3-r2
dev-util/cmake:           2.8.9-r1
dev-util/pkgconfig:       0.27.1
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.10.5
sys-apps/sandbox:         2.6
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.9.6-r3, 1.12.4
sys-devel/binutils:       2.22.90
sys-devel/gcc:            4.6.3
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.6 (virtual/os-headers)
sys-libs/glibc:           2.15-r3
Comment 1 Julian Ospald 2012-10-17 13:18:27 UTC
oh man, seems we were using the wrong pygobject slot, apologies

+  17 Oct 2012; Julian Ospald <hasufell@gentoo.org> vboxgtk-0.8.0.ebuild,
+  vboxgtk-0.8.0-r1.ebuild:
+  fix dependencies wrt #438682
Comment 2 Julian Ospald 2012-10-17 13:23:33 UTC
mh, tricky since these are runtime issues not build time

+  17 Oct 2012; Julian Ospald <hasufell@gentoo.org> -vboxgtk-0.8.0.ebuild,
+  -vboxgtk-0.8.0-r1.ebuild, +vboxgtk-0.8.0-r2.ebuild:
+  force revbump, so no user is left with broken runtime deps
Comment 3 manwe 2012-10-24 13:45:15 UTC
Still the same. I have app-emulation/vboxgtk-0.8.0-r2 , dev-python/pygobject-3.2.2 and x11-libs/gtk+-3.4.4

$ /usr/bin/vboxgtk
ERROR:root:Could not find any typelib for Gtk
Traceback (most recent call last):
  File "/usr/bin/vboxgtk", line 93, in <module>
    import vboxgtk
  File "/usr/lib64/python2.7/site-packages/vboxgtk/__init__.py", line 46, in <module>
    from iface import main
  File "/usr/lib64/python2.7/site-packages/vboxgtk/iface.py", line 29, in <module>
    from gi.repository import Gtk
ImportError: cannot import name Gtk
Comment 4 Julian Ospald 2012-10-24 13:51:10 UTC
did you run python-updater?
Comment 5 manwe 2012-10-24 14:26:25 UTC
No, because last time I've emerge'd python was:

$ genlop -l | grep dev-lang/python | tail -n1
     Fri Oct 12 21:54:39 2012 >>> dev-lang/python-2.7.3-r2

But it still doesn't work, even after python-updater, which emerge'd: dev-libs/boost:1.49 dev-libs/libxslt:0 dev-vcs/subversion:0 media-libs/libcaca:0 net-misc/dropbox:0 sys-apps/file:0 sys-fs/ecryptfs-utils:0
Comment 6 Julian Ospald 2012-10-24 16:41:30 UTC
I cannot reproduce that. It just happens to me when dev-python/pygobject:3 is not installed.

- post your complete "emerge --info" not just parts of it
- run "from gi.repository import Gtk" in a python shell.
- do you have the file "/usr/lib64/girepository-1.0/Gtk-3.0.typelib" or do you have any other "girepository-1.0" directories (like some stuff in /usr/local/lib)?

cause the error messages are not the same
Comment 7 manwe 2012-10-24 17:38:04 UTC
There's no file /usr/lib64/girepository-1.0/Gtk-3.0.typelib, not even /usr/lib64/girepository-1.0 folder. Also there's nothing in /usr/local/lib64 but perl5 folder.

$ python
Python 2.7.3 (default, May  7 2012, 00:35:22)
[GCC 4.5.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from gi.repository import Gtk
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: No module named gi.repository

# /usr/bin/emerge --info
Portage 2.1.11.26 (default/linux/amd64/10.0, gcc-4.6.3, glibc-2.15-r3, 3.6.0-gentoo-heroth-v5 x86_64)
=================================================================
System uname: Linux-3.6.0-gentoo-heroth-v5-x86_64-Intel-R-_Core-TM-_i7_CPU_Q_740_@_1.73GHz-with-gentoo-2.2
Timestamp of tree: Sun, 21 Oct 2012 09:45:01 +0000
app-shells/bash:          4.2_p37
dev-java/java-config:     2.1.12
dev-lang/python:          2.7.3-r2
dev-util/cmake:           2.8.9-r1
dev-util/pkgconfig:       0.27.1
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.10.5
sys-apps/sandbox:         2.6
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.12.4
sys-devel/binutils:       2.22.90
sys-devel/gcc:            4.6.3
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.6 (virtual/os-headers)
sys-libs/glibc:           2.15-r3
Repositories:

gentoo
    location: /usr/portage
    sync: rsync://rsync1.pl.gentoo.org/gentoo-portage
    priority: -1000

manwe
    location: /usr/portages/layman/manwe
    masters: gentoo
    priority: 0

g-ctan
    location: /var/lib/g-ctan
    masters: gentoo
    priority: 1

ABI="amd64"
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
ACCEPT_PROPERTIES="*"
ALSA_CARDS="usb-audio hda-intel"
ALSA_PCM_PLUGINS="ioplug dmix empty copy rate null route share shm softvol lfloat linear file ioplug extplug"
ANDROID_SWT="/usr/share/swt-4.2/lib"
ANT_HOME="/usr/share/ant"
APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd 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 dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias"
ARCH="amd64"
AUTOCLEAN="yes"
BOOTSTRAP_USE="cxx unicode multilib"
CALLIGRA_FEATURES=""
CAMERAS=""
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=native -mtune=native"
CFLAGS_amd64="-m64"
CFLAGS_x32="-mx32"
CFLAGS_x86="-m32"
CHOST="x86_64-pc-linux-gnu"
CHOST_amd64="x86_64-pc-linux-gnu"
CHOST_x32="x86_64-pc-linux-gnux32"
CHOST_x86="i686-pc-linux-gnu"
CLEAN_DELAY="5"
COLLECTD_PLUGINS=""
COLLISION_IGNORE="/lib/modules/* *.py[co]"
COLORTERM="rxvt"
CONFIG_PROTECT="/etc /usr/share/HSOconnect /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/apache2-php5.4/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cgi-php5.4/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/php/cli-php5.4/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 /usr/share/HSOconnect/images /usr/share/HSOconnect/languages"
CURL_SSL="gnutls"
CXXFLAGS="-O2 -pipe -march=native -mtune=native"
DEFAULT_ABI="amd64"
DISPLAY=":0.0"
DISTDIR="/usr/portage/distfiles"
EDITOR="/usr/bin/vim"
ELIBC="glibc"
EMERGE_DEFAULT_OPTS="--verbose --ask --tree --keep-going --usepkg --with-bdeps y --jobs 2"
EMERGE_WARNING_DELAY="10"
EPREFIX=""
EROOT="/"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FETCHCOMMAND="wget -t 3 -T 60 --passive-ftp -O "${DISTDIR}/${FILE}" "${URI}""
FETCHCOMMAND_RSYNC="rsync -avP "${URI}" "${DISTDIR}/${FILE}""
FETCHCOMMAND_SFTP="bash -c "x=\${2#sftp://} ; host=\${x%%/*} ; port=\${host##*:} ; host=\${host%:*} ; [[ \${host} = \${port} ]] && port=22 ; exec sftp -P \${port} \"\${host}:/\${x#*/}\" \"\$1\"" sftp "${DISTDIR}/${FILE}" "${URI}""
FETCHCOMMAND_SSH="bash -c "x=\${2#ssh://} ; host=\${x%%/*} ; port=\${host##*:} ; host=\${host%:*} ; [[ \${host} = \${port} ]] && port=22 ; exec rsync --rsh=\"ssh -p\${port}\" -avP \"\${host}:/\${x#*/}\" \"\$1\"" rsync "${DISTDIR}/${FILE}" "${URI}""
FFLAGS="-O2 -pipe"
FLTK_DOCDIR="/usr/share/doc/fltk-1.3.0-r1/html"
FOO2ZJS_DEVICES="hp1020"
GCC_SPECS=""
GDK_USE_XFT="1"
GENTOO_MIRRORS="http://gentoo.po.opole.pl http://gentoo.prz.rzeszow.pl ftp://ftp.eenet.ee/gentoo"
GPSD_PROTOCOLS=""
GRUB_PLATFORMS=""
GSETTINGS_BACKEND="dconf"
GTK2_RC_FILES="/home/manwe/.gtkrc-2.0"
HISTIGNORE="&:[ ]*:exit"
HISTSIZE="1000"
HOME="/root"
INFOPATH="/usr/share/info:/usr/share/gcc-data/x86_64-pc-linux-gnu/4.6.3/info:/usr/share/binutils-data/x86_64-pc-linux-gnu/2.22.90/info"
INPUT_DEVICES="mouse keyboard synaptics evdev"
IUSE_IMPLICIT="prefix"
JAVAC="/etc/java-config-2/current-system-vm/bin/javac"
JAVA_HOME="/etc/java-config-2/current-system-vm"
JDK_HOME="/etc/java-config-2/current-system-vm"
KERNEL="linux"
LANG="pl_PL"
LANGUAGE="48"
LCD_DEVICES="g15"
LC_ALL="pl_PL"
LDFLAGS="-Wl,--as-needed,-O1"
LDFLAGS_amd64="-m elf_x86_64"
LDFLAGS_x32="-m elf32_x86_64"
LDFLAGS_x86="-m elf_i386"
LESS="-R -M --shift 5"
LESSOPEN="|lesspipe %s"
LIBDIR_amd64="lib64"
LIBDIR_amd64_fbsd="lib64"
LIBDIR_n32="lib32"
LIBDIR_n64="lib64"
LIBDIR_o32="lib"
LIBDIR_ppc="lib32"
LIBDIR_ppc64="lib64"
LIBDIR_s390="lib32"
LIBDIR_s390x="lib64"
LIBDIR_sparc32="lib32"
LIBDIR_sparc64="lib64"
LIBDIR_x32="libx32"
LIBDIR_x86="lib32"
LIBDIR_x86_fbsd="lib32"
LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer"
LIBXCB_ALLOW_SLOPPY_LOCK="1"
LINGUAS="pl"
LOGNAME="root"
LS_COLORS="...."
MAKEOPTS="-j5"
MANPATH="/etc/java-config-2/current-system-vm/man:/usr/local/share/man:/usr/share/man:/usr/share/gcc-data/x86_64-pc-linux-gnu/4.6.3/man:/usr/share/binutils-data/x86_64-pc-linux-gnu/2.22.90/man:/etc/java-config-2/current-system-vm/man/:/usr/lib64/php5.3/man/:/usr/lib64/php5.4/man/"
MULTILIB_ABIS="amd64 x86"
MULTILIB_STRICT_DENY="64-bit.*shared object"
MULTILIB_STRICT_DIRS="/lib32 /lib /usr/lib32 /usr/lib /usr/kde/*/lib32 /usr/kde/*/lib /usr/qt/*/lib32 /usr/qt/*/lib /usr/X11R6/lib32 /usr/X11R6/lib"
MULTILIB_STRICT_EXEMPT="(perl5|gcc|gcc-lib|binutils|eclipse-3|debug|portage|udev)"
NETBEANS="apisupport cnd groovy gsf harness ide identity j2ee java mobility nb php profiler soa visualweb webcommon websvccommon xml"
NOCOLOR="true"
OOO_FORCE_DESKTOP="gnome"
OPENCL_PROFILE="nvidia"
OPENGL_PROFILE="nvidia"
PAGER="/usr/bin/less"
PATH="/home/manwe/.bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/home/manwe/.bin:/usr/x86_64-pc-linux-gnu/gcc-bin/4.6.3:/usr/x86_64-pc-linux-gnu/avr/gcc-bin/4.5.4:/opt/vmware/bin:/opt/android-sdk-update-manager/tools:/opt/android-sdk-update-manager/platform-tools:/sbin:/usr/sbin"
PHP_TARGETS="php5-3"
PKGDIR="/usr/portage/packages"
PLAYONLINUX="/home/manwe/.PlayOnLinux/playonlinux"
PORTAGE_ARCHLIST="ppc sparc64-freebsd ppc-openbsd x86-openbsd ppc64 x86-winnt x86-fbsd ppc-aix alpha arm x86-freebsd s390 amd64 arm-linux x86-macos x64-openbsd ia64-hpux hppa x86-netbsd ppc64-linux x86-cygwin amd64-linux ia64-linux x86 sparc-solaris x64-freebsd sparc64-solaris x86-linux x64-macos sparc m68k-mint ia64 mips ppc-macos x86-interix hppa-hpux amd64-fbsd x64-solaris m68k sh x86-solaris sparc-fbsd"
PORTAGE_BINHOST_CHUNKSIZE="3000"
PORTAGE_BIN_PATH="/usr/lib64/portage/bin"
PORTAGE_COMPRESS_EXCLUDE_SUFFIXES="css gif htm[l]? jp[e]?g js pdf png"
PORTAGE_CONFIGROOT="/"
PORTAGE_DEBUG="0"
PORTAGE_DEPCACHEDIR="/var/cache/edb/dep"
PORTAGE_ECLASS_WARNING_ENABLE="0"
PORTAGE_ELOG_CLASSES="warn error info log qa"
PORTAGE_ELOG_MAILFROM="portage@localhost"
PORTAGE_ELOG_MAILSUBJECT="[portage] ebuild log for ${PACKAGE} on ${HOST}"
PORTAGE_ELOG_MAILURI="root"
PORTAGE_ELOG_SYSTEM="save"
PORTAGE_FETCH_CHECKSUM_TRY_MIRRORS="5"
PORTAGE_FETCH_RESUME_MIN_SIZE="350K"
PORTAGE_GID="250"
PORTAGE_GPG_SIGNING_COMMAND="gpg --sign --digest-algo SHA256 --clearsign --yes --default-key "${PORTAGE_GPG_KEY}" --homedir "${PORTAGE_GPG_DIR}" "${FILE}""
PORTAGE_INST_GID="0"
PORTAGE_INST_UID="0"
PORTAGE_NICENESS="19"
PORTAGE_OVERRIDE_EPREFIX=""
PORTAGE_PYM_PATH="/usr/lib64/portage/pym"
PORTAGE_RSYNC_INITIAL_TIMEOUT="500"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_RSYNC_RETRIES="-1"
PORTAGE_SYNC_STALE="30"
PORTAGE_TMPDIR="/var/tmp"
PORTAGE_VERBOSE="1"
PORTAGE_WORKDIR_MODE="0700"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portages/layman/manwe /var/lib/g-ctan"
PORT_LOGDIR="/var/log/portage"
PORT_LOGDIR_CLEAN="find "${PORT_LOGDIR}" -type f ! -name "summary.log*" -mtime +7 -delete"
PRELINK_PATH_MASK="/usr/lib64/klibc:/usr/lib64/libfreebl3.so:/usr/lib64/libnssdbm3.so:/usr/lib64/libsoftokn3.so"
PROFILE_ONLY_VARIABLES="ARCH ELIBC IUSE_IMPLICIT KERNEL USERLAND USE_EXPAND_IMPLICIT USE_EXPAND_UNPREFIXED USE_EXPAND_VALUES_ARCH USE_EXPAND_VALUES_ELIBC USE_EXPAND_VALUES_KERNEL USE_EXPAND_VALUES_USERLAND"
PS1="\[\e[38;5;118m\]`Q=$?; [ "$Q" != 0 ] && echo "($Q) "`\[\033[0m\]\[\e[38;5;196m\][[ \[\e[38;5;39m\]\h \[\e[38;5;196m\]]] \[\e[38;5;226m\]:: \[\e[00;37m\]\w \[\e[00;37m\]\$ \[\033[0m\]"
PWD="/root"
PYTHONDONTWRITEBYTECODE="1"
PYTHONPATH="/usr/lib/portage/pym"
PYTHON_TARGETS="python2_7"
QT_GRAPHICSSYSTEM="raster"
RESUMECOMMAND="wget -c -t 3 -T 60 --passive-ftp -O "${DISTDIR}/${FILE}" "${URI}""
RESUMECOMMAND_RSYNC="rsync -avP "${URI}" "${DISTDIR}/${FILE}""
RESUMECOMMAND_SSH="bash -c "x=\${2#ssh://} ; host=\${x%%/*} ; port=\${host##*:} ; host=\${host%:*} ; [[ \${host} = \${port} ]] && port=22 ; exec rsync --rsh=\"ssh -p\${port}\" -avP \"\${host}:/\${x#*/}\" \"\$1\"" rsync "${DISTDIR}/${FILE}" "${URI}""
ROOT="/"
ROOTPATH="/opt/bin:/home/manwe/.bin:/usr/x86_64-pc-linux-gnu/gcc-bin/4.6.3:/usr/x86_64-pc-linux-gnu/avr/gcc-bin/4.5.4:/opt/vmware/bin"
RPMDIR="/usr/portage/rpm"
RUBYOPT="-rauto_gem"
RUBY_TARGETS="ruby19"
SHELL="/bin/bash"
SHLVL="1"
SYMLINK_LIB="yes"
SYNC="rsync://rsync1.pl.gentoo.org/gentoo-portage"
TERM="rxvt"
UNINSTALL_IGNORE="/lib/modules/*"
USE="X a52 aac aalib acpi aiglx alsa amd64 apache2 apm bash-completion bcmath berkdb bluetooth bmp branding browserplugin bzip2 calendar cdinstall cdr cleartype crypt cups cxx dbus directfb dvd dvdr dvdread encode fbcon ffmpeg flac ftp gd-exteral gif glut gpm gtk2 ieee1394 jabber javascript jpeg libnotify libwww mmx mozilla mp3 mpd mpeg3 multilib mysql ncurses newspr nls nptl nptlonly nsplugin nvidia ogg opengl pam pdf perl php png readline smp soap spell sse sse2 sse3 sse4_1 ssl ssse3 svg threads tiff truetype truetype-fonts usb userlocales vdpau vim wifi with-x wmf xcomposite xinerama xml xorg xosd xv xvid" ALSA_CARDS="usb-audio hda-intel" ALSA_PCM_PLUGINS="ioplug dmix empty copy rate null route share shm softvol lfloat linear file ioplug extplug" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd 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 dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" CURL_SSL="gnutls" ELIBC="glibc" FOO2ZJS_DEVICES="hp1020" INPUT_DEVICES="mouse keyboard synaptics evdev" KERNEL="linux" LCD_DEVICES="g15" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="pl" PHP_TARGETS="php5-3" PYTHON_TARGETS="python2_7" RUBY_TARGETS="ruby19" USERLAND="GNU" VIDEO_CARDS="nvidia nv fbdev"
USER="root"
USERLAND="GNU"
USE_EXPAND="ALSA_CARDS ALSA_PCM_PLUGINS APACHE2_MODULES APACHE2_MPMS CALLIGRA_FEATURES CAMERAS COLLECTD_PLUGINS CROSSCOMPILE_OPTS CURL_SSL DRACUT_MODULES DVB_CARDS ELIBC FCDSL_CARDS FFTOOLS FOO2ZJS_DEVICES FRITZCAPI_CARDS GPSD_PROTOCOLS GRUB_PLATFORMS INPUT_DEVICES KERNEL LCD_DEVICES LIBREOFFICE_EXTENSIONS LINGUAS LIRC_DEVICES MISDN_CARDS NETBEANS_MODULES NGINX_MODULES_HTTP NGINX_MODULES_MAIL OFED_DRIVERS OPENMPI_FABRICS OPENMPI_OFED_FEATURES OPENMPI_RM PHP_TARGETS PYTHON_TARGETS QEMU_SOFTMMU_TARGETS QEMU_USER_TARGETS RUBY_TARGETS SANE_BACKENDS USERLAND VIDEO_CARDS VOICEMAIL_STORAGE XFCE_PLUGINS XTABLES_ADDONS"
USE_EXPAND_HIDDEN="CROSSCOMPILE_OPTS ELIBC KERNEL USERLAND"
USE_EXPAND_IMPLICIT="ARCH ELIBC KERNEL USERLAND"
USE_EXPAND_UNPREFIXED="ARCH"
USE_EXPAND_VALUES_ARCH="alpha amd64 amd64-fbsd amd64-linux arm arm-linux hppa hppa-hpux ia64 ia64-hpux ia64-linux m68k m68k-mint mips ppc ppc64 ppc64-linux ppc-aix ppc-macos ppc-openbsd s390 sh sparc sparc64-freebsd sparc64-solaris sparc-fbsd sparc-solaris x64-freebsd x64-macos x64-openbsd x64-solaris x86 x86-cygwin x86-fbsd x86-freebsd x86-interix x86-linux x86-macos x86-netbsd x86-openbsd x86-solaris x86-winnt"
USE_EXPAND_VALUES_ELIBC="AIX Cygwin Darwin FreeBSD glibc HPUX Interix mintlib NetBSD OpenBSD SunOS uclibc Winnt"
USE_EXPAND_VALUES_KERNEL="AIX Cygwin Darwin FreeBSD freemint HPUX Interix linux NetBSD OpenBSD SunOS Winnt"
USE_EXPAND_VALUES_USERLAND="BSD GNU"
USE_ORDER="env:pkg:conf:defaults:pkginternal:repo:env.d"
VBOX_APP_HOME="/opt/VirtualBox"
VIDEO_CARDS="nvidia nv fbdev"
WANT_MP="true"
XAUTHORITY="/root/.xauthxlhcyl"
XDG_CONFIG_DIRS="/etc/xdg"
XDG_DATA_DIRS="/usr/local/share:/usr/share"
XTABLES_ADDONS=""
_="/usr/bin/emerge"
_JAVA_OPTIONS="-Dawt.useSystemAAFontSettings=on -Dswing.defaultlaf=com.sun.java.swing.plaf.gtk.GTKLookAndFeel -Dswing.crossplatformlaf=com.sun.java.swing.plaf.gtk.GTKLookAndFeel -Dswing.aatext=true -Dawt.useSystemAAFontSettings=on"
Comment 8 Julian Ospald 2012-10-24 17:52:40 UTC
(In reply to comment #7)
> There's no file /usr/lib64/girepository-1.0/Gtk-3.0.typelib, not even
> /usr/lib64/girepository-1.0 folder. Also there's nothing in /usr/local/lib64
> but perl5 folder.

Please reemerge x11-libs/gtk+:3 with useflag "introspection" activated and report back. Seems it's missing.

> 
> $ python
> Python 2.7.3 (default, May  7 2012, 00:35:22)
> [GCC 4.5.3] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
> >>> from gi.repository import Gtk
> Traceback (most recent call last):
>   File "<stdin>", line 1, in <module>
> ImportError: No module named gi.repository
> 

That error message is different from the previous one. Why? Are you mixing up machines/installations?
Comment 9 manwe 2012-10-24 18:06:53 UTC
Damn, my apologies. I had few terminals open and by mistake run all commands from previous post on another desktop. Fortunately there are very similiar in configuration and you were right, USE=introspection on x11-libs/gtk+ did put file /usr/lib64/girepository-1.0/Gtk-3.0.typelib

On the other hand, vboxgtk still throws an error.

$ /usr/bin/vboxgtk
Traceback (most recent call last):
  File "/usr/bin/vboxgtk", line 94, in <module>
    vboxgtk.main()
  File "/usr/lib64/python2.7/site-packages/vboxgtk/iface.py", line 47, in call_with_method
    return func(self,*args,**kwargs)
  File "/usr/lib64/python2.7/site-packages/vboxgtk/iface.py", line 55, in main
    dao.init()
  File "/usr/lib64/python2.7/site-packages/vboxgtk/dao.py", line 87, in call_with_method
    return func(self,*args,**kwargs)
  File "/usr/lib64/python2.7/site-packages/vboxgtk/dao.py", line 106, in init
    hwvirtex, pae, vbox.host.Acceleration3DAvailable)
  File "/usr/lib64/virtualbox/sdk/bindings/xpcom/python/xpcom/client/__init__.py", line 384, in __getattr__
    raise AttributeError, "XPCOM component '%s' has no attribute '%s'" % (self._object_name_, attr)
AttributeError: XPCOM component '<unknown>' has no attribute 'Acceleration3DAvailable'


app-emulation/virtualbox-4.2.2 is compiles with USE="additions alsa extensions opengl pam python qt4 sdk -doc -headless -java -pulseaudio -vboxwebsrv -vnc"
Comment 10 Julian Ospald 2012-10-24 18:32:54 UTC
can you try with stable vbox?
Comment 11 manwe 2012-10-24 19:00:47 UTC
Yup, you were right, works with vbox 4.1.22. Which is kinda funny, that unstable vboxgtk works with only stable vbox. Never mind though, now it's working properly. Thank you :)
Comment 12 Julian Ospald 2012-10-24 19:14:14 UTC
I will fix the gtk dependency and make vboxgtk force rdep on vbox -lt 4.2.0

the rest is up to upstream, please refer to that bug
http://code.google.com/p/vboxgtk/issues/detail?id=3
Comment 13 Julian Ospald 2012-10-26 22:03:23 UTC
0.8.1 has been released and supports latest virtualbox


+*vboxgtk-0.8.1 (26 Oct 2012)
+
+  26 Oct 2012; Julian Ospald <hasufell@gentoo.org> +vboxgtk-0.8.1.ebuild,
+  +files/vboxgtk.desktop.in:
+  version bump