Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 266593 - media-libs/mlt broken when built with --as-needed
Summary: media-libs/mlt broken when built with --as-needed
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Media-video project
Depends on:
Blocks: as-needed
  Show dependency tree
Reported: 2009-04-17 22:56 UTC by David Fisco
Modified: 2009-04-22 11:08 UTC (History)
2 users (show)

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


Note You need to log in before you can comment on or make changes to this bug.
Description David Fisco 2009-04-17 22:56:07 UTC
inigo won't run when media-libs/mlt is compiled with --as-needed under ~amd64.  

See my forum post for the details:
Comment 1 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2009-04-18 23:06:20 UTC
Please post at least the error messages and your "emerge --info" to this bug.
Comment 2 Jan Essert 2009-04-22 10:00:55 UTC
I have the same problem. Error message:

# inigo
mlt_repository_init: failed to dlopen /usr/lib64/mlt/
  (/usr/lib64/mlt/ undefined symbol: sqrt)
mlt_repository_init: failed to dlopen /usr/lib64/mlt/
  (/usr/lib64/mlt/ undefined symbol: sin)
mlt_repository_init: failed to dlopen /usr/lib64/mlt/
  (/usr/lib64/mlt/ undefined symbol: sqrt)
mlt_repository_init: failed to dlopen /usr/lib64/mlt/
  (/usr/lib64/mlt/ undefined symbol: floor)
mlt_repository_init: failed to dlopen /usr/lib64/mlt/
  (/usr/lib64/mlt/ undefined symbol: sincos)

emerge info:
Portage 2.2_rc31 (default/linux/amd64/2008.0/desktop, gcc-4.3.3, glibc-2.9_p20081201-r2, 2.6.29-gentoo-r1 x86_64)
System uname: Linux-2.6.29-gentoo-r1-x86_64-Intel-R-_Core-TM-2_Duo_CPU_E6750_@_2.66GHz-with-gentoo-2.0.0
Timestamp of tree: Wed, 22 Apr 2009 05:30:01 +0000
distcc 3.1 x86_64-pc-linux-gnu [disabled]
ccache version 2.4 [enabled]
app-shells/bash:     4.0_p17-r1
dev-java/java-config: 2.1.7
dev-lang/python:     2.6.2
dev-util/ccache:     2.4-r8
dev-util/cmake:      2.6.3-r1
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.4.3-r2
sys-apps/sandbox:    1.9
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.7.9-r1, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.19.1-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.28-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
CFLAGS="-march=core2 -mtune=core2 -O2 -fomit-frame-pointer -pipe"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /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 /etc/udev/rules.d"
CXXFLAGS="-march=core2 -mtune=core2 -O2 -fomit-frame-pointer -pipe"
EMERGE_DEFAULT_OPTS="--with-bdeps y"
FEATURES="ccache distlocks fixpackages parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch userpriv usersandbox"
LINGUAS="de en"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTDIR_OVERLAY="/usr/local/portage/layman/nouveau /usr/local/portage"
USE="X a52 aac acl acpi alsa amd64 avahi berkdb branding bzip2 cairo cdr cli cracklib crypt dbus dirac djvu dri dvb dvd dvdr dvdread eds emboss encode evo exif fam firefox flac fortran gdbm gif hal hbci iconv imap ipod isdnlog jpeg jpeg2k kde kdehiddenvisibility kipi libnotify mad matroska midi mikmod mmx mp3 mpeg mudflap multilib musepack musicbrainz ncurses nls nptl nptlonly ntpl ntplonly ogg openexr opengl openmp pam pch pcre pdf perl png pop ppds pppd python qt3 qt3support qt4 quicktime readline reflection schroedinger sdl semantic-desktop session smtp speex spell spl sse sse2 ssl ssse3 startup-notification svg sysfs tcpd theora tiff truetype unicode usb v4l v4l2 vcd vim-syntax vorbis x264 xattr xcb xcomposite xml xorg xulrunner xv xvid zeroconf zlib" 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 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" CAMERAS="directory ptp2" ELIBC="glibc" INPUT_DEVICES="mouse keyboard evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de en" USERLAND="GNU" VIDEO_CARDS="nvidia"
Comment 3 Jan Essert 2009-04-22 10:04:24 UTC
I forgot to add: Rebuilding without --as-needed fixes the problem.
Comment 4 Peter Alfredsen (RETIRED) gentoo-dev 2009-04-22 11:08:44 UTC
+*mlt-0.3.8-r1 (22 Apr 2009)
+  22 Apr 2009; Peter Alfredsen <>
+  +files/mlt-0.3.8-as-needed.patch, +mlt-0.3.8-r1.ebuild:
+  Fix underlinked modules, bug 266593.