Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 480574 - =media-libs/mlt-0.9.0 USE=ruby - In file included from mlt_wrap.cxx:1999: /usr/include/mlt++/MltConsumer.h:26:27: fatal error: framework/mlt.h: No such file or directory
Summary: =media-libs/mlt-0.9.0 USE=ruby - In file included from mlt_wrap.cxx:1999: /us...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
: 505250 (view as bug list)
Depends on:
Blocks: ruby19-removal
  Show dependency tree
 
Reported: 2013-08-11 05:45 UTC by Andrzej Kardas
Modified: 2016-05-11 18:07 UTC (History)
7 users (show)

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


Attachments
build.log (build.log,129.96 KB, text/plain)
2013-08-11 05:48 UTC, Andrzej Kardas
Details
mlt-0.9.0-swig-ruby-incdir-and-libs.patch (mlt-0.9.0-swig-ruby-incdir-and-libs.patch,1.16 KB, patch)
2015-01-22 18:08 UTC, cmuelle8
Details | Diff
mlt-0.9.0.ebuild (mlt-0.9.0.ebuild,4.77 KB, text/plain)
2015-01-22 18:09 UTC, cmuelle8
Details
mlt-0.9.0.ebuild.patch (mlt-0.9.0.ebuild.patch,1.19 KB, patch)
2015-01-22 18:09 UTC, cmuelle8
Details | Diff
mlt-0.9.0-swig-ruby-incdir-and-libs.patch (mlt-0.9.0-swig-ruby-incdir-and-libs.patch,1.11 KB, patch)
2015-01-22 21:29 UTC, cmuelle8
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Andrzej Kardas 2013-08-11 05:45:12 UTC
The media-libs/mlt-0.9.0 failed to emerge with riby use flag.
With USE=-ruby emerge =media-libs/mlt-0.9.0 emerge and installs fine.
The emerge is stoping with:
Building python...OK
Building ruby...OK
make[2]: Wejście do katalogu `/var/tmp/portage/media-libs/mlt-0.9.0/work/mlt-0.9.0/src/swig/ruby'
compiling mlt_wrap.cxx
In file included from /usr/include/mlt++/Mlt.h:24:0,
                 from mlt_wrap.cxx:1999:
/usr/include/mlt++/MltConsumer.h:26:27: fatal error: framework/mlt.h: Nie ma takiego pliku ani katalogu
compilation terminated.
make[2]: *** [mlt_wrap.o] Błąd 1
make[2]: Opuszczenie katalogu `/var/tmp/portage/media-libs/mlt-0.9.0/work/mlt-0.9.0/src/swig/ruby'
make[1]: *** [all] Błąd 1
make[1]: Opuszczenie katalogu `/var/tmp/portage/media-libs/mlt-0.9.0/work/mlt-0.9.0/src/swig'
make: *** [all] Błąd 1
 * ERROR: media-libs/mlt-0.9.0::gentoo failed (compile phase):
 *   emake failed
 * 
 * If you need support, post the output of `emerge --info '=media-libs/mlt-0.9.0::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=media-libs/mlt-0.9.0::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/media-libs/mlt-0.9.0/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-libs/mlt-0.9.0/temp/environment'.
 * Working directory: '/var/tmp/portage/media-libs/mlt-0.9.0/work/mlt-0.9.0'
 * S: '/var/tmp/portage/media-libs/mlt-0.9.0/work/mlt-0.9.0'

Reproducible: Always

Steps to Reproduce:
1. USE=ruby emerge =media-libs/mlt-0.9.0




my emerge --info:
Portage 2.2.0_alpha196 (default/linux/amd64/13.0/desktop/gnome, gcc-4.7.3, glibc-2.17, 3.9.11-gentoo-r1-krucha x86_64)
=================================================================
System uname: Linux-3.9.11-gentoo-r1-krucha-x86_64-Intel-R-_Core-TM-_i5_CPU_M_460_@_2.53GHz-with-gentoo-2.2
KiB Mem:     3903096 total,    196768 free
KiB Swap:    4194300 total,   3989156 free
Timestamp of tree: Sun, 11 Aug 2013 04:15:01 +0000
ld GNU ld (GNU Binutils) 2.23.1
ccache version 3.1.9 [enabled]
app-shells/bash:          4.2_p45
dev-java/java-config:     2.2.0
dev-lang/python:          2.7.5-r1, 3.2.5-r1, 3.3.2-r1
dev-util/ccache:          3.1.9
dev-util/cmake:           2.8.11.1
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.12_pre1-r1::systemd-love
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.10.3, 1.11.6, 1.12.6, 1.13.4, 1.14
sys-devel/binutils:       2.23.1
sys-devel/gcc:            4.7.3
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.9 (virtual/os-headers)
sys-libs/glibc:           2.17
Repositories: gentoo gnome15 cheepee systemd-love sunrise kardasa hasufell steam-overlay
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /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"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--autounmask=n"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs ccache 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 usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="ftp://gentoo.wheel.sk/pub/linux/gentoo/ ftp://91.121.124.139/gentoo-distfiles/ http://gentoo.inf.elte.hu/ rsync://mirror.cambrium.nl/gentoo/            rsync://ftp.vectranet.pl/gentoo/ http://212.219.56.134/sites/www.ibiblio.org/gentoo/"
LANG="pl_PL.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j5"
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"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/gnome15 /var/lib/layman/cheepee /var/lib/layman/systemd-love /var/lib/layman/sunrise /var/lib/layman/kardasa /var/lib/layman/hasufell /var/lib/layman/steam"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="/ X a52 aac aacs aalib accessibility acl acpi addressbook aim alsa amd64 ao artswrappersuid audiofile avahi avx bash-completion beagle berkdb bidi bluetooth bluray branding bs2b btrfs bzip2 cairo calendar caps ccache cdda cddb cdinstall cdr celt cjk cli colord cracklib cron crypt css cue cups curl custom-cflags custom-optimization cxx dbus dc1394 development dga dhcpcd dia djvu dri dtmf dts dv dvb dvd dvdr dvdread dvi eds eix emboss encode espeak exif ext3 ext4 fam fame fat fbsplash fdk ffmpeg firefox firefox-bookmarks flac flash flickr foomatic-db fortran freetype frei0r ftp fuse gadu galago gcj gconf gd gdbm geoip gg gif gimp gimpprint gles gles1 gles2 gmp gnome gnome-keyring gnome-online-accounts gnutls gphoto2 gpm gps graphviz groupwise gs gsm gstreamer gtk gtk3 h224 h281 h323 handbook hddtemp hfs highlight http iconv icq id3tag ieee1394 imagemagick imap inotify introspection iplayer ipod ipv6 irc irda jabber jack java javascript jbig jfs joystick jpeg jpeg2k kate kdeenablefinal kdehiddenvisibility kerberos kipi kvm lame lastfm lcd lcms libcaca libgda libmpeg2 libnotify libsamplerate libsecret live lm_sensors logrotate lzma lzo mad mail matroska midi mikmod mjpeg mms mmx mmxext mng mod modemmanager modesetting modules mono mozdevelop mp3 mp3rtp mp4 mpeg mpg123 mplayer msn mtp mudflap multilib musepack musicbrainz nautilus ncurses network network-cron networkmanager nfs nls nptl nsplugin ntfs ntp nut ogg ogm openal openexr opengl openmp openrc opus pam pango pcre pda pdf pidgin playlist plymouth png podcast policykit postscript ppds projectm pulseaudio python qt3support qt4 quicktime rar raw rdesktop readline real recode reiser4 reiserfs rss rtmp ruby samba sbc scanner schroedinger sdl semantic-desktop sendto session slp smp sna sndfile socialweb sox spamassassin speech speex spell srt srtp sse sse2 sse3 sse4 sse4_1 sse4a sse5 ssl ssse3 startup-notification stats stream svg sysfs system-sqlite systemd taglib tcpd telepathy telnet theora threads tiff timidity tracker truetype twolame udev udisks unicode upnp upnp-av upower usb v4l v4l2 vaapi vala vcd vdpau video videos visualization vlc vmware_guest_linux vmware_guest_winPre2k vmware_guest_windows vnc vorbis vpx vxd wav webkit wifi win32codecs wmf wxwidgets x264 xcb xcomposite xfs xine xinerama xml xmp xpm xprint xps xrandr xscreensaver xulrunner xv xvid xvmc yahoo youtube zeroconf zlib" ABI_X86="64 32" 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="canon" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CURL_SSL="openssl" DRACUT_MODULES="lvm plymouth systemd" 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" GRUB_PLATFORMS="pc" INPUT_DEVICES="evdev keyboard mouse synaptics joystick" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer scripting-beanshell scripting-javascript wiki-publisher nlpsolver pdfimport" LINGUAS="pl en" NETBEANS_MODULES="php groovy enterprise apisupport cnd java javafx websvccommon dlight ergonomics javacard mobility profiler webcommon" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-4" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2 python3_3" QEMU_SOFTMMU_TARGETS="x86_64 cris i386 m68k microblaze mips mips64 mips64el mipsel ppc ppc64 ppcemb sh4 sh4eb sparc sparc64" QEMU_USER_TARGETS="alpha cris i386 m68k microblaze mips mipsel ppc ppc64 ppc64abi32 sh4 sh4eb sparc sparc32plus sparc64 x86_64" RUBY_TARGETS="ruby18 ruby19 ruby20" SANE_BACKENDS="epson epson2 hp hp3500 hp3900 hp4200 hp5400 hp5590 hpljm1005 hpsj5s xerox_mfp" USERLAND="GNU" VIDEO_CARDS="fbdev nouveau nvidia" 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.2 3.3"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Andrzej Kardas 2013-08-11 05:48:29 UTC
Created attachment 355652 [details]
build.log
Comment 2 tman 2013-11-28 07:36:28 UTC
i can also confirm this problem


-D_LARGEFILE_SOURCE -fPIC -pthread -DARCH_X86_64 -Wall -DPIC    -DUSE_MMX -DUSE_SSE -DUSE_SSE2  -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -fPIC -pthread -I../.. -DARCH_X86_64 -Wall -DPIC    -DUSE_MMX -DUSE_SSE -DUSE_SSE2  -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -fPIC -pthread -DGPL3 -DQT_SHARED -I/usr/include/qt4 -I/usr/include/qt4/QtXml -I/usr/include/qt4 -I/usr/include/qt4/QtSvg -I/usr/include/qt4 -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4 -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I/usr/include/qt4/QtCore -I/usr/include/libexif  -Wno-deprecated   -c -o consumer_qglsl.o consumer_qglsl.cpp
x86_64-pc-linux-gnu-g++ -march=corei7 -O2 -pipe -march=corei7 -O2 -pipe -DARCH_X86_64 -Wall -DPIC    -DUSE_MMX -DUSE_SSE -DUSE_SSE2  -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -fPIC -pthread -DARCH_X86_64 -Wall -DPIC    -DUSE_MMX -DUSE_SSE -DUSE_SSE2  -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -fPIC -pthread -I../.. -DARCH_X86_64 -Wall -DPIC    -DUSE_MMX -DUSE_SSE -DUSE_SSE2  -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -fPIC -pthread -DGPL3 -DQT_SHARED -I/usr/include/qt4 -I/usr/include/qt4/QtXml -I/usr/include/qt4 -I/usr/include/qt4/QtSvg -I/usr/include/qt4 -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4 -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I/usr/include/qt4/QtCore -I/usr/include/libexif  -Wno-deprecated   -c -o transition_vqm.o transition_vqm.cpp
x86_64-pc-linux-gnu-g++ -shared -o ../libmltqimage.so factory.o producer_qimage.o producer_kdenlivetitle.o qimage_wrapper.o kdenlivetitle_wrapper.o consumer_qglsl.o transition_vqm.o -Wl,-O1 -Wl,--as-needed -Wl,--no-undefined -Wl,--as-needed -Wl,--no-undefined -Wl,--as-needed -L../../framework -lmlt -lpthread -lm -L../../mlt++ -lmlt++ -Wl,--no-undefined -Wl,--as-needed -L/usr/lib64/qt4 -lQtXml -lQtSvg -lQtOpenGL -lQtGui -lQtCore -lexif 
make[2]: Leaving directory '/var/tmp/portage/media-libs/mlt-0.9.0/work/mlt-0.9.0/src/modules/qimage'
make[1]: Leaving directory '/var/tmp/portage/media-libs/mlt-0.9.0/work/mlt-0.9.0/src/modules'
make[1]: Entering directory '/var/tmp/portage/media-libs/mlt-0.9.0/work/mlt-0.9.0/src/swig'
list='lua python ruby'; \
for subdir in $list; do \
	if [ -x $subdir/build -a ! -f .$subdir -o all = clean ] ; \
	then echo -n Building $subdir... ; \
		cd $subdir && output=`CXXFLAGS="-march=corei7 -O2 -pipe" ./build all 2>&1` ; \
		if [ $? -eq 0 ] ; \
		then echo OK && touch ../.$subdir ; \
		else echo $output && exit 1 ; \
		fi ; \
		cd .. ; \
		if [ -f $subdir/Makefile -a -f .$subdir ] ; \
		then make -C $subdir all || exit 1 ; \
		fi ; \
		if [ all = clean ] ; \
		then rm -f .$subdir ; \
		fi ; \
	fi \
done
Building lua...OK
Building python...OK
Building ruby...OK
make[2]: Entering directory '/var/tmp/portage/media-libs/mlt-0.9.0/work/mlt-0.9.0/src/swig/ruby'
compiling mlt_wrap.cxx
In file included from /usr/include/mlt++/Mlt.h:24:0,
                 from mlt_wrap.cxx:1999:
/usr/include/mlt++/MltConsumer.h:26:27: fatal error: framework/mlt.h: No such file or directory
 #include <framework/mlt.h>
                           ^
compilation terminated.
Makefile:211: recipe for target 'mlt_wrap.o' failed
make[2]: *** [mlt_wrap.o] Error 1
make[2]: Leaving directory '/var/tmp/portage/media-libs/mlt-0.9.0/work/mlt-0.9.0/src/swig/ruby'
Makefile:5: recipe for target 'all' failed
make[1]: *** [all] Error 1
make[1]: Leaving directory '/var/tmp/portage/media-libs/mlt-0.9.0/work/mlt-0.9.0/src/swig'
Makefile:9: recipe for target 'all' failed
make: *** [all] Error 1



Portage 2.2.7 (default/linux/amd64/13.0/desktop, gcc-4.8.2, glibc-2.17, 3.12.1-gentoo x86_64)
=================================================================
System uname: Linux-3.12.1-gentoo-x86_64-Intel-R-_Core-TM-_i7-3740QM_CPU_@_2.70GHz-with-gentoo-2.2
KiB Mem:    24695824 total,  22024352 free
KiB Swap:   25598972 total,  25598972 free
Timestamp of tree: Thu, 28 Nov 2013 06:30:01 +0000
ld GNU ld (GNU Binutils) 2.23.2
app-shells/bash:          4.2_p45
dev-java/java-config:     2.2.0
dev-lang/python:          2.7.5-r4, 3.2.5-r3, 3.3.3
dev-util/cmake:           2.8.12.1-r1
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.12.4
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.6, 1.12.6, 1.13.4, 1.14
sys-devel/binutils:       2.23.2
sys-devel/gcc:            4.8.2
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2
sys-devel/make:           4.0
sys-kernel/linux-headers: 3.12 (virtual/os-headers)
sys-libs/glibc:           2.17
Repositories: gentoo lokal
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=corei7 -O2 -pipe"
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/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="-march=corei7 -O2 -pipe"
DISTDIR="/mnt/portage/distfiles"
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"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="de_DE.UTF-8"
LC_ALL=""
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j9"
PKGDIR="/mnt/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --l
Comment 3 Captain Crutches 2014-03-23 01:41:41 UTC
Confirming same problem here, same build output and error as above.

Portage 2.3.6-r5 (funtoo/1.0/linux-gnu/arch/x86-64bit, gcc-4.8.2, glibc-2.18, 3.13.5-hardened-r1 x86_64)
=================================================================
System uname: Linux-3.13.5-hardened-r1-x86_64-Intel-R-_Core-TM-_i7-3930K_CPU_@_3.20GHz-with-gentoo-2.2.0
KiB Mem:    65954480 total,    905944 free
KiB Swap:    2283348 total,   2283348 free
Timestamp of tree: Unknown
ld GNU gold (GNU Binutils 2.23.2) 1.11
app-shells/bash:          4.2_p45-r1
dev-java/java-config:     2.2.0-r1000
dev-lang/python:          2.7.6-r1001, 3.3.5-r1000
dev-util/cmake:           2.8.12.2-r1::kde
sys-apps/baselayout:      2.2.0-r4
sys-apps/openrc:          0.12.3-r1
sys-apps/sandbox:         2.6-r2
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.10.3, 1.11.6, 1.13.4
sys-devel/binutils:       2.23.2
sys-devel/gcc:            4.8.2-r1
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2
sys-devel/make:           4.0-r1
sys-kernel/linux-headers: 3.7 (virtual/os-headers)
sys-libs/glibc:           2.18
Repositories: gentoo sunrise x11 kde
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -O2 -march=native -mtune=native -maes -pipe -fomit-frame-pointer -freorder-blocks-and-partition -frename-registers -fweb -fgcse-las -fgcse-sm -fgcse-after-reload -fpredictive-commoning -fipa-pta -ftree-loop-ivcanon -ftree-loop-im -fivopts -ftracer -ftree-partial-pre -ftree-loop-distribution -ftree-loop-distribute-patterns -ftree-loop-if-convert -ftree-slp-vectorize -ftree-vectorize  "
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/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe -O2 -march=native -mtune=native -maes -pipe -fomit-frame-pointer -freorder-blocks-and-partition -frename-registers -fweb -fgcse-las -fgcse-sm -fgcse-after-reload -fpredictive-commoning -fipa-pta -ftree-loop-ivcanon -ftree-loop-im -fivopts -ftracer -ftree-partial-pre -ftree-loop-distribution -ftree-loop-distribute-patterns -ftree-loop-if-convert -ftree-slp-vectorize -ftree-vectorize   -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
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"
FFLAGS=""
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--sort-common -Wl,--as-needed"
MAKEOPTS="-j13"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/sunrise /var/lib/layman/x11 /var/lib/layman/kde"
SYNC="git://github.com/funtoo/ports-2012.git"
SYNC_USER="root"
USE="3ds X a52 aac aalib acl aften alsa amd64 apng audiofile berkdb bluray bzip2 cairo canna caps cdda cdr center-tilde cgi cjk collada consolekit cracklib crypt css cups cxx dbus dds dga directx dri dv dvd dvdr dvdread exif faac faad fbcon ffmpeg flac fortran ftp gd gdbm ggi gif gimp glib gold gphoto2 gpm gsl gsm gstreamer gtk handbood hdf5 iconv icu imagemagick introspection ipv6 jabber java joystick jpeg jpeg2k kde lame libaca libass lua lzma mad matroska matrox midi mikmod mmx mng modules mozilla mp3 mp4 mpeg mplayer mssql mudflap multilib musepack ncurses nls nptl nsplugin ogg openal opencl openexr opengl openmp orc osmesa pam pch pcre pdf perl php plasma png policykit portaudio postscript pppd pulseaudio python qt3support qt4 quicktime raw readline resolvconf rss ruby samba sdl semantic-desktop shorten smpeg sndfile sound speex sqlite sqlite3 sse sse2 ssl svg tcl tcpd theora threads tiff tk truetype udev unicode v4l vcd videos vorbis wav wavpack wifi win32codecs wmf wxwidgets x264 xine xinerama xml xpm xv xvid zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel ice1724 intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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 authn_core authz_core socache_shmcb unixd" 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" 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" GRUB_PLATFORMS="pc" INPUT_DEVICES="evdev synaptics keyboard mouse joystick" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_ABIS="2.7 3.3" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="i386 x86_64" RUBY_TARGETS="ruby19 ruby20 ruby21" USERLAND="GNU" VIDEO_CARDS="fglrx" 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, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, SYNC_UMASK
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2014-03-25 13:12:35 UTC
*** Bug 505250 has been marked as a duplicate of this bug. ***
Comment 5 f1r31c3r 2014-04-11 02:20:39 UTC
I can confirm this error. Not sure on exactly what is causing it as i am not exactly sure at the moment what the correct diplomacy for this ebuild is.

What i mean is, "framework" and "mlt++" which are include folders could be copied or extracted buy the ebuild to the /usr/include folder.

They are in fact extracted into:

/var/tmp/portage/media-libs/mlt-0.9.0/work/mlt-0.9.0/src/

Obviously unless your build environment is changed to include 

/var/tmp/portage/media-libs/mlt-0.9.0/work/mlt-0.9.0/src/mlt++

and

/var/tmp/portage/media-libs/mlt-0.9.0/work/mlt-0.9.0/src/framework

then the compiler wont find the include files and hence it fails.

So depending on how the rules are for this ebuild, either an export command to set the folders for the include files can be done or the ebuild should expand the include files to /usr/include even symlink.

I tested this by copying mlt++/* and framework/* to /usr/include/mlt++ and /usr/include/framework

mlt the compiles and installs normally but bare in mind that unless this issue is fixed then the include files wont be updated come the next version as it will continue to expand the includes in the portage directory and not either mod the build environment or symlink/copy new headers.

Hope this helps you guys out for now.
Comment 6 Denis Misiurca 2014-06-25 18:50:08 UTC
Confirming, built and installed without errors when added -ruby.
Comment 7 gentoowok 2014-09-02 08:29:15 UTC
I can also confirm USE="-ruby" has resolved exactly this issue for me with =media-libs/mlt-0.9.0
Comment 8 Elton Carvalho 2014-10-07 06:23:10 UTC
Same thing here:

USE=ruby emerge mlt
make[1]: Entering directory `/var/tmp/portage/media-libs/mlt-0.9.0/work/mlt-0.9.0/src/swig'
list='python ruby'; \
for subdir in $list; do \
        if [ -x $subdir/build -a ! -f .$subdir -o all = clean ] ; \
        then echo -n Building $subdir... ; \
                cd $subdir && output=`CXXFLAGS="-march=native -O2 -pipe" ./build all 2>&1` ; \
                if [ $? -eq 0 ] ; \
                then echo OK && touch ../.$subdir ; \
                else echo $output && exit 1 ; \
                fi ; \
                cd .. ; \
                if [ -f $subdir/Makefile -a -f .$subdir ] ; \
                then make -C $subdir all || exit 1 ; \
                fi ; \
                if [ all = clean ] ; \
                then rm -f .$subdir ; \
                fi ; \
        fi \
done
Building python...OK
Building ruby...OK
make[2]: Entering directory `/var/tmp/portage/media-libs/mlt-0.9.0/work/mlt-0.9.0/src/swig/ruby'
compiling mlt_wrap.cxx
mlt_wrap.cxx:2010:23: fatal error: mlt++/Mlt.h: No such file or directory
compilation terminated.
make[2]: *** [mlt_wrap.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/media-libs/mlt-0.9.0/work/mlt-0.9.0/src/swig/ruby'
make[1]: *** [all] Error 1
make[1]: Leaving directory `/var/tmp/portage/media-libs/mlt-0.9.0/work/mlt-0.9.0/src/swig'
make: *** [all] Error 1


=========

USE=-ruby emerge mlt
SUCCESS.


emerge --info
Portage 2.2.8-r2 (default/linux/amd64/13.0/desktop, gcc-4.7.3, glibc-2.19-r1, 3.14.14-gentoo x86_64)
=================================================================
System uname: Linux-3.14.14-gentoo-x86_64-Intel-R-_Core-TM-_i7-3610QM_CPU_@_2.30GHz-with-gentoo-2.2
KiB Mem:     8061244 total,   2824028 free
KiB Swap:    8384508 total,   8254240 free
Timestamp of tree: Tue, 07 Oct 2014 03:15:01 +0000
ld GNU ld (Gentoo 2.23.2 p1.0) 2.23.2
ccache version 3.1.9 [disabled]
app-shells/bash:          4.2_p52
dev-java/java-config:     2.2.0
dev-lang/perl:            5.18.2-r1
dev-lang/python:          2.7.7, 3.2.5-r6, 3.3.5-r1
dev-util/ccache:          3.1.9-r3
dev-util/cmake:           3.0.2
dev-util/pkgconfig:       0.28-r1
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.12.4
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.6, 1.12.6, 1.13.4
sys-devel/binutils:       2.23.2
sys-devel/gcc:            4.7.3-r1
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.2-r1
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.13 (virtual/os-headers)
sys-libs/glibc:           2.19-r1
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync1.br.gentoo.org/gentoo-portage/
    priority: -1000
ABI="amd64"
ABI_X86="64"
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
ACCEPT_PROPERTIES="*"
ACCEPT_RESTRICT="*"
ANT_HOME="/usr/share/ant"
ARCH="amd64"
AUTOCLEAN="yes"
BOOTSTRAP_USE="cxx unicode internal-glib python_targets_python3_3 python_targets_python2_7 multilib"
CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author"
CAMERAS="canon"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
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="df interface irq load memory rrdtool swap syslog"
COLLISION_IGNORE="/lib/modules/* *.py[co] *$py.class */dropin.cache"
COLORTERM="xfce4-terminal"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /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"
CUR_WIDTH="0"
CXXFLAGS="-march=native -O2 -pipe"
DEFAULT_ABI="amd64"
DESKTOP_SESSION="xfce"
DISPLAY=":0.0"
DISTDIR="/usr/portage/distfiles"
EDITOR="/usr/bin/vim"
ELIBC="glibc"
EMERGE_DEFAULT_OPTS="-v --jobs=3  --load-average 6 --keep-going"
EMERGE_WARNING_DELAY="10"
EPREFIX=""
EROOT="/"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync metadata-transfer news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
FLTK_DOCDIR="/usr/share/doc/fltk-1.3.2_p10088/html"
GCC_SPECS=""
GENTOO_MIRRORS="rsync://gentoo.c3sl.ufpr.br/gentoo/ http://gentoo.c3sl.ufpr.br/ http://www.las.ic.unicamp.br/pub/gentoo/ http://mirror.phy.olemiss.edu/mirror/gentoo http://mirror.datapipe.net/gentoo/ http://darkstar.ist.utl.pt/gentoo/"
GLADE_CATALOG_PATH=":"
GLADE_MODULE_PATH=":"
GLADE_PIXMAP_PATH=":"
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"
GRUB_PLATFORMS="emu efi-64 pc"
GSETTINGS_BACKEND="gconf"
GUILE_LOAD_PATH="/usr/share/guile/1.8"
INFOPATH="/usr/share/info:/usr/share/gcc-data/x86_64-pc-linux-gnu/4.7.3/info:/usr/share/binutils-data/x86_64-pc-linux-gnu/2.23.2/info"
INPUT_DEVICES="evdev synaptics"
IUSE_IMPLICIT="abi_x86_64 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="pt_BR.UTF-8"
LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text"
LC_COLLATE="C"
LC_MESSAGES="C"
LC_NUMERIC="C"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LDFLAGS_amd64="-m elf_x86_64"
LDFLAGS_x32="-m elf32_x86_64"
LDFLAGS_x86="-m elf_i386"
LIBDIR_amd64="lib64"
LIBDIR_amd64_fbsd="lib64"
LIBDIR_arm="lib"
LIBDIR_arm64="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"
LINGUAS="pt_BR en_US pt"
LOGNAME="root"
MAKEOPTS="-j8"
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.7.3/man:/usr/share/binutils-data/x86_64-pc-linux-gnu/2.23.2/man:/etc/java-config-2/current-system-vm/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|systemd|clang|python-exec)"
MULTIOSDIRS="../lib64:../lib32"
NETBEANS="apisupport cnd groovy gsf harness ide identity j2ee java mobility nb php profiler soa visualweb webcommon websvccommon xml"
NOCOLOR="true"
OLDPWD="/usr/include"
PAGER="/usr/bin/less"
PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/usr/x86_64-pc-linux-gnu/gcc-bin/4.7.3:/usr/x86_64-pc-linux-gnu/armv6j-hardfloat-linux-gnueabi/gcc-bin/4.7.3:/usr/x86_64-pc-linux-gnu/avr/gcc-bin/4.7.3"
PKGDIR="/usr/portage/packages"
PORTAGE_ARCHLIST="ppc-openbsd ppc-aix ppc64 x86-cygwin arm-linux s390 x86-openbsd m68k-mint ia64-hpux ppc64-linux ia64 sparc-fbsd x86-winnt x64-freebsd sparc arm64 ppc-macos amd64-fbsd x86-freebsd x86-macos hppa-hpux sh x86-linux x64-macos arm hppa x64-solaris alpha amd64-linux mips ia64-linux sparc64-freebsd x86 sparc-solaris x86-interix ppc x86-netbsd sparc64-solaris amd64 x86-fbsd x64-openbsd m68k x86-solaris"
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_ELOG_CLASSES="log warn error"
PORTAGE_ELOG_MAILFROM="portage@localhost"
PORTAGE_ELOG_MAILSUBJECT="[portage] ebuild log for ${PACKAGE} on ${HOST}"
PORTAGE_ELOG_MAILURI="root"
PORTAGE_ELOG_SYSTEM="save_summary:log,warn,error,qa echo"
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_INTERNAL_CALLER="1"
PORTAGE_NICENESS="10"
PORTAGE_OVERRIDE_EPREFIX=""
PORTAGE_PYM_PATH="/usr/lib64/portage/pym"
PORTAGE_PYTHONPATH="/usr/lib64/portage/pym"
PORTAGE_REPOSITORIES="[DEFAULT]
main-repo = gentoo

PORTAGE_TMPDIR="/var/tmp"
PORTAGE_VERBOSE="1"
PORTAGE_WORKDIR_MODE="0700"
PORTAGE_XATTR_EXCLUDE="security.* system.nfs4_acl"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/steam /var/lib/layman/bumblebee"
PORT_LOGDIR="/var/log/portage"
PORT_LOGDIR_CLEAN="find "${PORT_LOGDIR}" -type f ! -name "summary.log*" -mtime +7 -delete"
PRELINK_PATH_MASK="/usr/lib64/libfreebl3.so:/usr/lib64/libnssdbm3.so:/usr/lib64/libsoftokn3.so:/opt/bin/skype"
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"
PWD="/var/log/portage"
PYTHONDONTWRITEBYTECODE="1"
PYTHON_SINGLE_TARGET="python2_7"
PYTHON_TARGETS="python2_7 python3_3"
QT_GRAPHICSSYSTEM="raster"
QT_PLUGIN_PATH="/usr/lib64/kde4/plugins"
ROOT="/"
ROOTPATH="/opt/bin:/usr/x86_64-pc-linux-gnu/gcc-bin/4.7.3:/usr/x86_64-pc-linux-gnu/armv6j-hardfloat-linux-gnueabi/gcc-bin/4.7.3:/usr/x86_64-pc-linux-gnu/avr/gcc-bin/4.7.3"
RPMDIR="/usr/portage/rpm"
RUBYOPT="-rauto_gem"
RUBY_TARGETS="ruby19 ruby20"
R_HOME="/usr/lib64/R"
SANE_BACKENDS="hp"
SHELL="/bin/bash"
SHLVL="5"
SYMLINK_LIB="yes"
SYNC="rsync://rsync1.br.gentoo.org/gentoo-portage/"
TEXMFCONFIG="/home/eltonfc/.texmf"
UNINSTALL_IGNORE="/lib/modules/*"
USE="X a52 aac acl acpi alsa amd64 amr apm avi avx bash-completion berkdb bitmap-fonts bluetooth bonobo branding bzip2 cairo cdda cdparanoia cdr cleartype cli consolekit corefonts cracklib crypt cups cxx dbus dri dts dvd dvdr dvdread emboss emerald encode exif fam fat ffmpeg fftw flac fontconfig fortran gdbm gif glamor gnuplot gnutls gpm gtk hddtemp hdf5 iconv icu id3tag imagemagick ipv6 java javascript jpeg kpathsea lapack lcms ldap libnotify lm_sensorsi mad matroska mmx mng modules mp3 mp4 mpeg msn multilib ncurses ndiswrapper nls nptl nptlonly nsplugin ntfs nx offensive ogg oggvorbis opengl openmp pam pango pcre pda pdf pdflib plotutils png policykit postscript ppds pulseaudio python qt3support quicktime readline reiser4 reiserfs scanner sdl session spell sse sse2 sse3 sse4 sse4_1 ssl ssse3 startup-notification svg tcpd threads tiff truetype truetype-fonts type1 type1-fonts udev udisks unicode upower usb v4l vdpau vmd vorbis webkit win32codecs wxwidgets x264 xcb xml xv xvid zlib" 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="canon" 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 ublox ubx" GRUB_PLATFORMS="emu efi-64 pc" INPUT_DEVICES="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="pt_BR en_US pt" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby19 ruby20" SANE_BACKENDS="hp" USERLAND="GNU" VIDEO_CARDS="intel nvidia" XFCE_PLUGINS="brightness clock" 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"
USER="root"
USERLAND="GNU"
USE_EXPAND="ABI_MIPS ABI_PPC ABI_S390 ABI_X86 ALSA_CARDS APACHE2_MODULES APACHE2_MPMS CALLIGRA_FEATURES CAMERAS COLLECTD_PLUGINS CROSSCOMPILE_OPTS CURL_SSL DRACUT_MODULES DVB_CARDS ELIBC ENLIGHTENMENT_MODULES FCDSL_CARDS FFTOOLS FOO2ZJS_DEVICES FRITZCAPI_CARDS GPSD_PROTOCOLS GRUB_PLATFORMS INPUT_DEVICES KERNEL LCD_DEVICES LIBREOFFICE_EXTENSIONS LINGUAS LIRC_DEVICES MONKEYD_PLUGINS NETBEANS_MODULES NGINX_MODULES_HTTP NGINX_MODULES_MAIL OFED_DRIVERS OFFICE_IMPLEMENTATION OPENMPI_FABRICS OPENMPI_OFED_FEATURES OPENMPI_RM PHP_TARGETS PYTHON_SINGLE_TARGET PYTHON_TARGETS QEMU_SOFTMMU_TARGETS QEMU_USER_TARGETS RUBY_TARGETS SANE_BACKENDS USERLAND UWSGI_PLUGINS VIDEO_CARDS VOICEMAIL_STORAGE XFCE_PLUGINS XTABLES_ADDONS"
USE_EXPAND_HIDDEN="ABI_MIPS ABI_PPC ABI_S390 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 arm64 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 DragonFly FreeBSD glibc HPUX Interix mintlib musl 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"
USE_PYTHON="2.7 3.3"
VBOX_APP_HOME="/opt/VirtualBox"
VGL_READBACK="pbo"
VIDEO_CARDS="intel nvidia"
WINDOW="0"
WINDOWID="67108868"
XAUTHORITY="/root/.xauthk2GWNO"
XDG_CONFIG_DIRS="/etc/xdg"
XDG_DATA_DIRS="/usr/local/share:/usr/share"
XDG_MENU_PREFIX="xfce-"
XSESSION="Xfce4"
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"
_="/usr/bin/emerge"
Comment 9 Oliver Koch 2014-10-26 07:05:43 UTC
This seems to happen only with ruby20. If I do
eselect ruby set ruby19
before building mlt it works just fine.
Comment 10 Captain Crutches 2014-10-26 07:12:53 UTC
Confirming, it works on ruby19 but not ruby20 or ruby21.
Comment 11 cmuelle8 2015-01-22 18:07:34 UTC
(In reply to Captain Crutches from comment #10)
> Confirming, it works on ruby19 but not ruby20 or ruby21.

Confirmed.
If ruby20 is active the following may be observed:

* If a previous installation of mlt exists, the build tries to include files from the old installation:
----- SNIP ----
Building ruby...OK
make[2]: Entering directory '/var/tmp/paludis/media-libs-mlt-0.9.0/work/mlt-0.9.0/src/swig/ruby'
compiling mlt_wrap.cxx
In file included from /usr/include/mlt++/Mlt.h:24:0,
                 from mlt_wrap.cxx:1998:
/usr/include/mlt++/MltConsumer.h:26:27: fatal error: framework/mlt.h: No such file or directory
 #include <framework/mlt.h>
                           ^
compilation terminated.
----- SNAP ----

* If mlt is unmerged/purged from system (no prev install), the inclusion error changes:
----- SNIP ----
Building ruby...OK
make[2]: Entering directory '/var/tmp/paludis/media-libs-mlt-0.9.0/work/mlt-0.9.0/src/swig/ruby'
compiling mlt_wrap.cxx
mlt_wrap.cxx:1998:23: fatal error: mlt++/Mlt.h: No such file or directory
 #include <mlt++/Mlt.h>
                       ^
compilation terminated.
Makefile:211: recipe for target 'mlt_wrap.o' failed
----- SNAP ----


This is because of a misconfiguration in src/swig/ruby/build - it adds '-I../..' to CFLAGS, but CFLAGS are not used, since the binding code is CXX.  The generated Makefile uses INCFLAGS to let includedirs pass to both C and CXX compiled code.

Use the attached patches to fix.  It also _obsoletes_ the need to use 'epatch mlt-0.8.6-ruby-link.patch' and the ruby/build sed replacement (which was not in effect; it looked for /^LDFLAGS/ instead of /^\$LDFLAGS/).


Since 0.9.2 is out, I'll open a version bump request with the updated ebuild.  With 0.9.2 source the freetype patch becomes obsolete.
Comment 12 cmuelle8 2015-01-22 18:08:39 UTC
Created attachment 394638 [details, diff]
mlt-0.9.0-swig-ruby-incdir-and-libs.patch
Comment 13 cmuelle8 2015-01-22 18:09:09 UTC
Created attachment 394640 [details]
mlt-0.9.0.ebuild
Comment 14 cmuelle8 2015-01-22 18:09:52 UTC
Created attachment 394642 [details, diff]
mlt-0.9.0.ebuild.patch

diff to current 0.9.0 from main tree
Comment 15 cmuelle8 2015-01-22 19:37:01 UTC
(In reply to cmuelle8 from comment #11)
> Since 0.9.2 is out, I'll open a version bump request with the updated
> ebuild.  With 0.9.2 source the freetype patch becomes obsolete.

see bug 537376
Comment 16 cmuelle8 2015-01-22 21:29:10 UTC
Created attachment 394666 [details, diff]
mlt-0.9.0-swig-ruby-incdir-and-libs.patch

* readd space needed in case CFLAGS and CXXFLAGS are both set in env
* fix downgrading from 0.9.2 (regression: if 0.9.2 had not been manually deinstalled, system mlt libs were used to link swig ruby bindings; the patch actually fixes LIBPATH used during shared lib linking now)
* tested to work with with ruby:1.9 and ruby:2.0
Comment 17 Michael Palimaka (kensington) gentoo-dev 2015-08-25 18:55:22 UTC
Please try 0.9.8, it was recently updated.
Comment 18 Andrius Štikonas 2015-08-25 19:20:15 UTC
(In reply to Michael Palimaka (kensington) from comment #17)
> Please try 0.9.8, it was recently updated.

Still doesn't work for me.
Comment 19 Manuel Rüger (RETIRED) gentoo-dev 2015-08-28 13:33:43 UTC
It compiles if ruby19 is eselected, but fails with an eselected ruby20.
Comment 20 Manuel Rüger (RETIRED) gentoo-dev 2015-09-07 10:05:05 UTC
We masked USE="ruby" as it requires ruby19 which is going to be removed.