Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 368381 - media-libs/mlt-0.7.2 - mlt_wrap.cxx:(.text+0x1129): undefined reference to `Mlt::Profile::list()'
Summary: media-libs/mlt-0.7.2 - mlt_wrap.cxx:(.text+0x1129): undefined reference to `M...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-22 18:20 UTC by Fabio Coatti
Modified: 2012-02-25 21:52 UTC (History)
2 users (show)

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 Fabio Coatti 2011-05-22 18:20:47 UTC
Installing mlt 0.7.2 I get the following error:

Building ruby...OK
make[2]: Entering directory `/var/tmp/portage/media-libs/mlt-0.7.2/work/mlt-0.7.2/src/swig/ruby'
x86_64-pc-linux-gnu-gcc -shared -o mlt.so mlt_wrap.o -L. -L/usr/lib64 -Wl,-R/usr/lib64 -L. -Wl,-O1 -Wl,--as-needed -rdynamic -Wl,-export-dynamic -Wl,--no-undefined -L../../mlt++ -lmlt++ -L../../framework/ -lmlt -lstdc++    -Wl,-R -Wl,/usr/lib64 -L/usr/lib64 -lruby18  -lpthread -lrt -ldl -lcrypt -lm   -lc
mlt_wrap.o: In function `_wrap_Profile_list(int, unsigned long*, unsigned long)':
mlt_wrap.cxx:(.text+0x1129): undefined reference to `Mlt::Profile::list()'
mlt_wrap.o: In function `_wrap_mlt_version_get_revision(int, unsigned long*, unsigned long)':
mlt_wrap.cxx:(.text+0x1269): undefined reference to `mlt_version_get_revision'
mlt_wrap.o: In function `_wrap_mlt_version_get_minor(int, unsigned long*, unsigned long)':
mlt_wrap.cxx:(.text+0x12a9): undefined reference to `mlt_version_get_minor'
mlt_wrap.o: In function `_wrap_mlt_version_get_major(int, unsigned long*, unsigned long)':
mlt_wrap.cxx:(.text+0x12e9): undefined reference to `mlt_version_get_major'
mlt_wrap.o: In function `_wrap_mlt_version_get_int(int, unsigned long*, unsigned long)':
mlt_wrap.cxx:(.text+0x1329): undefined reference to `mlt_version_get_int'
mlt_wrap.o: In function `_wrap_Properties_lock(int, unsigned long*, unsigned long)':
mlt_wrap.cxx:(.text+0x2238): undefined reference to `Mlt::Properties::lock()'
mlt_wrap.o: In function `_wrap_Properties_unlock(int, unsigned long*, unsigned long)':
mlt_wrap.cxx:(.text+0x22f8): undefined reference to `Mlt::Properties::unlock()'
mlt_wrap.o: In function `_wrap_Frame_get_unique_properties(int, unsigned long*, unsigned long)':
mlt_wrap.cxx:(.text+0x36b5): undefined reference to `Mlt::Frame::get_unique_properties(Mlt::Service&)'
mlt_wrap.o: In function `_wrap_Producer_pause(int, unsigned long*, unsigned long)':
mlt_wrap.cxx:(.text+0x4738): undefined reference to `Mlt::Producer::pause()'
mlt_wrap.o: In function `_wrap_Consumer_position(int, unsigned long*, unsigned long)':
mlt_wrap.cxx:(.text+0x68b8): undefined reference to `Mlt::Consumer::position()'
mlt_wrap.o: In function `_wrap_Filter_get_length(int, unsigned long*, unsigned long)':
mlt_wrap.cxx:(.text+0x6af8): undefined reference to `Mlt::Filter::get_length()'
mlt_wrap.o: In function `_wrap_Filter_get_position(int, unsigned long*, unsigned long)':
mlt_wrap.cxx:(.text+0x6cb5): undefined reference to `Mlt::Filter::get_position(Mlt::Frame&)'
mlt_wrap.o: In function `_wrap_Filter_get_progress(int, unsigned long*, unsigned long)':
mlt_wrap.cxx:(.text+0x6e11): undefined reference to `Mlt::Filter::get_progress(Mlt::Frame&)'
mlt_wrap.o: In function `_wrap_Transition_get_length(int, unsigned long*, unsigned long)':
mlt_wrap.cxx:(.text+0x7238): undefined reference to `Mlt::Transition::get_length()'
mlt_wrap.o: In function `_wrap_Transition_get_position(int, unsigned long*, unsigned long)':
mlt_wrap.cxx:(.text+0x7335): undefined reference to `Mlt::Transition::get_position(Mlt::Frame&)'
mlt_wrap.o: In function `_wrap_Transition_get_progress(int, unsigned long*, unsigned long)':
mlt_wrap.cxx:(.text+0x7491): undefined reference to `Mlt::Transition::get_progress(Mlt::Frame&)'
mlt_wrap.o: In function `_wrap_Transition_get_progress_delta(int, unsigned long*, unsigned long)':
mlt_wrap.cxx:(.text+0x76b1): undefined reference to `Mlt::Transition::get_progress_delta(Mlt::Frame&)'
mlt_wrap.o: In function `_wrap_Properties_wait_for(int, unsigned long*, unsigned long)':
mlt_wrap.cxx:(.text+0x1287e): undefined reference to `Mlt::Properties::wait_for(char const*)'
mlt_wrap.o: In function `_wrap_Frame_set_alpha(int, unsigned long*, unsigned long)':
mlt_wrap.cxx:(.text+0x1b3e6): undefined reference to `Mlt::Frame::set_alpha(unsigned char*, int, void (*)(void*))'
mlt_wrap.o: In function `_wrap_Frame_set_image(int, unsigned long*, unsigned long)':
mlt_wrap.cxx:(.text+0x1b586): undefined reference to `Mlt::Frame::set_image(unsigned char*, int, void (*)(void*))'
mlt_wrap.o: In function `_wrap_mlt_version_get_string(int, unsigned long*, unsigned long)':
mlt_wrap.cxx:(.text+0x22b66): undefined reference to `mlt_version_get_string'
collect2: ld returned 1 exit status
make[2]: *** [mlt.so] Errore 1
make[2]: Leaving directory `/var/tmp/portage/media-libs/mlt-0.7.2/work/mlt-0.7.2/src/swig/ruby'
make[1]: *** [all] Errore 1
make[1]: Leaving directory `/var/tmp/portage/media-libs/mlt-0.7.2/work/mlt-0.7.2/src/swig'
make: *** [all] Errore 1
emake failed
 * ERROR: media-libs/mlt-0.7.2 failed (compile phase):
 *   emake failed
 * 
 * Call stack:
 *     ebuild.sh, line   56:  Called src_compile
 *   environment, line 4526:  Called _eapi2_src_compile
 *     ebuild.sh, line  665:  Called die
 * The specific snippet of code:
 *              emake || die "emake failed"
 * 
 * If you need support, post the output of 'emerge --info =media-libs/mlt-0.7.2',
 * the complete build log and the output of 'emerge -pqv =media-libs/mlt-0.7.2'.
 * The complete build log is located at '/var/tmp/portage/media-libs/mlt-0.7.2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-libs/mlt-0.7.2/temp/environment'.
 * S: '/var/tmp/portage/media-libs/mlt-0.7.2/work/mlt-0.7.2'

>>> Failed to emerge media-libs/mlt-0.7.2

Reproducible: Always




kefk ~ # emerge --info
Portage 2.2.0_alpha34 (default/linux/amd64/10.0/desktop, gcc-4.4.5, glibc-2.13-r2, 2.6.38.6 x86_64)
=================================================================
System uname: Linux-2.6.38.6-x86_64-AMD_Phenom-tm-_9850_Quad-Core_Processor-with-gentoo-2.0.2
Timestamp of tree: Sun, 22 May 2011 15:00:01 +0000
app-shells/bash:          4.2_p10
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.6.6-r2, 2.7.1-r1, 3.1.3-r1, 3.2
dev-util/cmake:           2.8.4-r1
sys-apps/baselayout:      2.0.2
sys-apps/openrc:          0.8.2-r1
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.8.5-r4, 1.9.6-r3, 1.10.3, 1.11.1-r1
sys-devel/binutils:       2.21
sys-devel/gcc:            4.4.5, 4.5.2
sys-devel/gcc-config:     1.4.1-r1
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82
sys-kernel/linux-headers: 2.6.38 (virtual/os-headers)
sys-libs/glibc:           2.13-r2
Repositories: gentoo overlay
Installed sets: @kde
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -mtune=native -O2 -msse4a -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/openvpn/easy-rsa /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -mtune=native -O2 -msse4a -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://gentoo.wheel.sk/ http://gentoo.mneisen.org/ http://gentoo.supp.name/"
LANG="it_IT.utf8"
LC_ALL="it_IT.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="it en"
MAKEOPTS="-j6"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/overlay"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext 3dnowprefetch X a52 aac aalib acl acpi aim alsa amd64 amr amrnb amrwb apache2 apng ares asf ass audiofile avahi bash-completion berkdb bidi bl bluetooth branding bri bzip2 cairo caps cdda cdr cjk cli consolekit cracklib crypt cups curl cxx dba dbus declarative device-mapper dga dirac directfb divx divx4linux dparanoia dri dts dv dvb dvd dvdnav dvdr dvdread edl embedded emboss enca encode ethereal exif expat faac faad fam fame fbcon ffmpeg fftw firefox flac force-cgi-redirect fortran ftp garmin gd gdbm gdu gif gimp gmedia gmp gnutls gpm gps gsm gtk iconv icq icu idn ifp ilbc imagemagick imap innodb ipod ipv6 ithreads jabber java javascript jpeg kde kontact kvm ladspa lcms ldap libcaca libnotify live lm_sensors lua lvm lxc lzo mad maildir matroska mbox md5sum mdnsresponder-compat mhash mime mjpeg mmap mmx mmxext mng modules mozdevelop mozilla mp3 mp4 mpeg msn mtp mudflap multilib musepack mysql ncurses nemesi nepomuk network nfsv4 njb nls nptl nptlonly nsplugin numa nvidia offensive ofx ogg oggvorbis ogm openal openexr opengl openmp oscar pam pango parted pcap pcre pdf perl php plasma plotutils png pnm policykit ppds pppd pvr python qemu qt3support qt4 radio rar readline rtc ruby samba sasl schroedinger sdl semantic-desktop session sha512 sl slang slp sms sndfile snmp sox speex spell srt sse sse2 sse4a ssh ssl startup-notification svg symlink sysfs taglib tcltk tcpd theora threads tiff tk tremor truetype udev unicode usb utempter v4l v4l2 vcd vdpau vhosts videos vim-syntax virtualbox vorbis wmf wmp wxwindows x264 xanim xcb xface xft xine xml xorg xosd xpm xscreensaver xsl xulrunner xv xvid xvmc yahoo zlib zoran zpm" 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" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="braindump flow karbon kexi kpresenter krita tables words" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="it en" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" SANE_BACKENDS="epjitsu epson epson2" USERLAND="GNU" VIDEO_CARDS="nv nvidia vesa" 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, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Dennis Schridde 2011-05-24 07:57:43 UTC
See also bug #351718 comment #7 f.
Comment 2 Fabio Coatti 2011-05-24 10:15:18 UTC
(In reply to comment #1)
> See also bug #351718 comment #7 f.

Yes, interesting, thanks. I can confirm that (as expected) -ruby allows mlt 0.7.2 to emerge. 
Could be a workaround until a proper fix is applied...
Comment 3 Alexis Ballier gentoo-dev 2012-02-25 21:52:42 UTC
  30 Oct 2011; Andreas K. Huettel <dilfridge@gentoo.org> mlt-0.7.2.ebuild,
  +files/mlt-0.7.2-ruby-link.patch:
  Fix build with USE=ruby, bug 351718


should have fixed it