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
Created attachment 173866 [details] emerge --info
Looks like revdep-rebuild is your friend - at the very least libsdl needs to be rebuilt.
reconcilio is trying to recompile avidemux, not libsdl revdep-rebuild too but manual emerging libsdl, then avidemux helped, thanks!