The init script for 'teapop' has 'after *' in the depends section. There is also an 'after *' in the depends section of the init script for 'local'. A system can only have one 'after *' dependency, or depscan.sh returns... # depscan.sh * Caching service dependencies... * Services 'teapop' and 'local' have circular * dependency of type 'iafter'; continuing... Reproducible: Always Steps to Reproduce: 1. emerge teapop Actual Results: * Caching service dependencies... * Services 'teapop' and 'local' have circular * dependency of type 'iafter'; continuing... Expected Results: Installed teapop with a sensible set of depends in /etc/init.d/teapop The work-around is to remove the 'after *' line from /etc/init.d/teapop.
I can reproduce this; it needs to be fixed. Attached is a ridiculously simple diff to fix the init script. Just for reference, the init script was submitted as part of Bug 25967. There is no mention of why the "after *" was in the init script.
Created attachment 33253 [details, diff] teapop-init.diff
New init script in portage; re-emerge if you need it.