If emerge is used with python >=3.3 the ordering of the dependencies isn't static anymore. This should be fixed again. Reproducible: Always Steps to Reproduce: emerge -p digikam should give a reproduceable output.
Due to hash randomization being enabled by default in Python 3.3. See the 'Note' at the end of this link for details: http://docs.python.org/3/reference/datamodel.html#object.__hash__
Thank you for the bug report. As this report hasn't seen any changes in 5 years or more, we ask if you can please confirm that the issue still persists. If this bug is no longer persisting or relevant please change the status to resolved.