[Bug 208471] devel/gradle: Add missing dependency

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Apr 2 19:38:07 UTC 2016


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=208471

            Bug ID: 208471
           Summary: devel/gradle: Add missing dependency
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
               URL: http://beefy6.nyi.freebsd.org/data/101amd64-default/41
                    2377/logs/openjfx8-devel-20160228.log
                OS: Any
            Status: New
          Keywords: patch
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: freebsd-ports-bugs at FreeBSD.org
          Reporter: t at tobik.me
                CC: gasol.wu at gmail.com
 Attachment #168907 maintainer-approval?(gasol.wu at gmail.com)
             Flags:
                CC: gasol.wu at gmail.com
             Flags: maintainer-feedback?(gasol.wu at gmail.com)

Created attachment 168907
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=168907&action=edit
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.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list