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

Bug 249377

Summary: media-video/avidemux-2.4.3: can't compile
Product: Gentoo Linux Reporter: Sergey 'L29Ah' Alirzaev <zl29ah>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED INVALID    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge --info

Description Sergey 'L29Ah' Alirzaev 2008-11-30 13:28:59 UTC
media-video/avidemux-2.4.3: can't compile

Reproducible: Always

Steps to Reproduce:
emerge avidemux
Actual Results:  
[ 99%] Building CXX object avidemux/CMakeFiles/avidemux2_qt4.dir/gui_action.o
Linking CXX executable avidemux2_qt4
ADM_libraries/ADM_lavcodec/libADM_lavcodec.a(utils.o): In function `av_tempfile':
/var/tmp/portage/media-video/avidemux-2.4.3/work/avidemux_2.4.3/avidemux/ADM_libraries/ADM_lavcodec/utils.c:1372: warning: the use of `tempnam' is dangerous, better use `mkstemp'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.2/../../../../lib64/libSDL.so: undefined reference to `caca_dither_bitmap'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.2/../../../../lib64/libSDL.so: undefined reference to `caca_get_canvas_width'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.2/../../../../lib64/libSDL.so: undefined reference to `caca_get_canvas_height'
collect2: ld returned 1 exit status
make[2]: *** [avidemux/avidemux2_cli] Error 1
make[1]: *** [avidemux/CMakeFiles/avidemux2_cli.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
ADM_libraries/ADM_lavcodec/libADM_lavcodec.a(utils.o): In function `av_tempfile':
/var/tmp/portage/media-video/avidemux-2.4.3/work/avidemux_2.4.3/avidemux/ADM_libraries/ADM_lavcodec/utils.c:1372: warning: the use of `tempnam' is dangerous, better use `mkstemp'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.2/../../../../lib64/libSDL.so: undefined reference to `caca_get_canvas_height'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.2/../../../../lib64/libSDL.so: undefined reference to `caca_get_canvas_width'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.2/../../../../lib64/libSDL.so: undefined reference to `caca_dither_bitmap'
collect2: ld returned 1 exit status
make[2]: *** [avidemux/avidemux2_qt4] Error 1
make[1]: *** [avidemux/CMakeFiles/avidemux2_qt4.dir/all] Error 2
ADM_libraries/ADM_lavcodec/libADM_lavcodec.a(utils.o): In function `av_tempfile':
/var/tmp/portage/media-video/avidemux-2.4.3/work/avidemux_2.4.3/avidemux/ADM_libraries/ADM_lavcodec/utils.c:1372: warning: the use of `tempnam' is dangerous, better use `mkstemp'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.2/../../../../lib64/libSDL.so: undefined reference to `caca_get_canvas_height'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.2/../../../../lib64/libSDL.so: undefined reference to `caca_get_canvas_width'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.2/../../../../lib64/libSDL.so: undefined reference to `caca_dither_bitmap'
collect2: ld returned 1 exit status
make[2]: *** [avidemux/avidemux2_gtk] Error 1
make[1]: *** [avidemux/CMakeFiles/avidemux2_gtk.dir/all] Error 2
make: *** [all] Error 2

Expected Results:  
avidemux installed
Comment 1 Sergey 'L29Ah' Alirzaev 2008-11-30 13:30:29 UTC
Created attachment 173866 [details]
emerge --info
Comment 2 Rafał Mużyło 2008-11-30 15:40:07 UTC
Looks like revdep-rebuild is your friend -
at the very least libsdl needs to be rebuilt.
Comment 3 Sergey 'L29Ah' Alirzaev 2008-11-30 18:03:38 UTC
reconcilio is trying to recompile avidemux, not libsdl
revdep-rebuild too
but manual emerging libsdl, then avidemux helped, thanks!