Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 556608 - media-plugins/gst-plugins-dvb does not compile unless gstreamer built with USE="introspection"
Summary: media-plugins/gst-plugins-dvb does not compile unless gstreamer built with US...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: GStreamer package maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-08-03 22:49 UTC by James Ausmus
Modified: 2016-01-02 21:52 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 James Ausmus 2015-08-03 22:49:13 UTC
gst-plugins-dvb-1.4.5 fails to compile if gstreamer was not built with USE="introspection"

Reproducible: Always

Steps to Reproduce:
1. USE="-introspection" emerge gstreamer
2. emerge =media-plugins/gst-plugins-dvb-1.4.5
3.
Actual Results:  
PKG_CONFIG_PATH="../../../pkgconfig:/usr/lib64/pkgconfig" \
        GST_PLUGIN_SYSTEM_PATH_1_0="" GST_PLUGIN_PATH_1_0="" GST_REGISTRY_UPDATE=no \
        /usr/bin/g-ir-scanner -v --namespace GstMpegts \
        --nsversion=1.0 \
        --identifier-prefix=GstMpegts \
        --symbol-prefix=gst_mpegts \
        --symbol-prefix=gst \
        --warn-all -v \
        --c-include "gst/mpegts/mpegts.h" \
        -I/var/tmp/portage/media-plugins/gst-plugins-dvb-1.4.5/work/gst-plugins-bad-1.4.5/gst-libs \
        -I../../../gst-libs \
        --add-include-path=`PKG_CONFIG_PATH="../../../pkgconfig:/usr/lib64/pkgconfig" /usr/bin/x86_64-pc-linux-gnu-pkg-config --variable=girdir gstreamer-1.0` \
        --add-include-path=`PKG_CONFIG_PATH="../../../pkgconfig:/usr/lib64/pkgconfig" /usr/bin/x86_64-pc-linux-gnu-pkg-config --variable=girdir gstreamer-video-1.0` \
        --library=libgstmpegts-1.0.la \
        --include=Gst-1.0 \
        --libtool="../../../libtool" \
        --pkg gstreamer-1.0 \
        --pkg gstreamer-video-1.0 \
        --pkg-export gstreamer-mpegts-1.0 \
        --add-init-section="gst_init(NULL,NULL);" \
        -DGST_USE_UNSTABLE_API \
        --output GstMpegts-1.0.gir \
        /var/tmp/portage/media-plugins/gst-plugins-dvb-1.4.5/work/gst-plugins-bad-1.4.5/gst-libs/gst/mpegts/gstmpegtssection.h /var/tmp/portage/media-plugins/gst-plugins-dvb-1.4.5/work/gst-plugins-bad-1.4.5/gst-libs/gst/mpegts/gst-atsc-section.h /var/tmp/portage/media-plugins/gst-plugins-dvb-1.4.5/work/gst-plugins-bad-1.4.5/gst-libs/gst/mpegts/gst-dvb-section.h /var/tmp/portage/media-plugins/gst-plugins-dvb-1.4.5/work/gst-plugins-bad-1.4.5/gst-libs/gst/mpegts/gst-scte-section.h /var/tmp/portage/media-plugins/gst-plugins-dvb-1.4.5/work/gst-plugins-bad-1.4.5/gst-libs/gst/mpegts/gstmpegtsdescriptor.h /var/tmp/portage/media-plugins/gst-plugins-dvb-1.4.5/work/gst-plugins-bad-1.4.5/gst-libs/gst/mpegts/gst-dvb-descriptor.h /var/tmp/portage/media-plugins/gst-plugins-dvb-1.4.5/work/gst-plugins-bad-1.4.5/gst-libs/gst/mpegts/mpegts.h  \
        /var/tmp/portage/media-plugins/gst-plugins-dvb-1.4.5/work/gst-plugins-bad-1.4.5/gst-libs/gst/mpegts/gstmpegtssection.c /var/tmp/portage/media-plugins/gst-plugins-dvb-1.4.5/work/gst-plugins-bad-1.4.5/gst-libs/gst/mpegts/gstmpegtsdescriptor.c /var/tmp/portage/media-plugins/gst-plugins-dvb-1.4.5/work/gst-plugins-bad-1.4.5/gst-libs/gst/mpegts/gst-dvb-descriptor.c /var/tmp/portage/media-plugins/gst-plugins-dvb-1.4.5/work/gst-plugins-bad-1.4.5/gst-libs/gst/mpegts/gst-dvb-section.c /var/tmp/portage/media-plugins/gst-plugins-dvb-1.4.5/work/gst-plugins-bad-1.4.5/gst-libs/gst/mpegts/gst-atsc-section.c 
Couldn't find include 'Gst-1.0.gir' (search path: ['/usr/share/gir-1.0', '/usr/share/gir-1.0', '/usr/local/share/gir-1.0', '/usr/share/gir-1.0', '/usr/share/gir-1.0', '/usr/share/gir-1.0', '/usr/share/gir-1.0'])
Makefile:1294: recipe for target 'GstMpegts-1.0.gir' failed
make[1]: *** [GstMpegts-1.0.gir] Error 1

Expected Results:  
gst-plugins-dvb compiles successfully

# emerge --info
Portage 2.2.20 (python 2.7.10-final-0, default/linux/amd64/13.0/desktop/kde, gcc-4.9.3, glibc-2.21-r1, 4.0.1-gentoo x86_64)
=================================================================
System uname: Linux-4.0.1-gentoo-x86_64-Intel-R-_Core-TM-_i7_CPU_930_@_2.80GHz-with-gentoo-2.2
KiB Mem:    16422212 total,   3407104 free
KiB Swap:    8388604 total,   8376516 free
Timestamp of repository gentoo: Mon, 03 Aug 2015 16:00:01 +0000
sh bash 4.3_p39
ld GNU ld (Gentoo 2.25.1 p1.0) 2.25.1
app-shells/bash:          4.3_p39::gentoo
dev-java/java-config:     2.2.0::java
dev-lang/perl:            5.22.0::gentoo
dev-lang/python:          2.7.10::gentoo, 3.2.5::gentoo, 3.3.5-r1::gentoo, 3.4.2::gentoo
dev-util/cmake:           3.2.3::gentoo
dev-util/pkgconfig:       0.28-r3::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.17::gentoo
sys-apps/sandbox:         2.6-r1::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r1::gentoo
sys-devel/automake:       1.9.6-r3::gentoo, 1.10.3::gentoo, 1.11.6-r1::gentoo, 1.12.6::gentoo, 1.13.4::gentoo, 1.14.1::gentoo, 1.15::gentoo
sys-devel/binutils:       2.25.1::gentoo
sys-devel/gcc:            4.6.3::gentoo, 4.7.4::gentoo, 4.8.5::gentoo, 4.9.3::gentoo
sys-devel/gcc-config:     1.8::gentoo
sys-devel/libtool:        2.4.6-r1::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 4.1::gentoo (virtual/os-headers)
sys-libs/glibc:           2.21-r1::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000

local
    location: /usr/local/portage/overlay
    masters: gentoo
    priority: 0

java
    location: /var/lib/layman/java
    masters: gentoo
    priority: 50

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=native -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /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.5/ext-active/ /etc/php/cgi-php5.5/ext-active/ /etc/php/cli-php5.5/ext-active/ /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 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--quiet-build=n"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://gentoo.osuosl.org http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j9"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
USE="R X Xaw3d a52 aac aacplus aacs aalib abyss accessibility acl acpi additions addns addressbook ads afp aio akonadi alisp alsa alstream amd64 amr amrnb amrwb analitza android animgif ao apache2 apng applet archive ares artworkextra asn aspell assistant async asyncns atm atmo attica attrib audio autoipd automount autotools autotrace avahi avalon-framework avalon-logkit ayatana bash-completion bazaar bcmath beagle bearer benchmarks berkdb bineditor binfilter bittorrent bittorrent-external bl bluray bonjour boo bookmarks branding bs2b bsf btrfs bugzilla bzip2 c++0x c3p0 cache cairo calendar canberra caps captury cblas cdaudio cdda cddax cddb cdio cdparanoia cdr cdrkit celt cgc cgraph chicken chm cifsupcall cisco cjk cleartype cli client-libs clisp clucene cmake common-lisp community config-file consolekit contacts context contrast contrib corefonts coverage cracklib crypt cscope csharp ctype ctypes-python cue cups cupsddk curl curlwrappers custom-cflags custom-cpuopts custom-cxxflags custom-optimization cviewer cvs cxx cyrillic d3d daap dbus dc1394 debugger declarative dell derby designer designer-plugin deskbar desktopglobe detex development device-mapper devil dga dhcpcd dia digitalradio dirac directfb discouraged disk-partition diskio djvu dmx dns doc docbook dot dri dssi dtmf dts dv dvb dvd dvdnav dvdr dvdread dvi dvi2tty dvipdfm ebook editor eds egl elf elisp embedded emboss emf emotion enc enca enchant encode epdf epiphany epos epub epydoc esd evdev ewl examples exceptions exchange exif exiv2 expat extensible extensions extra extra-tools extraengine extrafilters extras faac faad facebook facedetect fakevim fam fame farstream fastbuild fat fax fbcon feedback festival ffmpeg fftw fidonet filter fingerprint firefox fits flac flash flatfile flickr floppy fltk fluidsynth fontconfig fontforge fortran fpx freetds freetts frei0r ftp fts3 fuse g3dvl gadu galago gallery gallium games gbm gcj gconf gcrypt gd gdbm gdu gedit geolocation ggi gif gii gimp git gjdoc glade gles gles1 gles2 glew glib glitz gme gmm gmp gnokii gnome-keyring gnome-print gnomecd gnumeric gnuplot gnutls google google-gadgets googledrive gpg gpgme gphoto2 gpm gps graphics graphviz groupwise grp gs gsf gsl gsm gstreamer gtk gtk3 gtkhtml gts guile gunit h224 h281 h323 hash hdri health help highlight hog hpcups hpijs html htmlhandbook http http-forms http-server httpd humanities hwdb hyperestraier hyperspec iax ical iconv icq icu id3tag idea idn ieee1394 ifp ilbc imagemagick imaging imap imlib indi inifile inotify int-quality ioctl ios iphone iplayer iplsrc ipod iptc ipv6 irc italk ithreads itrax ivr ixj jabber jack jadetex jai jasper java java5 java6 javamail javascript jbig jce jingle jmf jms jmx joystick jpeg jpeg2k jruby jsapi json juju karma kate kde kdeenablefinal kdehiddenvisibility kdepim kdrive kerberos kig-scripting kipi kmail konqueror kontact kpathsea kqemu kvm ladspa lame laptop lasi lastfm latex lcms ldap ldap-sasl lensfun libass libav libburn libcaca libedit libextractor libffi libgcrypt libkms libmms libmpeg2 libnl libnotify libproxy libsamplerate libsexy libsigsegv libssh2 libsysfs libtiger libusb libv4l libv4l2 libwww libyaml lid lilo live llvm lm_sensors localsysmon location log log4j logrotate lpsol lqr lua luatex lvm lyx lzma lzo mad madwifi mail map marble matroska mbrola md5sum mdi mdnsresponder-compat meanwhile mecab mercurial messagin messaging messenger mhash mikmod mime minizip mjpeg mktemp mmap mms mmx mmxext mng mobi modplug module modules mono monolithic monolithic-build moodbar moonlight motif mozdevelop mozembed mp2 mp3 mp3rtp mp3tunes mp4 mpeg mpg123 mplayer msn mssql mtp multilib multimedia musepack music musicbrainz mvl mysql mysqli mysqlnd mythtv mzscheme na_dd na_icons nas nautilus ncurses nepomuk nethack netjack network network-cron networking networkmanager new-clx new-hpcups new-login njb nls nntp nova npp nptl nsplugin nss ntlm ntp ntpd nut nuv oauth objc objc++ ocaml odbc odbcmanual odk offensive office ogg okteta okular omega onlineservices openal opencore-amr openctl openexr opengl opengtl openmp openssl openvg openvpn optimization optimized-qmake opus organizer oscar osmesa otr oxygen pam pango pari parport pate pcap pcntl pcre pda pdf pdo perforce perl phar phonon php physfs pidgin pipechan plainqt plasma playlist plotutils plugins pm-utils pnat png pnm podcast policykit pop poppler portaudio posix postproc postscript ppds ppp pptp prediction printsupport prison private-headers profiling projectm ps pst pstricks pth publishers publishsubscribe pulse pulseaudio pvr pygments python python3 q32 qalculate qimageblitz qmake qml qos qpak qq qscintilla qt-faststart qt3support qt4 qt5 qthelp qtscript quicktime quotas quvi qwt radio rar raster raw rcs rdbusb rdesktop rdesktop-vrdp rdp rdpusb readline real realtime recode redland remote remoteosd remotesysmon rendering reports resolvconf reviewboard rfc4175 rle romio rplay rpm rss rtc rtf rtmp rtsp ruby samba sametime sasl sbc sbig scale scale-tilt scale0tilt scanner schroedinger science scim scintilla script scripting scripttools sdk sdl sdl-image secure-delete semantic-desktop sendmail sendto sensors serial server serviceframework servletapi sesame2 session sftp shapefile shared-dricore sharedext sharedmem shm shmvideo shout shutdown sidebar silc simplexml sip sipim skins skype slang slp smbclient smbsharemodes smp sms smtp smux sna sndfile snmp soap socialweb sockets socks socks5 solver sound soundex soup source speex spell spl sql sqlite sqlite3 srt srtp sse sse2 sse3 sse4 sse4_2 ssh ssl ssse3 start-notification startup-notification stats stl stream strigi strong-optimization stun subversion svg svm swat swig syncns sysfs syslog system-libvncserver system-sqlite systeminfo sysvipc t1lib taglib tbb tcl tcpd tdb teamwork telepathy teletext telnet templates test-framework testbed tetex tex4ht tga theora threads threadsafe thumbnail thumbnails tidy tiff tilt timezone timidity tk tokenizer tokyocabinet toolbar tools totem toy tracker truetype tts tunepimp tv_check tv_combiner twolame udev udisks ukit unicode unlock-notify upcall upnp upower urandom url usb utils uxa v4l v4l2 vaapi valgrind vboxwebsrv vcd vcdinfo vcdx vde vdpau versit vhook video video-file views vim vim-pager vim-syntax vim-with-x visualization vlc vlm vnc vorbis vpb vpx vxml wad watchdog wav wavpack weather web webdav webdav-serf webgl webinterface webkit webmail webp webpresence wifi wiimote win32codecs winbind winpopup wireless wlm wmf word-perfect wpd wpg wps wv2 wxwidgets wxwindows x264 x265 xa xanim xattr xbase xcap xcb xcomposite xdg xetex xft xine xml xmldoclet xmlpatterns xmlreader xmlrpc xmlwriter xmp xorg xosd xpm xprint xps xscreensaver xsl xslt xulrunner xv xvid xvmc yahoo yv12 zeitgeist zephyr zeroconf zip zlib zvbi" ABI_X86="64" 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" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd 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 sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" CURL_SSL="nss" 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 ublox ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en en_US" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" QEMU_SOFTMMU_TARGETS="x86_64 i386 arm" QEMU_USER_TARGETS="x86_64 i386 arm armeb" RUBY_TARGETS="ruby19 ruby20 ruby21 ruby22" SANE_BACKENDS="hp" USERLAND="GNU" VIDEO_CARDS="vesa nouveau 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"
USE_PYTHON="2.7 3.3"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Alexandre Rostovtsev (RETIRED) gentoo-dev 2015-08-04 13:36:47 UTC
Interesting. AFAICT this can happen because a copy of libgstmpegts gets rebuilt when building the dvb plugin, and libgstmpegts's makefile will build introspection data if configure detected that gobject-introspection is installed.

I think we need to disable introspection by default in gst-plugins10.eclass
Comment 2 Gilles Dartiguelongue (RETIRED) gentoo-dev 2016-01-02 21:52:57 UTC
Thanks to updates in gstreamer package, this is now fixed in 1.6.2:

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5b94a181a1761d232a7e90a0fab9b2685d4b40a2

Thanks for reporting.