See the description of the bug on the post http://forums.gentoo.org/viewtopic.php?p=141769#141769
Problem is that they (you included ?) used either: # emerge --nodeps xfree or: # ebuild xfree-4.2.1(-r1).ebuild merge Both of these commands do not pull in deps. If you look at the ttmkfdir ebuild, you will see: ------------ DEPEND=">=media-libs/freetype-2.0.8 >=sys-devel/flex-2.5.4a-r5 sys-devel/libtool" ------------ Note that it strictly depends on >=flex-2.5.4a-r5. This is because I added patches to flex to fix the "int isatty(int)" related errors. Because of above emerge/ebuild commands, flex was thus not updated, and caused ttmkfdir to fail. This bug is thus invalid. I hope you guys will not just throw away DEPEND's in future if you do not know 100% that its ok to do so ...
Err, ok, maybe I was on crack. Unmerge freetype-2.1.2-r*: # emerge unmerge '=freetype-2.1.2*' then do: # emerge -p freetype and paste here.
Here you go: Done with --pretend. As you can see Portage wants to clean out r2 and replace it with r1. emerge -p freetype ---------------------------------------------------- These are the packages that I would merge, in order. Calculating dependencies ...done! [ebuild R ] media-libs/freetype-2.1.2-r2 ---------------------------------------------------- emerge -cp freetype ---------------------------------------------------- >>> These are the packages that I would unmerge: media-libs/freetype selected: 2.1.2-r2 protected: 2.1.2-r1 omitted: none >>> Packages in red are slated for removal. >>> Packages in green will not be removed.
No. Unmerge all freetype2 versions, then: # emerge -p freetype and paste, and then just merge it again to make sure nothing breaks.
Still there ?
Nick, not sure, but I think this could be bogus ... I for one do not have this issue. He prob forced -r2 (marked unstable) to merge with ebuild command, and then 'emerge -u world' downgraded it again. If you think its invalid, just close it (except if the user responds).
Choose stable or unstable. Don't mix and match ad hoc please. emerge -cp world emerge -C freetype emerge freetype