I've tried to build net-snmp-5.1.1-r1 and emerge hangs during the unpacking stage. I just did an emerge sync and the problem still appears. After a little hunting, I've found it's down to one line in the ebuild: #wrt to bugs 68467, 68254 sed -i -e 's/^NSC_AGENTLIBS="@AGENTLIBS@"/NSC_AGENTLIBS="@AGENTLIBS@ @WRAPLIBS@"/' sed is expecting input on stdin, but isn't getting any and therefore is hanging. A quick grep in the source tree leads me to believe the line should be: sed -i -e 's/^NSC_AGENTLIBS="@AGENTLIBS@"/NSC_AGENTLIBS="@AGENTLIBS@ @WRAPLIBS@"/' net-snmp-config.in With this little fix the ebuild compiles file.
5.1.1 is ok, I missed that for 5.1.1-r1. fixed, thanks for the report.