Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 451888

Summary: media-libs/mlt-0.8.2 - consumer_jack.o: In function `consumer_thread': consumer_jack.c:(.text+0x139e): undefined reference to `jack_free'
Product: Gentoo Linux Reporter: Florian Berger <florian.berger>
Component: Current packagesAssignee: Gentoo Media-video project <media-video>
Severity: normal CC: kripton
Priority: Normal    
Version: unspecified   
Hardware: x86   
OS: Linux   
Package list:
Runtime testing required: ---
Attachments: build.log

Description Florian Berger 2013-01-13 19:43:36 UTC
$ USE="jack" emerge '=media-libs/mlt-0.8.2' # latest stable

crashes with

i686-pc-linux-gnu-gcc -shared -o ../ factory.o consumer_jack.o jack_rack.o lock_free_fifo.o plugin.o plugin_desc.o plugin_mgr.o plugin_settings.o process.o filter_jackrack.o filter_ladspa.o -Wl,-O1 -Wl,--as-needed -Wl,--no-undefined -Wl,--as-needed -Wl,--no-undefined -Wl,--as-needed -L../../framework -lmlt -lpthread -Wl,--no-undefined -Wl,--as-needed `pkg-config --libs jack` -ldl `pkg-config --libs libxml-2.0` `pkg-config  --libs glib-2.0` -lm
consumer_jack.o: In function `consumer_thread':
consumer_jack.c:(.text+0x139e): undefined reference to `jack_free'
collect2: ld returned 1 exit status
make[2]: *** [../] Error 1

Reproducible: Always

Installed JACK is media-sound/jack-audio-connection-kit-0.109.2-r1 (latest is 0.121.3).

$  emerge --info '=media-libs/mlt-0.8.2'

Portage (default/linux/x86/10.0, gcc-4.4.5, unavailable, 3.0.4-ck i686)
                        System Settings
System uname: Linux-3.0.4-ck-i686-Intel-R-_Pentium-R-_M_processor_1.73GHz-with-gentoo-2.1
Timestamp of tree: Sun, 13 Jan 2013 18:15:01 +0000
ld GNU ld (GNU Binutils) 2.22
app-shells/bash:          4.2_p37
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.6.7-r2, 2.7.3-r2, 3.1.4-r4
dev-util/cmake:           2.8.4-r1
dev-util/pkgconfig:       0.27.1
sys-apps/baselayout:      2.1-r1
sys-apps/openrc:          0.8.2-r1
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13::<unknown repository>, 2.68
sys-devel/automake:       1.4_p6::<unknown repository>, 1.5::<unknown repository>, 1.6.3::<unknown repository>, 1.7.9-r1::<unknown repository>, 1.8.5-r3::<unknown repository>, 1.9.6-r2::<unknown repository>, 1.10.2, 1.11.1
sys-devel/binutils:       2.22-r1
sys-devel/gcc:            3.4.6-r2, 4.3.2-r3, 4.4.5
sys-devel/gcc-config:     1.4.1
sys-devel/libtool:        2.2.6b
sys-devel/make:           3.81::<unknown repository>
sys-kernel/linux-headers: (virtual/os-headers)
sys-libs/glibc:           2.12.2
Repositories: gentoo proaudio dotnet thelinux gentoo-haskell moonrise bitcoin java-overlay dberkholz gamerlay-stable pd-overlay sunrise x-portage
CFLAGS="-O2 -march=i686 -fomit-frame-pointer"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/gnupg/qualified.txt"
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"
CXXFLAGS="-O2 -march=i686 -fomit-frame-pointer"
FCFLAGS="-O2 -march=i686 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS="-O2 -march=i686 -pipe"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTDIR_OVERLAY="/var/lib/layman/pro-audio /var/lib/layman/dotnet /var/lib/layman/thelinux /var/lib/layman/haskell /var/lib/layman/moonrise /var/lib/layman/bitcoin /var/lib/layman/java-overlay /var/lib/layman/dberkholz /var/lib/layman/gamerlay /var/lib/layman/pd-overlay /var/lib/layman/sunrise /usr/local/portage"
USE="X a52 aac aalib acl alsa apache2 apm berkdb bzip2 cairo cddb cdparanoia cli cracklib crypt cxx dbus dri dvd expat ffmpeg fftw flac fluidsynth fortran gdbm gphoto2 gpm gtk gtk2 hbci iconv ipv6 jack jpeg kqemu ladspa lcms lirc matroska mmx modules mp3 mpeg mplayer mudflap ncurses nls nptl ogg opengl openmp pam pcre pdf png pppd python qt3support readline sdl session speex sqlite ssl svg tcpd theora threads tidy tiff unicode unix98 vhosts vorbis win32codecs x86 xcomposite xml xv xvid zlib" ALSA_CARDS="indigoio" 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="authz_host auth_basic authn_file auth_dbm auth_anon auth_digest alias file-cache echo charset-lite cache disk-cache mem-cache ext-filter case_filter case-filter-in deflate filter mime-magic cern-meta expires headers usertrack unique-id proxy proxy-connect proxy-ftp proxy-http info include cgi cgid dav dav-fs vhost-alias speling rewrite log_config logio env setenvif mime status autoindex asis negotiation dir imap actions userdir so" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" 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="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="de en" PHP_TARGETS="php5-3" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_6 python3_1" QEMU_SOFTMMU_TARGETS="i386 m68k ppc ppc64 x86_64" QEMU_USER_TARGETS="i386 m68k ppc ppc64 x86_64" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="intel" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"

$ emerge -pqv '=media-libs/mlt-0.8.2'

[ebuild     U ] media-libs/mlt-0.8.2 [0.5.10] USE="ffmpeg frei0r gtk jack melt mmx python sdl vorbis xml -compressed-lumas -debug -dv -kde -libsamplerate -lua -qt4 -quicktime -rtaudio% -ruby -sse -sse2 -swfdec% -vdpau -xine" 

Thanks for looking into this.
Comment 1 Florian Berger 2013-01-13 19:44:48 UTC
Created attachment 335498 [details]
Comment 2 Florian Berger 2013-01-13 20:12:05 UTC
UPDATE: Updating JACK to latest revision (0.121.3) fixes the problem.

Please update the dependency in the mlt ebuild.
Comment 3 Alexis Ballier gentoo-dev 2013-07-12 13:11:15 UTC
+  12 Jul 2013; Alexis Ballier <> mlt-0.8.2.ebuild,
+  mlt-0.8.8.ebuild, mlt-0.9.0.ebuild:
+  bump jack dep, bug #451888
Comment 4 Florian Berger 2013-07-14 15:30:36 UTC