Created attachment 184240 [details] Fix build on armv6 If java/bouncycastle15 is build on armv6 with openjdk18, the build stops with This command is not for general use and should only be run as the result of a call to ProcessBuilder.start() or Runtime.exec() in a java application (See attached poudriere log file) This is caused by fork="true" in javac and fork="yes" in junit tasks. This patched Makefile fixes this issue for systems with ARCH=armv6.
Created attachment 184241 [details] The poudriere log showing the problem with building java/bouncycastle15
A commit references this bug: Author: eugen Date: Tue Jul 11 05:38:32 UTC 2017 New revision: 445468 URL: https://svnweb.freebsd.org/changeset/ports/445468 Log: Fix build of java/bouncycastle15 on armv6: remove fork="true" in javac and fork="yes" in junit tasks (ant/bc+-build.xml) Original report: If java/bouncycastle15 is build on armv6 with openjdk18, the build stops with This command is not for general use and should only be run as the result of a call to ProcessBuilder.start() or Runtime.exec() in a java application PR: 220612 Submitted by: Gerrit Beine <mail+freebsd@gerritbeine.de> (based on) Approved by: az (mentor) Changes: head/java/bouncycastle15/Makefile head/java/bouncycastle15/files/ head/java/bouncycastle15/files/armv6-patch-bc+-build.xml
The change is static, so your soulution is committed in form of a patch instead of invocation of REINPLACE_CMD. Thank you for submission!