Summary: | =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 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Andrzej Kardas <andrzej.kardas> |
Component: | [OLD] Library | Assignee: | Gentoo Media-video project <media-video> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | andrius, captaincrutches, eltonfc, ghutzl, kensington, luisav.ferreira, mlspamcb |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 536852 | ||
Attachments: |
build.log
mlt-0.9.0-swig-ruby-incdir-and-libs.patch mlt-0.9.0.ebuild mlt-0.9.0.ebuild.patch mlt-0.9.0-swig-ruby-incdir-and-libs.patch |
Description
Andrzej Kardas
2013-08-11 05:45:12 UTC
Created attachment 355652 [details]
build.log
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 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 *** Bug 505250 has been marked as a duplicate of this bug. *** 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. Confirming, built and installed without errors when added -ruby. I can also confirm USE="-ruby" has resolved exactly this issue for me with =media-libs/mlt-0.9.0 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" This seems to happen only with ruby20. If I do eselect ruby set ruby19 before building mlt it works just fine. Confirming, it works on ruby19 but not ruby20 or ruby21. (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. Created attachment 394638 [details, diff]
mlt-0.9.0-swig-ruby-incdir-and-libs.patch
Created attachment 394640 [details]
mlt-0.9.0.ebuild
Created attachment 394642 [details, diff]
mlt-0.9.0.ebuild.patch
diff to current 0.9.0 from main tree
(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 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
Please try 0.9.8, it was recently updated. (In reply to Michael Palimaka (kensington) from comment #17) > Please try 0.9.8, it was recently updated. Still doesn't work for me. It compiles if ruby19 is eselected, but fails with an eselected ruby20. We masked USE="ruby" as it requires ruby19 which is going to be removed. ruby support has been fixed by upstream in 6.2.0. https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ffe807adb1a76642487577d29c1df714b710bcd5 https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a467a6fb1a263c339781200f0708a76935fbeede |