It would be nice to get the full reverse dependency tree. Or, at least "Parenthesis unbalanced" should be explained. $ qdepends -Qt dev-java/bndlib dev-java/bnd-junit-2.1.0-r1: dev-java/osgi-core-api:0 >=virtual/jdk-1.5 >=dev-java/javatoolkit-0.3.0-r2 >=dev-java/java-config-2.2.0-r3 dev-java/junit:4 dev dev-java/bnd-junit-2.1.0: dev-java/osgi-core-api:0 >=virtual/jdk-1.5 >=dev-java/javatoolkit-0.3.0-r2 >=dev-java/java-config-2.2.0-r3 dev-java/junit:4 dev-ja dev-java/jackrabbit-webdav-2.10.1: java-virtuals/servlet-api:2.3 dev-java/slf4j-nop:0 dev-java/ant-junit:0 >=dev-java/javatoolkit-0.3.0-r2 dev-java/commons- qdepends: dep_grow_tree(): Parenthesis unbalanced qdepends: dep_grow_tree(): DEPEND: ( qdepends: dep_grow_tree(): Parenthesis unbalanced qdepends: dep_grow_tree(): DEPEND: ( qdepends: dep_grow_tree(): Parenthesis unbalanced qdepends: dep_grow_tree(): DEPEND: ( qdepends: dep_grow_tree(): Parenthesis unbalanced qdepends: dep_grow_tree(): DEPEND: ( qdepends: dep_grow_tree(): Parenthesis unbalanced qdepends: dep_grow_tree(): DEPEND: ( qdepends: no matches found for your query
What tree/overlays are you using? I cannot reproduce the problem. I think it would be nice to at least report the ebuild it's parsing here, will have a look at that.
Created attachment 705258 [details] emerge --info It's pore ::gentoo
(In reply to Fabian Groffen from comment #1) > What tree/overlays are you using? I cannot reproduce the problem. I think > it would be nice to at least report the ebuild it's parsing here, will have > a look at that. The ebuild is "dev-java/bndlib-2.1.0::gentoo"
(In reply to Volkmar W. Pogatzki from comment #2) > It's pore ::gentoo pure ::gentoo
which version are you using?
(In reply to Fabian Groffen from comment #5) > which version are you using? Sorry, forgot to mention. Version is app-portage/portage-utils-0.90
But it also happens with app-portage/portage-utils-0.91
it would be really helpful if the error message would output also package/file name on which this happens. it would imo be much easier to find the cause.
I still cannot reproduce this. I can of course corrupt the DEPEND data, and trigger the error, which I now more useful by reporting the atom for which parsing failed. If this is a parser error I'd like to be able to reproduce it to fix it.
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/proj/portage-utils.git/commit/?id=8f2ad078dfc9b9645ce5dd92a689a802e6c35aa6 commit 8f2ad078dfc9b9645ce5dd92a689a802e6c35aa6 Author: Fabian Groffen <grobian@gentoo.org> AuthorDate: 2021-05-02 11:15:25 +0000 Commit: Fabian Groffen <grobian@gentoo.org> CommitDate: 2021-05-02 11:15:25 +0000 qdepends: report which ebuild had dep-parsing errors Bug: https://bugs.gentoo.org/787602 Signed-off-by: Fabian Groffen <grobian@gentoo.org> qdepends.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-)
Thanks for the dep-parsing errors reporting: qdepends -Qt dev-java/bndlib dev-java/bnd-junit-2.1.0-r1: dev-java/osgi-core-api:0 >=virtual/jdk-1.5 >=dev-java/javatoolkit-0.3.0-r2 >=dev-java/java-config-2.2.0-r3 dev-java/junit:4 dev-java/bndlib:0 >=virtual/jre-1.5 >=dev-java/ant-core-1.8.2:0 dev-java/bnd-junit-2.1.0: dev-java/osgi-core-api:0 >=virtual/jdk-1.5 >=dev-java/javatoolkit-0.3.0-r2 >=dev-java/java-config-2.2.0-r3 dev-java/junit:4 dev-java/bndlib:0 >=virtual/jre-1.5 >=dev-java/ant-core-1.8.2:0 dev-java/jackrabbit-webdav-2.10.1: java-virtuals/servlet-api:2.3 dev-java/slf4j-nop:0 dev-java/ant-junit:0 >=dev-java/javatoolkit-0.3.0-r2 dev-java/commons-httpclient:3 >=virtual/jre-1.6 >=dev-java/java-config-2.2.0-r3 dev-java/slf4j-api:0 dev-java/bndlib:0 >=virtual/jdk-1.6 >=dev-java/ant-core-1.8.2:0 qdepends: dep_grow_tree(): Parenthesis unbalanced qdepends: dep_grow_tree(): DEPEND: ( qdepends: failed to parse depstring from dev-vcs/lazygit-0.20.4 qdepends: dep_grow_tree(): Parenthesis unbalanced qdepends: dep_grow_tree(): DEPEND: ( qdepends: failed to parse depstring from dev-vcs/lazygit-0.20.4 qdepends: dep_grow_tree(): Parenthesis unbalanced qdepends: dep_grow_tree(): DEPEND: ( qdepends: failed to parse depstring from dev-vcs/lazygit-0.20.3 qdepends: dep_grow_tree(): Parenthesis unbalanced qdepends: dep_grow_tree(): DEPEND: ( qdepends: failed to parse depstring from dev-vcs/lazygit-0.20.3 qdepends: dep_grow_tree(): Parenthesis unbalanced qdepends: dep_grow_tree(): DEPEND: ( qdepends: failed to parse depstring from dev-vcs/lazygit-0.19
Removing guru stuff solved it for me. Thanks for your help.
I see the problem, that ebuild doesn't use quotes around the dep-string, so all the dep-code sees is "(", because it isn't bash, so it doesn't turn it into an array. Not sure what the author was trying to do there, but it's wrong. Anyway, thanks for the feedback!