forked from jsonn/pkgsrc
-
Notifications
You must be signed in to change notification settings - Fork 64
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
lang/mono does not have getdomainame which seems to be used a lot #486
Comments
Patch does not apply, looks like some of it is no longer needed. It compiles with only the last 2 fragments applied. Testing now. Still does not work with this patch: $NetBSD$
--- support/unistd.c.orig 2015-08-25 20:33:41.000000000 +0000
+++ support/unistd.c
@@ -210,6 +210,9 @@ Mono_Posix_Syscall_sethostid (gint64 hos
#endif /* def HAVE_SETHOSTID */
#ifdef HAVE_GETDOMAINNAME
+#ifdef PLATFORM_SOLARIS
+extern int getdomainname (char *name, int namelen);
+#endif
gint32
Mono_Posix_Syscall_getdomainname (char *name, mph_size_t len)
{
@@ -219,6 +222,9 @@ Mono_Posix_Syscall_getdomainname (char *
#endif /* def HAVE_GETDOMAINNAME */
#ifdef HAVE_SETDOMAINNAME
+#ifdef PLATFORM_SOLARIS
+extern int setdomainname (const char *name, int namelen);
+#endif
gint32
Mono_Posix_Syscall_setdomainname (const char *name, mph_size_t len)
{ I also commented this in the Makefile
I tested using Sonarr, it keeps failing on getdomainname not being able to resolve addresses 👎
I did not retry other apps like Radarr. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Looks like lang/mono gets build with getdomainname disabled.
The few mono apps I tried all want and and fail in various ways. (e.g. sonarr and radarr being some of them) Not being able to do a DNS lookup is rather painful.
I haven't tried it but there seems to be a patch available:
https://bugzilla.xamarin.com/show_bug.cgi?id=32010
The text was updated successfully, but these errors were encountered: