Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 389979 - app-accessibility/gnome-mousetrap-0.3 cannot find opencv python module
Summary: app-accessibility/gnome-mousetrap-0.3 cannot find opencv python module
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard: Pending Removal: 2011-12-13
Keywords: PMASKED
Depends on:
Blocks:
 
Reported: 2011-11-09 16:19 UTC by Pacho Ramos
Modified: 2012-01-30 11:08 UTC (History)
0 users

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


Attachments
build.log (gnome-mousetrap-0.3:20111109-161633.log,9.64 KB, text/plain)
2011-11-09 16:19 UTC, Pacho Ramos
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Pacho Ramos gentoo-dev 2011-11-09 16:19:05 UTC
I get:

checking for a Python interpreter with version >= 2.4... python2
checking for python2... /usr/bin/python2
checking for python2 version... 2.7
checking for python2 platform... linux2
checking for python2 script directory... ${prefix}/lib64/python2.7/site-packages
checking for python2 extension module directory... ${exec_prefix}/lib64/python2.7/site-packages
checking for headers required to compile python extensions... found
checking for python module gettext... yes
checking for python module getopt... yes
checking for python module Xlib... yes
checking for python module pyatspi... yes
checking for python module opencv... no
configure: error: Could not find python module opencv

!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/app-accessibility/gnome-mousetrap-0.3/work/gnome-mousetrap-0.3+svn17/config.log
 * ERROR: app-accessibility/gnome-mousetrap-0.3 failed (configure phase):
 *   econf failed
 * 
 * Call stack:
 *          ebuild.sh, line   91:  Called src_configure
 *        environment, line 3190:  Called gnome2_src_configure
 *        environment, line 2473:  Called econf '--disable-dependency-tracking' '--disable-pydoc' '--disable-gtk-doc'
 *   phase-helpers.sh, line  454:  Called die
 * The specific snippet of code:
 *   			die "econf failed"
 * 
 * If you need support, post the output of 'emerge --info =app-accessibility/gnome-mousetrap-0.3',
 * the complete build log and the output of 'emerge -pqv =app-accessibility/gnome-mousetrap-0.3'.
 * The complete build log is located at '/var/log/portage/build/app-accessibility/gnome-mousetrap-0.3:20111109-161633.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-accessibility/gnome-mousetrap-0.3/temp/environment'.
 * S: '/var/tmp/portage/app-accessibility/gnome-mousetrap-0.3/work/gnome-mousetrap-0.3+svn17'


Reproducible: Always




Portage 2.1.10.32 (default/linux/amd64/10.0/desktop/gnome, gcc-4.4.5, glibc-2.12.2-r0, 3.0.7-tuxonice x86_64)
=================================================================
System uname: Linux-3.0.7-tuxonice-x86_64-Intel-R-_Core-TM-_i5-2410M_CPU_@_2.30GHz-with-gentoo-2.0.3
Timestamp of tree: Sun, 06 Nov 2011 19:00:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:          4.1_p9
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.2-r3, 3.1.4-r3
dev-util/ccache:          2.4-r9
dev-util/cmake:           2.8.4-r1
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.0.3
sys-apps/openrc:          0.8.3-r1
sys-apps/sandbox:         2.4
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:       2.21.1-r1
sys-devel/gcc:            4.4.5, 4.5.3-r1, 4.6.2
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.12.2
Repositories: gentoo sunrise x11 rainyday x-portage
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=native"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /var/lib/hsqldb"
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/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 -pipe -march=native"
DISTDIR="/usr/distfiles"
FEATURES="assume-digests binpkg-logs ccache distlocks ebuild-locks fixlafiles multilib-strict news parallel-fetch protect-owned sandbox sfperms sign split-log strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://mirror.ovh.net/gentoo-distfiles/ http://ftp.heanet.ie/pub/gentoo/"
LANG="es_ES.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu"
LINGUAS="es es_ES en_US"
MAKEOPTS="-j5"
PKGDIR="/usr/local/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/portage/local/layman/sunrise /usr/portage/local/layman/x11 /usr/portage/local/layman/rainyday /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 applet bash-completion berkdb bluetooth branding bzip2 cairo cdda cddb cdr cli colord consolekit cracklib crypt cups cvs cxx dbus djvu dri dts dvd dvdr dvi eds emboss enchant encode evo exif fam fat ffmpeg firefox flac fortran fuse gdbm gdu gif gnome gnome-keyring gpm gstreamer gtk gtk3 gtkstyle iconv jpeg kpathsea latex lcms ldap libnotify lyx mad mms mmx mmxext mng modules mono mp3 mp4 mpeg mudflap multilib musicbrainz nautilus ncurses network-cron networkmanager nls nptl nptlonly ntfs ntp numa nvidia ogg opengl openmp optimized-qmake pam pango pch pcre pdf png policykit ppds pppd qt3support readline reiserfs scanner sdl session smp sna spell sse sse2 sse3 ssl ssse3 startup-notification svg sysfs t1lib tcpd test theora threads tiff truetype udev unicode usb v4l vaapi vcd vdpau vorbis wifi x264 xcb xml xorg xulrunner xv xvid youtube 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="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="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="es es_ES en_US" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev nvidia vesa intel i915 i965" 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, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Pacho Ramos gentoo-dev 2011-11-09 16:19:27 UTC
Created attachment 292027 [details]
build.log
Comment 2 Alexandre Rostovtsev (RETIRED) gentoo-dev 2011-11-13 22:14:52 UTC
After investigating gnome-mousetrap, I have the following observations:
* There has been zero upstream activity since gnome-mousetrap-0.4 was released in April 2010.
* gnome-mousetrap-0.3 and 0.4 are both entirely incompatible with the opencv-2.3 python API. And opencv-2.3 is the oldest version in portage. Fixing this incompatibility seems to be tricky but potentially doable.
* gnome-mousetrap-0.3 and 0.4 will fail at runtime if pyatspi-2.2 is installed due to pyatspi-2.2's use of introspection-based bindings. In other words, gnome-mousetrap is entirely incompatible with gnome-3.2. Fixing this incompatibility is difficult; I tried to do the obvious things and failed.

Conclusion: gnome-mousetrap is broken, does not build or run properly, and will be even more broken after gnome-3.2 is unmasked. Unless someone wants to invest a couple of days into heavily modernizing it (and effectively becoming the new upstream), it should be punted.

> # Alexandre Rostovtsev <tetromino@gentoo.org> (13 Nov 2011)
> # Fails to build or run with >=opencv-2.3. Incompatible with pyatspi-2.2 (and
> # therefore with gnome-3.2). No upstream activity since early 2010.
> # Masked for removal in 30 days. Bug #389979
> app-accessibility/gnome-mousetrap
Comment 3 Pacho Ramos gentoo-dev 2012-01-30 11:08:36 UTC
Dropped