-
Notifications
You must be signed in to change notification settings - Fork 39
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Package requires gcc on FreeBSD 10 to work #8
Comments
Thx for this. I am trying out a ratpack project on FreeBSD, and installing gcc got me past that same problem. |
The reason for this is that FreeBSD does not ship with gcc by default, but ships with clang. Really the build for Freebsd should be updated to use clang instead of gcc. |
So is this a gradle bug or a native-platform bug? |
It's a native-platform bug that was exposed when using gradle on freebsd. |
I looked at the build a little bit and it does not seem obvious how to change it. Any ideas? |
Gradle uses native-platform which has compiled its native component with g++, and requires that libstdc++.so.6 is available. See gradle/native-platform#8. PR: 208471 MFH: 2016Q3 Submitted by: Tobias Kortkamp <t@tobik.me> Approved by: gasol.wu@gmail.com (maintainer timeout) git-svn-id: svn+ssh://svn.freebsd.org/ports/head@418287 35697150-7ecd-e111-bb59-0022644237b5
Gradle uses native-platform which has compiled its native component with g++, and requires that libstdc++.so.6 is available. See gradle/native-platform#8. PR: 208471 MFH: 2016Q3 Submitted by: Tobias Kortkamp <t@tobik.me> Approved by: gasol.wu@gmail.com (maintainer timeout)
Gradle uses native-platform which has compiled its native component with g++, and requires that libstdc++.so.6 is available. See gradle/native-platform#8. PR: 208471 MFH: r418287 Submitted by: Tobias Kortkamp <t@tobik.me> Approved by: portmgr
This is fixed in 0.12. Thanks for reporting the issue. |
Gradle uses native-platform which has compiled its native component with g++, and requires that libstdc++.so.6 is available. See gradle/native-platform#8. PR: 208471 MFH: r418287 Submitted by: Tobias Kortkamp <t@tobik.me> Approved by: portmgr
@adammurdoch, could you please clarify what 'fixed' mean in your post? |
It was fixed with some rework to the build and the code, and works if you build from the github source (i.e using Gradle) or if you use the binary version on |
@adammurdoch, I think it was not.
So it's still linked with libstdc++.so.6. Am I doing something wrong?
Status is gradle still depends on libstdc++.so.6 |
Sorry, disregard my last posts |
Gradle uses native-platform which has compiled its native component with g++, and requires that libstdc++.so.6 is available. See gradle/native-platform#8. PR: 208471 MFH: r418287 Submitted by: Tobias Kortkamp <t@tobik.me> Approved by: portmgr
Gradle uses native-platform which has compiled its native component with g++, and requires that libstdc++.so.6 is available. See gradle/native-platform#8. PR: 208471 MFH: 2016Q3 Submitted by: Tobias Kortkamp <t@tobik.me> Approved by: gasol.wu@gmail.com (maintainer timeout)
Prior to installing the
gcc
package on a fresh FreeBSD 10.0-RELEASE (amd64) machine, Gradle will give me wacky build errors:It appears that installing the
gcc
package (pkg install gcc
) solves this.FYI.
The text was updated successfully, but these errors were encountered: