Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 556998 - dev-java/javacup-0.11b_beta20150326: Execute failed: java.io.IOException: Cannot run program "svn"
Summary: dev-java/javacup-0.11b_beta20150326: Execute failed: java.io.IOException: Can...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Java (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-08-08 07:07 UTC by Michał Górny
Modified: 2015-08-08 13:08 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Build log (dev-java:javacup-0.11b_beta20150326:20150808-065218.log,4.58 KB, text/x-log)
2015-08-08 07:07 UTC, Michał Górny
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2015-08-08 07:07:55 UTC
Created attachment 408512 [details]
Build log

A missing (and unnecessary?) dep, looks it like.

BUILD FAILED
/var/tmp/portage/dev-java/javacup-0.11b_beta20150326/work/build.xml:22: Execute failed: java.io.IOException: Cannot run program "svn": error=2, Nie ma takiego pliku ani katalogu
        at java.lang.ProcessBuilder.start(ProcessBuilder.java:1047)
        at java.lang.Runtime.exec(Runtime.java:617)
[...]
Comment 1 Patrice Clement gentoo-dev 2015-08-08 07:36:17 UTC
Dear Michal

Would you kindly assist in translating for us this piece of text and shed light as to what its meaning is in a language that we all speak, that is, English (or French)?

"Nie ma takiego pliku ani katalogu"

Thanks
Comment 2 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2015-08-08 07:40:07 UTC
Well, I assumed that'd be obvious from the context and errno=2. It's ENOENT or 'no such file or directory', if you prefer it that way. In other words, it can't spawn svn because no such file exists. And no such file exists because I don't have it installed. And I don't have it installed because there's no such dep in the ebuild. And in fact, I don't think the ebuild should dep on svn but the bs be fixed not to use it meaninglessly.
Comment 3 Patrice Clement gentoo-dev 2015-08-08 07:45:19 UTC
Right, okay. Let's CC sping in since he bumped the ebuild.
Comment 4 Sebastian Pipping gentoo-dev 2015-08-08 12:30:40 UTC
I guess that's the best occasion to un-install subversion from my machine to notice right away next time :)

I'm looking into it.
Comment 5 James Le Cuirot gentoo-dev 2015-08-08 12:53:08 UTC
sping, while you're at it, could you please change $(java-pkg_getjars ant-core) to $(java-pkg_getjars --build-only ant-core). Ant isn't needed at runtime unless you're using the tasks and in that case, Ant would already be present anyway.
Comment 6 Sebastian Pipping gentoo-dev 2015-08-08 13:01:22 UTC
Myślę, że to jest teraz naprawić  (should be fixed now)

   08 Aug 2015; Sebastian Pipping <sping@gentoo.org>
+  javacup-0.11b_beta20150326.ebuild,
+  +files/javacup-0.11b_beta20150326-build-xml-svn.patch:
+  Resolve calling of svn (bug #556998)
+
Comment 7 Sebastian Pipping gentoo-dev 2015-08-08 13:08:49 UTC
   08 Aug 2015; Sebastian Pipping <sping@gentoo.org>
+  javacup-0.11b_beta20150326.ebuild:
+  Fix java-pkg_getjars approach (bug #556998 comment #5)
+