| Summary: | netbeans-java-7.0.1 fails to install: | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | David <dabicho2001> |
| Component: | [OLD] Java | Assignee: | Java team <java> |
| Status: | RESOLVED INVALID | ||
| Severity: | minor | ||
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | AMD64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: | environment.line 2679 might be the problem: dosym ${dest}/{api,${symlink}} || die; | ||
|
Description
David
2011-10-19 18:45:55 UTC
did you remove any files from distfiles during emerge of netbeans-java? No.
I think I have found the cause.
For some reason I ended up with two ant tasks directories.
There is these two lines in the ebuild:
184: local vertasks=$(ls -d /usr/share/ant/tasks-*)
185: dosym ${vertasks} ${INSTALL_DIR}/ant/$(basename ${vertasks})
$ ls -d /usr/share/ant/tasks-*
/usr/share/ant/tasks-1.7.1 /usr/share/ant/tasks-1.8.1
That seems to be the problem.
But I am not really sure why/how it happened or if such scenario is valid
(In reply to comment #2) > No. > I think I have found the cause. > For some reason I ended up with two ant tasks directories. > > There is these two lines in the ebuild: > > 184: local vertasks=$(ls -d /usr/share/ant/tasks-*) > 185: dosym ${vertasks} ${INSTALL_DIR}/ant/$(basename ${vertasks}) > > $ ls -d /usr/share/ant/tasks-* > /usr/share/ant/tasks-1.7.1 /usr/share/ant/tasks-1.8.1 > > That seems to be the problem. y, i guess that is the cause, that should not happen. (In reply to comment #2) > But I am not really sure why/how it happened or if such scenario is valid just look what's in /usr/share/ant/tasks-1.7.1. if you do `equery belongs <file>` for each file in that dir, you'll find packages that were not updated to latest ant tasks. Yes. That was the root cause. Updating a bunch of ant- packages now i guess the problem is solved, so closing. if there is problem with ant packages update, please open new bug. |