Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 02 Apr 2016 19:38:07 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 208471] devel/gradle: Add missing dependency
Message-ID:  <bug-208471-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D208471

            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@FreeBSD.org
          Reporter: t@tobik.me
                CC: gasol.wu@gmail.com
 Attachment #168907 maintainer-approval?(gasol.wu@gmail.com)
             Flags:
                CC: gasol.wu@gmail.com
             Flags: maintainer-feedback?(gasol.wu@gmail.com)

Created attachment 168907
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D168907&action=
=3Dedit
gradle.diff

java/openjfx8-devel fails to build with Gradle 2.12:
> Caused by: java.lang.UnsatisfiedLinkError: /wrkdirs/usr/ports/java/openjf=
x8-devel/work/dot-gradle/native/19/freebsd-amd64/libnative-platform.so: Sha=
red 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(NativeLi=
braryLoader.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 scr=
ipt
to use sh instead of bash.

java/openjfx8-devel itself requires additional fixes to build again, which =
are
in bug #208470.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-208471-13>