Created attachment 168907 [details] gradle.diff java/openjfx8-devel fails to build with Gradle 2.12: > Caused by: java.lang.UnsatisfiedLinkError: /wrkdirs/usr/ports/java/openjfx8-devel/work/dot-gradle/native/19/freebsd-amd64/libnative-platform.so: Shared object "libstdc++.so.6" not found, required by "libnative-platform.so" > at java.lang.ClassLoader$NativeLibrary.load(Native Method) > at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1941) > at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1824) > at java.lang.Runtime.load0(Runtime.java:809) > at java.lang.System.load(System.java:1086) > at net.rubygrapefruit.platform.internal.NativeLibraryLoader.load(NativeLibraryLoader.java:45) Gradle uses native-platform which has compiled its native component with g++, and requires that libstdc++.so.6 is available. See https://github.com/adammurdoch/native-platform/issues/8. See the attached patch for a fix. While there I also changed the start script to use sh instead of bash. java/openjfx8-devel itself requires additional fixes to build again, which are in bug #208470.
Created attachment 168908 [details] Synth test log
Comment on attachment 168907 [details] gradle.diff maintainer timeout, implicit approval
testbuilds@work
Committed, thanks!
A commit references this bug: Author: pi Date: Sat Jul 9 18:43:41 UTC 2016 New revision: 418287 URL: https://svnweb.freebsd.org/changeset/ports/418287 Log: devel/gradle: Add missing dependency Gradle uses native-platform which has compiled its native component with g++, and requires that libstdc++.so.6 is available. See https://github.com/adammurdoch/native-platform/issues/8. PR: 208471 MFH: 2016Q3 Submitted by: Tobias Kortkamp <t@tobik.me> Approved by: gasol.wu@gmail.com (maintainer timeout) Changes: head/devel/gradle/Makefile head/devel/gradle/files/gradle.in
A commit references this bug: Author: pi Date: Sun Jul 10 07:21:56 UTC 2016 New revision: 418302 URL: https://svnweb.freebsd.org/changeset/ports/418302 Log: devel/gradle: Add missing dependency Gradle uses native-platform which has compiled its native component with g++, and requires that libstdc++.so.6 is available. See https://github.com/adammurdoch/native-platform/issues/8. PR: 208471 MFH: r418287 Submitted by: Tobias Kortkamp <t@tobik.me> Approved by: portmgr Changes: _U branches/2016Q3/ branches/2016Q3/devel/gradle/Makefile branches/2016Q3/devel/gradle/files/gradle.in