Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 193758 - media-video/transcode-1.0.3 doen't find libavcodec
Summary: media-video/transcode-1.0.3 doen't find libavcodec
Status: RESOLVED DUPLICATE of bug 194132
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
: 194301 194307 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-09-25 14:27 UTC by José Alberto Suárez López (RETIRED)
Modified: 2007-09-30 19:51 UTC (History)
1 user (show)

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


Attachments
error log (config.log,137.52 KB, text/plain)
2007-09-25 14:54 UTC, José Alberto Suárez López (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description José Alberto Suárez López (RETIRED) gentoo-dev 2007-09-25 14:27:10 UTC
In the last "update world" transcode faills to build because it doens't find libavcodec library.
Yes, ffmpeg(0.4.9_p20070616) is installed and rebuilt.

I tryed masked versions of both ebuilds, so i have the same error

Error Log:
[...]
libjpeg                        yes
bsdav                          no
iconv                          yes

ERROR: requirement failed: cannot link against libavcodec
libavcodec can be found in the following packages:
  FFMpeg  http://www.ffmpeg.org/


Please see the INSTALL file in the top directory of the
transcode sources for more information about building
transcode with this configure script.


!!! Please attach the following file when filing a report to bugs.gentoo.org:
!!! /var/tmp/portage/media-video/transcode-1.0.3/work/transcode-1.0.3/config.log
 * 
 * ERROR: media-video/transcode-1.0.3 failed.
 * Call stack:
 *   ebuild.sh, line 1654:   Called dyn_compile
 *   ebuild.sh, line 990:   Called qa_call 'src_compile'
 *   ebuild.sh, line 44:   Called src_compile
 *   transcode-1.0.3.ebuild, line 110:   Called econf '--with-default-xvid=xvid4' '--enable-a52' '--enable-a52-default-decoder' '--enable-mmx' '--enable-sse' '--enable-sse2' '--disable-3dnow' '--disable-altivec' '--enable-netstream' '--enable-freetype2' '--enable-v4l' '--enable-lame' '--enable-ogg' '--enable-vorbis' '--enable-theora' '--enable-libdvdread' '--disable-libdv' '--enable-libquicktime' '--disable-lzo' '--enable-iconv' '--enable-libmpeg3' '--enable-libxml2' '--disable-mjpegtools' '--enable-sdl' '--enable-gtk' '--disable-libfame' '--disable-imagemagick' '--enable-libjpeg' '--with-x' '--with-mod-path=/usr/lib/transcode' '--with-libpostproc-builddir=/usr/lib' '--disable-avifile' '--disable-xio'
 *   ebuild.sh, line 591:   Called die
 * 
 * econf failed

[...]
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-09-25 14:32:02 UTC
(In reply to comment #0)
> !!! Please attach the following file when filing a report to bugs.gentoo.org:
> !!!
> /var/tmp/portage/media-video/transcode-1.0.3/work/transcode-1.0.3/config.log

Maybe you should do it :)
Comment 2 José Alberto Suárez López (RETIRED) gentoo-dev 2007-09-25 14:54:57 UTC
Created attachment 131869 [details]
error log

sorry i forget that :)
Comment 3 José Alberto Suárez López (RETIRED) gentoo-dev 2007-09-25 14:56:04 UTC
reopen with more info :)
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2007-09-25 15:04:28 UTC
<snip>
configure:27805: i686-pc-linux-gnu-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -march=prescott -O2 -pipe -DDCT_YUV_PRECISION=1   -L/usr/lib conftest.c -lavcodec -lm -lz -lpthread -lm -lz -ldl  >&5
/usr/lib/libavcodec.so: undefined reference to `lzo1x_decode'
/usr/lib/libavcodec.so: undefined reference to `av_random_generate_untempered_numbers'
/usr/lib/libavcodec.so: undefined reference to `av_freep'
/usr/lib/libavcodec.so: undefined reference to `av_mallocz'
/usr/lib/libavcodec.so: undefined reference to `av_init_random'
/usr/lib/libavcodec.so: undefined reference to `faacDecGetErrorMessage'
</snip>

Which sounds like your ffmpeg is messed up a _lot_ and you should probably run revdep-rebuild. emerge --info, BTW?

Comment 5 Alexis Ballier gentoo-dev 2007-09-25 18:32:47 UTC
and the output of 'equery files ffmpeg' also please
Comment 6 José Alberto Suárez López (RETIRED) gentoo-dev 2007-09-26 07:31:25 UTC
/usr
/usr/bin
/usr/bin/ffmpeg
/usr/bin/ffplay
/usr/bin/ffserver
/usr/include
/usr/include/ffmpeg
/usr/include/ffmpeg/adler32.h
/usr/include/ffmpeg/avcodec.h
/usr/include/ffmpeg/avformat.h
/usr/include/ffmpeg/avio.h
/usr/include/ffmpeg/avutil.h
/usr/include/ffmpeg/base64.h
/usr/include/ffmpeg/common.h
/usr/include/ffmpeg/fifo.h
/usr/include/ffmpeg/integer.h
/usr/include/ffmpeg/intfloat_readwrite.h
/usr/include/ffmpeg/log.h
/usr/include/ffmpeg/lzo.h
/usr/include/ffmpeg/mathematics.h
/usr/include/ffmpeg/md5.h
/usr/include/ffmpeg/mem.h
/usr/include/ffmpeg/opt.h
/usr/include/ffmpeg/random.h
/usr/include/ffmpeg/rational.h
/usr/include/ffmpeg/rgb2rgb.h
/usr/include/ffmpeg/rtp.h
/usr/include/ffmpeg/rtsp.h
/usr/include/ffmpeg/rtspcodes.h
/usr/include/ffmpeg/swscale.h
/usr/include/postproc
/usr/include/postproc/postprocess.h
/usr/lib
/usr/lib/libavcodec.a
/usr/lib/libavcodec.so
/usr/lib/libavcodec.so.51
/usr/lib/libavcodec.so.51.40.4
/usr/lib/libavformat.a
/usr/lib/libavformat.so
/usr/lib/libavformat.so.51
/usr/lib/libavformat.so.51.12.1
/usr/lib/libavutil.a
/usr/lib/libavutil.so
/usr/lib/libavutil.so.49
/usr/lib/libavutil.so.49.4.0
/usr/lib/libpostproc.a
/usr/lib/libpostproc.so
/usr/lib/libpostproc.so.51
/usr/lib/libpostproc.so.51.1.0
/usr/lib/pkgconfig
/usr/lib/pkgconfig/libavcodec.pc
/usr/lib/pkgconfig/libavformat.pc
/usr/lib/pkgconfig/libavutil.pc
/usr/lib/pkgconfig/libpostproc.pc
/usr/lib/pkgconfig/libswscale.pc
/usr/lib/vhook
/usr/lib/vhook/drawtext.so
/usr/lib/vhook/fish.so
/usr/lib/vhook/null.so
/usr/lib/vhook/watermark.so
/usr/share
/usr/share/doc
/usr/share/doc/ffmpeg-0.4.9_p20070616
/usr/share/doc/ffmpeg-0.4.9_p20070616/Changelog.bz2
/usr/share/doc/ffmpeg-0.4.9_p20070616/INSTALL.bz2
/usr/share/doc/ffmpeg-0.4.9_p20070616/README.bz2
/usr/share/doc/ffmpeg-0.4.9_p20070616/TODO.bz2
/usr/share/doc/ffmpeg-0.4.9_p20070616/avutil.txt.bz2
/usr/share/doc/ffmpeg-0.4.9_p20070616/faq.texi.bz2
/usr/share/doc/ffmpeg-0.4.9_p20070616/ffmpeg-doc.texi.bz2
/usr/share/doc/ffmpeg-0.4.9_p20070616/ffmpeg_powerpc_performance_evaluation_howto.txt.bz2
/usr/share/doc/ffmpeg-0.4.9_p20070616/ffplay-doc.texi.bz2
/usr/share/doc/ffmpeg-0.4.9_p20070616/ffserver-doc.texi.bz2
/usr/share/doc/ffmpeg-0.4.9_p20070616/ffserver.conf.bz2
/usr/share/doc/ffmpeg-0.4.9_p20070616/hooks.texi.bz2
/usr/share/doc/ffmpeg-0.4.9_p20070616/optimization.txt.bz2
/usr/share/doc/ffmpeg-0.4.9_p20070616/snow.txt.bz2
/usr/share/doc/ffmpeg-0.4.9_p20070616/soc.txt.bz2
/usr/share/doc/ffmpeg-0.4.9_p20070616/texi2pod.pl.bz2
Comment 7 Alexis Ballier gentoo-dev 2007-09-26 16:50:03 UTC
what's weird is : 
$strings /usr/lib64/libavcodec.so | grep av_mallocz
av_mallocz
av_mallocz_static
(and same for all the other undefined symbols in your error message)

I first thought it would be missing pkg-config, or .pc files, but that's not the problem.

ffmpeg is probably messed up there, do you have a build log of it and/or something strange when compiling ffmpeg ?
Comment 8 José Alberto Suárez López (RETIRED) gentoo-dev 2007-09-27 07:42:37 UTC
no, just "emerge -u world" so i rebuilt it using "emerge ffmpeg"
Comment 9 Pat Erley 2007-09-27 22:10:05 UTC
I ran into this as well only with transcode-1.0.4, and just re-emerging ffmpeg fixed it (which was not in my upgrade list).  It looks like an ffmpeg bug.
Comment 10 Chad A. Simmons 2007-09-28 13:06:22 UTC
same issue here. Verified a recompile of ffmpeg resolves
Comment 11 José Alberto Suárez López (RETIRED) gentoo-dev 2007-09-28 15:43:50 UTC
recompile ( i did it several times) didn't fix it on my system
Comment 12 Jorge Manuel B. S. Vicetto (RETIRED) Gentoo Infrastructure gentoo-dev 2007-09-30 19:01:10 UTC
Recompiling ffmpeg also solved the issue here.
Comment 13 Alexis Ballier gentoo-dev 2007-09-30 19:03:45 UTC
(In reply to comment #11)
> recompile ( i did it several times) didn't fix it on my system
> 

could you please attach ffmpeg build log just in case ?
Comment 14 Samuli Suominen (RETIRED) gentoo-dev 2007-09-30 19:33:17 UTC
*** Bug 194301 has been marked as a duplicate of this bug. ***
Comment 15 Samuli Suominen (RETIRED) gentoo-dev 2007-09-30 19:34:04 UTC
*** Bug 194307 has been marked as a duplicate of this bug. ***
Comment 16 Jakub Moc (RETIRED) gentoo-dev 2007-09-30 19:51:35 UTC

*** This bug has been marked as a duplicate of bug 194132 ***