if you try to install stable net-print/cups 1.3.11-r3 on new gentoo system then compilation fail because cups cannot find /usr/bin/pdftpps. /usr/pin/pdftops this is file from app-text/poppler for install app-text/poppler you should install net-print/cups 1.3.11-r3 first. But you can't install net-print/cups 1.3.11-r3 because it need /usr/pin/pdftops from app-text/poppler etc. Reproducible: Always Steps to Reproduce: 1. install new gentoo linux. 2. run emerge cups Actual Results: compilation fails because of unsatisfied dependence to pdftops Expected Results: installed cups
workaround: install unstable cups-1.4.4-r2 It's very strange that stable cups cannot be installed, but unstable can. This type of logic too complex for me. May be stable and unstable cups should be exchanged?
My workaround was to check the packages available here: http://packages.gentoo.org/package/net-print/cups Installing cups r2 (instead of the default r3) with "emerge =net-print/cups-1.3.11-r2" will install cups and app-text/poppler without an issue After that you can emerge the r3 version with just "emerge cups" and you'll be good to go, would be nice to have the circular dependency corrected though.
*** Bug 346117 has been marked as a duplicate of this bug. ***
Another workaround is to run "emerge -1 poppler" before updating cups.
I doubt that "run "emerge -1 poppler" before updating cups." will work, because poppler depend from cups, but in this bug you haven't cups installed yet.
Cups is brought in by qt and gtk+ libraries. Emerge cups and poppler like so: USE="-qt4 -cairo" emerge -1 poppler && emerge -N1 poppler And even though it doesn't solve the problem, the net-print/cups-1.3.11-r3 ebuild needs a poppler DEPEND.
Fixed properly in -r4