User-Agent: Build Identifier: I'm running gentoo 1.2 unstable, kept up to date with emege --update world (note not with --deep), and emerging transcode fails at the line with 'ld: cannot find -lvga'. There is indeed no libvga.a/.so but I can't see why it would want it. I've tried emerging with: USE="-sdl -mmx -mpeg -sse -dvd -encode -X -quicktime -avi" emerge --update transcode in an attempt to narrow the problem down but exactly the same error occurs. Reproducible: Always Steps to Reproduce: 1. 2. 3.
Created attachment 7782 [details] Full build output from failed emerge
try emerge svgalib then try again emerge transcode
Essentially transcode does not depend on libvga (svgalib). But it might depend on a library that depends on libvga. For me, it was libdv that had been compiled a long time ago while I still had svgalib installed and in USE. Thus, when I uninstalled svgalib and removed it from USE, I unintentionally broke libdv. To find out which of your installed "libtool" libraries depend on libvga, do: grep -- -lvga /usr/lib/*.la You can then re-merge the packages owning these libraries. I re-merged libdv (0.98) and after that transcode emerged just fine. * Suggestion: change this bug to resolved and create new bug to fix the libdv (at least 0.98) ebuild to include a conditional dependency on svgalib, perhaps something like: svga? (media-libs/svgalib) .. although not having looked at libdv's configure scripts I can't say for sure..
Bingo, it was indeed libdv; I can see I'm going to have to read up on libtool. The libdv ebuild doesn't show a dependency on svgalib, and it seems slightly broken with respect to xv too. I shall have a fiddle with it and submit a new bug when I think I understand it properly. Anyway, we can consider this one resolved / not really a bug - thanks.
sorry for this
reemerging libdv/svgalib fixed this