Hello, Gilles Filippini wrote: > While investigating about ant FTBFS on kfreebsd-* [1][2], I tried the > very simple testcase below. It fails with errcode 127 on kfreebsd-*:
Many thanks for the report and test case. With that I could easily find the underlying issue: 31280 java CALL vfork 31280 java RET vfork 31281/0x7a31 31281 java RET fork 0 31281 java CALL execve(0x8041e6970,0x8026b34c0,0x7fffffffe610) 31281 java NAMI "/usr/lib/jvm/java-8-openjdk-kfreebsd-amd64/jre/lib/jspawnhelper" 31281 java RET execve -1 errno 2 No such file or directory 31281 java CALL exit(0x7f) AFAIK only kfreebsd uses jspawnhelper, but ISTR it was the most suitable implementation of exec() for us to use at the moment. The file is actually located at /usr/lib/jvm/java-8-openjdk-kfreebsd-amd64/jre/lib/amd64/jspawnhelper Perhaps I need to update something in the kfreebsd jdk patchset; although it maybe makes more sense to install that file to /usr/lib/jvm/java-8-openjdk-kfreebsd-amd64/jre/lib/jspawnhelper since the pathname is already multiarched. Regards, -- Steven Chamberlain ste...@pyro.eu.org
signature.asc
Description: Digital signature