Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 138214 - media-video/flumotion-0.2.1 missing gtk.glade
Summary: media-video/flumotion-0.2.1 missing gtk.glade
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: GStreamer package maintainers
URL:
Whiteboard:
Keywords:
: 166923 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-06-27 08:29 UTC by Pinky
Modified: 2007-08-30 17:58 UTC (History)
2 users (show)

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


Attachments
Working ebuild (flumotion-0.2.2.ebuild,3.71 KB, text/plain)
2006-12-23 11:11 UTC, Richard Ash
Details
Patch to fix the pygtk version check (pygtk-versioncheck.patch,1013 bytes, patch)
2006-12-23 11:14 UTC, Richard Ash
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Pinky 2006-06-27 08:29:22 UTC
checking for GST_08... No package 'gstreamer-0.8' found
checking for GST_010... yes
checking for PYGTK... yes
configure: Using pygtk installed in /usr/lib/python2.4/site-packages
checking for python module gtk.glade... not found
configure: error: You need to have python libglade bindings installed

!!! Please attach the following file when filing a report to bugs.gentoo.org:
!!! /var/tmp/portage/flumotion-0.2.1/work/flumotion-0.2.1/config.log

!!! ERROR: media-video/flumotion-0.2.1 failed.
Call stack:
  ebuild.sh, line 1545:   Called dyn_compile
  ebuild.sh, line 940:   Called src_compile
  flumotion-0.2.1.ebuild, line 67:   Called econf '--disable-install-schemas' '--localstatedir=/var'
  ebuild.sh, line 541:   Called die

-----------------------------------

Portage 2.1.1_pre1-r3 (default-linux/x86/2005.1, gcc-4.1.1/vanilla, glibc-2.4-r3, 2.6.17-ck1-K7 i686)
=================================================================
System uname: 2.6.17-ck1-K7 i686 AMD Sempron(tm)   2500+
Gentoo Base System version 1.12.1
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
dev-lang/python:     2.3.5-r2, 2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r2
sys-devel/gcc-config: [Not Present]
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -pipe -fomit-frame-pointer -Os -falign-loops -finline-functions --param max-inline-insns-auto=32"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/eselect/compiler /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-march=athlon-xp -pipe -fomit-frame-pointer -Os -falign-loops -finline-functions --param max-inline-insns-auto=32"
DISTDIR="/mnt/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict userpriv"
GENTOO_MIRRORS="http://ftp.sh.cvut.cz/MIRRORS/gentoo/gentoo http://ftp.linux.cz/pub/linux/gentoo "
LANG="cs_CZ.UTF-8"
LC_ALL="cs_CZ.UTF-8"
LINGUAS="en en_GB en_US cs"
MAKEOPTS="-j2"
PKGDIR="/root/work/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://ftp.sh.cvut.cz/gentoo-portage"
USE="x86 3dnow 3dnowext 7zip X X509 a52 aac ada aim alsa apache2 apm asf async audiofile avi bash-completion berkdb bidi bitmap-fonts bl blas bluetooth bookmarks bzip2 cairo canvas caps cdparanoia chroot clearcase cli crosscompile crypt cups curl cvs dba djbfft djvu doc dri dts dv dvb dvd dvdread dvi ecc eds emboss encode examples exif expat fam ffmpeg firefox flac foomaticdb fortran fpx freetype fuse gd gdbm gif gimp ginac glep glitz glut gmp gnutls gphoto2 grammar graphviz gs gtk gtk2 gzip haskell hdf5 httpd iconv icq id3 idn imagemagick imlib imlib2 iproute2 ipv6 irc irda isdnlog jabber javascript jbig jpeg jpeg2k kde kqemu lame lcms libg++ libsamplerate libwww live lm_sensors logrotate lzo lzw-tiff mad mailwrapper math matroska md5sum mikmod mmap mmx mmxext mng mod modplug mp3 mp4 mp4live mpeg mpeg2 msn multicall musepack nas ncurses netboot network nls nntp no-old-linux no_wxgtk1 nodrm nptl nptlonly nsplugin objc ocaml ogg oggvorbis on-the-fly-crypt openal openexr opengl pam pam_chroot pascal pcre pda pdf pdflib perforce perl php pic player plotutils png ppds pppd python qhull qt qt3 quicktime rdesktop readline real reflection rle rogue rss rtc ruby samba sametime scanner screen sdl serial session shout silc slang sms sndfile speex spell spl sql sqlite sse ssl stencil-buffer stream subversion svg swat t1lib tcltk test tetex theora thesaurus tiff truetype truetype-fonts type1-fonts unicode usb userlocales utf8 v4l v4l2 vcd vdr vhosts vim-pager vim-with-x vlm vorbis win32codecs wxwindows x264 xanim xatrix xml xml2 xorg xosd xpm xprint xscreensaver xv xvid yv12 zip zlib dvb_cards_dibusb-usb1 dvb_cards_dibusb-usb2 dvb_cards_or51132 dvb_cards_or51211 dvb_cards_ttpci dvb_cards_usb-a800 dvb_cards_usb-dtt200u dvb_cards_usb-umt dvb_cards_usb-vp702x dvb_cards_usb-vp7045 dvb_cards_usb-wt220u elibc_glibc input_devices_acecad input_devices_aiptek input_devices_calcomp input_devices_citron input_devices_digitaledge input_devices_dmc input_devices_dynapro input_devices_elo2300 input_devices_elographics input_devices_evdev input_devices_fpit input_devices_hyperpen input_devices_jamstudio input_devices_joystick input_devices_keyboard input_devices_magellan input_devices_magictouch input_devices_microtouch input_devices_mouse input_devices_mutouch input_devices_palmax input_devices_penmount input_devices_spaceorb input_devices_summa input_devices_synaptics input_devices_tek4957 input_devices_ur98 input_devices_vmmouse input_devices_void input_devices_-wacom kernel_linux linguas_en linguas_en_GB linguas_en_US linguas_cs userland_GNU video_cards_apm video_cards_ark video_cards_ati video_cards_chips video_cards_cirrus video_cards_cyrix video_cards_dummy video_cards_-fglrx video_cards_glint video_cards_i128 video_cards_i740 video_cards_i810 video_cards_imstt video_cards_mach64 video_cards_mga video_cards_-newport video_cards_neomagic video_cards_nsc video_cards_nv video_cards_-nvidia video_cards_r128 video_cards_radeon video_cards_rendition video_cards_s3 video_cards_s3virge video_cards_savage video_cards_siliconmotion video_cards_sis video_cards_sisusb video_cards_tga video_cards_trident video_cards_tseng video_cards_v4l video_cards_vesa video_cards_vga video_cards_via video_cards_vmware"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Pinky 2006-06-27 08:50:23 UTC
Work well after
FEATURES="sandbox userpriv" => FEATURES="sandbox"

Comment 2 Claes Mogren 2006-07-04 02:52:03 UTC
I could not get flumotion emerged. The configure fails in the following way:

 .
 .
configure: Looking for Python version >= 2.3
checking for python... (cached) /usr/bin/python
checking "/usr/bin/python":... okay
checking local Python configuration... looks good
checking for python version... (cached) 2.4
checking for python platform... (cached) linux2
checking for python script directory... (cached) ${prefix}/lib/python2.4/site-packages
checking for python extension module directory... (cached) ${exec_prefix}/lib64/python2.4/site-packages
checking for headers required to compile python extensions... found
checking for x86_64-pc-linux-gnu-pkg-config... (cached) /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for GST_08... yes
checking for GST_010... yes
checking for PYGTK... yes
configure: Using pygtk installed in /usr/lib64/python2.4/site-packages
checking for python module gtk.glade... not found
configure: error: You need to have python libglade bindings installed

!!! Please attach the following file when filing a report to bugs.gentoo.org:
!!! /usr/portage/tmp/portage/flumotion-0.2.1/work/flumotion-0.2.1/config.log

!!! ERROR: media-video/flumotion-0.2.1 failed.
Call stack:
  ebuild.sh, line 1545:   Called dyn_compile
  ebuild.sh, line 940:   Called src_compile
  flumotion-0.2.1.ebuild, line 67:   Called econf '--disable-install-schemas' '--localstatedir=/var'
  ebuild.sh, line 541:   Called die

!!! econf failed

I have libglade-2.5.1 and pygtk-2.8.6 installed, but how do I get the pyglade support? pygtk is supposed to include pyglade, but there's no USE-flag for it. (I tried the previous comment, but just as I expected, it didn't work.)

------------ Info --------------
Portage 2.1.1_pre2-r2 (default-linux/amd64/2006.0, gcc-4.1.1/amd64-vanilla, glibc-2.4-r3, 2.6.17-gentoo x86_64)
=================================================================
System uname: 2.6.17-gentoo x86_64 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.12.1
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
ccache version 2.4 [enabled]
dev-lang/python:     2.3.5, 2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r2
dev-util/confcache:  0.4.2-r1
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.17
sys-devel/gcc-config: 2.0.0_rc1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.16
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -pipe -ftracer -fno-ident -fomit-frame-pointer -freorder-blocks-and-partition"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/mozilla/defaults/pref /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/eselect/compiler /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-march=athlon64 -O2 -pipe -ftracer -fno-ident -fomit-frame-pointer -freorder-blocks-and-partition"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache confcache distcc distlocks metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp.du.se/pub/os/gentoo http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
LINGUAS="en sv"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_EXTRA_OPTS="--exclude-from=/etc/portage/rsync_excludes"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/usr/portage/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/local/xgl-coffee"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="amd64 X aac acpi aim alsa apache2 avahi avi bash-completion berkdb bitmap-fonts bluetooth browserplugin cairo calendar canvas cdparanoia cdr cli crypt cups dbus dga dio directfb divx4linux dlloader doc dri dts dvd dvdr dvdread eds emboss encode exif fbcon ffmpeg fftw firefox foomaticdb gdbm gif glibc-omitfp glitz glx gnome gphoto2 gpm gstreamer gtk gtk2 hal icq imagemagick imlib ipv6 isdnlog jabber java jpeg ldap lzw lzw-tiff mad matroska mime mono mozilla mozsvg mp3 mpeg msn ncurses nls nptl nptlonly nsplugin nvidia offensive oggvorbis opengl oscar pam pcre pdflib perl png pppd python qt3 qt4 quicktime readline reflection rtc ruby samba sdl session spell spl sqlite ssl svg tcpd tga theora tiff truetype truetype-fonts type1-fonts unicode usb userlocales v4l v4l2 vorbis wmf xml xorg xpm xscreensaver xv xvid yahoo zlib elibc_glibc input_devices_keyboard input_devices_mouse input_devices_vmmouse kernel_linux linguas_en linguas_sv userland_GNU video_cards_nvidia video_cards_vesa video_cards_fbdev video_cards_vmware"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS

Comment 3 Richard Ash 2006-11-16 09:46:31 UTC
Same problem exists on both x86 and amd64 machines (otherwise stable systems). I think this snippet from configure.log explains what is going on:

configure:11452: checking for python module gtk.glade
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified

  Error while trying to import gtk.glade:
    <exceptions.RuntimeError instance at 0x2b441f8d4518>: could not open display
configure:11478: result: not found
configure:11480: error: You need to have python libglade bindings installed

So the problem is that the user running the configure (in this case portage sandbox) can't connect to the running X server, because it belongs to the logged in user (who is neither root nor the portage sandbox).

If I make the build tree writeable to my user, and run the configure script as the logged in user (who has X running), then it succeeds and I can manually compile, touch .compiled then re-start the emerge to install flumotion.

This is a problem with the way the configure script is written (because it tries to open the display) but I don't know anything about glade to fix it.
Comment 4 Richard Ash 2006-12-23 11:11:29 UTC
Created attachment 104649 [details]
Working ebuild

The offending check in the configure script is disabled if the DISPLAY environment variable is not set, so updated ebuild unexports it before running configure. It also didn't like pygtk 2.10.3 due to a dumb version check, so there's a patch for that as well.
Comment 5 Richard Ash 2006-12-23 11:14:03 UTC
Created attachment 104650 [details, diff]
Patch to fix the pygtk version check

Supplied configure script exits with error "PyGTK version 2.10.3 < 2.6.3" due to a simplistic string comparision. Patch replaces this with a more robust one so that it will configure and install correctly (has to run autoconf as a result. Does this mean we should DEPEND on autoconf, or does the autotools eclass do this for us?).
Comment 6 Jakub Moc (RETIRED) gentoo-dev 2007-02-14 23:07:17 UTC
*** Bug 166923 has been marked as a duplicate of this bug. ***
Comment 7 Samuli Suominen (RETIRED) gentoo-dev 2007-08-30 17:58:04 UTC
Flumotion 0.2.1 has been removed from Portage since it was depending on GStreamer 0.8 which is on it's way out.

If you still have problems with Flumotion 0.4.1, open a new bug.