I've tried to emerge netbeans-java-7.1. It fails with >>> Install netbeans-java-7.1 into /var/tmp/portage/dev-java/netbeans-java-7.1/image/ category dev-java * ERROR: dev-java/netbeans-java-7.1 failed (install phase): * dosym: two arguments needed Same problem had user "dabicho" at forum (copied the lines above from the following post): http://forums.gentoo.org/viewtopic-t-898620-start-0-postdays-0-postorder-asc-highlight-.html And he pointed out the problem for netbeans-java-7.0.1: ------------------------------- I have found the problem. For some reason I have mutlitple ant-tasks, and this line on the netbeans-java ebuild (184) Code: local vertasks=$(ls -d /usr/share/ant/tasks-*) As a result, the following line gets more than two parameters. Code: dosym ${vertasks} ${INSTALL_DIR}/ant/$(basename ${vertasks}) ------------------------------- As a solution I've added " | head -n1" to the line "local vertasks=...." I'm not quiet sure, if this results in the expected behaviour. Maybe this one is more what you want for i in ${vertasks}; do dosym ${i} ${INSTALL_DIR}/ant/$(basename ${i}) done But, please, add something to the "local vertasks" line as it will fail each time more than one ant-tasks are installed. Maybe it's an uncommon situation. But least two people had have problems with this until now...
well, afaik, you should never have more versions of ant-tasks installed so this is unsupported behavior. the cause is in incorrect system update. you should always have only ant-tasks of single version of ant installed. the solution is to run 'emerge --sync' and then 'emerge -uDN'.
Sorry, Miroslav was wrong. This situation can indeed happen.
should be fixed in version 7.1.1. i reverted back to bundled ant for now and it does not use the external ant tasks anymore.